From 9383dcc5e654f96421b73205911ad755c748a648 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 8 Aug 2018 18:53:44 +0200 Subject: intro: Rearrange text. --- scenes/intro.scm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'scenes') diff --git a/scenes/intro.scm b/scenes/intro.scm index 30ea844..8758a50 100644 --- a/scenes/intro.scm +++ b/scenes/intro.scm @@ -61,9 +61,9 @@ History yields to the present. The present crumbles underfoot. You better move." "\ -A leaf has turned. The sunshine -warms and blinds. The leaf begins -to dry.")) +A leaf has turned. +The sunshine warms and blinds. +The leaf begins to dry.")) (set! *random-state* (random-state-from-platform)) @@ -87,7 +87,9 @@ to dry.")) #:name 'welcome #:font game-font #:text part - #:position (vec2 16.0 (- 150.0 (* 12 i))))) + #:position (vec2 (- (/ %width 2) + (/ (font-line-width (asset-ref game-font) part) 2)) + (- 120.0 (* 15 i))))) parts (iota (length parts)))))) (define-method (on-key-press (intro ) key mods repeat?) -- cgit v1.2.3