Commit 31081c89 authored by Delisa Mason's avatar Delisa Mason

feat: Add DSL constants for screen dimensions

parent 6370385b
......@@ -347,6 +347,9 @@ local SceneDSL = function()
end
function scene.update(dt)
scene.screen_w = love.graphics.getWidth()
scene.screen_h = love.graphics.getHeight()
camera:update(dt)
if scene.persistent_group ~= nil then
scene.persistent_group:update(dt)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment