diff options
| author | Amir Rajan <[email protected]> | 2021-08-07 00:13:33 -0500 |
|---|---|---|
| committer | Amir Rajan <[email protected]> | 2021-08-07 00:13:33 -0500 |
| commit | a503afe87619ff82201c0a43818fa1c3f070a548 (patch) | |
| tree | 0b228a6456d17f6d0c6ea54c9ecd6a045ddbdf59 /samples/99_genre_lowrez/nokia_3310/app | |
| parent | bea150381f495630f92f89d23d5f3445ec289b2d (diff) | |
| download | dragonruby-game-toolkit-contrib-a503afe87619ff82201c0a43818fa1c3f070a548.tar.gz dragonruby-game-toolkit-contrib-a503afe87619ff82201c0a43818fa1c3f070a548.zip | |
Samples folder synced.
Diffstat (limited to 'samples/99_genre_lowrez/nokia_3310/app')
| -rw-r--r-- | samples/99_genre_lowrez/nokia_3310/app/main.rb | 10 | ||||
| -rw-r--r-- | samples/99_genre_lowrez/nokia_3310/app/nokia.rb | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/samples/99_genre_lowrez/nokia_3310/app/main.rb b/samples/99_genre_lowrez/nokia_3310/app/main.rb index 683539e..7aa6ba5 100644 --- a/samples/99_genre_lowrez/nokia_3310/app/main.rb +++ b/samples/99_genre_lowrez/nokia_3310/app/main.rb @@ -67,7 +67,7 @@ def tick args # ======================================================================= - # ==== HOW TO ANIMATE A SPRITE (SEPARATE PNGS) ========================== + # ==== HOW TO ANIMATE A SPRITE (SEPERATE PNGS) ========================== # ======================================================================= # Remove the "#" at the beginning of the line below # how_to_animate_a_sprite args @@ -248,7 +248,7 @@ def how_to_render_sprites args end # ============================================================================= -# ==== HOW TO ANIMATE A SPRITE (SEPARATE PNGS) ========================== +# ==== HOW TO ANIMATE A SPRITE (SEPERATE PNGS) ========================== # ============================================================================= def how_to_animate_a_sprite args # STEP 1: Define when you want the animation to start. The animation in this case will start in 3 seconds @@ -472,7 +472,7 @@ def how_to_determine_collision args text: "Collision!", alignment_enum: 1) else - # if no collision occurred, render the words no collision. + # if collision occurred, render the words no collision. args.nokia.labels << args.nokia .default_label .merge(x: 42, @@ -605,7 +605,7 @@ def render_debug args text: text, size_enum: -1.5, r: 255, g: 255, b: 255 - }.label + }.label! end args.outputs.debug << { @@ -615,7 +615,7 @@ def render_debug args size_enum: -0.5, alignment_enum: 1, r: 255, g: 255, b: 255 - }.label + }.label! end def snake_demo args diff --git a/samples/99_genre_lowrez/nokia_3310/app/nokia.rb b/samples/99_genre_lowrez/nokia_3310/app/nokia.rb index 077e36f..7bcb5b1 100644 --- a/samples/99_genre_lowrez/nokia_3310/app/nokia.rb +++ b/samples/99_genre_lowrez/nokia_3310/app/nokia.rb @@ -236,7 +236,7 @@ module GTK g: 240, b: 216, a: 100 - }.line + }.line! end (NOKIA_WIDTH + 1).map_with_index do |i| @@ -249,7 +249,7 @@ module GTK g: 240, b: 216, a: 100 - }.line + }.line! end @args.state.overlay_rendered = true |
