Accelerate your development time, phaser 3 CLI bridles you tools so you can create more in less time. We know you like to focus on what matters most your game so we make it easy for you to set up.
- Make sure that you have Node 10.9 or later installed. See instructions here.
To get started locally, follow these instructions:
- Install Phaser3 CLI with:
> npm i -g phaser3-cli
- Create a new project:
> phaser new mygame
- Going to folder
> cd mygame
- Start the server
> phaser serve
You can add a scene with:
> phaser add scene <sceneName>
You can add a android project with capacitor:
- Add capacitor android project
> phaser add android
- Build your android project (Android Studio):
> phaser build android
- Update your project when you modify your game files
> phaser android copy
You can build your web package with:
> phaser build
And enjoy you game dev :D