After the amazing job you did with the scml objects pausing off screen i have to ask for one more performance optimization.
I just noticed that every time i add another instance of the same scml object it adds to the Layout object count all the png's that it already has from the first one.
What i mean:
Lets say i have one coin and i has 10 png's inside the scml object for it to tween.
Every time i add another coin the system adds another 10 png's to the layout object count!
so if i have 100 coins in my level i have 1000 objects out of nowhere and it is killing performance on weaker machines.
imagine now what happens when i add many more complex scml animations that have up to 40 png's each and try to make some instances from them.
Since spriter uses one set of images for all animations why does the plugin has to add them again and again for every new instance?
i find this tremendously inefficient and it defies the whole purpose of tilemaps since whatever we gain from there we loose it here.
Before ashley figured out a way to make seamless tiles i had to use sprites as tilemaps and for a 25000x5000 pixels layout i couldn't stay below 3000 objects.
On pc not a biggie(with an i3 and above that is).
But on mobile? forget about it!
With the new tilemap i rebuild my level and i dropped down to 400 objects.
Now imagine my shock when after adding just a few scml instances i saw that number skyrocket again.
Of course i may be doing something wrong so any advice would be welcome.
I have faith in you lucid!
please find the solution!