Actor not animating

Greenkirby21Greenkirby21 Member Posts: 32
edited November -1 in Working with GS (Mac)
Hi, so I followed tshirtbooths tutorial on how to make a basic platform game movement


I did the exact same thing as the tutorial, except added an animate attribute after the movement attributes.

So I have:

When right = true, left = false

animate(then the 3 frames for when it is going right)
self.change attribute -> linear velocity -> 200 (makes him move right at 200 speed)

I have the same thing for left button. My character does not animate at all. He just moves left and right with the static image o_0. My right animation only has 3 frames, and same with my left animation.

Comments

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    Hi, the animate behaviour should work fine with linear vel. for moving the actor, providing it's in the same Rule, just after.

    There's another Platformer template using animation in the GS Creator New section, which I seem to remember does it slightly differently than tshirtbooth; maybe worth checking out.

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • Greenkirby21Greenkirby21 Member Posts: 32
    yes, I just saw this one. I am using this one and it works correctly. I still find it odd that it wasn't working tshirtbooths way, I found it a lot easier! Thanks :)!
  • rtisticgirldcrtisticgirldc Member Posts: 14
    having similar issue. do you remember which template that was?
Sign In or Register to comment.