added font

This commit is contained in:
2024-12-08 12:24:50 -06:00
parent c757ffc287
commit 056f79e952
3 changed files with 11 additions and 2 deletions

BIN
assets/fonts/font.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@@ -12,6 +12,14 @@ function love.load()
display = Display.new(VIRTUAL_WIDTH, VIRTUAL_HEIGHT)
core = GameCore.new()
local font = love.graphics.newImageFont(
'assets/fonts/font.png',
' abcdefghijklmnopqrstuvwxyz' ..
'ABCDEFGHIJKLMNOPQRSTUVWXYZ' ..
"0123456789.,!?-+/():;%&`'*#=[]\""
)
love.graphics.setFont(font)
end
function love.update(dt)

View File

@@ -9,12 +9,11 @@
- [ ] Create player sprite
- Make a mouse sprite for the player
- [ ] Create a siren sprite
- [ ] Make the maze end after 5 solves, with progressive difficulty (9x9 no enemies, increase size + enemy count each stage)
- [ ] Create a local leaderboard to see who clears maze in the lowest amount of time
# in progress
- [ ] When the lights are off, slow down the timer tick rate
- [ ] Make the maze end after 5 solves, with progressive difficulty (9x9 no enemies, increase size + enemy count each stage)
# complete
@@ -41,3 +40,5 @@
- [x] The tiles start to flicker when the map is large. Caused by camera not being pixel-aligned
- [x] Create a worm sprite
- [x] Create a timer that displays in the top corner as the game goes on
- [x] When the lights are off, slow down the timer tick rate
- [x] Added font