- Updated backend and frontend to use Socket.IO server and Client
- Main changes were made to ws.js and gameclient.js.
- Updated dependencies such as requirejs and jQuery to their latest versions
- Fixed build script
- Created a mini-dispatcher on the server side that provides the IP and Port in the configs as the ones for the game server.
- Added a demo to https://browserquest.codevolution.com
- A few minor edits to server side handling
- Quest system and more awesome features
This is my take on Mozilla's amazing multiplayer open source game.
I've yet to find any other game that's so well done from graphics, implementation and features point of view (did I mention open source, multiplayer and browser based?).
I've wanted to use the game for a while and found many of its dependencies to be deprecated and even obsolete.
I've just taken the time to understand the code and thank you guys for making it so well structured.
This now works on the latest Socket.IO. Everything should work just as in the original developers intended.
Enjoy this amazing open source browser based role playing multiplayer 2D game!
And a big thank you to the original developers is in order! THANK YOU!
- CentOS 6.4
- Node.Js v6.17.0
- npm package version
- "log": "1.4.0"
- "socket.io": "1.7.4"
- "sanitizer": "0.1.2"
- "memcache": "0.3.0"
- 查看log所有版本信息
- npm info log
- 查看log本地版本信息
- npm ls log
- npm ls log -g
Run from a console:
Make sure you have NodeJS installed.
npm install
node server/js/main.js
Then go inside the Client folder and open index.html.
You might want to use a webserver and open index.html from there. 快速搭建本地服务器 npm install anywhere -g client-build文件夹下运行anywhere 8080
Also read the original README files you'll find inside the Client and Server folders to learn the basics of configuring (it's preconfigured right now).
BrowserQuest is a HTML5/JavaScript multiplayer game experiment.
Documentation is located in client and server directories.
Code is licensed under MPL 2.0. Content is licensed under CC-BY-SA 3.0. See the LICENSE file for details.
Created by Little Workshop:
- Franck Lecollinet - @whatthefranck
- Guillaume Lecollinet - @glecollinet