I’ve been doing a lot of reading on how different people implement socket.io in their multiplayer games so that I can use it in mine. Granted, I’m a noob with the networking layer for this and I desperately need to learn. Code Context: -Using Phaser3 -Multiplayer game -Load all existing players -Broadcast player joined -Update player position <— My issue
Tag: networking
Create Custom Rxjs Observable for network
I’m a beginner with Rxjs, I’m working on a game project have a network implement is: Send by function sendPacket, and server response comes in fuction onReceived I want to refactor the current network struct like Angular HttpClient: sendPacket return an Observable and I just need subscribe like this: How can I implement this idea? Thank you so much Answer
send data file to another computer with RTCPeerConnection?
how can I change the code so that the computer1 code connects to the code of computer 2(computer1 and computer2 are not the same computers but on the same network). It works locally but not when it’s two different computers computer 1 and computer2 code that is used for the connection is defined below this is the code that does