A
Amazing creature
Guest
trying to make an animation that stops for a while when it finishes, I thought I made it but when the player is attacking, when it switches the sprite back to idle it doesn't stop anymore, this sometimes also happens when the player is walking, the idle animation doesn't stop anymore
Code:
// idle pause animation
if sprite_index == spr_LWidle
{
if image_index == image_number
{
T_idle = 30//image_speed = 0;
}
if T_idle != 0 {
T_idle -= 1;
ani_speed = 0//image_speed = 0;
image_index = 0;
}
} else T_idle = 0
Last edited by a moderator: