Phaser3-example-game icon indicating copy to clipboard operation
Phaser3-example-game copied to clipboard

A Phaser3 game example, a bare minimum game template. Shows the structure of a typical Phaser3 game using scenes, a preloader, a loading bar, buttons etc.

Phaser3 game template example

This is a Phaser3 game template, a bare minimum game example. It is intended to show the structure of a typical Phaser3 game, and using some of the key features of Phaser.

It's a code template showing all the important features needed to create a game in Phaser v3. Not an actual game but a starting point example. See also this forum post.

preview screenshot

This JavaScript game example shows:

  • Using different scenes
  • A loading bar
  • Sprite atlas loading
  • Sprite animation
  • Custom sprite object
  • Buttons similar to Phaser v2
  • Bitmaptext
  • Keyboard input
  • Mouse/touch input
  • Arcade overlap/collide
  • Sound effects
  • Scalemanager

Questions, comments -- Bas de Reuver ([email protected])