donegjookim / basic-mmo-phaser

Very basic multiplayer online game example made with Phaser, Node.js and Socket.io

Home Page:http://www.dynetisgames.com/2017/03/06/how-to-make-a-multiplayer-online-game-with-phaser-socket-io-and-node-js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

basic-mmo-phaser

Very basic multiplayer online game example made with Phaser, Node.js and Socket.io.

The tutorial corresponding to this game can be found here.

Installing and running the game

For the client, Phaser is included in the code (js/phaser.js). You will need npm to install the Node.js packages required for the server. To run the server, you'll need to have Node.js installed.

Clone the repository. Inside the newly created directory, run npm install to install the Node.js packages listed in package.json. Then run node server.js to start the server. The server will listen to connections on port 8081; you can change that behaviour by editing the code. You can access the app by navigating to http://localhost:8081/.

About

Very basic multiplayer online game example made with Phaser, Node.js and Socket.io

http://www.dynetisgames.com/2017/03/06/how-to-make-a-multiplayer-online-game-with-phaser-socket-io-and-node-js/

License:MIT License


Languages

Language:JavaScript 94.0%Language:HTML 6.0%