Profile PictureEmanuele Feronato

From null to full HTML5 cross platform game book + code samples

2 ratings

I will take you by hand from the very bare bones of JavaScript until the creation of a complete HTML5 cross platform game using Phaser framework and other FREE software.

During these months I published more than 250 Phaser tutorials and prototypes but as far as I can see there isn’t yet a guide which explains how to make games with Phaser from scratch. So here it is.

Designed especially for beginners but also useful to skilled JavaScript programmers who want to make HTML5 games, this book guides you to the creation of a game like Concentration with some twists and comes with 26 – twenty six – code samples, one for each step in the making of the game, covering:

* The structure of your Phaser project

* Phaser states

* Preloading images

* Placing images on the stage

* Displaying given frames in a sprite sheet

* Adding interactivity to images by turning them into clickable and touchable buttons

* Giving each button a custom property and accessing it when touched / clicked

* Using timers to schedule events

* Turning the prototype into a real game adding a title screen with soundmute options

* Preloading sounds

* Playing sounds

* Organizing your folders

* Making it run nicely on any mobile device no matter the orientation

* Locking the game on an orientation and showing a "wrong orientation" screen

By the end of the book, you will have a complete game made by you.

Each step of the book is provided with its source code example, for a total of 79 pages and 27 source code examples

Add to cart


(2 ratings)
5 stars
4 stars
3 stars
2 stars
1 star

From null to full HTML5 cross platform game book + code samples

2 ratings
Add to cart