Change spacing for controller directions

This commit is contained in:
2023-12-19 18:38:37 -08:00
parent 26f7e773e2
commit 5c119ad8d0

View File

@ -28,10 +28,14 @@ If you make a cool game with this addon, I would love to hear about it!
You can make this a super basic controller by just disabling everything.
**How to add controller/GamePad support**
In the controls export group, there is a commented section at the end that says "Uncomment this if you want full controller support". Uncomment that block.
Make a key map for each direction (left, right, up, down) and map them to your joystick.
Write in these keymaps in the controls section of the player settings.
In the `_process` function, there is another block of commented code at the end that says the same thing. Uncomment that too.
In the controls export group, there is a commented section at the end that says "Uncomment this if you want full controller support". Uncomment that block.
Make a key map for each direction (left, right, up, down) and map them to your joystick.
Write in these keymaps in the controls section of the player settings.
In the `_process` function, there is another block of commented code at the end that says the same thing. Uncomment that too.
You should now be able to look around with the joystick. Make sure you add the other controls to the input map. (movement, jumping, crouching, sprinting, etc.)
**How to change settings:**