Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jerenaux/basic-mmo-phaser
Very basic multiplayer online game example made with Phaser, Node.js and Socket.io
https://github.com/jerenaux/basic-mmo-phaser
multiplayer-game node-js phaser-framework socket-io
Last synced: 19 minutes ago
JSON representation
Very basic multiplayer online game example made with Phaser, Node.js and Socket.io
- Host: GitHub
- URL: https://github.com/jerenaux/basic-mmo-phaser
- Owner: Jerenaux
- License: mit
- Created: 2017-03-06T21:35:24.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-01-01T19:53:35.000Z (almost 5 years ago)
- Last Synced: 2025-01-01T07:06:15.193Z (19 minutes ago)
- Topics: multiplayer-game, node-js, phaser-framework, socket-io
- Language: JavaScript
- Homepage: http://www.dynetisgames.com/2017/03/06/how-to-make-a-multiplayer-online-game-with-phaser-socket-io-and-node-js/
- Size: 658 KB
- Stars: 254
- Watchers: 14
- Forks: 109
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](http://www.dynetisgames.com/2017/03/06/how-to-make-a-multiplayer-online-game-with-phaser-socket-io-and-node-js/).
:fire: If you are interested in this project, you may also be interested in [Westward](https://github.com/Jerenaux/westward), an open source Javascript MMORPG that I am working on! :rocket:
## Installing and running the game
For the client, Phaser is included in the code (`js/phaser.js`). You will need [npm](https://www.npmjs.com/) 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/.
## Donate
If you want to support me to make more open-source code and tutorials like this one, consider having a look at my [donation page](http://www.dynetisgames.com/donate/donation). In particular, take a minute to have a look at my [Patreon page](https://www.patreon.com/jeromerenaux), where you can find a listing of rewards for various levels of recurring contributions!