- Edited
While developing my Batty Bat Game, I needed a way for players to use touch or a mouse to fly my bat around. I looked for quite a while to find a piece of code to work with. I finally found one on the Godot Q/A forum, but it was for Godot 2.x and 3D. Since I was working in Godot 3.x and 2D, I had a bit of refactoring to do on the code to get it to work. The code I found was from Jacub Grzesik better known as kubecz3k on the Q/A forum. Jacub was nice enough to share his code, so now I am sharing my code modification for Godot 3. You can find a demo I made here on Github https://github.com/gswashburn/Analog-Stick-Demo This should be a good starting point for game developers wanting a basic movement demo to follow. The artwork used in the demo is from opengameart.org.