Advanced Move, How To Deactivate Move On Release Button

Discussion in 'How Can I...?' started by Bllaaa, Aug 31, 2018.

  1. Bllaaa

    Bllaaa Boxer

    Joined:
    Jul 26, 2018
    Messages:
    71
    Likes Received:
    11
    I'm trying to learn the "advanced move" functionality. I'm trying to make different custom controls.

    I want to make a player with à jetpack.
    - When I press the left button he flies to the left, when I release the button he falls back.
    - When I press the right button he flies to the right, when I release the button he falls back.

    My problem is, there is no option for deactivating move on the release. There is one for activate on release, but that's all?
    upload_2018-8-31_13-56-59.png

    If you have an idea, a trick or a good advice... ^^
    Thanks a lot for the help
     
  2. Bllaaa

    Bllaaa Boxer

    Joined:
    Jul 26, 2018
    Messages:
    71
    Likes Received:
    11
    Nobody Knows ? ^^
     
  3. Jackazoid

    Jackazoid Avid Boxer

    Joined:
    Sep 7, 2017
    Messages:
    176
    Likes Received:
    72
    Try this.
    Make a second advance move (Ad Component) for the same event with "activate on release" with 0 velocity and operation replace.
    "Time out" should probably be 0.
     
  4. Bllaaa

    Bllaaa Boxer

    Joined:
    Jul 26, 2018
    Messages:
    71
    Likes Received:
    11
    Hi @Jackazoid, thanks for the reply
    I tried it but it doesn't work as expected. o_O

    1- When I press my button the first time, my player fly. DONE
    2- When I release it, it falls. DONE
    3- When I press it again, nothing happened. BUG

    upload_2018-9-3_10-55-58.png

    So after the release of the button, it can not fly anymore. Probably because of the timeout of the second Advanced Move that is set to 0? But if I change the timeout by 1s, it falls during this time (1s) and after it flies again.

    What do you think?
     
  5. Tars Tarkas

    Tars Tarkas Avid Boxer

    Joined:
    Jul 17, 2018
    Messages:
    303
    Likes Received:
    228
    there is a bug in 2.3.6 for the advanced move. maybe try the beta version of 2.3.7 or an earlier version. and don't set it to 1000, leave it at the initial 0. it will stop when it's released
     
  6. Bllaaa

    Bllaaa Boxer

    Joined:
    Jul 26, 2018
    Messages:
    71
    Likes Received:
    11
    Wow, ok, thanks for the reply. ^^
    Do you where I can download this beta version?
     
  7. cytan927

    cytan927 Boxer

    Joined:
    Jan 28, 2016
    Messages:
    30
    Likes Received:
    10
  8. Bllaaa

    Bllaaa Boxer

    Joined:
    Jul 26, 2018
    Messages:
    71
    Likes Received:
    11
    nice @cytan927, thanks for the link
    So you're right @Tars Tarkas , with the beta version the bug is revised.
    It works perfectly with just on Advance Move. Perfect ^^
    upload_2018-9-3_15-2-13.png
     

Share This Page