Hey Guys!
I’m making a multiplayer game and don’t want to use Unet for pricing reasons. I have a web server and want to run the multiplayer from there, is there anyway to do that?
Cheers
Hey Guys!
I’m making a multiplayer game and don’t want to use Unet for pricing reasons. I have a web server and want to run the multiplayer from there, is there anyway to do that?
Cheers
If it’s actually a web server, then you want to learn WebSockets.
EDIT: There’s also 3rd party stuff. Such as NodeJS.Server… I haven’t used it before so I can’t say if it’s worth looking into vs pure WebSockets.
First of all, is it a server that you have root access to that also happens to run a web service? Or is it a website account on somebody else’s web server? If it is just an account on somebody else’s server, then you probably will not be allowed to run custom services and listen on specific ports.
I used node sockets before very briefly, you can get a server on digital ocean for $5 a month, and scale up as needed, or use amazon.
The good thing about rolling your own is you will have way more control, it will be cheaper, probably better over the long haul, and the bad thing is you will have way more control
You shouldn’t want to use Unet because it was deprecated in 2018, not because of its pricing, considering Unet is free.
Try other options like Enet, Mirror, or SmartFox