Answer the question
In order to leave comments, you need to log in
How to implement sprite animation in android (for objects in the game)?
Before asking a question, I confess that I found several ways:
Answer the question
In order to leave comments, you need to log in
Usually they make a "bunch of frames glued into one file" on a 1024x1024 or 2048x2048 canvas.
Even larger size is bad.
Accordingly, in the spriter itself it is better to export as a "heap of individual frames". But! At the same time, you need to make your own small software that will convert readable XML (or JSON) from the sprite and individual images into your own animation format that is convenient for you.
In this case, it is necessary to take into account the possibility of changing clothes in advance. In the spriter, this is all possible (by replacing individual static images that are involved in the animation).
If you are using a specific engine, you may need to google a converter to a supported format.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question