haxeRush – part 1


For quite a long time I was having an idea of creating a simple, proof-of-concept, cross-platform game in haXe to demonstrate how really easy it is to implement entire game (both frontend and backend as well as the mobile version from the same codebase) with this awesome technology. This is how haxeRush was born :)

The game itself is super-simple and does not pretend to be “real” competitor on the market (actually you need to provide a some more then just such a simple gameplay to compete on social or mobile market). It is made purely for demonstration and education purposes.  Gameplay is very simplified clone of latest game from wooga Diamond Dash. I needed something simple and fun and also easy to adopt for touching devices so this was a prefect candidate. I also though that the new haXe logo would be a play the role of gems inside my game really nicely :)

I plan to share tutorials (in form of screen-casts) how this game was made with the source files included of course. There will be 3 (or maybe 4) parts:

  1. haxeRush Casual in flash – about an one hour screen-cast available bellow. You can check the game here.
  2. haxeRush Casual on Android – I’ll demonstrate what’s need to be done to deploy the game as native Android App with the great NME library and cpp target. You can check it on android market here.
  3. haxeRush Social on Facebook – I’ll show how to implement a simple backend in haXe, integrate with facebook, add some basic social features (like limited energy=coins, friends in game, invitations and posts on FB wall). This will be probably the longest part so it might endup being devided into 2 smaller ones. You can check on facebook here.

The first part is in my opinion the most boring one… But I needed it to get started.  Actually I am not happy with it (wanted it to be shorted an smoother..) but decided to share anyway and improve with the next ones :) . The second part should be shorter and much more interesting.  To fully understand what is going on there you don’t need to be an experienced developer. It is pretty basic stuff and with some basic flash understanding it should be easy to follow. To make my life a bit easier when coding this I used few classes from my personal library. I used them for displaying spritesheets, assets loading (to abstract the way you access assets in flash and in NME when building for android) and some basic “view” classes to avoid extending flash display objects (but this is a different story and I’ll probably write about that a lot more later…).

Here are the sources (with dependencies) : haxeRush-part1-sources.zip (FlashDevelop Project)

P.S. I know my english is very far from perfect in that video… I know I mumble a lot…. Sorry for that. It was much harder to talk and code at the same time then I expected ;)

  1. Joe says:

    Wow perfect demonstration!

  2. TheHippo says:

    I really like this. This is a quite cool demonstrations what cross platform development is possible with haXe.

  3. Sven Dens says:

    Great stuff here Christopher. Congratulations on your new blog, your first posts here are very interesting. There are not many great blogs that talk about haXe yet unfortunately, so I’m very happy you put in the effort to show other people what great things you can do using haXe! Hope to read more of these inspiring posts from you in the future. Thumbs up for awesomeness, yay for nerd power! :-)

  4. Thanks guys :) I appreciate your feedback very much

  5. razaina says:

    wow great job :) . really !

  1. There are no trackbacks for this post yet.

Leave a Reply