Currently, all instances of an object keep running their events, collision checks, and behaviors even when they are far off-screen or not visible.
It would be extremely useful to have a built-in way to “deactivate” specific instances — meaning they stop processing events, physics, and behaviors — until reactivated.
Example: Trees, rocks, enemies, or items far outside the camera view don’t need to check collisions or run AI. This would drastically improve performance on large maps.
Suggested implementation:
- Add new actions:
Deactivate object instanceandActivate object instance - While deactivated:
- Events targeting that instance don’t run.
- Behaviors are paused.
- Collisions are ignored.
- Rendering can stay enabled or disabled (configurable).
- Optionally integrate with the camera: e.g. “Deactivate when outside viewport + margin”.