Git Product home page Git Product logo

knagaitsev / io-template Goto Github PK

View Code? Open in Web Editor NEW
17.0 2.0 6.0 762 KB

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!

Home Page: http://io-template.herokuapp.com

CSS 7.24% HTML 11.44% JavaScript 81.31%
game-development io-game template-project

io-template's Introduction

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

io-template's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.