PLATFORMER: jumps on vertical moving platform

  • Heres a very simple example how to deal with the jumping issue on vertical moving platform.

    The action in event2 requiers precise number in pixels, depending the height of the platform and the player but that should be posible to figure out in lees than a minute by playing with it.

    File: dl.dropbox.com/u/5214903/GM/vertical%20platform%20movement.capx

    Note: not good for slopes!

  • makes me think of what I did on another capx

    verticalMovingPlatforms.capx

  • makes me think of what I did on another capx

    http://dl.dropbox.com/u/23551572/C2/verticalMovingPlatforms.capx

    Indeed, too bad it also has its problems on vertical moving slopes but great example you made as always :D

  • Try Construct 3

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

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

    That worked great, thanks for posting this info.

  • Thanks, that is what I was looking for.

  • Hi, sorry if i'm reviving an old post, but I have make some changes in Yann project...

    and i think some people will like ^^

    dl.dropbox.com/u/35360656/PlataformMoving.capx

    it just a little adjust, if you are under and jump over the platform, the player don't "teleport" above...

    hope some people like it ^^

  • Hi, sorry if i'm reviving an old post, but I have make some changes in Yann project...

    and i think some people will like ^^

    http://dl.dropbox.com/u/35360656/PlataformMoving.capx

    it just a little adjust, if you are under and jump over the platform, the player don't "teleport" above...

    hope some people like it ^^

    yepp. I do <img src="smileys/smiley1.gif" border="0" align="middle" />

    thnx

  • hi, I was looking my code... and I change a little think that will make much more easy to implement...

    just change the code above the "is overlapping sBlockMoving" for "is jumping" and make it reverse...

    the player only will set sMovingPlatform to true when he is not jumping ^^

    thx

  • Hi! Im having the same problem... i have been looking your tests and looks nice so i have tried to copy to my game.

    Everything is in right place, but i dont know how to adjust the values in the line Feet.Y <= sBlockMoving.Y + 10 I have tried but with not good results.

    And maybe i have to do bigger/smaller the feet size too?

    Thanks for the help! <img src="smileys/smiley42.gif" border="0" align="middle" />

  • Realy This tutorial is awesome & it has saved my too much time. Thank you so much...... I was working on Player Movements for a day & couldn't get smooth gameplay..This example is realy amazing...Thanks a lot again.....:) <img src="smileys/smiley20.gif" border="0" align="middle" />

  • Hi all,

    I'm struggling for a while with the following problem and I hope someone can help me:

    I have a player and a vertical moving platform. The player can jump on the platform. When the player is standing on the platform, the movement of the player and the platform does not look smoothly, and even a little choppy.

    To move the platform up and down I tried the sine behavior and the 8-way behavior, and both give the same result.

    I tried gravity 0, and even disabled platform behavor while standing on the platform.

    Does anyone know how I can run this smoothly?

  • Thanks, man, u helped me a lot

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