Code: Select all
function scareshake()
Party:shakeCamera(1,1)
end
EDIT: Should be
Code: Select all
function scareshake()
party:shakeCamera(1,1)
end
Code: Select all
function scareshake()
Party:shakeCamera(1,1)
end
Code: Select all
function scareshake()
party:shakeCamera(1,1)
end
Code: Select all
playSound("earthquake")
Code: Select all
spawn("fx", 1, 15, 15, 3, "dust")
dust:setParticleSystem("earthquake_dust")
Code: Select all
defineSound{
name = "earthquakestop",
filename = "assets/samples/env/earthquake_01.wav",
loop = false,
volume = 1,
minDistance = 1,
maxDistance = 6,
}