Stick Portal: HTML5, Box2Djs, Coffeescript, and open sourced - Printable Version
+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Community Zone (/forum-4.html)
+--- Forum: Work in Progress (/forum-16.html)
+--- Thread: Stick Portal: HTML5, Box2Djs, Coffeescript, and open sourced (/thread-10069.html)
Stick Portal: HTML5, Box2Djs, Coffeescript, and open sourced - glinden - May 24, 2012 09:19 AM
I wanted to share an early version of a game I'm calling Stick Portal.
It's entirely written in Coffescript using HTML5 canvas. Just need a browser to play, works pretty well on mobile devices (add it to your home screen and it'll even go full screen and behave like a free app).
The current version has ten levels that are the tutorials to teach players how to play the game. I've just started on the level editor that will, eventually, allow people to create their own levels easily and share them with others.
Stick Portal is free to play, open source (MIT license), and the code is available on GitHub. The source might be useful to people working on similar games as it contains examples of ways to use the Box2Djs physics engine, handling touch and multi-touch (and accelerometer) on mobile devices, how to make your web page look like an app, plenty of examples of working with HTML5 Canvas, crazy things like a way to automatically resize the canvas when the browser window changes or a device rotates, and a lot of other goodies.
I plan to keep working on this and extend it to include an editor, but I've been sitting on this long enough so, in the spirit of launch early and often, I'm putting it out now. Please let me know what you think, and I'd love it if you'd drop me a note if your kids like the game or if the examples in the source turn out to be useful to you.
RE: Stick Portal: HTML5, Box2Djs, Coffeescript, and open sourced - anthony - Jun 10, 2012 01:00 PM
I enjoyed it Always like to see people make HTML5 canvas games