summaryrefslogtreecommitdiffhomepage
path: root/samples/07_advanced_rendering/04_render_primitive_hierarchies/app/main.rb
diff options
context:
space:
mode:
authorAmir Rajan <[email protected]>2021-08-07 00:13:33 -0500
committerAmir Rajan <[email protected]>2021-08-07 00:13:33 -0500
commita503afe87619ff82201c0a43818fa1c3f070a548 (patch)
tree0b228a6456d17f6d0c6ea54c9ecd6a045ddbdf59 /samples/07_advanced_rendering/04_render_primitive_hierarchies/app/main.rb
parentbea150381f495630f92f89d23d5f3445ec289b2d (diff)
downloaddragonruby-game-toolkit-contrib-a503afe87619ff82201c0a43818fa1c3f070a548.tar.gz
dragonruby-game-toolkit-contrib-a503afe87619ff82201c0a43818fa1c3f070a548.zip
Samples folder synced.
Diffstat (limited to 'samples/07_advanced_rendering/04_render_primitive_hierarchies/app/main.rb')
-rw-r--r--samples/07_advanced_rendering/04_render_primitive_hierarchies/app/main.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/samples/07_advanced_rendering/04_render_primitive_hierarchies/app/main.rb b/samples/07_advanced_rendering/04_render_primitive_hierarchies/app/main.rb
index 7f345ac..aedd830 100644
--- a/samples/07_advanced_rendering/04_render_primitive_hierarchies/app/main.rb
+++ b/samples/07_advanced_rendering/04_render_primitive_hierarchies/app/main.rb
@@ -39,6 +39,7 @@
Here is an example of a (red) border or solid definition:
[100, 100, 400, 500, 255, 0, 0]
It will be a solid or border depending on if it is added to args.outputs.solids or args.outputs.borders.
+ For more information about solids and borders, go to mygame/documentation/03-solids-and-borders.md.
- args.outputs.sprites: An array. The values generate a sprite.
The parameters for sprites are
@@ -49,6 +50,7 @@
Here is an example of a sprite definition:
[100, 100, 400, 500, 'sprites/dragonruby.png']
+ For more information about sprites, go to mygame/documentation/05-sprites.md.
=end