so when my sprite is in the air, it's in standing position, and when it's on the ground, it's is in jumping position. Which sort of emulates a splat effect. I cant figure it out. The action script I'm using for gravity is a hitTest with the ground. if it's false, the sprite moves down the y axis at a set speed until they are touching. This works fine. But when I attach "this.gotoAndStop(4)", "4" being the in the air position, it wacks the whole thing out.
Also I don't know how to input multiple keys into the if(Key.isDown) function. I'd like to be able to have something happen if UP and DOWN are pushed together- if you know how, tell tell tell.
Sunday, September 27, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment