From 501617aa1cf05e44cc38a7b2d1a3a0155b020770 Mon Sep 17 00:00:00 2001 From: quou Date: Sun, 7 May 2023 22:28:33 +1000 Subject: Update the tutorial and add a banner image. --- config.h | 2 +- game.c | 7 +++++++ media/banner.png | Bin 0 -> 48538 bytes media/banner.xcf | Bin 0 -> 166047 bytes 4 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 media/banner.png create mode 100644 media/banner.xcf 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 @@ -268,6 +268,13 @@ static void gameplay_update(Game* game) { if (game->display_tutorial) { col = make_colour(0x7f8dcf, 255); + rfont_text_col( + font, + 100, + 25, + "^ Memory", + col + ); rfont_text_col( font, renderer_w / 2 - 115, diff --git a/media/banner.png b/media/banner.png new file mode 100644 index 0000000..be2574b Binary files /dev/null and b/media/banner.png differ diff --git a/media/banner.xcf b/media/banner.xcf new file mode 100644 index 0000000..b4bbe58 Binary files /dev/null and b/media/banner.xcf differ -- cgit v1.2.3-54-g00ecf