Loading with the scene better than spawning?

CapCap Member Posts: 225
edited November -1 in Working with GS (Mac)
Hey,

I got an interesting question: if I drag & drop all actors I need into the scene in GameSalad, I don't have to spawn them during the game, right?
If I hide them out of view and move them into the game just when needed, it should be better performance-wise than spawning & destroying...
If I don't need them for a while, I could hide them again. Is it necessary to make them invisible or opaque or is it enough to just place them out of camera view?

Thanks!

Comments

  • JCFordJCFord Member Posts: 785
    Yes that's what I do load th in the scene off screen and just move them in and out as needed. No need to male them invisible as long as they are out of the camera view.
  • tubgamingtubgaming Member Posts: 14
    I have had to adjust some of my actors alpha when they are just out of view because they can be seen when the screen orientation rotates. Just something to keep in mind.
  • CapCap Member Posts: 225
    At first: thanks for your answers!
    tubgaming said:
    I have had to adjust some of my actors alpha when they are just out of view because they can be seen when the screen orientation rotates. Just something to keep in mind.

    Ah, interesting. So you adjust the alpha value.
    I remember that I did some 3D in RealBasic many years ago. Every object not in camera view was set to invisible (frustum culling) so it didn't burden memory. In GameSalad it doesn't matter if an actor is offset or not or set to visible or not, it will burden memory until it's destroyed, right?

    Thanks!
  • CapCap Member Posts: 225
    Hm. Is there a limit on how many actors I can load with the scene?
Sign In or Register to comment.