Multiplayer UDP server design question
Hi All, I'm working on a multiplayer game with a UDP authoritative server and I wonder what would be better: Each room will be with ~50 players so should I build the server as one app that receives/send messages to all rooms or should I run a server instance for each room, on the same server, listen...
So the movement is based on tiles? I mean collision detection is based of the different tile you are on or there is some physics engine like Box2D to handle this? Looks really good btw :)
The thing with the head and the text is genius!
Nice work!
I'm afraid a single instance per server will be a waste of good hardware. Because each room has 50 players I'm sure a modern server can handle multiple rooms and when I need to scale it up I can add a root server that will just forward the messages based on the room, just like you said. I'm not sure if there is an issue hardware wise to listen to multiple ports instead of one. Each server instance (a different process) listens on a different port.
A playable demo is coming up next month, want to check it out?! Sign in at r/http://www.blastarama.com/