summaryrefslogtreecommitdiffhomepage
path: root/samples/01_rendering_basics
diff options
context:
space:
mode:
authorAmir Rajan <[email protected]>2021-04-10 03:51:14 -0500
committerAmir Rajan <[email protected]>2021-04-10 03:51:14 -0500
commit00e85147c9a1dd35a0857f361e5833a1c25f4a0a (patch)
tree52534d292ca3fa5733584eb926116228cb3551af /samples/01_rendering_basics
parenta2d92c2bf09bcdc494f1391af69b707cca281a16 (diff)
downloaddragonruby-game-toolkit-contrib-00e85147c9a1dd35a0857f361e5833a1c25f4a0a.tar.gz
dragonruby-game-toolkit-contrib-00e85147c9a1dd35a0857f361e5833a1c25f4a0a.zip
Synced from DRGTK 2.10.
Diffstat (limited to 'samples/01_rendering_basics')
-rw-r--r--samples/01_rendering_basics/05_sounds/app/main.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/samples/01_rendering_basics/05_sounds/app/main.rb b/samples/01_rendering_basics/05_sounds/app/main.rb
index 28e6503..630ce11 100644
--- a/samples/01_rendering_basics/05_sounds/app/main.rb
+++ b/samples/01_rendering_basics/05_sounds/app/main.rb
@@ -7,12 +7,6 @@
of available notes.
Reminders:
- - args.grid.(left|right|top|bottom): Pixel value for the boundaries of the virtual
- 720 p screen (Dragon Ruby Game Toolkits's virtual resolution is always 1280x720).
-
- - args.state.new_entity: Used when we want to create a new object, like a sprite or button.
- For example, if we want to create a new button, we would declare it as a new entity and
- then define its properties.
- 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.