Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - thefatkid22

Pages: [1]
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:

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.

2
Programming Questions / Idle animation help
« on: October 16, 2016, 10:10:06 PM »
Hello,

I'm using that IWBT Studio Engine YoYoYo Edition v1_40 and I'm trying to change the idle animation as follows. I would like the initial idle animation to play through once then have it play on repeat a follow up idle animation that is subtly different. I am having a hard time figuring out the coding I've tried to use a while loop and an if else statement to try and replace the idle animation but I get the same problem with only one of the animations plays.

Please help if it's even possible.

Thanks,

Pages: [1]