Currently, I have problem to create an animated sprite.
I don't want use an AnimationDrawable because I don't think it's a good idea for my problem.
In fact I want take all sprites in a same .png like this example:
first, do you think I am right ? because there are also animation sprites if the guy is dying, is running and ect...
Thus Is it better use 40 .png(s) for one characters or a big one .png for each characters?
If i am right, the only possibility that I have find it's used an Bitmap with source rect and rect destination like this :
But what the difference with a drawable object because at this time I use drawable (speed, optimisation). Is it possible to create an drawable with Bitmap if we know the source rect ?
thank you for your help.