summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assets/images/intro-bg.pngbin0 -> 21035 bytes
-rw-r--r--assets/images/src/intro-bg.xcfbin0 -> 42969 bytes
-rw-r--r--scenes/intro.scm4
3 files changed, 3 insertions, 1 deletions
diff --git a/assets/images/intro-bg.png b/assets/images/intro-bg.png
new file mode 100644
index 0000000..8f15af9
--- /dev/null
+++ b/assets/images/intro-bg.png
Binary files differ
diff --git a/assets/images/src/intro-bg.xcf b/assets/images/src/intro-bg.xcf
new file mode 100644
index 0000000..d12dbbe
--- /dev/null
+++ b/assets/images/src/intro-bg.xcf
Binary files differ
diff --git a/scenes/intro.scm b/scenes/intro.scm
index 4fb4b69..30ea844 100644
--- a/scenes/intro.scm
+++ b/scenes/intro.scm
@@ -38,6 +38,8 @@
(define-asset game-font
(load-font "assets/fonts/good_neighbors_starling.xml"))
+(define-asset intro-bg (load-image "assets/images/intro-bg.png"))
+
(define texts
'("\
The void has been suspended for
@@ -101,7 +103,7 @@ to dry."))
(list
(make <sprite>
#:name 'bg
- #:texture (load-image "assets/images/intro-bg.png"))
+ #:texture (asset-ref intro-bg))
(make <intro>)
(make <filled-rect>
#:name 'fade-all