##XForest - a browser-based MMORPG
XForest is a browser-based MMORPG(massively multiplayer online role-playing game). The backend is written in node.js based on pomelo, which is a fast, scalable, distributed game server framework for node.js. The frontend uses the HTML5 Canvas to draw the map and renders the animations by colorbox, which is a client side game engine written in JavaScript based on HTML5. In this game, the client communicates via websockets with the server.
- Visit XForest online
First. game clone a hero that will clone hp, mp, attack and defense etc from the hero ontology.
Second. hero enters the origin master scene to push message and pull task from NPC.
Third. There are three branch scenes in the game, where you can roam casually, just like github branch.
Last. after died,hero will clone self,and commit the status.
This is a screenshot in scene three. There are many monsters and one hero named Traxex who is killing the monster for experiences, treasures and equipments.
First.Clone the code. Then. Exec npm install in game-server and web-server. Last. Exec node app.js in aboved direcotry.
visit http://127.0.0.1:3001/
- nodejs
- Linux or Mac os
- pomelo(https://github.com/NetEase/pomelo or http://pomelo.netease.com/)
- colorbox
- express(http://expressjs.com/)
- socket.io(http://socket.io/)
- 66rpg source(http://www.66rpg.com)