Change screen shake intensity

main
Tyler Scott 2022-02-12 16:48:05 +07:00
parent 68482f104f
commit a6febca64e
1 changed files with 3 additions and 3 deletions

View File

@ -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)