Show Image
Category: Image
Event content that displays one image at any position on the screen. It is the starting point for all image-based effects, including character portraits, event CGs, icons, and background decorations.
Supported image formats
The following file formats can be specified in the Image property:
- Still images:
.png,.jpg,.jpeg,.svg,.webp,.bmp,.dds,.ktx,.exr,.hdr,.tga - Animation scene:
.tscn(scene with anAnimatedSprite2Dnode)
If you specify an animation scene (.tscn), you can switch to animation playback with the subsequent Play Animated Image.
Property List
| Item (tscn label) | Input format | Description |
|---|---|---|
| Number | Number (0-99) | Image number (for identification, can be overwritten with the same number, affects Z-order) |
| Image | Text + File selection button | Image file path (absolute path starting with res://) |
| Position x / y (Position x, Position y) | Number (px) | Coordinates where the center of the image is placed |
| Screen Center buttons × 2 | — | Automatically set position x / y to the screen center (half of viewport) |
| Scale x / y (Scale x, Scale y) | Number (%) | Image scale (100 = equal, 200 = 2x) |
| Flip H | Checkbox | Horizontal flip (left/right flip) |
| Flip V | Checkbox | Vertical flip (up/down flip) |
| Fade-in Time | Number (seconds) | Time to fade in the image gradually (0 for immediate display) |
| Is Wait | Checkbox | If ON, does not proceed to the next event content until fade-in completes |
| Preview button | — | Previews the image with current settings |
| Sample image area | — | Displays a small thumbnail on the spot when an image path is specified |
Property Details
Number
A number used to identify the image (integer 0-99, step 1).
- Specifying the same number overwrites: When you execute this event content again with the same number as an existing image, the old image is safely deleted and replaced with the new image
- Also affects drawing order (Z-order): The larger the number, the further to the front it is displayed (same mechanism as Show Window / Add Button)
- When placing multiple images on top of each other, assign larger numbers to images you want in front (e.g. background = 0, character = 1, effect = 2)
Image
Specifies the path of the image file to display.
- Input field: Absolute path starting with
res://likeres://addons/rpg_wizard/data/sprites/sample_1.png - File selection button (
...) at the right end: Press to open a file selection dialog and choose an image file (from underdata/sprites/) - Supported formats: 10 still image types +
.tscnanimation scene (see the "Supported image formats" tip above) - When you enter / select an image path, a small thumbnail (sample image) is displayed on the right
Non-existent paths are ignored
If you specify a non-existent image path, the node is created but the image data is empty. It does not throw an error, but nothing is displayed on screen.
Position x / y (Position x, Position y)
Specifies the screen coordinates to place the image in pixels.
- Origin: Top-left of screen is (0, 0), x increases to the right, y increases downward
- The "center" of the image comes to the specified position (not the top-left of the image)
- The input field is split into 2 rows, each row has "numeric input field + Screen Center button" side by side
- "Screen Center" button:
- x side: Enters half of viewport width (horizontal center of screen)
- y side: Enters half of viewport height (vertical center of screen)
- Pressing both aligns the image center with the screen center (no need to press again when changing size; based on image center)
Center-based regardless of image size
Unlike the "Screen Center" button of Add Button which depends on size, this event content is based on image center, so center placement is not disrupted even when size changes.
Scale x / y (Scale x, Scale y)
Specifies the display size of the image as a percentage.
- 100 = equal (original image size)
- 200 = 2x, 50 = half
- Setting x and y to different values creates a distorted display with different aspect ratio
- Unit notation is
%(gray label on editor)
Example: 150 x 150 → scaled to 1.5x
Flip H / Flip V
Flips the image horizontally (Flip H) / vertically (Flip V).
- ON: Display flipped
- OFF: Display as is
- Typical usage: Prepare one left-facing character image and set Flip H ON in scenes where you want right-facing display
Fade-in Time
Specifies the time to display gradually from transparent to opaque (in seconds).
- 0: Immediate display (no fade, Is Wait property also disabled)
- 0.5 etc.: Gradually display over 0.5 seconds (modulate alpha interpolates from 0 to 1)
Is Wait
Specifies whether to wait until fade-in completes before proceeding to the next event content.
- ON: Wait for the next event content until fade-in completes (focus on effect during fade)
- OFF: Proceed to the next event content immediately even while fade is in progress (when you want to run other effects in parallel)
- If Fade-in Time = 0, this property has no effect (no wait time to begin with)
Preview button
Previews the image with current settings (position, scale, flip). You can visually confirm placement.
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, Fade-in Time >= 0.1 is forcibly clamped to 0.1 seconds. This realizes "effects are skipped almost immediately when Skip is pressed".
2. Image data saving and Z-order setting
The following is saved internally:
- Number, image path, position, scale, flip → recorded in image data
- Image node's
z_index = Number(larger number = further forward)
3. Node creation
Loads the specified image file and generates an AnimatedSprite2D node:
- Still image (.png etc.): Loaded as Texture2D, registered as 1-frame animation "default"
- .tscn (AnimatedSprite2D scene): Instantiates the scene and uses it as is
- If an existing node with the same number exists, safely delete it before creating anew
4. Fade-in start
- Fade-in Time = 0:
modulate = Color(1,1,1,1)immediate display, proceed to next event content immediately - Fade-in Time > 0: Start from
modulate = Color(1,1,1,0), increase transparency by delta each frame in_processfor fade-in- Is Wait ON: Does not proceed to next event content until fade completes
- Is Wait OFF: Proceed to next event content immediately even while fade is in progress
5. Following Skip press during execution
If the user presses the Skip button while fade is in progress, the remaining time jumps to 0.1 seconds for quick completion.
Typical Usage Flows
Flow 1: Display a character portrait in the screen center
- Show Image (this event content)
- Number: 0
- Image:
res://addons/rpg_wizard/data/sprites/char_hero.png - Position: Press "Screen Center" button for auto-input
- Scale: 100 / 100
- Fade-in Time: 0.5, Is Wait: ON
- Show Text ← "Please take care of me!"
Flow 2: Change direction with horizontal flip
Reuse the same character image, changing direction based on scene:
- Show Image (this event content) (Number 0, image
char_a.png, Flip H OFF) ← Facing right - Show Text ← "Hey!"
- Show Image (this event content) (Number 0, image
char_a.png, Flip H ON) ← Overwrite with same number, facing left - Show Text ← "See ya"
Flow 3: Display multiple characters simultaneously (control front/back with Z-order)
Overlay background, ally character, and enemy character in order:
- Show Image (this event content) (Number 0, image
bg_forest.png, screen center, scale 100) ← Background - Show Image (this event content) (Number 1, image
char_hero.png, position 400, 400) ← Ally - Show Image (this event content) (Number 2, image
char_enemy.png, position 880, 400) ← Enemy (frontmost)
By using numbers in order 0, 1, 2, ally overlays background and enemy overlays ally.
Flow 4: Fade-in effect
Effect of quietly starting up a scene:
- Show Image (this event content) (Number 0, background, Fade-in Time 2.0, Is Wait ON) ← Background rises up over 2 seconds
- Show Image (this event content) (Number 1, character, Fade-in Time 1.0, Is Wait ON) ← Character rises up over 1 second
- Show Text ← "Welcome..."
Flow 5: Parallel effects without waiting for fade-in
Fade out multiple images simultaneously:
- Show Image (this event content) (Number 0, image A, Fade-in Time 1.0, Is Wait OFF) ← Start fade, immediately proceed
- Show Image (this event content) (Number 1, image B, Fade-in Time 1.0, Is Wait ON) ← Wait for fade completion here
Flow 6: Full-screen effect (CG single image)
Increase scale to fill the entire screen:
- Show Image (this event content)
- Number: 0
- Image:
res://addons/rpg_wizard/data/sprites/cg_opening.png - Position: Screen center
- Scale: Adjust to match screen size (e.g. 200/200)
- Fade-in Time: 2.0, Is Wait: ON
Typical Combinations
This event content is the starting point for all image effects. For the full picture, see Combination Patterns.
Portrait + conversation text
Basic pattern of showing a character portrait and having them speak:
- Show Image (this event content) (Number 1, portrait, Fade-in Time 0.5)
- Show Window (Number 0, for body text)
- Show Text (Number 0, line)
- (After conversation ends)
- Hide Image (Number 1) ← Erase character
Move / shake an image
Add move / shake / rotate / scale after displaying with this event content:
- Show Image (this event content) (Number 0, position 100, 400)
- Move Image (Number 0, end 1000, 400, Time 2.0) ← Slide right3. Shake Image (Number 0, intensity 10, Time 0.5) ← Impact expression
Playback of animation image
When using a .tscn scene instead of a still image:
- Show Image (this event content) (Number 0, image
anim_fire.tscn) - Play Animated Image (Number 0, animation name
burn) ← Start animation
Batch erasure of images
At the end of a scene using multiple images:
- Show Image (this event content) × N (multiple images)
- (Conversation / effects)
- Hide All Images ← Erase together
Related Event Content
| Related event content | Purpose |
|---|---|
| Hide Image | Erase one by one with number specification |
| Hide All Images | Erase all images at once |
| Move Image | Position animation |
| Shake Image | Per-image shake |
| Rotate Image | Rotation animation |
| Scale Image | Scale animation |
| Play Animated Image | Animation playback of .tscn scene |
| Show Window | Overlapping display with text window |
Related Pages
| Page | Related content |
|---|---|
| Event Content List | List of all event contents |
Notes
Same number overwrites
When you execute this event content with the same number as an existing image, the old image is automatically deleted and replaced with the new image. If you want to keep the previous image, be sure to use a different number.
Image center is the basis
Note that the position property specifies the center of the image. If you want to use the top-left of the image as the basis, you need calculations like Position x = desired top-left x + image width/2 * (scale/100). Pressing the "Screen Center" button places the center at the screen center regardless of image size.
Z-order is in number order
The larger the number, the further forward it is displayed. The basic order is background = small number, foreground = large number.
Wait setting is disabled when Fade-in Time is 0
When Fade-in Time = 0, the wait property is disabled (immediate display → immediate next event content).
Fade shortening on Skip (2026-09-16)
- Skip pressed on entry: Fade-in Time >= 0.1 is clamped to 0.1
- Skip pressed during execution: Remaining time jumps to 0.1 instantly
Even long fade effects can be quickly advanced by pressing Skip.
Non-existent paths do not throw errors
Even if the image path is wrong, the node is generated but the texture remains empty and proceeds to the next event content. If the image is not displayed during debugging, check the path.
Supported extensions: 11 types + .tscn
Supported file extensions: .png, .jpg, .jpeg, .svg, .webp, .bmp, .dds, .ktx, .exr, .hdr, .tga + .tscn (AnimatedSprite2D scene).
