- Home /
Ways to implement wasd movement with node.js server.
I currently have a server that will utilizes SocketIO for networking.
I listen for events such as move and spawn for connecting and moving.
Imagine there is an array of clients, A will be the one transmitting data. B, C, D, etc will be the other clients connected to the server in which client A's movement is being replicated.
The way I replicate the movement of client A to the other clients is by transmitting the position of which the client A has clicked to the server and then transmitting it out to clients B, C, and D.
I'd love to hear your ideas on how to implement WASD movement rather than mouse click movement.
Your answer
Follow this Question
Related Questions
Unity networking tutorial? 6 Answers
Can we use Unitys LLAPI to establish a socket connect with a server? 1 Answer
Multiplayer game using Sockets or Socket.IO? (without UNET or Photon) 6 Answers
[Multiplayer] Unable to spawn non-player object using NetworkServer.Spawn() call 0 Answers
How many players does Unity's built-in networking support? 1 Answer