summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2023-06-04 15:57:34 -0400
committerDavid Thompson <dthompson2@worcester.edu>2023-06-04 15:57:34 -0400
commit00df702b030ee01d6c544cb7e3e1170b7f29a343 (patch)
treed1324c924e59b3d81deedb40ecf846a50a5901e6
parent1da040811d7fa0e52f29fd8de45589983c58397b (diff)
Adjust y position of instructions.
-rw-r--r--super-bloom/game.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/super-bloom/game.scm b/super-bloom/game.scm
index 24895ee..5cdb6a9 100644
--- a/super-bloom/game.scm
+++ b/super-bloom/game.scm
@@ -216,10 +216,11 @@
(label (make <label>
#:name 'instructions
#:rank 99
+ #:position (vec2 0.0 140.0)
#:font monogram-font)))
(define (show-instruction str)
(set! (text label) str)
- (center-in-parent label))
+ (center-horizontal-in-parent label))
(sleep 1.0)
(attach-to scene label)
(show-instruction "move with <arrows>")