Keep your eye out for Mr Speaker and @twalve's frightfully good book, jQuery: Novice to Ninja - in stores NOW!

More javascript madness

javascript platform game

Presenting yet another blast-from-the-javascript-past, “Some Adventure-y Guy: The Platformer!“. Navigate your way around the treacherous pits of, err, darkeness in search of the mystical sack of money I copied from Pitfall…

I wrote this on a plane trip from Sydney to Perth and back – well, most of it. On the way over I got a a basic version of it up and running – and had covered off most of the topics from the awesome TonyPa Flash tile-based games series. On the way back I added some more bits and pieces and applied some MS Paint magic to it and called it a day. That was in 2004 (or 5, perhaps).

This weekend I dug it up and put a lil’ spit-and-polish on it. It should work in Firefox, Chrome (etc.) and IE7. Although the code looks very 2005, it’s not vomit-inducingly bad, which I was impressed about. In fact, the worst code in there is the stuff I threw at it this weekend to get it finished. And I’m pretty sure some of my “refactoring” has introduced a hardcore closure memory leak, but that’s something to look at when I next pick up this project again which should be in 2014. Keep an eye out.

Platformers are my favourite 2D genre, so it was fun to do. But I wish had written a level editor for it first – It’s tough work hand-editing arrays into playable screens I tells ya.

Good luck on your noble quest, adventurer.

3 Comments

  1. Twalve wrote:

    Maybe some link love? You know you want to!

    Sunday, July 12, 2009 at 7:28 am | Permalink
  2. Mr Speaker wrote:

    Fair enough – no less than 4 links to it now, thanks mister!

    Sunday, July 12, 2009 at 12:52 pm | Permalink
  3. Noble Adventurer wrote:

    This is scissor-kicking fun. I like jumping. Feels like little flying.

    Monday, July 13, 2009 at 6:10 pm | Permalink

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*
Captcha! Please type 'lolz' *