jonasdp / Phaser3-example-game

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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


Languages

Language:JavaScript 100.0%Language:HTML 0.0%