diff options
Diffstat (limited to 'samples/99_genre_rpg_narrative/choose_your_own_adventure/app/main.rb')
| -rw-r--r-- | samples/99_genre_rpg_narrative/choose_your_own_adventure/app/main.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/samples/99_genre_rpg_narrative/choose_your_own_adventure/app/main.rb b/samples/99_genre_rpg_narrative/choose_your_own_adventure/app/main.rb index 9da0f38..22faad1 100644 --- a/samples/99_genre_rpg_narrative/choose_your_own_adventure/app/main.rb +++ b/samples/99_genre_rpg_narrative/choose_your_own_adventure/app/main.rb @@ -14,8 +14,10 @@ - args.outputs.labels: An array. The values generate a label. The parameters are [X, Y, TEXT, SIZE, ALIGNMENT, RED, GREEN, BLUE, ALPHA, FONT STYLE] - + For more information about labels, go to mygame/documentation/02-labels.md. + - args.keyboard.key_down.KEY: Determines if a key is in the down state or pressed down. + For more information about the keyboard, go to mygame/documentation/06-keyboard.md. - String interpolation: uses #{} syntax; everything between the #{ and the } is evaluated as Ruby code, and the placeholder is replaced with its corresponding value or result. |
