ZIM Socket uses a simple yet powerful multiuser paradigm:
you send your property values
{x:10, y:30}
you receive objects of other people's values
{id:{x:20, y:40}, id2:{x:60, y:50}}
Using this technique, we no longer have to code on the server. ZIM Server handles all.
ZIM Socket requires SocketIO and NodeJS. Follow the SocketIO instructions for setup or REQUEST a ZIM Server to start in minutes.
MORE EXAMPLES:
FEATURES: Here are some ZIM Socket features beyond SocketIO:
APPS AND ROOMS
unlimited or max people
FILL
fill in vacated spots or not
READY
event when room assigned
SEND
a property or a data object
RECEIVE
objects of others' data
CHANGE ROOMS
and create new rooms
OTHERJOIN
event when people arrive
OTHERLEAVE
event when people leave
LAST
latest values sent by whom
HISTORY
what happened before joining
MASTER TIME
join and current times
ERROR
event and disconnect event
SERVER
js file for node server
ZIM is a free JavaScript Canvas Framework with conveniences, components and controls to code creativty! Examples are one-line drag and drop, multiple types of hit tests, buttons, sliders, dials and dozens more, style, accessibility, animation along editable paths, particle emitters, pens, generators for art and much, much more! ZIM is powered by the amazing CreateJS library which gives us the object oriented code for a Bitmap Object Model (BOM) on the canvas.