diff options
| author | iamcheeseman <[email protected]> | 2026-03-08 18:32:14 -0400 |
|---|---|---|
| committer | iamcheeseman <[email protected]> | 2026-03-08 18:32:14 -0400 |
| commit | 3950a3b2fa78b7a928c0437d98105d79c13a922f (patch) | |
| tree | 95ad31e0f6708be8c9a4148619dd895ccedf43be /main.lua | |
| parent | b744faa2e42ed37459fe3edb69c1149146233e5b (diff) | |
add util functions; add resources
Diffstat (limited to 'main.lua')
| -rw-r--r-- | main.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -24,7 +24,7 @@ end function love.draw(dt) lg.origin() - lg.setCanvas(Viewport) + lg.setCanvas(viewport) lg.clear() local scn = get_current_scene() @@ -38,7 +38,7 @@ function love.draw(dt) WindowScale = min(scr_width/SCR_WIDTH, scr_height/SCR_HEIGHT) lg.draw( - Viewport, + viewport, scr_width/2, scr_height/2, 0, WindowScale, WindowScale, SCR_WIDTH/2, SCR_HEIGHT/2) |
