PageRenderTime 31ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

Markdown | 32 lines | 25 code | 7 blank | 0 comment | 0 complexity | 78804c9f8075a6c382d6ac71843391b5 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, MPL-2.0-no-copyleft-exception, BSD-3-Clause
  1. __RealtimeMultiplayerNodeJS is a framework specifically for building HTML5 multiplayer games with the Client / Server model__
  2. ######ChangeLog:
  3. * Updated to work with 0.9.16 (thx @brendonjohn)
  4. # Video Demo
  6. # How to use
  7. 1. Download this repo
  8. 2. In the terminal, navigate to the root directory of the repo
  9. 3. Run "npm install"
  10. 4. Run "node js/DemoBox2D/server.js"
  11. 5. Within another terminal, navigate to the root directory and run "python -m SimpleHTTPServer"
  12. 6. From the browser, open ""
  13. [![DemoBox2D](](
  14. # RealtimeMultiplayerNodeJS comes with 3 demos
  15. ### DemoHelloWorld
  16. The most basic interesting working demo I could come up with. Objects move from left to right
  17. ![DemoHelloWorld]( "DemoCircle")
  18. ### DemoCircle
  19. A 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.
  20. This 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__
  21. ![DemoCircle]( "DemoCircle")
  22. ### DemoBox2D
  23. This demo uses a [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.
  24. It also shows __synchronized interaction__ between multiple users, and an example of sending a message to the server which it interprets back into the game
  25. ![DemoBox2D](