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 format | Description |
|---|---|---|
| Number | Integer (0-100) | Number of the target window to shake |
| Type | Selection | Shake pattern (9 types, described later) |
| Intensity | Number (px) | Maximum offset of the shake (pixels) |
| Time (sec) | Number (seconds) | Duration of shaking |
| Is Wait | ON/OFF | Whether to wait for the next event content until shaking ends |
| Pos Correction Upon Comple | ON/OFF | Whether 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.
| Type | Direction | Speed | Usage example |
|---|---|---|---|
| Pitch (moment) | Vertical | Momentary (short and sharp) | Impact / hit |
| Roll (moment) | Horizontal | Momentary (short and sharp) | Hard hit / explosion |
| P and R (moment) | Both vertical and horizontal | Momentary (short and sharp) | Large explosion |
| Pitch (slow) | Vertical | Slow | Rumbling |
| Roll (slow) | Horizontal | Slow | Waves |
| Pitch (standard) | Vertical | Standard | Medium damage |
| Roll (standard) | Horizontal | Standard | Magic hit |
| Pitch (quick) | Vertical | Fast | Rapid strikes |
| Roll (quick) | Horizontal | Fast | High-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.
| Setting | Behavior |
|---|---|
| ON | Wait until shaking is completely finished before proceeding to the next event content |
| OFF | Start 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.
| Setting | Behavior |
|---|---|
| ON (recommended) | Window returns to its original display position after shaking ends |
| OFF | Window 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
- If the window with the specified number does not exist, do nothing and proceed to the next event content (no error)
- If there is a position offset from the previous shake, reflect it in the window's position and reset the offset
- Shaking begins (with the specified type, intensity, and time)
- 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
- 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
- Show Window (Number
0) - Show Text (Number
0) ← "It attacked us!" - Shake Window (Number
0, Pitch (moment), Intensity8, Time0.3, Is Wait OFF, Pos Correction ON) - Show Text (Number
0) ← Text display in parallel with shaking
Flow 2: Proceed to next text after shaking ends
- Show Window (Number
0) - Show Text (Number
0) ← "BOOM!" - Shake Window (Number
0, P and R (moment), Intensity16, Time0.5, Is Wait ON, Pos Correction ON) - Show Text (Number
0) ← Displayed after shaking completes
With Is Wait ON, the next text waits until shaking ends.
Flow 3: Sustained rumbling effect
- Show Window (Number
0) - Show Text (Number
0, Wait Input OFF) ← "An earthquake!" - Shake Window (Number
0, Pitch (slow), Intensity4, Time3.0, Is Wait OFF) - Wait (3 seconds)
- Show Text (Number
0) ← "...it stopped"
Flow 4: Large explosion effect
- Shake Screen (Large shake) ← Entire screen
- Shake Window (Number
0, P and R (moment), Intensity32, Time0.5, Is Wait ON) - 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:
- Show Window (Number 0)
- Show Text (Number 0) ← "It attacked us!"
- Shake Window (this event content) (Number 0, Is Wait ON)
- 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:
- Shake Screen ← Entire screen
- Shake Window (this event content) (Number 0, Intensity 32, Time 0.5)
- 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 Content
| Related event content | Purpose |
|---|---|
| Show Window | Prerequisite: display the target window to shake |
| Shake Image | Shake an image |
| Shake Screen | Shake the entire screen |
| Show Text | Display text in parallel with shaking |
Related Pages
| Page | Related content |
|---|---|
| Effect Tab | Effect definition using the same 9 shake types |
| Event Content List | List 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).
