Jumping in a Top Down game?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hi everyone, I'm trying to make a top-down game where the character can jump. Like in Story of Thore - Beyond Oasis. I haven't been able to find much in the way of tutorials on this kind of think. This sequence is an example of what I'm trying to do. Please login to see this link.

    Follow my game dev on twitter Please login to see this link.

  • So not a top down game, but a 2.5D game? I would put an invisible detector object at the players feet. When you jump, the character sprite is moved upward, but the detector still stays at ground level. Therefore you can figure out the positioning of moving around while jumping.


    Sent from my iPhone using Tapatalk

    Custom A* Pathfinding in MMF2: Please login to see this link.
    Random Tile World Generation: Please login to see this link.

  • you nearly are right; you need a [ground detector-invisible] which is moved with your movement (up down left right), you do you jump just like side on-and using a foot detect which will stay with character, you add a negative value to his Y when you jump; and then inc that value which will give you the arc; when the foot detect comes down past the ground detector it will finish the jump.
    the ground detect will also move up and down if you want to jump up the screen or down the screen.
    use fast loop on the foot detector when moving the characters jump cycle to see if its coming downward and past the ground detector ending the jump.

    its actually very easy - just sounds like a lot
    \added quick example/

  • Thanks, guys, I think I'm starting to work it out. I seem to have a lot more variables than what you have in your example. But I'm sure I'll work it out. Here's what I have so far. Please login to see this attachment. I don't think I've quite got it yet but let me know what you guys think.

    Follow my game dev on twitter Please login to see this link.

  • Well, I'm using a ground offset variable in the player's object. Objects you can jump on have a shadow object with a hight. When you jump, if your total hight is larger than the hight of the object your character can overlap it. Then the hight of that object becomes the ground offset. I haven't done moving platforms yet.

    Follow my game dev on twitter Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!