mirror of
https://github.com/DragonRidersUnite/book
synced 2024-11-16 07:47:42 +01:00
fix(ch03): console img width on mobile
This commit is contained in:
parent
cc99b5a6fa
commit
42d8340ffd
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ To check if a key was pressed, we can use `args.inputs.keyboard.key_down` and th
|
||||||
|
|
||||||
Using `puts` is a really helpful way to check that our game works as we expect it to. In this case, every tick where the Z key is pressed down, it prints the string "Z key pressed" to the console (open it iwth <kbd>~</kbd>, remember?). Run your game and press the Z key a bunch and then open your console.
|
Using `puts` is a really helpful way to check that our game works as we expect it to. In this case, every tick where the Z key is pressed down, it prints the string "Z key pressed" to the console (open it iwth <kbd>~</kbd>, remember?). Run your game and press the Z key a bunch and then open your console.
|
||||||
|
|
||||||
<img alt="screenshot of DragonRuby console showing Z key pressed 6 times" src="./img/c03-console-puts.jpg" style="max-width: 420px">
|
<img alt="screenshot of DragonRuby console showing Z key pressed 6 times" src="./img/c03-console-puts.jpg" style="max-width: 420px; width: 100%;">
|
||||||
|
|
||||||
## Expanded Control Support
|
## Expanded Control Support
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue