Skip to content
Sign upLog in

socket io multiplayer movement

Profile icon
rafrafraf

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
Profile icon
rafrafraf

@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