From 3b23615b60284723240764c4fa92f112250caa50 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Thu, 15 Jun 2023 23:01:19 +0100 Subject: Tweak the HUD --- src/game.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/game.c b/src/game.c index b49e859..d2f3bdd 100644 --- a/src/game.c +++ b/src/game.c @@ -28,37 +28,37 @@ void hud_render() if (hud & HUD_ALL) { Rect src = { 128, 32, 144, 144}; - Rect dst = { 0, 0, 16, 16}; + Rect dst = { 4, 0, 16, 16}; /* lives */ blitrc(binary_sprites_start, &src, &dst); - put_text(132, 4, "TIME"); - put_text(256, 4, "STAGE"); + put_text(136, 4, "TIME"); + put_text(252, 4, "STAGE"); } if (hud & HUD_LIVES) { sprintf(b, "%d", lives); - put_text(14, 4, b); + put_text(18, 4, b); } if (hud & HUD_SCORE) { sprintf(b, "%06li", score); - put_text(30, 4, b); + put_text(34, 4, b); } if (hud & HUD_TIME) { sprintf(b, "%02d", time); - put_text(172, 4, b); + put_text(176, 4, b); } if (hud & HUD_STAGE) { sprintf(b, "%02d", stage); - put_text(304, 4, b); + put_text(300, 4, b); } hud = HUD_CLEAN; -- cgit v1.2.3