I have a EmbeddedAsset class like in the starling handbook. In the hand book they write :
But I have too much embedded textures and there is so little graphic memory. What I did with the previous assetmanager class was enqueuing specific Embedded assets from the class by using the enqueueFromName function.
I've tried doing :
but it doesn't work as it is looking for embeddable assets within the class bird instead of enqueuing the bird class itself.
There is an enqueueSingle as well but I don't manage to make it work with textureatlases.
To be honest, I don't really have to use the assetmanager class because all my assets are embedded but I kinda like this class so... 😃