Whats the proper way to jump?

StanStan Member Posts: 138
edited November -1 in Working with GS (Mac)
Hi everyone, I'm trying to make my character to jump properly, so far its not working well.
When I tap screen once my character seems to jump fine but once I start tapping many times the character just flying off the screen. I don't know if I'm doing this right but this is what I have for jumping:
-------
Rule:
Actor receive event>Touch> Is Outside
Timer 0.2 Run to Completion Checked
Accelerate
Direction 90
Acceleration 4000
----

This kinda works but when you tap screen many times it doesn't work well.

Any tips appreciated :)

Thanks
Stan

Comments

  • RHRH Member Posts: 1,079
    However you can make it look like it's jumping ;)

    Heres a nice looking demo: http://gamesalad.com/game/play/49577

    I haven't opened the project but it looks pretty smooth and I'm sure you can change it to suit your needs.
  • StanStan Member Posts: 138
    Hi RH, thanks for the link, but that demo does same thing, when you press button many times it just floats in mid air.
  • DankStewDankStew Member Posts: 36
    You could make the jump rule a two part rule (requiring both/all) and add in 2nd part that requires:

    when actor(jumping guy) touches/overlaps with other actor of platform (what he jumps off of):

    then your jump rule.

    Basically your telling the jumper he can only jump when his feet are on the ground. Hope that helps.
  • AfterBurnettAfterBurnett Member Posts: 3,474
    And all this time I thought it was "bend knees, extend legs quickly".
Sign In or Register to comment.