|James Skemp 1a70020b93
Starter Project for Phaser 3 with GitLab Pages Support
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 installin the root directory (same place this README.md file is).
- Next run
npm run start:devto start an automatically updating instance.
- Use the editor of your choice (Visual Studio Code is a great choice) to start writing your game.
npm run buildto 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.