whats best for performance, actors shoot all the time or activate them?

guillefaceguilleface Member Posts: 1,014
edited November -1 in Working with GS (Mac)
so iam in process of game platform, let say in the middle of a level i have actors moving/shooting, platforms moving down and up, left and right, so my question is, until i get to that part all thoses actors are using ram or as i get closer they star using ram. or whats the best way to do it?

Comments

  • JeffreyShimaneJeffreyShimane Member Posts: 372
    I believe if the actors exist in the scene, regardless of if they are on or off screen, they use up memory. Recycling actors (e.g. when they die, instead of destroying them, you recycle them to use again in a different area of the game) vs. spawning/destroying actors will typically yield better performance. Having said that, depending on the complexity of the scene (or lack thereof), your performance gains will vary. I would say to test it out and see if it makes a difference for you.
Sign In or Register to comment.