Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

A boilerplate project for HTML5 games using the Phaser 3 game engine, typescript, and ECS architecture.

Notifications You must be signed in to change notification settings

patrickgalbraith/phaser-3-invaders

Repository files navigation

Phaser 3 Boilerplate (incl. typescript, webpack, gulp, sass)

A boilerplate project for HTML5 games using the Phaser 3 game engine and typescript. Includes example game that demonstrates how to build a loading screen, game loop with UI, and game over screen.

The template includes phaser3, the typescript definitions, and a tsconfig that will generate a bundled javascript file for the game.

Includes

Instructions

Requirements

  • NodeJS 6+
  • NPM (recommend v5+)

Installation

mkdir yourprojectname
git clone ... yourprojectname
npm install

Building

gulp build

Note: Files will be output to the /dist directory.

Development

This will watch all the files for changes and re-build automatically.

gulp watch

Browse to http://localhost:8080 to view the latest version while the watch is running.

About

A boilerplate project for HTML5 games using the Phaser 3 game engine, typescript, and ECS architecture.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published