summaryrefslogtreecommitdiff
path: root/scenes
diff options
context:
space:
mode:
Diffstat (limited to 'scenes')
-rw-r--r--scenes/intro.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/scenes/intro.scm b/scenes/intro.scm
index cb8f029..f42c0f4 100644
--- a/scenes/intro.scm
+++ b/scenes/intro.scm
@@ -16,6 +16,7 @@
;;; <http://www.gnu.org/licenses/>.
(define-module (scenes intro)
+ #:use-module (chickadee audio)
#:use-module (chickadee math rect)
#:use-module (chickadee math vector)
#:use-module ((chickadee graphics color) #:select (make-color))
@@ -23,7 +24,6 @@
#:use-module (chickadee graphics texture)
#:use-module (chickadee scripting)
#:use-module (engine assets)
- #:use-module (engine audio)
#:use-module (engine node)
#:use-module (engine node-2d)
#:use-module (engine scene)
@@ -104,8 +104,7 @@ The leaf begins to dry."))
(game))))))
(define (intro)
- (set-music-volume! 1.0)
- (play-music (load-music "assets/music/intro.ogg") #:loop? #f)
+ (audio-play (load-audio "assets/music/intro.ogg"))
(let ((container (make <node-2d>
#:children
(list