0

Here is my code for movement but with keys , CLICK HERE <---------

I am creating a game but a im very new at coding , i understand some things. I do not know how to move my "body" of box2d with swipes on the phone.

please help me, there is a link for my code of moving my box2D body but with keys

1 Answers1

0

I have successfully detected swiping in my Android application using this answer. I don't know if it will work in your case. Have a look at it anyway. Have fun

Here is the link: How to detect the swipe left or Right in Android?

Sorry this one is a more relevant reference: LibGDX - Get Swipe Up or swipe right etc.?

LdBach
  • 56
  • 5