That looks pretty good!
I would definitely recommend swapping to use me.Sprite as a concrete solution, or basically a sprite that sub classes me.Renderable. Can get benefits of using things like texture packer, object pooling more so, etc. Keeps the API we have a bit more consistent with the rest too.
We indeed did talk about using renderable instead of regular images, but we did not give it a try yet. My only concern though was on the performance side as using Sprite is much more consuming than just a regular image, so i think that any other alternative might be useful investigating as well. Maybe some in between solutions is the way to go ?
Happy to discuss them anyway :)
Hi Christian, nice hearing from you again!We indeed did talk about using renderable instead of regular images, but we did not give it a try yet. My only concern though was on the performance side as using Sprite is much more consuming than just a regular image, so i think that any other alternative might be useful investigating as well. Maybe some in between solutions is the way to go ?