Skip to content

A typescript based Phaser 3 multiplayer Jump 'n' Run game using Colyseus

License

Notifications You must be signed in to change notification settings

b3nk4n/phaser3-colyseus-jump-n-run

Repository files navigation

Jump 'n' Run game using Phaser 3, TypeScript, Parcel and Colyseus

phaser3-parceljs-template

colyseus

License

This basic jump 'n' run game is based on the TypeScript specific fork phaser3-typescript-parcel-template. It extends Phaser's game tutorial and took some ideas from the tutorial series of ourcade for the basic client and server setup.

Prerequisites

You'll need Node.js, npm, and Parcel installed.

It is highly recommended to use Node Version Manager (nvm) to install Node.js and npm.

For Windows users there is Node Version Manager for Windows.

Install Node.js and npm with nvm:

nvm install node
nvm use node

Replace 'node' with 'latest' for nvm-windows.

Then install Parcel:

npm install -g parcel-bundler

Getting started

Clone this repository to your local machine:

git clone https://github.com/b3nk4n/phaser3-colyseus-jump-n-run.git

Then go into your new project folder and install dependencies:

cd phaser3-colyseus-jump-n-run
npm install

Start development server:

npm run server

And finally the clients:

npm run client

Deployment

To create a production build:

npm run build

Production files will be placed in the dist folder. Then upload those files to a web server.

About

A typescript based Phaser 3 multiplayer Jump 'n' Run game using Colyseus

Topics

Resources

License

Stars

Watchers

Forks

Languages