Thursday 30 November 2017

Using socket.io to show a canvas circle on all browser windows

I'm very confused what to do right now, I got my server set up where a user joins and it draws a circle. Another user can join, it draws another circle somewhere else. But each user is not at the moment able to see the other.Client-side code: http://ift.tt/2AmrV52 my server, there is nothing 'connecting' to the client-side code. I think I need to emit something (like what?) to each side (server - client) to be able to see the players on both.What should I add to see other players?Thanks!

Submitted November 30, 2017 at 11:39PM by Akidus

No comments:

Post a Comment