Email the Author

You can use this page to email Thomas Palef about Make 2D Games in JavaScript with Phaser.

Please include an email address so the author can respond to your query

This message will be sent to Thomas Palef

This site is protected by reCAPTCHA and the Google  Privacy Policy and  Terms of Service apply.

About the Book

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 2021.

Table of content

The 100+ pages ebook is split into nine chapters:

  1. Introduction
  2. Get started (setup Phaser, code structure)
  3. Core mechanics (sprite, keyboard inputs, physics, text, etc.)
  4. Scenes (load scene, menu scene, play scene)
  5. Juicify (sounds, tweens, particle effects, etc.)
  6. Improvements (best score, custom fonts, mute button, etc.)
  7. Tilemaps (tilesets, tilemaps, Tiled)
  8. Mobile friendly (scaling, touch inputs, device orientation, etc.)
  9. 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

"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


About the Author

Thomas Palef’s avatar Thomas Palef

@thomaspalef

Hi! I'm a software developer who enjoys making 2D games.

Logo white 96 67 2x

Publish Early, Publish Often

  • Path
  • There are many paths, but the one you're on right now on Leanpub is:
  • Make-2d-games › Email Author › New
    • READERS
    • Newsletters
    • Weekly Sale
    • Monthly Sale
    • Store
    • Home
    • Redeem a Token
    • Search
    • Support
    • Leanpub FAQ
    • Leanpub Author FAQ
    • Search our Help Center
    • How to Contact Us
    • FRONTMATTER PODCAST
    • Featured Episode
    • Episode List
    • MEMBERSHIPS
    • Reader Memberships
    • Department Reader Memberships
    • Author Memberships
    • Your Membership
    • COMPANY
    • About
    • About Leanpub
    • Blog
    • Contact
    • Press
    • Essays
    • AI Services
    • Imagine a world...
    • Manifesto
    • More
    • Partner Program
    • Causes
    • Accessibility
    • AUTHORS
    • Write and Publish on Leanpub
    • Create a Book
    • Create a Bundle
    • Create a Course
    • Create a Track
    • Testimonials
    • Why Leanpub
    • Services
    • TranslateAI
    • TranslateWord
    • TranslateEPUB
    • PublishWord
    • Publish on Amazon
    • CourseAI
    • GlobalAuthor
    • Marketing Packages
    • IndexAI
    • Author Newsletter
    • The Leanpub Author Update
    • Author Support
    • Author Help Center
    • Leanpub Authors Forum
    • The Leanpub Manual
    • Supported Languages
    • The LFM Manual
    • Markua Manual
    • API Docs
    • Organizations
    • Learn More
    • Sign Up
    • LEGAL
    • Terms of Service
    • Copyright Policy
    • Privacy Policy
    • Refund Policy

*   *   *

Leanpub is copyright © 2010-2025 Ruboss Technology Corp.
All rights reserved.

This site is protected by reCAPTCHA
and the Google  Privacy Policy and  Terms of Service apply.

Leanpub requires cookies in order to provide you the best experience. Dismiss