Create HTML5 Vertical Endless Runner cross platform games

Using Phaser framework and other FREE software
Endless runner games are gaining more and more popularity and they are really easy to code.
I will take you by hand through the creation of a complete HTML5 vertical endless runner cross platform game with a lot of features and room for customization.
100 pages + 31 source code examples with a free update to come in a few days.

Introducing Phaser + Box2D

Emanuele Feronato Box2D, HTML5, Javascript, Phaser

A couple of months ago – three to tell the truth – Photon Storm guys released a Box2D plugin for Phaser.

It’s time to publish some tutorials about it, and we start with the most basic tutorial, that is a “click to create, click to remove” script.

This is what I mean:

Click anywhere, you will create a crate if you click on an empty spot, or destroy a crate if you click on it.

The code is very easy to understand, as unlike the original Box2D and its AS3 porting, where it’s up to you to add sprites and synchronize them with physics world bodies, Phaser works in the opposite way: you add the sprites and assign a body to them.

Way more intuitive, and you won’t need the debug draw tool that much.

Here is the code:

This plugin is really awesome, so expect more tutorials and some games during next weeks. Mwanwhile, you can download the source code.

Stay up to date
Follow me on the social networks and never miss a post.

Official Emanuele Feronato Facebook page

Official Emanuele Feronato Twitter account

From null to full HTML5 cross platform game

I will take you by hand from the bare bones of JavaScript programming through the creation of a full cross platform HTML5 game, with detailed explainations and source code.

If you don't know where to start, then From null to full HTML5 cross platform game is the book for you.

Comments 3

  1. Luis

    Do you think is viable to use phaser+box2d in mobile?

    I ran two examples in mobile, Phonegap and CocoonJS, but both examples were very slow.

Leave a Reply

Your email address will not be published. Required fields are marked *