12-29-2010, 06:46 PM
Change
That'll change the button to the SHIFT key for escapes.
For your general list of keys, run your game and hit F1. Then you'll see a popup for the game's properties. Click on the Keyboard tab. There, you can see the default keys. As you'll notice, the 'C' input button (aka select) is set to work on 'Space', 'Enter' and 'Z' . [/i] Why Z ??? [/i] And the 'A' input button is set for the 'Shift' key. I also look at the 'gamepad buttons' since I don't want to single anyone out.
Code:
if Input.trigger?(Input::F5)[code]
to something like...
[code]if Input.trigger?(Input::A)
That'll change the button to the SHIFT key for escapes.
For your general list of keys, run your game and hit F1. Then you'll see a popup for the game's properties. Click on the Keyboard tab. There, you can see the default keys. As you'll notice, the 'C' input button (aka select) is set to work on 'Space', 'Enter' and 'Z' . [/i] Why Z ??? [/i] And the 'A' input button is set for the 'Shift' key. I also look at the 'gamepad buttons' since I don't want to single anyone out.