What I would like to do, is to move the player on the screen with a single touch. So for example, if I touch the screen on the upper left corner, and my player is on the center of the screen it will turn, and move to that point where the screen was touched.
(and if it's moving and I touch the screen somewhere else, it will change directions to that point where I touched it last)
And of course, it's a topDown game.
I tried a few things but none of them worked properly and I couldn't find a good tutorial about this kind of problem.
↧