Swipe to shoot controls - Need Help!!!
toastytee
Member Posts: 53
I made a swipe control using tshirbooths video:
I have my gamesalad game file available to download here: http://arcade.gamesalad.com/g/110443?GSCVersion=0.9.94
The problem I'm having is that there is a bug in my game file in which the bullet will fire when you simply touch the screen (without swiping).
Can anyone help me with a fix?
I have my gamesalad game file available to download here: http://arcade.gamesalad.com/g/110443?GSCVersion=0.9.94
The problem I'm having is that there is a bug in my game file in which the bullet will fire when you simply touch the screen (without swiping).
Can anyone help me with a fix?
Comments
Assuming this is the SwipeX=TOUCH_X/Y +- RELEASE_X/Y, make the bullet fired when SwipeX >=50.
Sorry if this is confusing. Post a screenshot of your rules and I can help better.
https://lh3.googleusercontent.com/-dsKNvzergio/UT4G-PX4rAI/AAAAAAAAAOw/iK7HuE_Hgag/s806/Screen+shot_02.png
https://lh3.googleusercontent.com/-dsKNvzergio/UT4G-PX4rAI/AAAAAAAAAOw/iK7HuE_Hgag/s806/Screen+shot_02.png
https://lh4.googleusercontent.com/-tU-t1_7V628/UT4G8cO6YuI/AAAAAAAAAOU/8Z5ABpVOTig/s806/Screen+shot+04.png
Are these the only rules pertaining to this function?