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