CanvasCraft by pl4n3 - http://pl4n3.blogspot.com/
This demo shows client commands being sent to node.js (zappa, coffeekup, express, socket.io) via WebSocket. The game logic (including physics) operates on the server and utilises Box2D.js - http://box2d-js.sourceforge.net/ . Frames are streamed back to and interpolated on clients to achieve the smooth movement shown in this video.
Everything is written in CoffeeScript - http://jashkenas.github.com/coffee-script/ as CommonJS modules.
Box2D inspiration taken from mrdoobs 'ball_pool' experiment - http://mrdoob.com/projects/chromeexperiments/ball_pool/ example.
Link to this comment:
All Comments (0)