3rd color,
cleaning
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user