|
|
@ -13,8 +13,11 @@ local function drawHealth() |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
function DrawGame() |
|
|
|
function DrawGame() |
|
|
|
|
|
|
|
local curWidth, curHeight = love.graphics.getDimensions() |
|
|
|
--STI |
|
|
|
--STI |
|
|
|
GameMap:draw() |
|
|
|
love.graphics.scale(_G.X_SCALE, _G.Y_SCALE) |
|
|
|
|
|
|
|
GameMap:draw(0, 0, _G.X_SCALE, _G.Y_SCALE) |
|
|
|
|
|
|
|
GameMap:resize(curWidth / _G.X_SCALE, curHeight / _G.Y_SCALE) |
|
|
|
|
|
|
|
|
|
|
|
-- WindField |
|
|
|
-- WindField |
|
|
|
if DebugFlag then |
|
|
|
if DebugFlag then |
|
|
|