MarcoFazioRandom / Virtual-Joystick-Godot

A simple virtual joystick for touchscreens, for both 2D and 3D games, with useful options.
MIT License
731 stars 80 forks source link

Is there a way to use it as a simple 4 direction 80-style joypad? #71

Closed coppersoft closed 6 months ago

coppersoft commented 6 months ago

Ciao,

I was wondering if there is an easy way to use this component as a simple old style non analogic 4-way joystick, like it was the controller on a 1980s nintendo NES.

Something similar to what is displayed on a mobile browser when you open a pico8 game.

9973f21c-ec11-459e-bb17-b5fb17bcdb94

Thank you!

MarcoFazioRandom commented 6 months ago

Hello, for a d-pad, I would use 4 buttons over the pad sprite. The joystick's logic is too different. Maybe I can make a different node for a d-pad, but it a bit outside the scope of this project.

coppersoft commented 6 months ago

Okay, I understand that I am asking for something too different from the purpose of the project. Thanks anyway!