Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Y8 Instant io Game

This is a boilerplate combining several top open source tools to give you an easy starting point to making an io multipler game. It uses Node.js with webpack, ES6, and classes. ExpressJS serves webpages and Socket.io handles the communication. Phaser 3, provides a 2D engine for graphics.

screenshot

Install

  • Download and install Node.js and optionally MongoDb. https://nodejs.org/en/download/
  • Navigate to the project root where package.json is and run npm install in a terminal, command prompt or preferably Git Bash.

Development

  • npm start
  • Open http://localhost:8080 in one or more browser tabs
  • Visit https://labs.phaser.io/ for game ideas
  • Client side code (everything in the src folder) is auto loaded. To restart the server, push Ctrl + C

Production Build

  • Installing, 'npm i webpack -g' and 'npm i webpack-cli -g'
  • npm run build (requires unix like terminal)

Deployment

  • Start server for production pm2 start server.js
  • Suggest to make an autostart in pm2

Provided by Y8 Games. See other io games. Also see the upload page to submit games.

About

Learn to make multiplayer games with Y8 Games

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published