Jump Problem

FatalCrestFatalCrest Member Posts: 113
edited November -1 in Working with GS (Mac)
When I touch my jump button my character jumps fine and lands fine(sometimes but don't mind that right now), but if I hold my Jump button to the point that my character lands, it disables my jump. My jump function is based on an attribute that tells him when to jump when my button is pressed and when he is on the ground. I have tried making a rule where it corrects itself when my character hits the ground and I get the same results. I have tried using the if button is released to correct it, same result. Gah, this is such an annoyance! Dx

Does anyone have a solution to this? Anything would be appreciated A LOT. x3

Comments

  • gazjmgazjm Member Posts: 578
    I have just had a similar problem and fixed it by having an attribute called "allowjump"

    In the rule for my jump button I set it to work when touch is inside, allow jump is true ( and any other dependencies you have) this then changes the allowjump attribute to false.

    then another rule which says when released set allow jump to true. Hope this helps, it works for me.
Sign In or Register to comment.