* DISCLAIMER * This project isn't actually a game; it's just a test. But the test did work the way I wanted it to, so here's the project. Feel free to use any code you wise :) * INSTRUCTIONS * If you're on a pc, you can use WASD or arrow keys to move. BUT THAT'S NOT THE POINT OF THIS PROJECT. USE THE FREAKING JOYSTICK OR EL- I mean, if you're on mobile, you can use the joystick to move * NOTES AND CREDITS * I saw some other projects on a joystick a while ago, but they didn't make sense. So I decided to make a project of my own. Hopefully it makes to you. Like I said above, you can use any code as you wish. * HOW IT WORKS * This is for that 0.246 people that actually want to know how it works. Basically, anytime it detects when your mouse is touching the stick, and you hold down, the stick will go to your mouse. Pretty self explanatory, right? Now, as long as your holding down, there's a detection going on. This detection checks if the stick's distance to the center is more than 40 away, and it will set the position back to normal by facing the stick towards the center and moving the stick by one position, repeating until it's back on the joystick. After that, I move the player based on where the joystick's position is. And that's it. So uhhhhhhh go away now maybe? Nevermind then