You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not really an issue but I can't seem find help anywhere else.
I'm creating a simple multiplayer pong game with 2 players.
Each player should only be able to control their respective paddle. So in theory I would send a message to client 1 saying 'control_paddle_one' to client 2 I would send 'control_paddle_two'.
I did this in socket.io by using io.sockets.socket(id).emit('message').
Is there a way to accomplish this using streams?
Thank you!
The text was updated successfully, but these errors were encountered:
This is not really an issue but I can't seem find help anywhere else.
I'm creating a simple multiplayer pong game with 2 players.
Each player should only be able to control their respective paddle. So in theory I would send a message to client 1 saying 'control_paddle_one' to client 2 I would send 'control_paddle_two'.
I did this in socket.io by using io.sockets.socket(id).emit('message').
Is there a way to accomplish this using streams?
Thank you!
The text was updated successfully, but these errors were encountered: