[mynameisace] FREE Performance Template - How To Only Trigger Actors Movements When On Screen...
Hey Guys,
I thought I'd share something that will help your games with scenes bigger than the screen size.
Having a big scene with loads of actors moving around can really affect performance and loading times, but if your game needs that (platformers, etc.) then it can be a huge sacrifice cutting down on enemies, etc.
Here's a platform template that only triggers moving platforms, enemies pacing etc. when the player is close enough for the actors to be visible:
http://ellerker.net/files/GSDistanceTriggers.zip
This will also work on any other game types where performance is going to be a problem, it doesn't have to be a platformer.
Hope this helps!
Ace
I thought I'd share something that will help your games with scenes bigger than the screen size.
Having a big scene with loads of actors moving around can really affect performance and loading times, but if your game needs that (platformers, etc.) then it can be a huge sacrifice cutting down on enemies, etc.
Here's a platform template that only triggers moving platforms, enemies pacing etc. when the player is close enough for the actors to be visible:
http://ellerker.net/files/GSDistanceTriggers.zip
This will also work on any other game types where performance is going to be a problem, it doesn't have to be a platformer.
Hope this helps!
Ace
Comments
- Alex