Getting started writing games in haXe

August 7th, 2008

This weekend (August 9-10, 2008) there is another Ludum Dare competition and I’m planning to participate. These are fun contests where you create a game in 48 hours based on a given theme. These games must be made from scratch, however some libraries are allowed and you’re allowed to use your own custom library if it doesn’t contain game logic code and if you release it before the competition starts.

[kml_flashembed movie="http://www.wieringsoftware.eu/wp-content/scroll.swf" width="320" height="240"/]

I’m releasing some base code here for haXe which I’m planning to use during the competition. This might also be useful for anyone who wants to start creating Flash games in haXe. Basically, the code is pretty much the same as the scroll demo I made earlier, but now ported to AS3 (for Flash player 9), which is a lot faster. The main thing the code does is make it easy to use graphics and maps created in Tile Studio together with haXe.

(click and use arrow keys)

This is a little demo, included in the package to show how to use the library. There is a readme.txt file which has step-by-step instructions on how to install everything (haXe, swfmill, Tile Studio, FlashDevelop) and get it working.