Fix overlay positioning

This commit is contained in:
Bill Niblock 2024-10-30 22:28:58 -04:00
parent 7418cfeb3f
commit b8c1377521

View file

@ -1,8 +1,7 @@
; Draw the overlay ; Draw the overlay
; Relies on information about the player and the display ; Relies on information about the player and the display
(local player (require :state)) (local player (require :state))
(var screen-width 1280) (var (screen-width screen-height) (love.window.getMode))
(var screen-height 720)
; This draws the oxygen ui ; This draws the oxygen ui
; Sequential blocks, up to 10; each block 10% ; Sequential blocks, up to 10; each block 10%