PageRenderTime 62ms CodeModel.GetById 40ms app.highlight 4ms RepoModel.GetById 16ms app.codeStats 0ms

/README.md

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs
Markdown | 32 lines | 25 code | 7 blank | 0 comment | 0 complexity | 78804c9f8075a6c382d6ac71843391b5 MD5 | raw file
 1__RealtimeMultiplayerNodeJS is a framework specifically for building HTML5 multiplayer games with the Client / Server model__  
 2
 3######ChangeLog: 
 4* Updated to work with socket.io 0.9.16 (thx @brendonjohn)
 5
 6# Video Demo
 7https://vimeo.com/24149718  
 8
 9# How to use
101. Download this repo
112. In the terminal, navigate to the root directory of the repo
123. Run "npm install"
134. Run "node js/DemoBox2D/server.js"
145. Within another terminal, navigate to the root directory and run "python -m SimpleHTTPServer"
156. From the browser, open "http://127.0.0.1:8000/DemoBox2DApp.html"
16
17[![DemoBox2D](http://farm6.static.flickr.com/5105/5694643562_fffce8b9cf_z.jpg)](http://farm6.static.flickr.com/5105/5694643562_53e54993dd_o.png)
18         
19# RealtimeMultiplayerNodeJS comes with 3 demos
20### DemoHelloWorld
21The most basic interesting working demo I could come up with. Objects move from left to right
22![DemoHelloWorld](http://farm6.static.flickr.com/5309/5694599438_6fd56e21bd_b.jpg "DemoCircle")
23
24### DemoCircle
25A demonstration of the engine's simple CircleCollision engine, which can provide you with simple collision information and fires an event when two objects collide with the two objects.  
26This demo __also shows one implementation__ of having a special kind of entity which is controlled by the keyboard from a connected user. __A character controlled entity__  
27![DemoCircle](http://farm4.static.flickr.com/3483/5694599612_1cdb1f935e_b.jpg "DemoCircle")
28
29### DemoBox2D 
30This demo uses a [Box2D.js](https://github.com/HBehrens/box2d.js) implementation to create a world, and show's off the idea of synchronized physics, and taking advantage that all the simulation happens on the server.  
31It also shows __synchronized interaction__ between multiple users, and an example of sending a message to the server which it interprets back into the game  
32![DemoBox2D](http://farm6.static.flickr.com/5027/5694599478_7c9339c99c_b.jpg)