/dungeon-crawler-phaser-3

Dungeon Crawler Phaser 3 Typescript

Primary LanguageTypeScriptMIT LicenseMIT

Dungeon Crawler - Phaser 3

A dungeon crawler base game, inspired on Ourcade Tutorial, made on Phaser 3 Framework, using Typescript and compiled with Parcel v2.

'Up', 'Down', 'Left' and 'Right' keys move the character, 'Space' throw knifes and open chests.

Setup

Prerequisites

Install Node.js and Yarn.

Installing

git clone https://github.com/acquati/dungeon-crawler-phaser-3.git
cd dungeon-crawler-phaser-3
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