Double Jump with custom platform movement

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.
  • Hello, in this game I am making, you can double jump as one of the characters. I tried making it so that while the character value is set for that character and the object is on the ground, it sets "DoubleJump" to 1. If you jump midair with doublejump as 1, and the right character value, you would jump again. However, nothing happens, and removing the double jump limiter allows me to double jump, but it can be done forever without the limiter. I think I have an issue or conflict relating to the values, but I am not sure. The first line of the "Class Physics" group and bottom of the "Physics" group are where the related events are located.

    Please login to see this attachment.

  • Your doublejump event is causing the player to doublejump as soon as his feet leave the ground, so your value is getting reset which makes it seem like you're only regularly jumping. Alexe's fix takes care of this by adding an extra "frame" onto the doublejump so you can jump twice. I believe this isn't desirable if your doublejump might have a different strength than your normal jump.

    A workaround for this is to not use Fusion's built-in "upon pressing a button" condition, which has issues with keeping keystate. I use an active object and alterable values to record keypresses instead, so a single button press will only trigger once. This can of course be done for all keys you need.

    Please login to see this attachment.

    Best person at writing incomprehensible posts. Edits are a regularity.

    Edited 2 times, last by casleziro (May 28, 2019 at 5:26 AM).

Participate now!

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