video script

  1. minimum requirements : a server to share data e.g. positions (i.e. cameras)
  2. how : nodeJS and websockets
  • multiplayer (websockets)
    • when somebody else move, change the colour of an object rather than move it

Focus on

  • socket.emit() & socket.on()
  • identifying each user with a GUID

Client side

Code with no testing in the browser this time

Server side

NodeJS basic server code

  • warning tt uses socket.io so unfortunately requires to be on the same NodeJS server making it impossible to run on a JSBin

You... already know nearly everything but you can't stop ... OK moving on to Mission 5 then!