Learn How To Make HTML5 Games

With a Step by Step Guide to Phaser | Over 1,500 Copies Sold

Building your own video games is incredibly fun, and here's a book to help you do that.

In the book you will learn:
- How to create a full featured 2D platformer.
- How to make it mobile friendly.
- And how to port it to iOS/Android.

Everything is explained step by step with simple explanations. You just need some basic programming knoweldge to understand everything.

This book is using Phaser, the best HTML5 framework to make 2D games.


Convinced? Jump straight to the packages.


What You Will Learn

The game you will make in the book is a platformer inspired by Super Crate Box. You will control a little guy in a blue world, trying to collect coins while avoiding enemies.

The game is going to be full featured, and will work on both desktop and mobile devices. Here are all the things we will cover while building the game step by step:

spriteslabelsgroups
statestweenssounds
animationsparticlesarcade physics
custom fontslocal storagetilemaps
touch inputsscalingdevice orientation
screen shakedebuggingand more

With all of this new knowledge you will be able to create almost any type of 2D games. And all you need to fully understand this book is have some basic knowledge of programming (variables, loops, etc.)


Why Phaser

More and more people are talking about HTML5 games because it's a relatively new technology that has a huge potential. With HTML5 we can build games that work everywhere (desktops, smartphones, tablets, gaming consoles, etc.) without the need to download anything.

There are now dozens of HTML5 game frameworks available out there. However, if you are looking for a free, open source, and actively maintained framework, the list quickly narrows down to just a handful of them. And a lot of people consider Phaser to be the best one.

Its main advantage is that it is extremely powerful while still being simple to use.


What People are Saying

This book will take you on the complete journey of building a game in Phaser, with plenty of hints and tips.

By Richard Davey, creator of Phaser

One of the best resources out there to learn Phaser, make your first game, and optimize it for mobile.

By Jesse Freeman, HTML5 evangelist at Amazon

Well written, wonderfully structured, and full of high quality code. This book is excellent.

By Christer Kaitila, creator of onegameamonth

This is the number one source of knowledge if you want to learn Phaser quickly and efficiently.

By Andrzej Mazur, Enclave Games founder


Free Sample Chapter

Enter your email address to get a free sample chapter

No spam, and unsubscribe at any time


About the Author

Hey, I'm Thomas Palef. I'm a developer, game designer, and author.

I've created a dozen games with the Phaser framework that were played by hundreds of thousands of people. I really enjoyed building all of these games, and I want to help other people do the same. That's why I decided to write this book.


What You Will Get

Book, the step by step guide to Phaser:

  • It's 170 page-long, and clearly explains how Phaser works
  • It's DRM-free, and available in pdf, epub and mobi formats

Extra, a new book chapter about optimizations:

  • Reduce the number of HTTP requests by combining your files and assets
  • Learn how to refactor your code for better readability

Code, to help you create your own games:

  • The source code of the book's game, chapter by chapter
  • A Phaser cheat sheet, with all the functions used in the book
  • Code snipets, the most useful code samples from the book to copy/past
  • An empty game template, to jump start the creation of your next game

Games, the commented source code of 3 full featured games:

  • Space shooter, control a spaceship and shoot enemies
  • Match-3, match 3 blocks of the same color to score points
  • Infinite runner, jump at the right time to avoid obstacles

Choose Your Package - Over 1,500 Copies Sold

Book + Extra + Code + Games


  • Book: pdf, epub and mobi
  • Extra: optimization chapter
  • Code: book source code
  • Code: Phaser cheat sheet
  • Code: code snippets
  • Code: empty game template
  • Game: space shooter
  • Game: match-3
  • Game: infinite runner

buy now for $149

Book + Extra + Code


  • Book: pdf, epub and mobi
  • Extra: optimization chapter
  • Code: book source code
  • Code: Phaser cheat sheet
  • Code: code snippets
  • Code: empty game template

buy now for $59

Just the book


  • Book: pdf, epub and mobi

buy now for $29

30-Day Money Back Guarantee

Frequently Asked Questions

Which package should I buy?

The $199 package is the best if you are serious about making games, but the book is still 170 pages of great content.

What version of Phaser is it?

The book teaches how Phaser 2.5 works, which is the latest version (released in July 2016).

What are the requirements?

If you have some basic knoweldge in programming (variables, loops, etc.) you can understand the book.

Will the book get updated?

The book is regularly updated with new content, and is sent for free to every customers.

Do you offer refunds?

Of course! If you aren’t happy with the book, just email me within 30 days and I’ll refund your money. 

I have an other question!

If you have any questions please get in touch: thomas.palef@gmail.com :-)


Table of Content

1 - Introduction

2 - Get Started
2.1 - Useful Links
2.2 - Set Up Phaser
2.3 - First Project

3 - Basic Elements
3.1 - Empty Game
3.2 - Add Player
3.3 - Create the World
3.4 - Add Coins
3.5 - Add Enemies
3.6 - Source Code

4 - Manage States
4.1 - Organization
4.2 - Index
4.3 - Boot
4.4 - Load
4.5 - Menu
4.6 - Play
4.7 - Game

5 - Jucify
5.1 - Add Sounds
5.2 - Add Animations
5.3 - Add Tweens
5.4 - Add Particles
5.5 - Better Camera

6 - Improvements
6.1 - Add Best Score
6.2 - Add Mute Button
6.3 - Better Inputs
6.4 - Use Custom Fonts
6.5 - Better Difficulty

7 - Use Tilemaps
7.1 - Create Assets
7.2 - Display Tilemap

8 - Mobile Friendly
8.1 - Testing
8.2 - Scaling
8.3 - Touch Inputs
8.4 - Touch Buttons
8.5 - Device Orientation
8.6 - Native App

9 - Optimizations *
9.1 - Create Atlas
9.2 - Use Atlas
9.3 - Create Audio Sprite
9.4 - Use Audio Sprite
9.5 - Concat and Minify
9.6 - Measure Speed
9.7 - Code Refactoring

10 - More About Phaser
10.1 - New Functions
10.2 - Debugging
10.3 - Code Sprites
10.4 - Extend Phaser

11 - Next Steps
11.1 - Improve the Game
11.2 - Make New Games
11.3 - Conclusion

* Chapter 9 is not available in "just the book" package.


What Buyers are Saying on Twitter

Choose Your Package - Over 1,500 Copies Sold

Book + Extra + Code + Games


  • Book: pdf, epub and mobi
  • Extra: optimization chapter
  • Code: book source code
  • Code: Phaser cheat sheet
  • Code: code snippets
  • Code: empty game template
  • Game: space shooter
  • Game: match-3
  • Game: infinite runner

buy now for $149

Book + Extra + Code


  • Book: pdf, epub and mobi
  • Extra: optimization chapter
  • Code: book source code
  • Code: Phaser cheat sheet
  • Code: code snippets
  • Code: empty game template

buy now for $59

Just the book


  • Book: pdf, epub and mobi

buy now for $29

30-Day Money Back Guarantee