added font
This commit is contained in:
BIN
assets/fonts/font.png
Normal file
BIN
assets/fonts/font.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.9 KiB |
8
main.lua
8
main.lua
@@ -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)
|
||||
|
||||
5
todo.md
5
todo.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user