Change screen shake intensity
This commit is contained in:
@@ -727,9 +727,9 @@ function love.draw(alpha)
|
|||||||
|
|
||||||
-- draw stationary bubbles
|
-- draw stationary bubbles
|
||||||
local ceiling_drops_in = game.ceiling_drops_after - ceiling_progress
|
local ceiling_drops_in = game.ceiling_drops_after - ceiling_progress
|
||||||
if ceiling_drops_in == 1 or game.ceiling_should_drop then
|
if not game.game_over and (ceiling_drops_in == 1 or game.ceiling_should_drop) then
|
||||||
local dx = love.math.random(-1, 1)
|
local dx = love.math.random(-2, 2)
|
||||||
local dy = love.math.random(-1, 1)
|
local dy = love.math.random(-2, 2)
|
||||||
love.graphics.translate(dx, dy)
|
love.graphics.translate(dx, dy)
|
||||||
end
|
end
|
||||||
love.graphics.setColor(1, 1, 1, 1)
|
love.graphics.setColor(1, 1, 1, 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user