Hi there
I make online multiplayer game using Multiplayer plugin, and use VPS server as a host.
My game type is a fast-paced top down shooter game, a room will have at least dozens of players, including 10 bots. Bots are controlled by host (using Panthfinding, line of sight and turret behavior), peer only receive a movement.
I test it using Firefox and Lubuntu (light version of ubuntu) as OS with 1 CPU and 2gb of ram. and i get 100% of cpu (server), with 1 peer connected.
I just realize there are so many collision (bullets) that my server can't handle.
So, i decide to upgrade my server plan to 4gb ram and 2cpu with Opera as browser.
Then i make a simple version of "Real-time game" example template, to just sync player movement only and remove unused functions. Just to find out how far it will go.
With this server specs, Host only can handle 25 connected peers with lag, and only 10 connected peers are playable.
Average ping speed is 40-60ms
Is multiplayer plugin (p2p) can only handle small number of players ? Or i need more bigger server specs?
Any chance to make IO games similar to surviv.io or agar.io using Construct ?
Thanks