Rotate Image
Category: Image
An Event Content that rotates an image already displayed via Show Image by the specified angle. Use it for spinning effects, tilting expressions, spin effects, etc.
Show Image must be executed first
This Event Content is exclusively for rotating 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 rotation angle is a "relative value"
The angle specified by the Rotation property is a relative value added to the current angle. It is not an absolute angle.
- Current 0°, Rotation = 90 → rotates to 90°
- Current 90°, Rotation = 90 → rotates to 180° (further 90° rotation)
- Current 180°, Rotation = -180 → returns to 0° (negative value is the reverse direction)
To return to the initial angle, specify a value that cancels out the current angle, or re-display the image via Show Image (re-displaying resets rotation_degrees to 0).
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) |
| Rotation | Number (°) | Angle to rotate (relative value, positive = clockwise, negative = counterclockwise) |
| Time (sec) | Number (seconds) | Time taken for the rotation (0 for instant rotation) |
| Is Wait | Checkbox | If ON, does not proceed to the next Event Content until rotation completes |
Property Details
Number
Specify the number of the image to rotate (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 the rotation. 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 rotation):
- Smooth constant-speed rotation: Linear
- Accelerate then decelerate (natural): Sine In Out, Cubic In Out
- Slow down just before stopping: Quad Out, Cubic Out
- Bounce as it stops: Back Out, Bounce Out
- Spring-like rotation: Elastic Out
Rotation
Specify the angle to rotate from the current angle in degrees (°).
- Positive value: Clockwise
- Negative value: Counterclockwise
- 360: One full clockwise rotation
- -360: One full counterclockwise rotation
- 720: Two clockwise rotations
- 90: Quarter clockwise rotation
Example showing it's a relative value
- Current angle 0° with Rotation = 90 → rotates to 90°
- From that state with Rotation = 90 again → rotates further to 180°
- From that state with Rotation = -90 → rotates -1/4 to return to 90°
Consecutive executions accumulate rotation.
Time (sec)
Specify the time taken for the rotation in seconds.
- 0: Instant rotation (no interpolation, Is Wait property also disabled)
- 0.3-0.5: Brief spin (quick rotation)
- 1.0-2.0: General rotation (looks slow)
- 3.0 or more: Gentle long-duration rotation
Is Wait
Specify whether to wait until rotation completes before proceeding to the next Event Content.
- ON: Wait for next Event Content until rotation completes
- OFF: Proceed to next Event Content immediately even while rotating (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 rotation start and end angles
- Start angle: The image's current
rotation_degrees - End angle:
current angle + specified Rotation
4. Time-based interpolation
- Time = 0: Immediately apply the end angle, Is Wait disabled, proceed immediately to next Event Content
- Time > 0: Interpolate using the selected easing (
_processadvances by delta,Easing.calc()computes the angle)- 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. Rotation center
The image rotates around its center (following the centered=true specification of Show Image).
6. Response to Skip press during execution
If the user presses the Skip button during rotation, the remaining time jumps to 0.1 seconds to complete quickly.
7. Parallel execution with other animations
Rotation can run independently in parallel with movement, shaking, scaling, and fading. Multiple animations can be applied simultaneously to a single image.
Typical Usage Flows
Flow 1: Slow clockwise one-rotation
Sparkle effect on item acquisition:
- Show Image (Number 1, image
item_icon.png, position screen center) - Rotate Image (this Event Content) (Number 1, easing Linear, Rotation 360, time 2.0, wait ON)
Flow 2: Fast spin (surprise effect)
360° high-speed rotation in 0.3 seconds:
- Rotate Image (this Event Content) (Number 1, easing Quad Out, Rotation 360, time 0.3, wait ON)
Flow 3: Slow tilt
Character collapsing effect:
- Rotate Image (this Event Content) (Number 1, easing Sine In, Rotation 90, time 1.5, wait ON) ← rotate clockwise to 90°
Flow 4: Bounce while rotating (Back Out)
Spin with momentum, overshoot, then return:
- Rotate Image (this Event Content) (Number 1, easing Back Out, Rotation 180, time 1.0, wait ON)
Flow 5: Parallel rotation + movement
Spinning while moving:
- Show Image (Number 1, right edge of screen)
- Rotate Image (this Event Content) (Number 1, Rotation 1080, time 2.0, wait OFF) ← 3 rotations, proceed immediately
- Move Image (Number 1, position left edge of screen, time 2.0, wait ON) ← Movement also at the same time, finally waits
Flow 6: Triple parallel rotation + scaling + movement
Flashy entrance effect:
- Show Image (Number 1, off-screen, scale 50/50)
- Rotate Image (this Event Content) (Number 1, Rotation 720, time 1.5, wait OFF)
- Scale Image (Number 1, end 150/150, time 1.5, wait OFF)4. Move Image (Number 1, screen center, time 1.5, wait ON) ← Waits for all 3 to complete
Flow 7: How to reset rotation
Two ways to restore an image whose accumulated angle has increased through consecutive rotations:
Method A: Specify a canceling value
- (Current angle 450° state)
- Rotate Image (this Event Content) (Number 1, Rotation -450, time 0, wait OFF) ← Instantly reset to 0°
Method B: Re-display the image
- Show Image (Number 1, same image, same position) ← Overwrite image, rotation_degrees is reset to 0
Typical Combinations
This Event Content is used on images already displayed via Show Image. For the overall picture, see Combination Patterns Collection.
Sparkle effect (slow rotation)
Expression when acquiring an item:
- Show Image (Number 1, image
item.png, screen center, fade in 0.5) - Rotate Image (this Event Content) (Number 1, Linear, 360°, time 2.0, wait OFF)
- Show Text ← Message during rotation
Tilt effect (falling / collapsing)
Character falling expression:
- Rotate Image (this Event Content) (Number 1, Sine In, 90°, time 1.0, wait ON)
- Hide Image (Number 1)
Parallel execution of multiple animations
Rotation + movement + scaling at the same time:
- Show Image
- Rotate Image (this Event Content) (wait OFF)
- Move Image (wait OFF)
- Scale Image (wait ON) ← Finally wait for completion
Combining rotation + shake
Tense feeling of rotating while vibrating:
- Rotate Image (this Event Content) (Number 1, Linear, 720°, time 2.0, wait OFF)
- Shake Image (Number 1, intensity 5, time 2.0, wait ON)
Related Event Contents
| Related Event Content | Purpose |
|---|---|
| Show Image | Prerequisite for this Event Content (image must be displayed beforehand, also used as a means of resetting rotation) |
| Move Image | Position animation (parallel executable, shared easing) |
| Shake Image | Per-image shake (parallel executable) |
| Scale Image | Scale animation (parallel executable) |
| Hide Image | Exit effect after rotation |
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 rotating existing images. If no image is displayed at the specified number, it falls through to the next Event Content.
Rotation angle is a relative value
The angle specified by the Rotation property is added to the current angle. If you want to specify an absolute angle, you must manage the current angle yourself or re-display the image via Show Image to reset to 0°.
Rotation accumulates on consecutive execution
Executing this Event Content multiple times on the same image accumulates the rotation angle (e.g., executing Rotation=90 four times → total 360° rotation).
Rotation center is the image center
The image rotates around its center axis. If you want to pivot on a corner of the image, you need to shift the center by trimming the image file itself.
Wait setting has no effect if Time is 0
If Time = 0, the wait property is disabled (instant rotation → 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
Rotation can run independently in parallel with movement, shaking, scaling, and fading. Multiple animations can be applied simultaneously to a single image.
