Recycle actors

dshoedshoe Member Posts: 62
edited November -1 in Working with GS (Mac)
Can someone please explain what this is? I've heard about it several times but I dont understand the concept.

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    instead of spawning and destroy actors. you have them start in the game already just offscreen, when you want it to spawn instead of actually spawning it you move the one thats offscreen onscreen, then when you would want it destroyed instead of actually destroying it you move it offscreen. Then you keep reusing it as you need. So all your using is 1 actor with no spawn and destroy, instead of spawning and destroying whenever you want it. Thats the basics of it. Improves performance drastically if used correctly
  • dshoedshoe Member Posts: 62
    Okay, I figured it was something like that thanks. It sounds like it definitely can help performance, I just don't know how I could apply it to my game. http://gamesalad.com/forums/topic.php?id=25756#post-195211 I describe how my game works in that thread, take a look if you could.
Sign In or Register to comment.