Double Jump.

0 favourites
  • 10 posts
From the Asset Store
Jump on alphabets in the proper order and reach the sun!
  • Hello world! =]

    I'm trying to do the double jump pose, and all I get is only the animation playing the second jump, but the second jump is not happening.

    I believe this may be caused by the "ground" necessity or something like this.

    Also, I tried to use "setting vector Y" to go up, changing the jump strength, and other tries not worked =

    Any sample to help me?

  • How about your give your character a private variable, "InAir"

    So that when your player sprite jumps, it can be like:

    Player is jumping

    -Set InAir to 1

    InAir = 1

    Control "Jump" is pressed

    -Make player Jump

    -set jump strength to (x)

    Player is on ground

    -Set InAir to 0

    -Set Jump strength to default

  • that's exactly what I said when I did him double jump, and not work, because (I think) it need a ground to make the jump pose happen.

  • I give up, that way I commented, using the vector Y is not working =

    Maybe because of the falling setups, it will change the character to another sprite animations...

    I'll do it later, better give up now and cool my brain a little bit.

    Hello world! =]

    I'm trying to do the double jump pose, and all I get is only the animation playing the second jump, but the second jump is not happening.

    I believe this may be caused by the "ground" necessity or something like this.

    Also, I tried to use "setting vector Y" to go up, changing the jump strength, and other tries not worked =

    Any sample to help me?

  • you should post your capx file so we can see directly what you are trying to do.

  • Try this

    <img src="http://dl.dropbox.com/u/1056957/N%C3%A3o%20apagar/doublejump.jpg" border="0" />

    As of course you'll have to set your own values :)

  • Doesn?t work with Shift, cause Shift is allready set for jump. If you choose an other key it works fine!

  • If i got it right, you want to do two different jump poses in a double jump wich could be something like this dl.dropbox.com/u/5214903/GM/jumpPose.capx

    As for your problem in using vector Y, its not easy to find a solution when you dont include the file

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • No problem Miu3

    I said that vector solution is not working with my code, all the solution suggested here was tried before I post, so, I simple give up, double jump is not my main objective now.

    To be clear, I didn't see a single sample file using double jump and the falling settings. They are all using only the jumping setting, that's nice, but after the R64/65 where was implemented that platform triggers (on jump, on land, etc) broken my code and my conditionals for double jump stop to work.

    Maybe later I do a completely new code for it.

    Thanks everybody for the time spend trying it, I appreciated your help.

    I'll come here back only when I solve this issue, in one month +/-.

    Cya!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)