problem whit animation

toki6toki6 Member Posts: 40
edited December 2011 in Working with GS (Mac)
Hello everyone, I have a problem: I have an actor standing with a gun that shoots through an animation. I wish it every 2 or 3 seconds to lower as if to ward, and then rises to his feet and back to parry with the animation first. I just do not get it to stay down for as long as I want, gets up quickly! you could give me an example? please ... thank you all for your help and sorry for my English very rough

Comments

  • cbtcbt Member Posts: 644
    Just drag and drop the "staying down" image file 7-8 times.

    For example your animations should be something like;
    1-) a.png
    2-) b.png
    3-) stay_down.png
    4-) stay_down.png
    5-) stay_down.png
    6-) c.png
    7-) d.png

    etc.
  • toki6toki6 Member Posts: 40
    sorry I can not understand, can you explain better? tanks!
  • cbtcbt Member Posts: 644
    I don't know if I can explain more clear.
    You have the image sequence of few .png files for the animation, right?

    And you want it to stay down longer. So, in the "Animation" behavior use .png files multiple times to extend the duration.

    If you have 3 images;
    smile.png
    cry.png
    hate.png

    Lets say you want them to animate,
    Animate ---> smile - cry - hate

    But if you want it to cry more, you put cry.png multiple times in the Animate behavior;
    Animate --> smile - cry - cry - cry - hate
  • toki6toki6 Member Posts: 40

    I understand it, only that the actor has a spawner that makes him shoot once every 1 second when it is standing, and even if I add the file to animation png stay down, he continues to stand and shoot once every 1 second ..... do not know if I explained it well ...
  • cbtcbt Member Posts: 644
    Cant you play with the timer on the spawner to make it match with the animation?
  • toki6toki6 Member Posts: 40
    I'm losing, even if disabling the spawner and add the file png stay down, the actor is still standing !!!?? why ?????
  • cbtcbt Member Posts: 644
    If you destroy the actor or respawn the actor, it begins the animation from the beginning.
Sign In or Register to comment.