Little framework for making prototypes or an LD48 entry

If you didn’t know yet, the Ludum Dare 48 hour game development competition is held again this weekend. In the competition the idea is to make a game using a given theme, more or less from scratch. Basically most people use some small amount basecode to start up with as there’s not really that much point to make every boring bit (like how to open a window) again every time. Besides, a little framework still has less stuff than what fine tools such as Unity3D provides you with to start with. :)

So here’s my little C++ basecode/framework for making a Ludum Dare 48 hour game development competition entry. It should be equally suitable for making some other little prototype games. You’ll need to svn checkout Irrlicht and download FMOD 3 separately. The framework is meant to be used on Windows with Microsoft Visual C++ 2008 (Express Edition is enough).



Stair Dismount on sale

Stair Dismount™ (iPhone/iPod touch) is now in sale at $0.99, so now it’s time to grab it if you own a compatible device and you don’t have the game yet. You can’t go wrong, especially with all the updates coming soon. :-)

Click to buy from iTunes or check out www.stairdismount.com.


Stair Dismount Update


Stair Dismount™ for iPhone and iPod touch is soon getting a v1.2.0 update. It has already been submitted to Apple for approval to the App Store. There will be quite many updates:

  • OpenFeint for online leaderboards
  • three new scenarios
  • game remembers last used scenario and face
  • quick start button in main menu to start game immediately
  • iPod music library support
  • panorama camera for better overview of scenarios
  • many other small fixes here and there.

Go check out www.stairdismount.com or click here to go straight to iTunes page.

And here’s also a bunch of media coverage links about the game:
148Apps, appadvice, Know your mobile, Gizmodo, iPhoneGames360, The Appera, Finger Gaming, Best iPhone Apps. Many blogs and twitter posts have been mentioning the game as well, here’s links to a few blog posts: crinthecity, spill out the glass of water, This is Your Amiga Speaking. Additionally SlideToPlay posted a nice Youtube video, plus PocketGamer and TouchGen podcasts talked about the game as well. Thanks everybody!


New Stair Dismount Released!

Stair Dismount™ for iPhone and iPod touch is now released (25 Nov 2009) – sooner than we originally anticipated!

The press also seems to like the new version, as already reported by Gizmodo, Touch Arcade, App Advice, TUAW, iTunesGames and The APPera.

Go check out www.stairdismount.com and click the gray App Store badge on the right to get the game. :-)

Also I’m very surprised to see that Game Developer Magazine made “The Game Developer 50” article listing 50 individuals with some amount of significant work, and they actually included me as one of those! While the article correctly cites me as part of the team making first licensable mobile 3D engine (referring to X-Forge), and referring to Stair Dismount now working on iPhone … there’s an error in the info about Zen Bound. I hate taking credit for someone elses work so I have an important correction: Zen Bound has been almost solely coded by Mikko Mononen (a.k.a. Memon), including the rope simulation code which the article talked about.


Introduction video for new Stair Dismount

Continuing with the theme from my previous post, here’s the first introductory video for the new Stair Dismount for iPhone and iPod touch.

Youtube link: http://www.youtube.com/watch?v=tAeTxPINttw


Stair Dismount iPhone/iPod touch

Stair Dismount screenshot
Me and few others have recently posted some “Dismount Moments” photos to Facebook, as seen here for an example. These images originate from the all-new Stair Dismount, created for iPhone and iPod touch. It is of course a direct successor to the original Stair Dismount released in 2002. The game has been submitted for Apple’s approval to the App Store, so it should be available for purchasing quite soon (just a few weeks). Here’s a short introduction of what the new game is all about…
Read the rest of this entry »


Code: Tokenizer

Here’s a little C++ utility class for splitting C strings into tokens by given separators. It’s inspired by “tokenwad” taken from Sol’s CFL3, which I have used quite a few times. This version has low memory overhead as it performs only 1-2 allocations (depending if the tokenization is done in-place or a separate copy is needed).

Read the rest of this entry »



So, my Twitter account is jlauha. I configured the blog posts to be automatically updated there, so that’s one way to follow my stuff if you’re into that. We’ll see if I start occasionally posting something else as well.

Tool: Binary data to embeddable char array

Sometimes there’s a need to embed some little bit of binary data in the executable. The reasons may vary – perhaps it is for a resource you want to exist even if data files are missing, or it could be even something you want to “hide” from some curious wannabe-hackers.

In the past years my typical use case was as follows. I used to make “64 KB intros” (such as this one), and for those I needed to embed a few data files to the executable as object data, so that I could exploit compression of the executable packer without writing a proper compression tool myself (such as UPX).

Read the rest of this entry »


Tool: pngprep

When programming visuals, I often need to fix color values of pixels in image data where alpha is 0. Here’s a little tool called pngprep which can do some pre-processing of image data and save the result as a 32 bpp png file.
Read the rest of this entry »