socket io multiplayer movement
h
rafrafraf (305)

playing around with socket io and made this so far.

its definitely not done and is quite laggy but i think its a cool start

try opening it in 2 tabs and see the movement update on both :)

You are viewing a single comment. View All
rafrafraf (305)

@realTronsi yep, i have all the players as instances of the class Player which includes their name and x y pos.
i know how im doing it is stupid i just cant think of how else to do it, got any ideas? thanks