Change spacing for controller directions
This commit is contained in:
12
README.md
12
README.md
@ -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.
|
You can make this a super basic controller by just disabling everything.
|
||||||
|
|
||||||
**How to add controller/GamePad support**
|
**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.
|
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.
|
Make a key map for each direction (left, right, up, down) and map them to your joystick.
|
||||||
In the `_process` function, there is another block of commented code at the end that says the same thing. Uncomment that too.
|
|
||||||
|
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.)
|
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:**
|
**How to change settings:**
|
||||||
|
Reference in New Issue
Block a user