here's a pic of my script, the motion and xvelocity part are fine but the sprite is not switching costumes as desired when xvelocity is > 0
i've not yet worked out on the reverse direction when xvelocity is < 0, right now i'm just trying to make it work while it's moving forward.......
http://tinypic.com/view.php?pic=i1gtgh&s=6
Offline
You need the if/else inside the forever block. Because of this, you should also remove the forever inside the if.
Offline