Hello,
I’m writing a simple game program where enemies scroll down the screen and the player must hit them to score points.
The problem is switching from one animation to another. I have 3 animations a running, an idle an an attack animation, what i want to do is have my attack animation play through once and then return to idle but all i manage to do is a continual loop of attack. Ive tried a few things to fix this but i havent gotten anywhere with it.
Does anyone know how to do what i’m trying?