
We're making a mecha game and achieved stable 60FPS with hundreds units and thousands of projectiles.
Imagine two AIs playing an RTS, with the player’s mech as one of the units. Sounds epic, doesn’t it? And here’s the result.
So you understand what’s happening in the video: I launched the build from Steam. I started spawning bots. At 100 bots, the FPS dropped to 30. I turned off impacts. 70–80 FPS. I spawned up to 200 bots. 70–80 FPS.
In other words, the number of enemies has almost no effect on performance thanks to improvements in the architecture.
So what’s causing the FPS to drop? It’s the purchased VFXs (impacts and explosions). Now we’re going rework them, and we’ll be good to go.
PS When someone says that games built on the Unreal Engine are poorly optimized, don't believe them. They just don't know how to cook it =)
PPS Steam link: https://store.steampowered.com/app/4307930/MECH_OPS_2092/