Based on a tutorial series template by ourcade on YouTube.
- customized assets
- ui text for game phases
- restart key after game over
- jump on ufos to eliminate
You'll need Node.js, npm, and Parcel installed.
It is highly recommended to use Node Version Manager (nvm) to install Node.js and npm.
For Windows users there is Node Version Manager for Windows.
Install Node.js and npm with nvm:
nvm install node
nvm use nodeReplace 'node' with 'latest' for nvm-windows.
Then install Parcel:
npm install -g parcel-bundlerClone this repository to your local machine:
git clone https://github.com/ourcade/phaser3-parcel-template.gitThis will create a folder named phaser3-parcel-template. You can specify a different folder name like this:
git clone https://github.com/ourcade/phaser3-parcel-template.git my-folder-nameGo into your new project folder and install dependencies:
cd phaser3-parcel-template # or 'my-folder-name'
npm installStart development server:
npm run start
To create a production build:
npm run build
Production files will be placed in the dist folder. Then upload those files to a web server. 🎉
