We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Rapid double input to trigger second action causes uncontrollable spamming?

Home Forums Puzzles Rapid double input to trigger second action causes uncontrollable spamming?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #77865
    c4cc
    Participant

    I’m trying to have right and left kicks in a row. Imagine games like Rockman X8 where you rapidly tap twice directional buttons to dash.

    First kick is not a problem, only after the kick animation is completed does it allow kick button to be pressed again:

    ol4x1

    2nd kick sadly rapidly spams when the kick button is pressed more than twice.

    ol4x1

    I need the 2nd kick when the animation is playing to disable both 1st and 2nd kicks. I want to be able to “spam” 2nd kick rapid double input without spamming more than one 2nd kick animation, and disabling 1st kick animation when current 2nd kick animation is playing.

    Attached file as below.

    Attachments:
    You must be logged in to view attached files.
    #78521
    c4cc
    Participant

    How do I prevent spamming of 1st and 2nd input after the double tap?

    Edit: is there a puzzles equivalent for this Javascript, because I’m not good at javascript for verge3d

    • This reply was modified 1 month, 2 weeks ago by c4cc.
    Attachments:
    You must be logged in to view attached files.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.