Question by
JacksonBurrell1 · Jun 07, 2016 at 04:32 AM ·
movementswipe
Move Gameobject on x axis from swipe
Hey, just wondering how I can make a 2D sprite move to a certain position on a swipe.
So for example, the game has 3 lines the player can move across to. the sprite starts on 0 on the x axis, the middle line. when swiping left, it minuses 1, to whichever line is on the left. when swiping right, it pluses 1. moving to whichever is on the right.
Thank you!
Comment
Your answer
Follow this Question
Related Questions
Controller like Rolly Vortex 0 Answers
Unusual movement script. Any ideas how to do that? 0 Answers
How to throw an object while swiping and after 0 Answers
Swipe camera rotation controller (HELP) 0 Answers