resize events

This commit is contained in:
2017-07-20 01:05:43 -04:00
parent 7fae97b40c
commit 41e31ebb2e
+4
View File
@@ -56,6 +56,10 @@ function love.load()
end
function love.resize(w, h)
width, height = love.graphics.getDimensions()
end
function draw_attractor()
local random_max = width / 2