Swipe gesture

FanStudioUKFanStudioUK Member Posts: 459
edited November -1 in Working with GS (Mac)
I have a car and when I touch it and swipe right I want it to accelerate.
The problem is that I don't know how to verify if I'm touching the car and swipe right....

Can anyone help me?

Comments

  • FanStudioUKFanStudioUK Member Posts: 459
    Hi tshirtbooth,

    I already tried this but it wont work for me. The problem is that I will continuously spawning cars...this idea of your will only work if I have one car on the screen...but I will have 10 cars at a time...

    Maybe this is not possible to achieve with GS.

    Thank you
  • beefy_clyrobeefy_clyro Member Posts: 5,394
    Can you change the game attributes to self attributes? This way it will only work for the car touched
  • FanStudioUKFanStudioUK Member Posts: 459
    Tried this already but no luck...
    I have also used the Simple Swipe Direction Template by Rob2 but it's very tricky. It's working but only half the way :) I have to press 2 times on my actor to register first the location and after the direction....
  • Rob2Rob2 Member Posts: 2,402
    edit...I must learn to read more :)
  • FanStudioUKFanStudioUK Member Posts: 459
    Done,

    Thank you
Sign In or Register to comment.