The following is a fast starter project to get started with a new game in Phaser 3, running on GitLab Pages.
This project is based upon https://github.com/JamesSkemp/phaser-3-vsc-typescript-nodejs
- Make sure Node.js is installed.
- From a command line, run
npm install
in the root directory (same place this README.md file is). - Next run
npm run start:dev
to start an automatically updating instance. - Use the editor of your choice (Visual Studio Code is a great choice) to start writing your game.
- Run
npm run build
to populate the public directory with the final site contents. - Copy the contents of public to the site of your choice, or if published on GitLab, the site should automatically generate.
To upgrade Phaser 3 run npm upgrade --save phaser
.