diff --git a/overlay.fnl b/overlay.fnl index d10c60b..35a0263 100644 --- a/overlay.fnl +++ b/overlay.fnl @@ -54,7 +54,8 @@ (- x dx) (+ y by dy))) (set dx (+ dx bb)))) -(fn overlay [] +(fn overlay [dx dy] + (love.graphics.translate dx (- dy)) (oxygen-ui (+ (/ screen-width 2) 100) (- screen-height 100)) (power-ui (- (/ screen-width 2) 100) (- screen-height 100)) (love.graphics.setColor 1 1 1)