Skip to content

A multiplayer game template for developers. It uses Node.js and webpack, and it works with any game framework or multiplayer server, such as Phaser or Colyseus. Everything runs with live reloading!

Notifications You must be signed in to change notification settings

knagaitsev/io-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IO Template: A Multiplayer Game Template

This template was made to give game devs a jump-start on building their multiplayer games! It runs on a Node.js server, and the client is built with webpack. Both the server and the client are live reloaded when you make changes, so you can develop faster.

The template has a simple demo which uses Phaser, an HTML5 game framework, and Colyseus, a multiplayer game server, but you are not bound to using these 3rd party libraries. You can view the demo here: http://io-template.herokuapp.com

Getting Started

Start by cloning this repository:

git clone https://github.com/Loonride/io-template.git
cd io-template

Install all dependencies:

npm install

Start developing:

npm run dev

Then, navigate to http://localhost:3000 in your browser. If you get an error, simply wait a few seconds and refresh the page, because webpack is still building.

Deploying

On your server, do:

npm install

Then, do:

npm start

to run in production mode.

If you have questions, join the Loonride Discord: https://discord.gg/Sfbg2Sh

About

A multiplayer game template for developers. It uses Node.js and webpack, and it works with any game framework or multiplayer server, such as Phaser or Colyseus. Everything runs with live reloading!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published