Little warmup exercise
I’m in, and because I felt like trying something new, I had a look at Crafty.js. My friends behind the Dining Philosopher account seem to be quite happy with it. So I timeboxed myself to two hours this evening to make a little procedural Canabalt clone.
Play it here! It should get harder over time, both because your speed increases, and because the jumps become more difficult.
The source is on GitHub. The generation algorithm could use some tweaking and I suspect there is a bug somewhere, but I’m pretty happy with how it turned out in just two hours.
I made it to level 4 so far. To what level can you get?
Comments
18. Aug 2015 · 19:53 UTC
Hey! I’m not in reach of a keyboardor mouse connected computer ATM. Overwhelming enough my chrome browser on android opened your game (you have to love JavaScript’s ability to run nearly everywhere) and I could watch a nice explosion animation. Could you code some support for touchscreen input? That would be cool ’cause I’d like to worship your work and try your game. If you need help coding the touch input support, just ask me or Google 😉
19. Aug 2015 · 09:13 UTC
It was just a small 2-hour exercise, so I didn’t have time for that, sorry! It should be trivial to add… you can fork the code if you want to.
