How can I make a Jump look more clean in Windows version?
goddessarowyn
Member Posts: 8
Ok, so I run the latest Windows version of GameSalad, and I have started working on a new platformer game where you play as one character. I have animated the character to run when a key is pressed, and so forth, and I have also added the jump attribute. However, when the character jumps in any direction aside straight up, the animation for the jump only lasts for a second, and then the character goes back to its running animation while it's still falling back towards the floor. I have been working for two days on trying to figure out how to make the jump look more clean like in Mario Bros. or Maplestory, but have been unsuccessful. I have watched several tutorials, Jamie-C's tutorial's are awesome, which is where I learned how to program the jump, but now I am faced with a totally new obstacle. Any suggestions or fixes for this is be greatly appreciated.
Comments
actor receives event collides with floor
"onFloor" = true
Otherwise
"onFloor" = false
then just make some other rule for you animation :
if "onFloor" = false & attibute self.motion.linear.velocity > 0
animation Jump
if "onFloor" = false & attibute self.motion.linear.velocity < 0
animation fall
cheers
And it is self.motion.linear .Y if you didnt nderstand that.:)
✮ FREE templates at GSinvention ✮
✮ Available for hire! support@gsinvention.com ✮
yep boolean actor, but you can also put it on the main game also
for more advance setup