Skip to content

phaser-cli/phaser3-typescript-parcel-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phaser 3 + TypeScript + Parcel + Boilerplate

This repository provides a simple setup for getting started with Phaser 3 and TypeScript, using Parcel to bundle your application.

Getting Started

Via Phaser CLI

You can easily bootstrap a new project via Phaser CLI. Simply run the command below and chosoe "Phaser 3 + TypeScript + Parcel".

npx @phaser-cli/cli <your-project-name>

Manually

Clone the repository into your workspace and install the dependencies.

# Clone repo
git clone https://github.com/phaser-cli/phaser3-typescript-parcel-boilerplate.git <your-project-name>
cd <your-project-name>

# Install dependencies
yarn install
# or
npm install

Running

You can start running your game by using the following command. The application will reload automatically as you make changes.

yarn start

Building for Production

The following command builds your game into a collection of static files in the dist directory that you can easily host as a production version of your application.

yarn build

Acknowledgements

This project is based on both the original Phaser CLI boilerplate and digitsensitive's Parcel boilerplate for Phaser 3.

About

Phaser 3 + TypeScript + Parcel Boilerplate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors