From 43eade2369908016fb8c5521bfc7da37c2b3cb1e Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sun, 29 Dec 2019 10:58:46 +0100 Subject: [PATCH] chore: use imagefont for hud numbers --- sonic-bluestreak.love/assets/gui/fonts/numbers.lua | 4 ++++ .../assets/gui/{hud => fonts}/numbers.png | Bin .../assets/gui/fonts/smallnumbers.lua | 4 ++++ .../assets/gui/{hud => fonts}/smallnumbers.png | Bin 4 files changed, 8 insertions(+) create mode 100644 sonic-bluestreak.love/assets/gui/fonts/numbers.lua rename sonic-bluestreak.love/assets/gui/{hud => fonts}/numbers.png (100%) create mode 100644 sonic-bluestreak.love/assets/gui/fonts/smallnumbers.lua rename sonic-bluestreak.love/assets/gui/{hud => fonts}/smallnumbers.png (100%) diff --git a/sonic-bluestreak.love/assets/gui/fonts/numbers.lua b/sonic-bluestreak.love/assets/gui/fonts/numbers.lua new file mode 100644 index 0000000..890f8a1 --- /dev/null +++ b/sonic-bluestreak.love/assets/gui/fonts/numbers.lua @@ -0,0 +1,4 @@ +return { + glyphs = " 0123456789:/", + extraspacing = 1 +} diff --git a/sonic-bluestreak.love/assets/gui/hud/numbers.png b/sonic-bluestreak.love/assets/gui/fonts/numbers.png similarity index 100% rename from sonic-bluestreak.love/assets/gui/hud/numbers.png rename to sonic-bluestreak.love/assets/gui/fonts/numbers.png diff --git a/sonic-bluestreak.love/assets/gui/fonts/smallnumbers.lua b/sonic-bluestreak.love/assets/gui/fonts/smallnumbers.lua new file mode 100644 index 0000000..171480f --- /dev/null +++ b/sonic-bluestreak.love/assets/gui/fonts/smallnumbers.lua @@ -0,0 +1,4 @@ +return { + glyphs = " 0123456789/", + extraspacing = 0, +} diff --git a/sonic-bluestreak.love/assets/gui/hud/smallnumbers.png b/sonic-bluestreak.love/assets/gui/fonts/smallnumbers.png similarity index 100% rename from sonic-bluestreak.love/assets/gui/hud/smallnumbers.png rename to sonic-bluestreak.love/assets/gui/fonts/smallnumbers.png