how i make jump like this ?

hello every body . i now make game like this styly?
How do i make the player jumps and a little jump .and more jump.and very jump and very very jump ?
like this hero in the video

Answers

  • SocksSocks London, UK.Member Posts: 12,822

    Just make sure the 'bounce' value (under 'Physics') is more than 1.

    Demo project attached - press the Space Bar to jump.

  • ibrahimibrahimibrahimibrahim Member Posts: 4

    soory but not like this ! if hero go up like 170y thin if hero go down and go up so hero go to 190y !and thin if hero down and go up so he go to 220y ! I hope you understand what I mean

  • SocksSocks London, UK.Member Posts: 12,822

    @ibrahimibrahim said:
    soory but not like this ! if hero go up like 170y thin if hero go down and go up so hero go to 190y !and thin if hero down and go up so he go to 220y ! I hope you understand what I mean

    I don't understand, maybe draw a picture of what you want.

  • ibrahimibrahimibrahimibrahim Member Posts: 4

    i dont need use(bonce) Because i used and didnt give me the Thing right !
    if you see the hero in video ! he go up to 170cm and down and he go again
    up and go to 200cm and again
    he go down and go up to 230cm !.. i want me to control the up and down and not (bounce control for jump)

  • ToqueToque Member Posts: 1,187

    To me in demo you only control x movement.

    Y velocity constant every jump.

    You move up to three set positions on Y.

    I would have to think about it.
    Play with Change attribute velocity y.
    Sorry not on computer today.......

  • ibrahimibrahimibrahimibrahim Member Posts: 4

    This means I cant do it?

  • ArmellineArmelline Member, PRO Posts: 5,332

    What @ibrahimibrahim means, I think, is that bounce gives too much of an exponential effect. Each bounce is significantly larger than the last. I think he wants something where every bounce the height increases by the same amount - not the same amount relative to the last bounce height.

    Something like this, perhaps?

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772

    Here is a demo I did too (I see @Armeline beat me to it) :)

    This bounce will increase each time for 5 times and then reset. Of course you can change it how you see fit.

Sign In or Register to comment.