Make 2D Games in JavaScript with Phaser
Playing games is fun, but making your own games is even better.
That's why I wrote an ebook that teaches how to build 2D games in JavaScript with Phaser! This ebook has two main objectives:
- Build a 2D platformer from scratch. When finished the game is going to be full featured: player, enemies, menu, animations, sounds, tilemaps, mobile friendly, and much more.
- Give you all the knowledge needed to build your own 2D games. For example a retro point & click, a clever puzzle game, an original platformer... it's completely up to you!
So by the end of this book you will have a real game to play with and enough knowledge to build your own games.
Who is this for
I wrote this ebook with beginners in mind, so it's perfectly okay if you've never made a game or if you've never heard of Phaser. The only thing required to understand this book is to be familiar with JavaScript.
What is Phaser
Phaser is a JavaScript framework to build 2D games. It is great for many reasons, here are the main ones:
- It is free, open source, and actively maintained.
- It has a large community around it, so it's easy to get help.
- It is both powerful and easy to use, which is a rare combination.
- It allows you to create games that can be played on any device.
This book uses the latest version of Phaser (version 3.55.2) that was released in 2022.
Table of content
The 100+ pages ebook is split into nine chapters:
- Introduction
- Get started (setup Phaser, code structure)
- Core mechanics (sprite, keyboard inputs, physics, text, etc.)
- Scenes (load scene, menu scene, play scene)
- Juicify (sounds, tweens, particle effects, etc.)
- Improvements (best score, custom fonts, mute button, etc.)
- Tilemaps (tilesets, tilemaps, Tiled)
- Mobile friendly (scaling, touch inputs, device orientation, etc.)
- Next steps (game ideas, tips to create your own games)
Note that when the book gets updated with new content, all existing customers get the new version for free.
Refund policy
If you're not 100% satisfied with the purchase, just let me know within 30 days and you'll get a full refund. No questions asked!
What readers are saying
Over 1,300 people bought the book! Here's are some of the reviews:
"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.
"Simply one of the best resources out there to learn Phaser, make your first game, and optimize it for mobile."
By Jesse Freeman, developer evangelist at Amazon.
"Well written, wonderfully structured, and full of high quality code. This book is excellent."
By Christer Kaitila, creator of OneGameMonth.
"This is the number one source of knowledge if you want to learn Phaser quickly and efficiently."
By Andrzej Mazur, founder of Enclave Games.
Any questions?
Feel free to reach out with any questions you might have! My email: thomas.palef@gmail.com