Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

CanvasCraft

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
387 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 6, 2010

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.

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (0)

Sign In or Sign Up now to post a comment!
Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more