How to delete the image from an actor?
cbt
Member Posts: 644
Hi guys,
I wonder if it is possible to undo that? I dragged and dropped an image to one of my actors, but, than I decided not to use an image..
Is there any way to remove the image (and free some memory) from that actor?
I wonder if it is possible to undo that? I dragged and dropped an image to one of my actors, but, than I decided not to use an image..
Is there any way to remove the image (and free some memory) from that actor?
Comments
At least I can use PNG-8s..
Thanks TSB!
At least this is how I know
So, I'm just gonna see if recreation is necessary when the game is finished..
Thanks for your help gazjm.
I thought having loads of actors in the actor library is bad for performance - instead its better to have a couple and make loads of instances of those couple of actors?
Then it doesn't matter if you delete the image of the global actor because each instance will have whatever image you have assigned to it.
Or have I completley missed the whole point here...?
Heh, but you might want to make a copy of your project first.
What makes the difference is, how many actors do you have in the current SCENE. You can have 3 actors in a scene, and you get 60fps. On the next scene, if you have say 100actors, the fps drops to 20fps but when you get back to the first scene with 3 actors, you get your fps back to 60.
And I'm not really sure the performance you earn from using instances instead of different actors worth all of extra work..
A definitive optimisation guide from the GS team would be handy (the wiki is a bit thin). Instead of relying on myths and rumours from the forums and your own trial and error.