Friday, 26 March 2010

Mignonette game SDK

Tomorrow I'm going to be going to a Mitch Altman workshop "How To Make Cool Things With Microcontrollers"[1] and I was looking at the choices of things to make and noticed the "Mignonette Game kit". It has a SDK of sorts and a few games had been written for it so I though this would be a cool choice. Being unable to find an emulator I decided to port the game SDK to SDL[3] so I could run the games on a wide variaty of platforms that SDL supports.

After a little work I present you with the miggl game SDK. This compiles on Windows and Linux and supports the graphics and sound APIs. I've restructured them a bit and hacked around with the code to abstract it and it now has less hardware specific things exposed. Most of the common code is in libmiggl.c and then the platform specific code is in miggl-$(TARGET).c.

The current targets are SDL and ARDUINO although it should be noted that although the ARDUINO target compiles I've never tested the code generated as I don't have the hardware yet.

I've also written a game called invaders that is a space invaders clone which I havn't finished yet. It seems to work fine under SDL but It'll be interesting to see if it runs on the arduino.

I'm just working on getting my mercurial repo public but if you'd like to have a look in the mean time you can download from here.

[1] -
[2] -
[3] -

No comments:

Post a Comment