fix(ch03): console img width on mobile

This commit is contained in:
Brett Chalupa 2022-12-05 06:30:29 -05:00
parent cc99b5a6fa
commit 42d8340ffd

View file

@ -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.
<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