Malloc

Malloc is a little Sokoban clone I wrote in C, using the “Simple DirectMedia Layer” (SDL). The advantage of SDL is that it’s cross-platform, so I can publish games on Windows, Mac and Linux. The disadvantage is that it doesn’t have hardware acceleration, unlike OpenGL. It is, however, a lot simpler, with plenty of resources, so it’s great to learn with.

I used M@teo‘s C/SDL tutorial from the “Site Du Zero“, which I’d heartily recommend to anyone who speaks French: that I’d rather follow his tutorials than ones written in my mother-tongue says a lot for their quality. Along the way I added the odd “improvement”, extra feature and finally some nice, 64×64 sprites (shrunk from 128×128). The game might be good for introducing kids Memory Allocation, who knows?

Cross compilation, despite using a cross-platform library, proved rather difficult. Ultimately it was far easier to use VirtualBox to emulate Windows XP and to compile the Windows versions pseudo-natively. Luckily Codeblocks, my IDE of choice, is also cross-platform, so I was able to send across and compile new versions quite easily once I’d set everything up on the guest.

Recent Posts

Game Jamception

“Yo dawg, herd you liked game jams, so we put your jam in a jam so you can jam while you jam!”

In the last month I’ve attended 3 game jams:

  1. Game Dev Party Lyon March 23-26,
  2. Ludum Dare 26  April 26-29,
  3. CHI 2013 “Games [4 Design]” game jam April 27-28

As you can see, two were at the same time!

Continue reading

  1. 7DRL: we lost the battle, but not the war! 2 Replies
  2. #1GAM = one game a month! Leave a reply
  3. “Baptême du jeu” the game jam incubator! Leave a reply
  4. Ode to little men running around on-screen Leave a reply
  5. Ludum Dare 25 – Montpellier real-world gathering Leave a reply
  6. 5 obligatory Firefox plugins 2 Replies
  7. “Art Game Weekend 3″: Epic Failure Leave a reply
  8. Kickstarter, Humble and Linux Leave a reply
  9. Recent bug safari Leave a reply