hyperPad hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login

    Revamping jump with button.

    Scheduled Pinned Locked Moved
    Comments & Feedback
    2
    2
    370
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T-StudiosT
      T-Studios
      last edited by

      I have 2 main problems with the "jump" behavior.

      First of all, I think it needs to change the height you jump based off of how long you hold the button, like in many platformer games.

      Secondly, when you enable wall jumping, you can hold the joystick towards the wall and infinitely climb.

      1 Reply Last reply Reply Quote 0
      • MurtazaM
        Murtaza Admin
        last edited by

        Yeah the Jump with button behaviour needs some updates. I want it to jump based of a height, rather than power. This way you know exactly the height and makes it easier to design levels.

        But you can do the long press manually for now.
        One way could be use start touching, then enable a timer of sorts to keep track of how long you pressed it.
        If the timer > 1 second, make jump power higher.

        On stop touching turn off/reset timer.

        For this you'd probably use jump, instead of jump with button. In hyperPad you can pretty much do anything you want even if we don't include all the functionality in a easy to use behaviour :).

        1 Reply Last reply Reply Quote 0
        • First post
          Last post