Right now I have made animation with a bunch of if statements, but it is not really optimal, so I just wanted to know the best way there is to make optimal animation, so anyone can just come with ideas on how to
There are a couple of ways to do it without using 'if' statements. One way is to name each set of images with the same name suffixed by a sequence number. The other is by using arrays for the images. Either one of these would require an int field to track which image is the current one being used.