Stick Portal: HTML5, Box2Djs, Coffeescript, and open sourced
I wanted to share an early version of a game I'm calling Stick Portal.
![[Image: stick-portal-screen-small.png]](http://4.bp.blogspot.com/-R0531hhBVtE/T7WFvQ6P74I/AAAAAAAAXdA/i0r_3-GTsf8/s400/stick-portal-screen-small.png)
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.
![[Image: stick-portal-screen-small.png]](http://4.bp.blogspot.com/-R0531hhBVtE/T7WFvQ6P74I/AAAAAAAAXdA/i0r_3-GTsf8/s400/stick-portal-screen-small.png)
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.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| HTML5 game looking for testers - 5 minutes, £50 prize draw | hamstar | 0 | 1,532 |
Oct 5, 2012 04:11 AM Last Post: hamstar |
|
| HTML5 Space Maze (Beta) - for Review | saiy2k | 2 | 2,789 |
Sep 16, 2012 08:22 AM Last Post: saiy2k |
|
| DEMO: Neon Galaxy, twin-stick shooter for OSX | msachs | 0 | 2,379 |
Mar 4, 2012 12:12 PM Last Post: msachs |
|
| Feedback please - 90s Stick Figure Trivia | bluediamondgaming | 0 | 2,616 |
Jul 11, 2011 10:21 AM Last Post: bluediamondgaming |
|
| Nyom - HTML5 game | anthony | 6 | 7,647 |
Jul 1, 2011 10:46 AM Last Post: anthony |
|

Always like to see people make HTML5 canvas games 