Help WITH JOYSTICK

ChucklingMonkeyChucklingMonkey Member Posts: 92
edited November -1 in Working with GS (Mac)
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

Comments

  • ChucklingMonkeyChucklingMonkey Member Posts: 92
    Help Please!
  • msonesmsones Inactive, Chef Emeritus Posts: 75
    Hey Chuckling,

    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:
  • ChucklingMonkeyChucklingMonkey Member Posts: 92
    msones said:
    Hey Chuckling,

    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:


    Thanks. I copied that exact code from that demo and it dosen't work.
Sign In or Register to comment.