Phaser 3 TypeScript template to easily use GitLab Pages.
Go to file Use this template
James Skemp 1a70020b93 Upgrade to Phaser 3.60 and update all other packages 2023-07-08 20:17:50 -05:00
.vscode Create new Phaser 3 template for quick GitLab Pages usage 2022-02-23 17:58:28 -06:00
src Create new Phaser 3 template for quick GitLab Pages usage 2022-02-23 17:58:28 -06:00
.editorconfig Create new Phaser 3 template for quick GitLab Pages usage 2022-02-23 17:58:28 -06:00
.gitignore Create new Phaser 3 template for quick GitLab Pages usage 2022-02-23 17:58:28 -06:00
.gitlab-ci.yml Create new Phaser 3 template for quick GitLab Pages usage 2022-02-23 17:58:28 -06:00
LICENSE Create new Phaser 3 template for quick GitLab Pages usage 2022-02-23 17:58:28 -06:00
README.md Create new Phaser 3 template for quick GitLab Pages usage 2022-02-23 17:58:28 -06:00
package-lock.json Upgrade to Phaser 3.60 and update all other packages 2023-07-08 20:17:50 -05:00
package.json Upgrade to Phaser 3.60 and update all other packages 2023-07-08 20:17:50 -05:00
tsconfig.json Create new Phaser 3 template for quick GitLab Pages usage 2022-02-23 17:58:28 -06:00
webpack.config.js Create new Phaser 3 template for quick GitLab Pages usage 2022-02-23 17:58:28 -06:00

README.md

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

Get Started

  1. Make sure Node.js is installed.
  2. From a command line, run npm install in the root directory (same place this README.md file is).
  3. Next run npm run start:dev to start an automatically updating instance.
  4. Use the editor of your choice (Visual Studio Code is a great choice) to start writing your game.
  5. Run npm run build to populate the public directory with the final site contents.
  6. Copy the contents of public to the site of your choice, or if published on GitLab, the site should automatically generate.

Upgrading Phaser

To upgrade Phaser 3 run npm upgrade --save phaser.