Browse Source

removed unnecessarY

tags/earlygalaxy
Madiwka3 3 years ago
parent
commit
66f507d752
1 changed files with 7 additions and 4 deletions
  1. +7
    -4
      src/baseGame.lua

+ 7
- 4
src/baseGame.lua View File

@@ -644,7 +644,7 @@ function normalDraw()
if (lowcpu) then
--love.graphics.draw(background, 0,0)
else
love.graphics.draw(background, 0,-backgroundScroll)
--love.graphics.draw(background, 0,-backgroundScroll)
end
end
if gameState == "assign" then
@@ -710,6 +710,7 @@ function practiceDraw()
love.graphics.print(tostring(math.floor(player1score)), VIRTUAL_WIDTH / 2 - 500, VIRTUAL_HEIGHT / 12)
end
function menuDraw()
love.graphics.clear(30/255,30/255,30/255,1)
love.graphics.setColor(1, 1, 1, 1)
love.graphics.printf(TEXT, 0, 20, VIRTUAL_WIDTH, "center")
love.graphics.setFont(smallfont)
@@ -864,11 +865,12 @@ function menuDraw()
end
end
function baseDraw()
love.graphics.clear(30/255,30/255,30/255,1)
love.graphics.setColor(255, 255, 255, 1)
if (lowcpu) then
-- love.graphics.draw(background, 0,0)
else
love.graphics.draw(background, 0,-backgroundScroll)
--love.graphics.draw(background, 0,-backgroundScroll)
end

if shakeDuration > t then
@@ -950,7 +952,8 @@ function renderEditor()
end

function intro()
love.graphics.draw(background, 0,0)
--love.graphics.draw(background, 0,0)

love.graphics.setColor(255, 255, 255, light / 255)
love.graphics.draw(image, 0, 0)
end
@@ -1679,4 +1682,4 @@ function shipManager(dt)
end
end
end
]]
]]

Loading…
Cancel
Save