Hello.
I am sorry if duplicating these questions, but i could not find clear answers in the forum. Thank you.
1. if "go to layout N" from layout "N-1", is layout N-1 garbage collected in memory automatically?
2. if sprite-type is destroyed, is its image memory freed?
3. a. if "big" sprite-image is scheduled to be loaded dynamically after first layout load is completed, why the sprite apparently (?) sill makes a HTML-request for a "default" empty image in first layout load
anyway to avoid this?
b. if sprite had image at design-time, but on later design one needs to remove this image,
in favor of dynamically loaded image, how to do this?
4. Apparently, no matter is the N+1 layout is used, it is still loads to the web browser at landing time.
What are the ways to avoid this? I use just one: make image download dynamic and catching the "onload" event.
Are there any more organized ways of doing this?
These links did not help, perhaps i don't understand something:
Other links concerning memory:
Memory use, huge problem for large games on mobile
Thank you.
Konstantin.