Swipe L and R control on X axis
sinbot
Member Posts: 232
i need to create a game mechanic where player can touch anywhere on screen and move thumb left or right which then moves actor left or right on the X axis. when touch is released i want the actor to maintain its position (i know how to do this last part).
i found some tutorials on how to do this but not exactly the way i need. can anyone clarify please?
Comments
Something like this?
dapion.de
[https://twitter.com/dapionde?]
i had thought of that same technique as well but i don't like the idea of the player having to touch specific areas of the screen. i would like the player to be able to swipe left or right anywhere on the screen to make the actor move. > @dapion said:
I can't resist, but.... ...good luck with **that ** ^^^ at the moment....
It's one of the things we're still awaiting a fix for, 3 months later, and looking less likely to be fixed, as time goes by...
If your button or active area is FAR away from the edge of screen (say, ALL of the touch-able area is at least a 5th/6th of the way in towards the centre of the screen), you might be lucky, otherwise you're probably boned, as most of us are....
Give this thread a try:
http://forums.gamesalad.com/discussion/comment/352627/#Comment_352627
thanks! i'll try some those suggestions. > @RThurman said: