Help WITH JOYSTICK

Hi,
I just made a joystick for my game and have a few problems. first when I click the joystick it moves my player but the second you click it the player flies off the screen and then your not able to move it. How do I fix that? Second the top part of the joystick dosen't move when where you press it. How do I fix that? And, lastly, How do I make my player jump when the joystick is up, and duck when the joystick is down?
Thanks
I just made a joystick for my game and have a few problems. first when I click the joystick it moves my player but the second you click it the player flies off the screen and then your not able to move it. How do I fix that? Second the top part of the joystick dosen't move when where you press it. How do I fix that? And, lastly, How do I make my player jump when the joystick is up, and duck when the joystick is down?
Thanks
Comments
It's nearly impossible to tell what's wrong without more information on your code. However, I strongly recommend you check out the official Cross-Platform Controller Template. There's several different control methods there that work on any platform, and can easily be reskinned.
There's a video on the template located here: