Shake Image
Category: Image
Event content that shakes an image already displayed via Show Image, with the specified direction, intensity, and duration. Used for all kinds of "vibration" effects such as impact, explosion, earthquake, anger, or surprise.
Show Image must be executed first
This event content is dedicated to shaking an existing image. If the image specified by the number is not displayed, it does nothing and passes through.
Always execute Show Image with the same number first.
Shaking the entire screen is a different event content
This event content shakes a single image. To shake the entire screen, use Shake Screen.
Property List
| Item (tscn label) | Input format | Description |
|---|---|---|
| Number | Number (0-99) | Target image number |
| Type | Selection | Direction and speed of shaking (9 types, see below) |
| Intensity | Number (px) | Maximum displacement of the shake (in pixels) |
| Time (sec) | Number (seconds) | Duration of the shake |
| Is Wait | Checkbox | If ON, does not proceed to the next event content until shaking completes |
| Pos Correction Upon Completion | Checkbox | If ON, snaps the image back to its original position when shaking ends |
Property Details
Number
Specifies the number of the image to shake (integer 0-99, step 1).
- Specify the same value as the number specified in Show Image
- If the image with the specified number does not exist, this event content does nothing and proceeds to the next event content
Type
You can choose the direction and speed of the shake from 9 types.
| ID | Name | Direction | Speed characteristics |
|---|---|---|---|
| 0 | Pitch (moment) | Vertical (up/down) | Instantaneous, strong, and short |
| 1 | Roll (moment) | Horizontal (left/right) | Instantaneous, strong, and short |
| 2 | P and R (moment) | Diagonal (vertical + horizontal) | Instantaneous diagonal |
| 3 | Pitch (slow) | Vertical (up/down) | Slow shaking |
| 4 | Roll (slow) | Horizontal (left/right) | Slow shaking |
| 5 | Pitch (standard) | Vertical (up/down) | Standard shaking |
| 6 | Roll (standard) | Horizontal (left/right) | Standard shaking |
| 7 | Pitch (quick) | Vertical (up/down) | Fast and fine |
| 8 | Roll (quick) | Horizontal (left/right) | Fast and fine |
Meaning of terminology
- Pitch: Vertical shaking (up/down)
- Roll: Horizontal shaking (left/right)
- P and R: Both (diagonal shaking)
- moment: Instantaneous (strong at start, gradually dampens)
- slow / standard / quick: Shaking speed (difference in cycle)
Typical usage:
- Impact / explosion: Pitch (moment) or P and R (moment)
- Surprise: Pitch (quick)
- Anger / trembling: Roll (quick)
- Earthquake: Pitch (slow) or P and R (moment) for a long time
- Walking effect (character fatigued, etc.): Pitch (slow)
Intensity
Specifies the maximum displacement of the shake in pixels.
- Unit: pixels (px)
- 0 or 1-2: barely shakes
- 5-10: small shake (character surprise level)
- 15-30: clear shake (impact / anger)
- 50+: violent shake (large explosion / earthquake)
Time (sec)
Specifies the duration of the shake in seconds.
- 0: Does not execute the shake (wait property is also disabled)
- 0.3-0.5: Momentary impact
- 1.0-2.0: General shaking
- 3.0+: Sustained earthquake / vibration
Is Wait
Specifies whether to wait until shaking completes before proceeding to the next event content.
- ON: Wait for the next event content until shaking completes
- OFF: Proceed to the next event content immediately even while shaking is in progress (when you want to run other event content in parallel)
- If Time = 0, this property has no effect
Pos Correction Upon Completion
Specifies whether to snap the image back to its original position when shaking ends.
- ON: Upon completion of shaking, internal offsets (
shake_x,shake_y) are reset to 0, and the image returns exactly to its original position - OFF: Offset at the end of shaking remains, and the image stops slightly off from its original position (realistic lingering effect)
Which to choose
- When you want to return accurately to the original position after impact (accurate placement important in subsequent event content): ON
- When you want to leave the shake lingering for a natural look: OFF
When in doubt, ON is recommended.
Runtime Behavior
When this event content is executed, the following processing is performed in order:
1. Entry Skip clamp (added 2026-09-16)
If the user is pressing the Skip button at the start of the event, Time >= 0.1 is forcibly clamped to 0.1 seconds.
2. Checking existence of target image
If the image data with the specified number does not exist, this event content does nothing and proceeds immediately to the next event content.
3. Saving shake data
The following is recorded internally:
- Shake type, intensity, time
shake_now_time = 0(elapsed time reset)- Is Wait, position correction settings
4. Shake execution
Time progresses by delta each frame in _process, and the Shake.shake() function calculates the shake coordinates (shake_x, shake_y). The actual display position is composed as:
node.position = (original position) + (shake_x, shake_y)Because the position is composed this way, it does not interfere with Move Image, Rotate Image, etc. when run in parallel.
5. Processing on completion
- When time elapses, shaking ends
- Position correction ON: Reset
shake_x = 0,shake_y = 0(returns accurately to original position) - Position correction OFF:
shake_x,shake_yat end of shaking remain as is - If Is Wait ON, proceeds to the next event content here
6. Following Skip press during execution
If the user presses the Skip button while shaking is in progress, the remaining time jumps to 0.1 seconds for quick completion.
Typical Usage Flows
Flow 1: Impact expression (character taking a hit)
Character takes a hit and shakes strongly vertically:
- Show Image (Number 1, character image)
- Show Text ← "Take this!"
- Shake Image (this event content) (Number 1, Type Pitch (moment), Intensity 20, Time 0.5, Is Wait ON, Pos Correction ON)
- Show Text ← "Argh!"
Flow 2: Anger expression (fine trembling)
Character gets angry and trembles slightly:
- Shake Image (this event content) (Number 1, Type Roll (quick), Intensity 5, Time 1.5, Is Wait ON, Pos Correction ON)
- Show Text ← "I won't forgive you!"
Flow 3: Earthquake effect (long-duration vertical shaking)
Long sequence of the floor shaking:
- Shake Image (this event content) (Number 0, Type Pitch (slow), Intensity 10, Time 5.0, Is Wait OFF, Pos Correction ON)
- Show Text ← "An earthquake!" (progresses during shaking)
- Show Text ← "Let's run!"
Flow 4: Explosion effect (diagonal shake)
Violent diagonal swing:
- Shake Image (this event content) (Number 1, Type P and R (moment), Intensity 40, Time 0.8, Is Wait ON, Pos Correction ON)
- Hide Image (Number 1) ← Erase after explosion
Flow 5: Parallel execution of shake and move
Tense effect of moving while shaking:
- Show Image (Number 1, Position 100, 400)
- Shake Image (this event content) (Number 1, Type Pitch (quick), Intensity 5, Time 2.0, Is Wait OFF, Pos Correction ON) ← Start shaking, immediately proceed
- Move Image (Number 1, End 1000, 400, Time 2.0, Is Wait ON) ← Move while shaking, end point accurate
Flow 6: Multiple characters shaking simultaneously
Effect of everyone taking a hit in battle:
- Shake Image (this event content) (Number 1, Intensity 15, Time 0.5, Is Wait OFF, Pos Correction ON) ← 1st
- Shake Image (this event content) (Number 2, Intensity 15, Time 0.5, Is Wait OFF, Pos Correction ON) ← 2nd
- Shake Image (this event content) (Number 3, Intensity 15, Time 0.5, Is Wait ON, Pos Correction ON) ← 3rd (wait only on last)
Typical Combinations
This event content is used against images already displayed via Show Image. For the full picture, see Combination Patterns.
Impact expression
Expression at the moment of taking an attack:
- (Attack animation)
- Shake Image (this event content) (Intensity 20, Time 0.5, Is Wait ON, Pitch (moment))
- Show Text ← Damage line
Shake + Move in parallel
Moving while shaking (walking through an earthquake, etc.):
- Show Image
- Shake Image (this event content) (Is Wait OFF)
- Move Image (Is Wait ON)
Shake + Fade out
Effect of being blown away:
- Shake Image (this event content) (Intensity 30, Time 1.0, Is Wait OFF, Pitch (moment))
- Hide Image (Number, Fade-out time 1.0, Is Wait ON)
Combination with screen shake
Shake image and entire screen simultaneously to express a large impact:
- Shake Image (this event content) (Intensity 20, Is Wait OFF)
- Shake Screen (Intensity 30, Is Wait ON) ← Entire screen also shakes
Related Event Content
| Related event content | Purpose |
|---|---|
| Show Image | Prerequisite for this event content (display the image in advance) |
| Move Image | Position animation (can run in parallel) |
| Rotate Image | Rotation animation (can run in parallel) |
| Scale Image | Scale animation (can run in parallel) |
| Hide Image | Exit effect after shaking |
| Shake Window | Shake a text window (same 9 types as this event content) |
| Shake Screen | Shake the entire screen |
Related Pages
| Page | Related content |
|---|---|
| Event Content List | List of all event contents |
Notes
Show Image is a prerequisite
This event content is dedicated to shaking existing images. If the image specified by the number is not displayed, it passes through to the next event content.
Ignored when Time is 0
If Time = 0, shaking is not executed, and the wait property is also disabled.
Shortening time on Skip (2026-09-16)
- Skip pressed on entry: Time >= 0.1 is clamped to 0.1
- Skip pressed during execution: Remaining time jumps to 0.1 instantly
Position correction OFF leaves slight offset
When position correction is OFF, the offset at the end of shaking remains, so the image's display position may be slightly off from the original coordinates. If subsequent event content requires an accurate position, use position correction ON.
Can run in parallel with move / rotate / scale
Shaking is managed internally in separate fields, so it does not interfere with Move Image etc. when run simultaneously. The display position is composed as "original position + shake offset".
Intensity is in pixels
The unit for intensity is pixels. Specifying intensity 50 on a small character image will shake it so much that it goes off screen. Aim for 5-30 depending on image size.
