Tracking FPS and scaling game on the fly
charlieaf92
Member Posts: 84
It seems that the vision of my game exceeds the iPhones hardware (at least using GS). I am considering working on a system that monitors the FPS and removes enemy actors based on the framerate - to avoid chugging on different devices configurations.
Has anyone done anything like this in the past? Just curious how it worked out.
charlie
Has anyone done anything like this in the past? Just curious how it worked out.
charlie
Comments
----In the enemy actor
change game.NumberOfEnemies to game.NumberOfEnemies + 1
Rule when overlaps with bullet
change game.NumberOfEnemies to game.NumberOfEnemies - 1
----In the spawner
Rule: when game.NumberOfEnemies is < 30
Timer Every Random(2,6)
Spawn enemy
Just change the 30 to whatever works for you (it will depend on how rule the enemy actor is).