Fix overlay positioning
This commit is contained in:
parent
7418cfeb3f
commit
b8c1377521
1 changed files with 1 additions and 2 deletions
|
@ -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%
|
||||||
|
|
Loading…
Reference in a new issue