Hey! Yeah it is multiplayer. It runs in the browser, so I use webRTC to handle the networking. I used to use regular websockets, but had trouble with lag spikes so I switched a while back. I have my dev server hosted publicly so people can try it out (though note that this is my dev server and I use it for testing so sometimes it goes up and down): unit.dev/mmo
@@UnitOfTimeYT Its really smooth, I liked it. You need to change pick up dropped bag size bigger to get items easier and drop useless items from your own bag :)
Thanks! Glad it ran smoothly for you! Yeah client connects with webrtc. Then on the backend I use TCP because it's just easy and my latency is submillisecond already.
I love your content.
Thanks! Glad you're enjoying it!
genius ...
Is it multiplayer game ? What kind of protocol do you use to handle connections ?
Hey! Yeah it is multiplayer. It runs in the browser, so I use webRTC to handle the networking. I used to use regular websockets, but had trouble with lag spikes so I switched a while back. I have my dev server hosted publicly so people can try it out (though note that this is my dev server and I use it for testing so sometimes it goes up and down): unit.dev/mmo
@@UnitOfTimeYT Its really smooth, I liked it. You need to change pick up dropped bag size bigger to get items easier and drop useless items from your own bag :)
@@UnitOfTimeYT Btw, so networking (webrtc) handles in front-end side only ? Do you have so kind of logic in the back-end also ?
Thanks! Glad it ran smoothly for you! Yeah client connects with webrtc. Then on the backend I use TCP because it's just easy and my latency is submillisecond already.
Noot noot
Nooter