diff --git a/Inter-Regular.otf b/Inter-Regular.otf new file mode 100644 index 0000000..e94fa45 Binary files /dev/null and b/Inter-Regular.otf differ diff --git a/README.md b/README.md index 9abb1a9..b5ec166 100644 --- a/README.md +++ b/README.md @@ -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) \ No newline at end of file +![Mixing eases](./screenshot2.png) + +## Attributions + +Inter V Font: by The Inter Project Authors \ No newline at end of file diff --git a/main.lua b/main.lua index 244b954..c7a1e35 100644 --- a/main.lua +++ b/main.lua @@ -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