Acquati / phaser-3-typescript-template

A Phaser 3 Framework template for Typescript compiled with Parcel v2.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Phaser 3 Typescript Template

A Phaser 3 framework template for Typescript compiled with Parcel v2.

Setup

Prerequisites

Install Node.js and Yarn.

Installing

git clone https://github.com/acquati/phaser-3-typescript-template.git
cd phaser-3-typescript-template
yarn install

# Development
yarn run dev

# Build
yarn run build

# Start server
yarn run start

# Lint
yarn run lint

Access localhost:8080 in your browser.

Troubleshoot

Update NPM & YARN global command on Ubuntu

sudo apt update
sudo apt upgrade
sudo apt autoremove

sudo npm install npm -g

sudo npm cache clean -f
sudo npm install -g n
sudo n stable

sudo npm install --global yarn

About

A Phaser 3 Framework template for Typescript compiled with Parcel v2.

License:MIT License


Languages

Language:TypeScript 85.0%Language:HTML 7.9%Language:CSS 7.1%