Monday 29 May 2017

Creating separate instances of a game using Node

I'm making a multiplayer game in Node js at the moment, with socket io. The game works fine with less than 50 people, but gets way too crowded if there are more than about 50 people on the server at once, so I'd like to make it so that if there are more than 50, they connect to a new "instance" (?) of the game. I'm unsure of how to go about this. Do I need to use "clustering"? Would I need to use Node's rooms feature and then process the physics for each room separately, sending the clients only the data for their particular room?

Submitted May 29, 2017 at 01:23PM by J354

No comments:

Post a Comment