I am working on a game in AndEngine. In that I am able to move an Object in Right to Left, Top to Bottom and vice-versa. But, my issue is that how can I move the Sprite object in the Direction of Fling? It means if users Fling’s in any direction the Sprite Object should move on the co-ordinates of the fling and should move on.
If anyone can suggest about, how to get the exact X and Y co-ordinates would also do, I can manage to move the Sprite Object myself on the co-ordinates.
You can also see the VIDEO – Pirates Subs
In the video the Launcher coming on the FLING is what I am looking for, from any direction.
Thanks in Advance.
Suri Sahani.
Well, you can try this code…..
onFling() method look’s like this, for all direction.