summaryrefslogtreecommitdiff
path: root/scenes/game.scm
diff options
context:
space:
mode:
Diffstat (limited to 'scenes/game.scm')
-rw-r--r--scenes/game.scm9
1 files changed, 4 insertions, 5 deletions
diff --git a/scenes/game.scm b/scenes/game.scm
index 442071e..f784356 100644
--- a/scenes/game.scm
+++ b/scenes/game.scm
@@ -138,7 +138,7 @@ map's positions layer."
(wait-until (any key-pressed? '(escape)))
;; Fade out
- (tween 160 0.0 1.0
+ (tween 2 0.0 1.0
(lambda (alpha)
(set! fade-box-fill
(make-color 0 0 0 alpha))))
@@ -181,15 +181,14 @@ map's positions layer."
;; Handle background noise fade in
(spawn-script
(lambda ()
- (tween 60 0.0 1.0
+ (tween 2 0.0 1.0
(lambda (a)
- (set-source-volume! background-music a)
- (sleep 100))
+ (set-source-volume! background-music a))
#:ease ease-out-sine)))
;; Fade in
(script
- (tween 60 1.0 0.0
+ (tween 1 1.0 0.0
(lambda (alpha)
(set! fade-box-fill
(make-color 0 0 0 alpha))))))