GitHub logo pawap90 / phaser3-ts-snowpack-eslint

A modern Phaser 3 template with TypeScript, Snowpack & ESLint

Build GitHub Pages Deploy

Phaser Version 3.60.0 TypeScript Version 5.1.6 Snowpack Version 3.8.8 ESLint Version 8.46.0

A modern Phaser 3 template: Phaser 3 + TypeScript + Snowpack + ESLint

A modern Phaser 3 template: Develop your game using Typescript, keep your codebase clean with ESLint, and enjoy lightning-fast live updates thanks to Snowpack.


Table of contents

Dependencies

Quick start

  1. Get this template: Press over the "Use this template" button. This will allow you to create a new repo with this project's structure on your Github account. Then you can clone it to your local machine.

    Alternatively, you can clone this repo to your machine using the following command.

git clone https://github.com/pawap90/phaser3-ts-snowpack-eslint.git
  1. Install dependencies: Run the following command from the project's root folder:
npm install
  1. Start the local development server:
npm start

Go to your browser and navigate to http://localhost:8000. You should see this beauty:

Acho the pup bouncing around

If you wish to publish your project somewhere, create the production build using the following command:

View on GitHub