Skip to content

Shake Window ​

Category: Message

Event content that executes a shaking effect on a specified window. Used to express impact, draw attention, or create tension.

Prerequisite: window must exist first

The window to be shaken must be displayed in advance via Show Window. If you specify a window number that is not displayed, nothing happens.

Property List ​

Item (tscn label)Input formatDescription
NumberInteger (0-100)Number of the target window to shake
TypeSelectionShake pattern (9 types, described later)
IntensityNumber (px)Maximum offset of the shake (pixels)
Time (sec)Number (seconds)Duration of shaking
Is WaitON/OFFWhether to wait for the next event content until shaking ends
Pos Correction Upon CompleON/OFFWhether to return the window to its original position after shaking

Property Details ​

Number ​

The number of the target window to shake. Integer 0-100. Match with the number specified in Show Window in advance.

Type ​

Select the shake pattern from 9 types. Same mechanism as the shake types in the Effect tab.

TypeDirectionSpeedUsage example
Pitch (moment)VerticalMomentary (short and sharp)Impact / hit
Roll (moment)HorizontalMomentary (short and sharp)Hard hit / explosion
P and R (moment)Both vertical and horizontalMomentary (short and sharp)Large explosion
Pitch (slow)VerticalSlowRumbling
Roll (slow)HorizontalSlowWaves
Pitch (standard)VerticalStandardMedium damage
Roll (standard)HorizontalStandardMagic hit
Pitch (quick)VerticalFastRapid strikes
Roll (quick)HorizontalFastHigh-speed attack
  • Pitch = Vertical shaking (up/down)
  • Roll = Horizontal shaking (left/right)
  • P and R = Both vertical and horizontal

Intensity ​

Specifies the maximum offset of the shake (pixels) as a numeric value.

  • Small value (e.g. 2-4): Fine vibration, attention-grabbing
  • Medium (e.g. 8-16): Standard effect
  • Large value (e.g. 32+): Intense shake, large explosion, etc.

Time (sec) ​

Specifies the duration of shaking in seconds.

  • Small value (e.g. 0.1-0.3): Momentary impact
  • Medium (e.g. 0.5-1.0): Standard effect
  • Large value (e.g. 2.0+): Sustained vibration

Does not shake when Time is 0 or below

If you set the time to 0 or below (or leave it unspecified), the shaking itself will not activate. In this case, the "wait for completion" setting also becomes automatically invalid.

Is Wait ​

Setting whether to wait for the next event content until shaking ends.

SettingBehavior
ONWait until shaking is completely finished before proceeding to the next event content
OFFStart shaking, then proceed immediately to the next event content without waiting for it to finish

Usage

  • ON: When you want to synchronize timing, such as "character speaks after shaking ends"
  • OFF: When you want to play shaking as an effect while simultaneously advancing text display, etc.

Pos Correction Upon Comple ​

Setting whether to return the window to its original position after shaking ends.

SettingBehavior
ON (recommended)Window returns to its original display position after shaking ends
OFFWindow remains in position with offset after shaking ends

Normally ON is recommended. With OFF, the window may gradually drift in position each time you shake it.

Runtime Behavior ​

When this event content is executed, the following processing is performed in order:

1. Behavior during skip input (added 2026-09-16) ​

If this event content is executed while the player is pressing the skip input, the time is clamped to 0.1 seconds if it exceeds 0.1 seconds. This makes long shakes finish quickly during skip (for debugging / skipping read content).

2. Shake processing ​

  1. If the window with the specified number does not exist, do nothing and proceed to the next event content (no error)
  2. If there is a position offset from the previous shake, reflect it in the window's position and reset the offset
  3. Shaking begins (with the specified type, intensity, and time)
  4. Behavior branches based on the "wait for completion" setting:
    • ON: Wait until shaking ends, then proceed to the next event content
    • OFF: Start shaking, then immediately proceed to the next event content
  5. According to the "position correction upon completion" setting:
    • ON: Return the window to its original position after shaking ends
    • OFF: Remain at the shaking end position

