Skip to content

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.

Notifications You must be signed in to change notification settings

BdR76/Phaser3-example-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 (bdr1976@gmail.com)

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published