Change screen shake intensity
parent
68482f104f
commit
a6febca64e
6
main.lua
6
main.lua
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue