Loading draw.lua +3 −0 Original line number Diff line number Diff line Loading @@ -40,6 +40,9 @@ end return function(dt) local w,h = love.window.getMode() local pixelScale = love.window.getPixelScale() w = w * pixelScale h = h * pixelScale for _,s in pairs(stars) do starfield.render(s, ship.x, ship.y, w, h) end love.graphics.push() Loading Loading
draw.lua +3 −0 Original line number Diff line number Diff line Loading @@ -40,6 +40,9 @@ end return function(dt) local w,h = love.window.getMode() local pixelScale = love.window.getPixelScale() w = w * pixelScale h = h * pixelScale for _,s in pairs(stars) do starfield.render(s, ship.x, ship.y, w, h) end love.graphics.push() Loading