summaryrefslogtreecommitdiffhomepage
path: root/samples/07_advanced_rendering/03_render_target_viewports/app
diff options
context:
space:
mode:
Diffstat (limited to 'samples/07_advanced_rendering/03_render_target_viewports/app')
-rw-r--r--samples/07_advanced_rendering/03_render_target_viewports/app/main.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/samples/07_advanced_rendering/03_render_target_viewports/app/main.rb b/samples/07_advanced_rendering/03_render_target_viewports/app/main.rb
index b748ffa..dbceab3 100644
--- a/samples/07_advanced_rendering/03_render_target_viewports/app/main.rb
+++ b/samples/07_advanced_rendering/03_render_target_viewports/app/main.rb
@@ -48,10 +48,12 @@
- ARRAY#intersect_rect?: Returns true or false depending on if the two rectangles intersect.
- args.inputs.mouse.click: This property will be set if the mouse was clicked.
+ For more information about the mouse, go to mygame/documentation/07-mouse.md.
- args.inputs.keyboard.key_up.KEY: The value of the properties will be set
to the frame that the key_up event occurred (the frame correlates
to args.state.tick_count).
+ For more information about the keyboard, go to mygame/documentation/06-keyboard.md.
- args.state.labels:
The parameters for a label are
@@ -61,6 +63,7 @@
4. the alignment
5. the color (red, green, and blue saturations)
6. the alpha (or transparency)
+ For more information about labels, go to mygame/documentation/02-labels.md.
- args.state.lines:
The parameters for a line are
@@ -68,6 +71,7 @@
2. the ending position (x2, y2)
3. the color (red, green, and blue saturations)
4. the alpha (or transparency)
+ For more information about lines, go to mygame/documentation/04-lines.md.
- args.state.solids (and args.state.borders):
The parameters for a solid (or border) are
@@ -76,6 +80,7 @@
3. the height (h)
4. the color (r, g, b)
5. the alpha (or transparency)
+ For more information about solids and borders, go to mygame/documentation/03-solids-and-borders.md.
- args.state.sprites:
The parameters for a sprite are
@@ -85,7 +90,7 @@
4. the image path
5. the angle
6. the alpha (or transparency)
-
+ For more information about sprites, go to mygame/documentation/05-sprites.md.
=end
# This sample app shows different objects that can be used when making games, such as labels,