This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.
Hi Everyone,
In this video I will show how to make player move in the direction of swipe. Player can swipe left, right or Jump. Code is just 3-4 event lines.
Check the video here and if you find it difficult then download CAPX from here
Thanks a lot!
One note is that in C3 I found it uses negative angles, so the angle check becomes:
Up: -110 to -70
Right: -20 to 20
Down: 70 to 110
Left: 160 to 200 (and for some reason, it could be negative sometimes, so I add an OR block and: -200 to -160)
Thanks again!
Thank you so much for that! I was stuck as to why it wasn't working!
Thanks! You helped
very happy to know that