When time is 0 or below ​

If time is 0 or below, the shaking time is 0, so effectively nothing shakes. In this case, the "wait for completion" setting is forcibly OFF, and it immediately proceeds to the next event content.

When shaking consecutively ​

If this event content is executed again on a window already shaking, the residual offset from the previous shake is reset to the original position once, and then the new shaking starts.

Typical Usage Flows ​

Flow 1: Short shake expressing impact ​

  1. Show Window (Number 0)
  2. Show Text (Number 0) ← "It attacked us!"
  3. Shake Window (Number 0, Pitch (moment), Intensity 8, Time 0.3, Is Wait OFF, Pos Correction ON)
  4. Show Text (Number 0) ← Text display in parallel with shaking

Flow 2: Proceed to next text after shaking ends ​

  1. Show Window (Number 0)
  2. Show Text (Number 0) ← "BOOM!"
  3. Shake Window (Number 0, P and R (moment), Intensity 16, Time 0.5, Is Wait ON, Pos Correction ON)
  4. Show Text (Number 0) ← Displayed after shaking completes

With Is Wait ON, the next text waits until shaking ends.

Flow 3: Sustained rumbling effect ​

  1. Show Window (Number 0)
  2. Show Text (Number 0, Wait Input OFF) ← "An earthquake!"
  3. Shake Window (Number 0, Pitch (slow), Intensity 4, Time 3.0, Is Wait OFF)
  4. Wait (3 seconds)
  5. Show Text (Number 0) ← "...it stopped"

Flow 4: Large explosion effect ​

  1. Shake Screen (Large shake) ← Entire screen
  2. Shake Window (Number 0, P and R (moment), Intensity 32, Time 0.5, Is Wait ON)
  3. Show Text (Number 0) ← Line after shaking

Using screen-wide shake and window shake simultaneously produces an impactful effect.

Typical Combinations ​

This event content is used alone for a single window effect, or combined with other shake types for impactful effects. For the full picture, see Combination Patterns.

Impact expression (combined with text) ​

In shock or damage expression, display reaction lines after shaking:

  1. Show Window (Number 0)
  2. Show Text (Number 0) ← "It attacked us!"
  3. Shake Window (this event content) (Number 0, Is Wait ON)
  4. Show Text (Number 0) ← Next text after shaking ends

Large explosion effect (combined with full-screen shake) ​

Shaking not just the window but the entire screen increases impact:

  1. Shake Screen ← Entire screen
  2. Shake Window (this event content) (Number 0, Intensity 32, Time 0.5)
  3. Show Text ← Line after shaking

Parallel progression (Is Wait OFF) ​

Setting Is Wait OFF allows shaking and other processing to proceed simultaneously. Such as shaking a window while displaying text.

Related event contentPurpose
Show WindowPrerequisite: display the target window to shake
Shake ImageShake an image
Shake ScreenShake the entire screen
Show TextDisplay text in parallel with shaking
PageRelated content
Effect TabEffect definition using the same 9 shake types
Event Content ListList of all event contents

Notes ​

Does nothing if the target window does not exist ​

If the window with the specified number is not displayed, this event content does not throw an error and proceeds to the next event content without doing anything.

Does not shake when Time is 0 or below ​

If you set time to 0 or below, the shaking itself does not activate. If shaking is not visible due to an unintended setting mistake, check the Time value.

Is Wait is disabled when Time=0 ​

When Time is 0 or below, Is Wait is forcibly OFF regardless of its setting. You cannot create a "wait without shaking" behavior.

Cumulative drift with Pos Correction OFF ​

With Pos Correction OFF, shaking multiple times may cause the window position to gradually drift. Normally ON is recommended.

Time (sec) supports decimals ​

Time is decimal seconds, not integer pixels (0.3 = 0.3 seconds).