What it does
camera.shake takes intensity and duration.
Signature
camera.shake(intensity, duration)Arguments
intensityduration
Example · generated
function start() { camera.shake(1, 1);}camera.shake is called with values of the shape its signature asks for. The code sits in start(), which the engine calls once, when the entity spawns.