aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2023-05-07 22:28:33 +1000
committerquou <quou@disroot.org>2023-05-07 22:28:33 +1000
commit501617aa1cf05e44cc38a7b2d1a3a0155b020770 (patch)
treec9b49924d387b98c314432c68955a1c7499e843d
parentc956b21cda0a5c14807c211b757d69246377da4c (diff)
Update the tutorial and add a banner image.
-rw-r--r--config.h2
-rw-r--r--game.c7
-rw-r--r--media/banner.pngbin0 -> 48538 bytes
-rw-r--r--media/banner.xcfbin0 -> 166047 bytes
4 files changed, 8 insertions, 1 deletions
diff --git a/config.h b/config.h
index 4373ec3..b1c18f8 100644
--- a/config.h
+++ b/config.h
@@ -10,7 +10,7 @@
#define renderer_h 240
#define renderer_scale 2
-#define no_sound 1
+#define no_sound 0
#define asset_memory (1024 * 120)
diff --git a/game.c b/game.c
index 4c6e6bf..4322656 100644
--- a/game.c
+++ b/game.c
@@ -270,6 +270,13 @@ static void gameplay_update(Game* game) {
col = make_colour(0x7f8dcf, 255);
rfont_text_col(
font,
+ 100,
+ 25,
+ "^ Memory",
+ col
+ );
+ rfont_text_col(
+ font,
renderer_w / 2 - 115,
renderer_h - 50,
"Arrows/D-pad ~ Movement",
diff --git a/media/banner.png b/media/banner.png
new file mode 100644
index 0000000..be2574b
--- /dev/null
+++ b/media/banner.png
Binary files differ
diff --git a/media/banner.xcf b/media/banner.xcf
new file mode 100644
index 0000000..b4bbe58
--- /dev/null
+++ b/media/banner.xcf
Binary files differ