Animation issues , help

ThaniThani Member Posts: 128
edited November -1 in Working with GS (Mac)
Ok , so I've created couple of frames of a plane rotating left and right .
Problem is , when I'm rotating the plane resets its image .

Sorry for the bad quality .

I've played with the loop and " restore actor image when done " but nothing happened .

Comments

  • ThaniThani Member Posts: 128
    Help please
  • simo103simo103 Member, PRO Posts: 1,331
    can you do a video of your animation code ... will need to see that to help.
  • ThaniThani Member Posts: 128
  • simo103simo103 Member, PRO Posts: 1,331
    thanks Thani ... I think it is because you have an animate which is outside of any rules. The first one with three images. I think you need an attribute like PlaneTurning as a boolean. Have your turning rules turn it to true and in the otherwise have a change attribute back to false and then wrap that first animation in a rule if PlaneTurning is false.

    Let me know if you have trouble with that or if it doesn't work.
  • ThaniThani Member Posts: 128
    So you mean , make an attribute.boolean and put it in each rotate rule . So clock-wise rotate .game.boolean attribute.set to true , otherwise set to false ?Same goes with anti clock wise rule ?

    Because I'm kinda confused , I don't have alot of exp with this .
  • simo103simo103 Member, PRO Posts: 1,331
    yes
  • ThaniThani Member Posts: 128
    Hey simo , thanks for helping me out . Here is what I did . it still won't work .

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    you could make a seperate image of it flipped then when motion linear x < 1 constrain the image to that the new image. In the attribute browser youll see the image attribute and you can constrain that like any other one. Just make sure your constraining it to the exact name of the image ex: one.png
  • simo103simo103 Member, PRO Posts: 1,331
    thani .. at 006 seconds of the video it shows an animation of the plane. Put that animation inside a rule that say when attribute Plane_animate (or whatever the attribute name is that you have at 0:18) is false.

    What is happening, if I am correct is that the first animation is trying to run all the time. your turn animation is running during the turns so they are mixing. So what you want is when the turn animation is taking place, it needs to turn OFF the first animation.
  • ThaniThani Member Posts: 128
    I did it and it happened , but as soon as i did that , GS closed for no reason and i didn't save it .
    So I went back and did it all over again , but now when I press ( say : down to rotate clockwise ) the plane will stay at that last animated picture that is attached to the rotate rule , and not change unless press up to rotate it counter clock wise .

    Sorry I can't film it , my screen program is bugged .
  • simo103simo103 Member, PRO Posts: 1,331
    if you're comfortable email me the file and I'll take aquick look at it.

    simon [at] resqwest .net (Note the .NET part).
Sign In or Register to comment.