Getting started writing games in haXe
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.
- Download HaxeBaseCode-1.4.zip (83 kb)
August 17th, 2008 at 5:42 pm
Mike,
Just found your Flash version of Charlie the Duck, and i have to say i am really impressed. I almost thought i was playing the original DOS version. It’s the sort of retro experience that i rarely find on modern flash games.
So keep up the good work, and happy haXe’ing!
Regards,
James
August 18th, 2008 at 10:04 am
It’s very interesting. I ported the scroll demo downloaded from Tile Studio’s Sourceforge page to glBasic. I will post it to soon. I saw you updated the TileStudio page, uploaded a new version. I really interested in how I can made 45° platform (I’ve already read the tilestudio.sourceforge.net forums), and when you will implement it into Tilestudio
I’ve just started learn haxe (really hard to find examples, so I downloaded yours). The link in your homepage wrong: http://www.wieringsoftware.nl/flash/ int this page the first link is dead (because you capitalized the first letter of Charlie)
I’ve one unfinished project made with the help of TileStudio: Easter Quest http://dobosbence.extra.hu/?page_id=9.
Written under glBasic and can compile Win32, Win CE, GP2X.