summaryrefslogtreecommitdiffhomepage
path: root/samples/99_genre_rpg_narrative
diff options
context:
space:
mode:
Diffstat (limited to 'samples/99_genre_rpg_narrative')
-rw-r--r--samples/99_genre_rpg_narrative/choose_your_own_adventure/app/main.rb4
-rw-r--r--samples/99_genre_rpg_narrative/return_of_serenity/app/repl.rb1
2 files changed, 3 insertions, 2 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.
diff --git a/samples/99_genre_rpg_narrative/return_of_serenity/app/repl.rb b/samples/99_genre_rpg_narrative/return_of_serenity/app/repl.rb
deleted file mode 100644
index a59baf5..0000000
--- a/samples/99_genre_rpg_narrative/return_of_serenity/app/repl.rb
+++ /dev/null
@@ -1 +0,0 @@
-puts $gtk.args.state.current_scene