
A barebones Phaser 3 getting started demo.
5 Easy Steps
See the comments in index.html in the Github repo.
- Include the JS file phaser-arcade-physics.min.js
- Declare the config var
- Create a new Phaser.Game
- Preload the 4 game assets (images) in preloadFoo() function
- Create the game in createFoo() function
- add background image
- create a particles emitter
- create the ball boss
- attach the emitter to the boss
For more information see the official Getting Started page here: https://phaser.io/tutorials/getting-started-phaser3