Hello,
I want to know how to create a single touch joystick that rotates my player to the position it is facing. How can I do this without having dual sticks.
Thanks in advanced.
Does the example in this thread help?
Yeh yours is good but I only want the stick to rotate the player not move
It would consist of setting the angle of the player to thumbstick.a degrees
how do i encourparate your program with the rotation
Develop games in your browser. Powerful, performant & highly capable.
Like I said..
You'd want to set the angle of the sprite to thumbstickstick.a degrees
so:
on touch
thumbstickstick is selected
sprite set angle - thumbstickstick.a
I know that but what I dont know is how to create the thumb stick in the first place
That's why I created my example.
All you need is in my capx right?
Just copy or recreate the events and sprites and it should work..