Loading with the scene better than spawning?
Cap
Member Posts: 225
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!
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
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!