LiminaliaLiminalia
How-to: Shake the screen

Shake the screen

Open in Claude (new tab)
On this page

The Screen shake part shakes the background and sprites. Use it for an earthquake, a loud noise or the moment of a collision. To have the shaking settle little by little, use the part for a shake that gradually dies down.

Shake the screen

  1. Select the text block just before where the screen should shake (here, “On the way home, I walked down the hill, holding the book to my chest.”).
  2. Type “shake” in the search box at the top of the parts panel, and double-click “Screen shake” in the results.
  3. In the parameter panel on the right, enter the length of the shake (time, in milliseconds), the number of shakes (count), and the horizontal and vertical amplitude (horizontal and vertical, in px). Here, enter 800, 6, 20 and 20.
The Screen shake part. Enter time, vertical and so on.

As the story moves to the next text, the screen shakes 6 times within 0.8 seconds. To check how it shakes, select the line and watch the preview on the right.

ParameterWhat it setsDefault
timeLength of the shake300ms
countNumber of shakes5
horizontalHorizontal amplitude (px)0
verticalVertical amplitude (px)10
waitWait until the shaking stops before continuingChecked

With Screen shake, the message window doesn’t shake. Uncheck wait, and the next text appears while the screen is still shaking.

Shake that gradually dies down

This shake starts big and settles little by little. The message window shakes too.

  1. Select the text block just before where the screen should shake (here, “Just then, the ground shook hard beneath my feet.”).
  2. With “shake” still in the search box, double-click “Fading shake” (@quake-decay).
  3. Enter 1500 in time, and the starting amplitude 60 in vertical.
The Fading shake part. Enter time and vertical.

The shaking dies down over 1.5 seconds. The screen edges exposed by the shaking are filled with a copy of the background (fill-edges; uncheck it to leave them unfilled).

The default for vertical is a large 200, so enter a small value for a gentle shake.

If a player sets “Screen shake” to “Reduced” in Config, the screen doesn’t shake.

In code

On the way home, I walked down the hill, holding the book to my chest.
@quake time=800ms count=6 horizontal=20 vertical=20
Just then, the ground shook hard beneath my feet.
@quake-decay time=1500ms vertical=60
The shaking soon died down, and all was quiet again.

For details, see @quake and @quake-decay.

Commands used on this page

@quake-decay@quake