This tutorial covers setting-up your development environment. Picking an editor, installing a web server, downloading Phaser and creating a Hello World test.
Learn how to create a game completely from scratch. Add a player and make him run and jump around the platforms, collecting stars and avoiding baddies.
There are over 1900 source code examples available to run on our web site. Dig around, explore and see what you find! You can also download them all from the Git repo to browse locally.
This documentation is generated from the source code and covers every method, property and class across the entire API. Use it in conjunction with examples and tutorials to get a deeper understanding of the framework.
Phaser 3 has complete support for Facebook Instant Games. We've a range of tutorials covering it. From Getting Started, to the Leaderboards API, to displaying ads and offering In App Purchases in your games.
We publish regular Dev Logs that detail what has been worked on recently and what's coming down the line in beta releases. There are also extensive tutorials and structural guides to be found here.
The community are constantly publishing new tutorials. There are literally hundreds of them, covering everything from custom game objects, to shaders. Be sure to check out the videos too.
Texture Atlases are vital for modern games. This is a comprehensive tutorial with example code on how to create and use them within Phaser 3, using the Texture Packer app.
Latest Tutorials
An architecture for Phaser JS + Redux
A handy set of notes on using Phaser 3 with Redux.
Field of View for a Roguelike Tutorial
Learn how to only show what is visible around the player with this field of view algorithm tutorial.
Deck of Cards Management Tutorial
Here is a quick HTML5 prototype to shuffle and draw a deck of cards using Phaser 3, full commented source code available.
Decentralized Game Template
Quickly create decentralized web games with this template.
Run Around Tutorial
Create the hyper casual one button game where you run around the circle jumping over obstacles. Full code available.
Detect Overlap Between Selection Box and Sprites
A tutorial on how to select multiple units by dragging a selection box over them, like in an RTS game.
Using Tilemaps in Phaser 3 from an Array
In this new video learn how to add Tilemaps to your game using an data array.
Build a game like qomp with Arcade Physics
Full source code to make a game like qomp, where you play as a Pong ball that must escape the paddles.
Simple Fog of War Effect for a Roguelike
How to create a fog of war effect to give the right atmosphere for a dungeon crawler.
Energy Consumption of Web Games
A comprehensive look at the power consumption used by Phaser games and how to reduce it.
How to Communicate Between Scenes in Phaser 3
Use events to pass data between Scenes for decoupled code.
Bouncing Light Phaser 3D Prototype
Turn your 2D games in to shiny new 3D games with almost no effort thanks to three.js and Phaser 3D library.
Make Enemy Sprites Track the Player
Use this tutorial to learn how to have enemies, opponents, or NPCs look at the player in a top-down game.
Multiplayer Space Invaders Tutorial Part 4
The final part of how to build a multiplayer Space Invaders game.
OpenForge Ionic Video
Building Mobile Games with Ionic Framework and Phaser JS.
Hop Hop Hop Underwater Prototype
Use gravity and thrust to create a prototype of this hit hyper casual game.
Multiplayer Space Invaders Tutorial Part 3
Learn about implementing pub / sub in a multiplayer Space Invaders game.
How to Get Phaser Spine Plugin to Work Without NPM
This tutorial will show you which files you need and how to use them to get the Phaser 3 Spine Plugin running.
Puppet Bird Wheel Tutorial
How to create a rotating crank for a Puppet Bird style game.
Multiplayer Space Invaders Tutorial Part 2
Learn about network protocols, architecture and system design for a multiplayer Space Invaders game.
Add Text Input to Your Phaser 3 Game with RexUI
See how you can use the RexUI TextEdit plugin to get text input from the player.
Basic Phaser Webpack Guide
A guide to getting started with Webpack and Phaser to prepare your game for distribution.
Multiplayer Space Invaders Tutorial Part 1
Building a realtime multiplayer Space Invaders game in less than a day.
5 Local Web Server Options to Get Started with Phaser
Setting up your development environment can be a challenge. We share 5 simple and easy options for Mac or Windows.
Complete Circle Race prototype
Build the hyper casual game Circle Race in 80 lines of Phaser code.