I'm writing a game that requires a large amount of instances of a "Monster" class that contains very basic data - namely:
- Angle of rotation
- Damage potential
- Max health
- Current Health
And that's about it. The game starts out smoothly at 60 fps but once about 50-60 instances are created (and are active at the same time) the game dips to <30 fps. It's frustrating because I don't know how to fix it. For the record, I am removing the monsters from both the array in which they're contained and the scene in an efficient manner (I think).