Sprite animation sequence problem

How can I edit the sequence without changing images’ names?

Create a new animation in your atlas file and add the sprites there in the order that you want.

1 Like

Mark an image and press Alt+up or Alt+down to move it in a sequence.

2 Likes

Thanks, that works! :slight_smile:

BTW, How can I make a sprite stay longer? I tried putting same sprite consecutively, but it is hard and unreasonable. Here is an example,
sprite1
sprite2
sprite3
sprite3
sprite3
sprite4
sprite5

In this example sprite the animation comes sprite3 and stay a little bit then continues. Any idea about that?

A better way is to chain animations together. See https://www.defold.com/ref/go/#go.animate for an example.