summaryrefslogtreecommitdiffhomepage
path: root/samples/03_rendering_sprites/01_animation_using_separate_pngs
diff options
context:
space:
mode:
authorSimon Chiang <[email protected]>2021-04-23 09:46:41 -0600
committerAmir Rajan <[email protected]>2021-05-26 16:08:45 -0500
commitd5115606c96b0fe0affd72e6e0b72edce7e51042 (patch)
tree5d750d974dc947163dc4cb37a0c9bbac9266a207 /samples/03_rendering_sprites/01_animation_using_separate_pngs
parent1404fd05a99cf745c33a4316b9d5e1562083c3ae (diff)
downloaddragonruby-game-toolkit-contrib-d5115606c96b0fe0affd72e6e0b72edce7e51042.tar.gz
dragonruby-game-toolkit-contrib-d5115606c96b0fe0affd72e6e0b72edce7e51042.zip
Typo fixes
Diffstat (limited to 'samples/03_rendering_sprites/01_animation_using_separate_pngs')
-rw-r--r--samples/03_rendering_sprites/01_animation_using_separate_pngs/app/main.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/03_rendering_sprites/01_animation_using_separate_pngs/app/main.rb b/samples/03_rendering_sprites/01_animation_using_separate_pngs/app/main.rb
index c5622e8..1f88366 100644
--- a/samples/03_rendering_sprites/01_animation_using_separate_pngs/app/main.rb
+++ b/samples/03_rendering_sprites/01_animation_using_separate_pngs/app/main.rb
@@ -69,7 +69,7 @@ end
# This function shows how to animate a sprite that executes
# only once when the "f" key is pressed.
def one_time_animation args
- # This is just a label the shows instructions within the game.
+ # This is just a label that shows instructions within the game.
args.outputs.labels << [220, 350, "(press f to animate)"]
# If "f" is pressed on the keyboard...
@@ -104,7 +104,7 @@ def one_time_animation args
# This line sets the frame index to zero, if
# the animation duration has passed (frame_index returned nil).
- # Remeber: we are not looping forever here.
+ # Remember: we are not looping forever here.
sprite_index ||= 0
# Present the sprite.