Phaser home
Phaser AE
Open source
Phaser 4
Download
Learn
Editor
Tools
Docs
Examples
News
Log in
Examples
/
Games
/
Firstgame
Phaser 4.1.0
Phaser 4 examples
Firstgame
10
examples
Examples
10
Complete Arcade Physics Platformer
The final version of the introductory tutorial game, featuring platform physics, star collection, scoring, and hazardous bombs that end the game.
First Game Part 2: Loading Assets
Demonstrates how to preload static images and a spritesheet with specific frame dimensions into a Scene.
First Game: Part 3 - Loading Assets
Demonstrates how to load image and spritesheet assets into a Scene and add a background image to the display list.
First Game: Part 4 - Static Platforms
Learn how to use Arcade Physics static groups to create platforms and level geometry, including how to scale static bodies.
Keyboard Controls and Movement
Learn how to move a player character using keyboard input, apply animations based on velocity, and implement jumping with Arcade Physics.
Making Your First Game: Part 1
The initial setup for a Phaser project, featuring the basic Game configuration and an empty Scene template.
Making your First Game: Part 5
Learn how to add a physics-enabled player sprite and define animations for walking left, right, and turning using a spritesheet.
Making your first Phaser Game: Part 8
Demonstrates how to collect items using physics overlaps. It features a callback function that disables star objects when they come into contact with the player.
Player Animations and Collision
Demonstrates how to add a physics-enabled player sprite, set its bounce and world boundaries, define animations using a spritesheet, and handle collisions with static platform groups.
Score and Collecting Items
Learn how to detect overlaps between physics bodies to collect items and update a score display using Text objects.