1
Programming Questions / Re: Idle animation help
« on: October 17, 2016, 10:00:00 PM »
Ok I tried that but all I am getting is animation 1.
Here's what I have under the Player object:
and i have the idle variable set in the //create set to false.
Here's what I have under the Player object:
Code: [Select]
//step
if(sprite_index=sprPlayerStand){
idle = true;
}else{
idle = false;
}
if(image_index =3 && idle != true){
sprite_index = sprPlayerStand;
}
sprite_index = sprPlayerIdle;
image_speed = 0.2;
and i have the idle variable set in the //create set to false.