Skip to content
Phaser Games
Main Menu
Home
Tutorials
Menu Toggle
Phaser 3
Basics
Intermediate
Advanced
Games
Set Up Phaser 3 Project Template
Resources/Tools
Menu Toggle
Getting Started
List Of Resources
Phaser 3 Text Designer Tool
Snippets
Menu Toggle
Phaser 3 Snippets
Menu Toggle
Phaser 3 Starter Snippets
Phaser 3 Sprite Snippets
Phaser 3 Time Snippets
Phaser 3 Tween Snippets
Phaser 3 Animation Snippets
Phaser 3 Physics Snippets
Phaser 3 TileMap Snippets
Phaser CE Snippets
Menu Toggle
Phaser Starter Snippets
Phaser Sprite Snippets
Phaser Physics Snippets
Phaser Button Snippets
Phaser Text snippets
Phaser Tween Snippets
Phaser Sounds Snippets
Phaser Game Snippets
Phaser Snippets Miscellaneous
Phaser MVC Snippets
Phaser Class Snippets
Shop & Freebies
Purchase History
Contact
State Example
This is sample code for the
Phaser States Basic post
6 Downloads
Free – Purchase
Checkout
Added to cart
You May Also Like
Using Collisions in TileMaps
Adding a player with Tile Maps
Using Layers in Tilemaps
Post navigation
←
Endless Runner Part 4 - Add Movement - source code
Animated Button Example
→
Privacy Policy