Scale Image
Category: Image
An Event Content that smoothly changes the scale of an image already displayed via Show Image to the specified scale. Use it for zooming in for emphasis, zooming out to disappear, or heartbeat-like scaling effects.
Show Image must be executed first
This Event Content is exclusively for changing the scale of existing images. If no image is displayed at the specified Number, it does nothing and passes through.
Be sure to execute Show Image with the same number first.
The scale is an "absolute value"
Whereas Rotate Image uses a relative value (current + angle), this Event Content specifies the end-point scale directly.
- Current 100%, Scale = 200 → scales from 100 → 200%
- Current 200%, Scale = 100 → scales from 200 → 100% (returns to original)
- Current 100%, Scale = 100 → no change
Uses the same unit system (100 = 1x) as Scale X / Y in Show Image.
Property List
| Item (tscn label) | Input format | Description |
|---|---|---|
| Number | Number (0-99) | Number of the target image |
| Easing | Selection | Interpolation curve (31 types, shared with Move Image) |
| Scale x / y | Number (%) | End-point scale (absolute value, 100 = 1x, 200 = 2x, 50 = half) |
| Time (sec) | Number (seconds) | Time taken for the change (0 for instant change) |
| Is Wait | Checkbox | If ON, does not proceed to the next Event Content until the change completes |
Property Details
Number
Specify the number of the image to scale (integer 0-99, step 1).
- Specify the same value as the number given in Show Image
- If no image exists at the specified number, this Event Content does nothing and proceeds to the next Event Content
Easing
Specify the interpolation curve for scaling. You can choose from all 31 types (In/Out/InOut variants of Linear, Sine, Quad, Cubic, Quart, Quint, Expo, Circ, Back, Elastic, Bounce).
For details, see Easing table in Move Image.
Typical use cases (for scaling):
- Smooth constant speed: Linear
- Slow start, rapid acceleration: Quad In, Cubic In
- Sudden start, slow landing: Quad Out, Cubic Out
- Emphasize with bounce: Back Out, Elastic Out, Bounce Out
- Heartbeat-like pulse: In Out variants (Sine In Out, Quad In Out)
Scale x / y
Specify the end-point scale as a percentage.
- Unit:
% - 100: 1x (original image size)
- 200: Enlarge to 2x
- 50: Reduce to half
- 0: Disappear (size 0)
- Setting X and Y to different values produces distortion with a non-standard aspect ratio
Example showing it's an absolute value
- Current 100% with Scale = 150 → scales from 100 → 150%
- From that state with Scale = 150 again → no change (already at 150%)
- Scale = 100 → scales from 150 → 100% (returns)
This differs from the accumulation behavior of Rotate Image.
Time (sec)
Specify the time taken for the change in seconds.
- 0: Instant change (no interpolation, Is Wait property also disabled)
- 0.3-0.5: Quick change (suitable for emphasis)
- 1.0-2.0: General change
- 3.0 or more: Gentle long-duration change
Is Wait
Specify whether to wait until the change completes before proceeding to the next Event Content.
- ON: Wait for next Event Content until the change completes
- OFF: Proceed to next Event Content immediately even while changing (useful for running other animations in parallel)
- If Time = 0, this property has no effect
Runtime Behavior
When this Event Content is executed, processing proceeds in the following order:
1. Clamp on entry Skip (added 2026-09-16)
If the user had pressed the Skip button at event start, Time >= 0.1 is forcibly clamped to 0.1 seconds.
2. Confirm existence of target image
If no image data exists for the specified number, this Event Content does nothing and proceeds immediately to the next Event Content.
3. Set scale start and end values
- Start: Current scale (
scale_x,scale_y) - End: The scale x / y specified by the properties
4. Time-based interpolation
- Time = 0: Immediately apply the end value, Is Wait disabled, proceed immediately to next Event Content
- Time > 0: Interpolate using the selected easing (
_processadvances by delta,Easing.calc()computes the scale)- Is Wait ON: Do not proceed to next Event Content until completion
- Is Wait OFF: Proceed to next Event Content immediately even while in progress
5. Scaling center
Scales around the image's center (per Show Image's centered=true specification). The position does not change; it expands/shrinks around its center.
6. Response to Skip press during execution
If the user presses the Skip button during the change, the remaining time jumps to 0.1 seconds to complete quickly.
7. Parallel execution with other animations
Scaling can run independently in parallel with movement, rotation, shaking, and fading.
Typical Usage Flows
Flow 1: Zoom in for emphasis
Close-up effect of an item:
- Show Image (Number 1, image
item.png, scale 100/100) - Scale Image (this Event Content) (Number 1, easing Quad Out, end 200/200, time 0.5, wait ON)
- Show Text ← "A rare item!"
Flow 2: Zoom out for disappearance
Expression where the image shrinks and disappears:
- Scale Image (this Event Content) (Number 1, easing Expo In, end 0/0, time 1.0, wait ON)
- Hide Image (Number 1) ← Clear data
Flow 3: Bouncy entrance (Back Out)
Scale with momentum → overshoot → return:
- Show Image (Number 1, scale 50/50)
- Scale Image (this Event Content) (Number 1, easing Back Out, end 100/100, time 0.8, wait ON)
Flow 4: Heartbeat-like scaling (repeating)
A single cycle (100 → 110 → 100):
- Scale Image (this Event Content) (Number 1, Sine In Out, end 110/110, time 0.3, wait ON)
- Scale Image (this Event Content) (Number 1, Sine In Out, end 100/100, time 0.3, wait ON)
(To repeat, implement with Loop + Loop End)
Flow 5: Distortion effect (specifying X and Y separately)
Compress only horizontally for a squashed effect:
- Scale Image (this Event Content) (Number 1, Quad Out, end 50/150, time 0.5, wait ON) ← Width 50% + height 150%
Flow 6: Parallel execution of multiple animations
Scaling + rotation + movement at the same time:
- Show Image (Number 1, scale 50/50, right edge of screen)
- Scale Image (this Event Content) (Number 1, end 150/150, time 2.0, wait OFF)
- Rotate Image (Number 1, Rotation 720, time 2.0, wait OFF)
- Move Image (Number 1, screen center, time 2.0, wait ON) ← Finally wait for completion
Flow 7: Reappearance after disappearance
Shrink to 0 and then return to the original size:
- Scale Image (this Event Content) (Number 1, Expo In, end 0/0, time 0.5, wait ON) ← Disappear
- (Other Event Contents in between)
- Scale Image (this Event Content) (Number 1, Back Out, end 100/100, time 0.5, wait ON) ← Reappear
Typical Combinations
This Event Content is used on images already displayed via Show Image. For the overall picture, see Combination Patterns Collection.
Zoom in for emphasis
Close-up of important items or characters:
- Show Image (Number 1)
- Scale Image (this Event Content) (end 200/200, Quad Out, time 0.5, wait ON)
- Show Text ← Emphasized dialogue
- Scale Image (this Event Content) (end 100/100, Quad In, time 0.5, wait ON) ← Return to original
Disappearance effect
Zoom out with concurrent fade out:
- Scale Image (this Event Content) (end 0/0, Expo In, time 1.0, wait OFF)
- Hide Image (fade out time 1.0, wait ON)
Parallel execution of multiple animations
Scaling + rotation + movement at the same time:
- Scale Image (this Event Content) (wait OFF)
- Rotate Image (wait OFF)
- Move Image (wait ON) ← Last one waits for completion
Combining shake + scaling
Tense feeling of trembling while enlarging:
- Scale Image (this Event Content) (end 150/150, time 1.0, wait OFF)
- Shake Image (intensity 5, time 1.0, wait ON)
Related Event Contents
| Related Event Content | Purpose |
|---|---|
| Show Image | Prerequisite for this Event Content (image must be displayed beforehand, uses the same unit system as Scale X / Y) |
| Move Image | Position animation (parallel executable, shared easing) |
| Rotate Image | Rotation animation (parallel executable, but relative value) |
| Shake Image | Per-image shake (parallel executable) |
| Hide Image | Exit processing after disappearance |
Related Pages
| Page | Related Content |
|---|---|
| Event Content List | List of all Event Contents |
Notes
Show Image is a prerequisite
This Event Content is exclusively for changing the scale of existing images. If no image is displayed at the specified number, it falls through to the next Event Content.
Scale is an absolute value
The value specified by the Scale property is the end-point scale after the change. Since it does not accumulate, executing multiple times with the same Scale value produces no change (a major difference from Rotate Image).
Scaling center is the image center
Since the image scales around its center, the position does not change; it expands/shrinks around its center.
Setting X and Y to different values distorts the image
Setting X and Y to different values produces distortion where the aspect ratio is broken (e.g., X=200, Y=100 → only width is 2x, resulting in a squashed display). To avoid distortion, specify the same value for X and Y.
Wait setting has no effect if Time is 0
If Time = 0, the wait property is disabled (instant change → immediately to next Event Content).
Time reduction 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 at once
Parallel execution with other animations
Scaling can run independently in parallel with movement, rotation, shaking, and fading. Multiple animations can be applied simultaneously to a single image.
Specifying 0 makes the image disappear
Specifying scale 0 makes the image size 0 and invisible on screen. However, the internal data still exists, so you can display it again by changing to a non-zero scale. To completely delete, use Hide Image.
Negative values function as flipping
Specifying a negative scale (e.g., -100) will mirror-flip the image. However, it is usually clearer to use the H Flip / V Flip properties of Show Image.
