I am having some difficulty adding swipe functionality to my game, and I was wondering if anyone could help?
I am creating a game using the V-Play Flappy Bird example as a template and I want to make it so that the user has to swipe upwards, rather than click, to push the player up. I then want to have a swipe downwards action which will have a different effect.
Could you explain how best to do this or show me some example code so that I can add it to my game? It seems like there is no simple way of doing it.
Thanks in advance,