Performance issues
Closed this issue · 1 comments
T4g1 commented
Loading too many enemies cause frame rate drop
- Starting level: When level is generated, there is a small freeze
- Having many enemies loaded cause lag
I've already added a trigger on the player to load enemies as I travel the dungeon. We should probably use that to unload enemies too far away too.
T4g1 commented
Physic engine was doing shit with all the triggers on enemies, set them to trigger only when player is there did the trick.
Added unloading and loading of enemies as the player walks too.
Problem left: Hickup in frame rate when generating level