How do I change animation?

gawakamygawakamy Member Posts: 109
edited March 2012 in Working with GS (Mac)
Hi, GS dudes.
I am gonna change animation when it is clicked.
eg. Shaking cookie -> click it -> Move and decrease.
How do I make it? Please give me an example.

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    edited March 2012

    Make a self attribute in the actor called touched.

    Have a rule when touch is pressed
    -change attribute touched to true

    Then a rule when attribute touched is true
    -animate(the animation you want to do after its touched)
    OTHERWISE
    animate(the animation you want to do before its touched)
  • gawakamygawakamy Member Posts: 109
    Awsome. I could figure it out immediately following your instruction.
    Thanks, John !!! :D
Sign In or Register to comment.