Skip to reading
The Cutscene Designer

35. Use restrained camera and screen shake

Edition 0.86.4.3

0.86.4.3 edition with revised lessons, updated cross-references and new cinematic/camera-safety supplements. Earlier examples, screenshots and registry figures retain their stated edition context.

Download PDFView illustrations

Figure 21. CameraShake has its own action duration and power. Applying a trim synchronizes this action’s duration.

Code example
{
  "type":"CameraShake",
  "direction":"horizontal",
  "duration":0.4,
  "power":0.08
}

A small shake can sell a bell strike or impact. Start with a low power and a short duration, then test the shot at the intended display size. A dramatic close-up needs less movement than a distant wide shot.

Source table from 35. Use restrained camera and screen shake, page 39
ActionControl
CameraShakeSmall camera-view offsets; it ends after its configured duration or when the cutscene finishes.
ShakeScreenA whole-screen effect with power expressed in pixels; StopScreenShake ends it.

Include a low-motion or no-shake route when it suits the game. Do not use shake to hide unclear animation or an awkward camera cut.

Page 39 of 78Permalink
Go to page