This is a simple touch control, which allows multiple touches on mobile devices, and touch screens.
It allows in a very practical and simple way to be able to move our player object.
Among the functionalities is:
Detects if the touch is initiated within the control.
It is disabled if it crosses the middle of the visible screen.
Natural and smooth circular movement.
Easy to understand code.
You can add it to your projects. And use it by obtaining the value of the variables: "mouse", This variable detects if it is active or not. And "angle": that detects which is the direction angle of the touchpad.
The two objects have a way of achieving shadow in real time.
simple but professional appearance.
You can change the colors to your liking, modifying only two lines of code.
I hope it serves you and you like it.
End User Licence Agreement (EULA).
Espero sea de utilidad, cualquier consulta no duden en contactarme.