Added support for backgrounds that are not 1280x960

This commit is contained in:
Ishaan Bhardwaj
2023-07-16 01:49:26 -04:00
parent 1556b247fe
commit 2166a3c6d8
12 changed files with 26 additions and 61 deletions

View File

@@ -20,11 +20,7 @@ function ConfigScene:update() end
function ConfigScene:render()
love.graphics.setColor(1, 1, 1, 1)
love.graphics.draw(
fetchBackgroundAndLoop("options_input"),
0, 0, 0,
0.5, 0.5
)
drawBackground("options_input")
love.graphics.setFont(font_3x5_4)
love.graphics.print("INPUT CONFIG", 80, 40)