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 yeah its really laggy, im trying to think of how i can make it more efficient. at the moment everytime anyone moves the server broadcasts every user and their position and each client goes through that broadcast and updates each element position