Since Parcel v1 is deprecated it is recommended to use Parcel v2
This is a starter code for building Phaser games using Parcel v2 and Javascript.
Install dependencies
npm install
Run dev server
npm run dev
Run production build
npm run build
Copy the production files from dist
folder to your webserver.
Static files such as game assets should be placed inside static
folder. Contents of static
folder will be bundled along with game files and ready to be served.
This template is based on ourcade/phaser3-parcel-template which depends on parcel v1 which is no longer maintained.