Skip to content
Learn to make multiplayer games with Y8 Games
JavaScript HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.babelrc
.gitignore Add basic structure of an io game Mar 29, 2019
README.md
database.js
license.txt
package-lock.json Bump lodash from 4.17.11 to 4.17.14 Jul 16, 2019
package.json Add basic structure of an io game Mar 29, 2019
player.js
server.js
webpack.config.js Add basic structure of an io game Mar 29, 2019
world.js

README.md

Y8 Instant io Game

This super game making boilerplate combines several top open source tools to give you an easy starting point to making an io multipler game. Inside Y8 Instant io Game, is a Node.js server with webpack, es6, and classes. Socket.io is where the multiplayer communication happens, it's super easy. For the visuals Phaser 3, one of the best 2D html5 engines on the market, but it's free. Beautiful, powerful, and open source. If you like this, remember to give a link to Y8 Games

Install

  • Download and install Node.js and maybe MongoDb. https://nodejs.org/en/download/
  • Navigate to the project root where package.json lives and run npm install in a terminal

Development

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
You can’t perform that action at this time.