This commit is contained in:
jill 2021-09-18 13:11:19 +03:00
parent 56f3ba6fae
commit 572ff2fe9b
3 changed files with 7 additions and 1 deletions

BIN
Inter-Regular.otf Normal file

Binary file not shown.

View File

@ -16,4 +16,8 @@ Then launch the game like so: https://love2d.org/wiki/Getting_Started#Running_Ga
![Previewing eases](./screenshot1.png)
![Mixing eases](./screenshot2.png)
![Mixing eases](./screenshot2.png)
## Attributions
Inter V Font: by The Inter Project Authors

View File

@ -4,6 +4,7 @@ for k, v in pairs(_G) do
end
love.graphics.setDefaultFilter('nearest', 'nearest')
interfaceFont = love.graphics.newFont('Inter-Regular.otf', 16)
ease = require 'ease'
@ -31,6 +32,7 @@ fontHeight = love.graphics.getFont():getHeight()
mode = nil
function love.load()
love.graphics.setFont(interfaceFont)
fontHeight = love.graphics.getFont():getHeight()
createUI()
end