Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / mobile Swipe control

Author
Message
psychoanima
6
Years of Service
User Offline
Joined: 19th Jun 2018
Location:
Posted: 9th Jul 2018 23:45 Edited at: 9th Jul 2018 23:48
I am very proud to present you my own version of swipe control. It's super simple, very easy to read and reusable if you're ever going to need swiping control in your mobile game

To change the area that specific swipe is covering just play with angle numbers and be careful to not overlap. ( To understand better how angles are working in AppGameKit just enable line Print(swipe) )



Special thanks to user Bengismo who showed me existence of Atan2 function.







Login to post a reply

Server time is: 2024-11-23 18:16:02
Your offset time is: 2024-11-23 18:16:02