kiwis's Recent Forum Activity

  • Hi,

    Seems a bit complicated.

    You can do it like this: if swipeDistance is positive in this example, then you're swiping down. negative is swiping up.

    if you want left and right, then just do the same but with Touch.X

    do you have a capx of this?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • On drag, or touch store the x, and y of the object to a variable.

    Then when its dropped compare the objects position to the variables.

    You'll need extra sub events for all the different directions you want to compare.

    Can you show how the commands should look in construct? maybe a screenshot please ?

    edit , I'm new at this

  • You just check the direction it was going when it was dropped.

    Like if the x when it was dropped was so much greater than the x it had when it was picked up, then you know it was swiped right.

    how do I go about doing this ?

  • Try this link you might find what you looking for

    Thanks but this is not exactly what I'm trying to do.

    I'm trying to swipe the boxes individually around the screen with finger but when I take my finger off the box it does not continue in the direction I swiped it for a short distance. I got the boxes to move with drag and drop but when I take my finger off the box it stops right away.

  • Use Drag & Drop behaviour

    Thanks for the reply, I did use drag and drop but how do I make the box continue to slide for a little after I take my finger off it?

  • I have 2 blocks , I would like to swipe them one at a time right,left,up,down with my finger. How do I achieve this with the touch input.

  • I'm trying to control each actor by swiping them with my finger in the direction I want it to go .

    couldn't find any tutorial that fit my question here scirra.com/tutorials/all

kiwis's avatar

kiwis

Member since 31 Mar, 2014

None one is following kiwis yet!

Trophy Case

  • 10-Year Club

Progress

10/44
How to earn trophies