How Can Swipe And Tap Coexist?

Discussion in 'How Can I...?' started by MarioBros, May 22, 2019.

  1. MarioBros

    MarioBros Boxer

    Joined:
    May 17, 2019
    Messages:
    7
    Likes Received:
    0
    This is Marco from Italy.
    I am new to Buildbox . Thanks for all great info here.
    I have a question and hope you can reply. I need to let coexist swipe and tap controls. I hope to be clear about my request, but I am not very god with English. Is it possible to have a character control situation like in rayman adventure (mobile)? Swipe and tap works together and are not divided in zones. How can I let swipe and tap coexist without that that one affect the other?
     
  2. ItrytolearnBuildbox

    ItrytolearnBuildbox Boxer

    Joined:
    May 8, 2019
    Messages:
    7
    Likes Received:
    0
    Do I understand you right? You want to trigger something after the player swipes and if he taps on the screen you want to trigger something else?
     
  3. MarioBros

    MarioBros Boxer

    Joined:
    May 17, 2019
    Messages:
    7
    Likes Received:
    0
  4. ItrytolearnBuildbox

    ItrytolearnBuildbox Boxer

    Joined:
    May 8, 2019
    Messages:
    7
    Likes Received:
    0
    you can find the calculated distance of your swipe in the swipe node. Now you can make a condition that will only trigger if the distance is near to 0.
     
  5. MarioBros

    MarioBros Boxer

    Joined:
    May 17, 2019
    Messages:
    7
    Likes Received:
    0
    Are you speaking about buildbox 3? or 2?
     
  6. ItrytolearnBuildbox

    ItrytolearnBuildbox Boxer

    Joined:
    May 8, 2019
    Messages:
    7
    Likes Received:
    0
    Sorry, is your post about Buildbox 2? I am speaking of Buildbox 3
     
  7. MarioBros

    MarioBros Boxer

    Joined:
    May 17, 2019
    Messages:
    7
    Likes Received:
    0
    I'm speaking about bb2
     
  8. MarioBros

    MarioBros Boxer

    Joined:
    May 17, 2019
    Messages:
    7
    Likes Received:
    0
    have you some solution?
     

Share This Page