shakeCamera
shakeCamera(
world,cameraShakeOptions):void
Shakes the page’s camera for a big moment, at the strength it reaches the player with: her character where she has one, else the camera’s eye. A world with no camera, as a room’s, shakes nothing. The player’s Screen shake setting scales what she sees.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
cameraShakeOptions |
CameraShakeOptions |
Returns
Section titled “Returns”void