GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Will setting actor's height and width to 0 save memory?

AlkaPPAlkaPP Posts: 167Member, PRO

Hi all,

I'm working on all levels in one scene project. Many actors are not used sometimes when they're not on camera but they can't be destroyed.

If I set them to 0 when not in used, would it save memory?

Any suggestions on all in one scene? It's a hundreds levels game so I don't think I would make separated scene for each level.

Thank you,

Alan,

My Gamesalad Games On App Store:

Greedy Chubby: https://itunes.apple.com/us/app/greedy-chubby/id834371213?ls=1

Comments

  • bob loblawbob loblaw Posts: 189Member, PRO

    now this is an interesting question. i'd like to know the answer too.

  • rainwaterstudiosrainwaterstudios Posts: 159Member, PRO

    @bob loblaw said:
    now this is an interesting question. i'd like to know the answer too.

    Likewise!
    If it does save memory, would it be prudent to have ALL (or most) actors set to 0px, simply changing the values to the desired size with a 'Change Attribute' behavior at the top of the actors?

Sign In or Register to comment.