3rd color,

cleaning
This commit is contained in:
lustlion
2021-10-29 02:17:18 +02:00
parent 538a1f77f8
commit 189579d619
55 changed files with 158 additions and 13 deletions

View File

@@ -24,7 +24,7 @@ function SetDarkness()
end
function DoDarkness()
love.graphics.setColor(0,0,0,0.3)
love.graphics.setColor(0,0,0,1)
love.graphics.rectangle("fill",0,0,game.width,game.height)
end
@@ -34,8 +34,8 @@ function DoLights()
if LightTimer >= 3 then
LightTimer = LightTimer - 3
for _, light in pairs(Lights) do
light.flicker = math.random(-2,2)
light.dim = (light.range+light.flicker)/5
light.flicker = math.random(-1,1)
light.dim = (light.range+light.flicker)/2
end
end