Effect tab
The Effect tab is where you define audio-visual effects (Effects) used in the game. One entry corresponds to one effect.
What is an Effect?
In this tool, an "effect" bundles four effect elements into a single unit:
- Particles: Visual effects such as explosions, light, and sparks
- Sound: Sounds such as attack sounds, magic sounds, and explosion sounds
- Flash: An effect where the screen or a character briefly flashes a color
- Shake: An effect where the screen or a character shakes
Grouping these into a single effect ID lets you handle one playback — like "fire magic hit", "slash", or "heal" — as a single reference. By referencing this effect from items or states, the effect auto-plays on use or application.
Overview
Purpose of this screen
- Set the effect's basic info (ID / particles / sound)
- Set the flash (colored glow)
- Set the shake (vibration)
- Preview the effect to verify behavior
Save location
data/settings/effect.json— stored with effect ID as the key
Where it is referenced
- Item tab: Effect reference on use
- State tab: Effect reference on application
- Battle processing: Fires effects during battle
- World processing: Fires effects when a state is applied on the field
Reserved IDs
Effects have three reserved IDs that cannot be deleted or renamed.
| Reserved ID | Purpose | Runtime firing path |
|---|---|---|
ATTACK | Normal attack effect | Used as the effect for the item BA_ATTACK |
ESCAPE | Enemy driven-off effect | Fires automatically when an enemy is driven off |
DISAPPEAR | Enemy disappearance effect | Fires automatically when an enemy disappears |
These reserved IDs cannot be deleted or renamed. If they are missing from effect.json at initialization, they are automatically added.
Recommended properties for reserved IDs
- ATTACK: Particles + sound + flash + shake (flashy attack-like production)
- ESCAPE: Particles + sound only, no flash/shake (quiet escape production)
- DISAPPEAR: Particles + sound only, no flash/shake (quiet disappearance production)
Properties of reserved IDs can be changed, but adding flash or shake to ESCAPE / DISAPPEAR may result in excessive production.
Screen layout
The Effect tab has a left/right split layout, with the right pane in a 2-column structure.
Left pane (effect list)
| Element | Purpose |
|---|---|
| List | Displays all effect IDs in a vertical column |
| New button | Add a new effect by specifying an ID |
| Rename ID button | Change the ID of the selected effect (reserved IDs are rejected) |
| Copy button | Duplicate the selected effect |
| Delete button (red text) | Delete the selected effect (reserved IDs are rejected; confirmation dialog shown) |
| Preview button | Immediately preview the effect with the current settings |
| Save button | Writes the edits to effect.json |
Right pane (property editor, 2-column structure)
| Column | Content |
|---|---|
| Column 1 | Basic info (ID / particles / replace texture / sound / sound start delay) + development notes |
| Column 2 | Flash (flash / flash start delay / flash time / flash color) + Shake (shake / shake type / shake start delay / shake intensity / shake time / position correction on complete) |
Operating the left pane
New
Pressing the New button opens an ID input dialog. The new effect is added with the entered ID.
Input rules:
- Allowed characters:
_a-zA-Z0-9only - Empty strings not allowed
- Duplicates are auto-numbered (
_2,_3, ...)
Rename ID
Pressing the Rename ID button opens a rename dialog. Pressing against a reserved ID (ATTACK / ESCAPE / DISAPPEAR) is rejected.
Copy
Pressing the Copy button adds a new effect that duplicates all data of the selected effect. The ID is auto-numbered (original ID + _2, _3, ...).
Delete
Pressing the Delete button displays a confirmation dialog; clicking OK deletes the selected effect. Pressing against a reserved ID (ATTACK / ESCAPE / DISAPPEAR) is rejected.
Caution when deleting
Deleting an effect ID currently in use on the Item or State tab invalidates the reference. If an invalid effect ID is referenced, the production is skipped at runtime (no error). Check where it is used before deleting.
Preview
Pressing the Preview button immediately plays the effect with the currently edited settings. Unsaved changes are also reflected, letting you verify production before saving.
Save
Pressing the Save button writes all edited effect data to data/settings/effect.json. Changes before saving are held in memory only, and a (*) mark appears in the tab title.
Column 1: Basic info + development notes
Particle
Specifies the path to the particle scene (.tscn file).
| Item | Input format | Description |
|---|---|---|
| Particle path | Text + ... button | Path to the particle scene (data/particles/*.tscn) |
Pressing the ... button opens a file selection dialog to pick the particle scene.
Leaving it empty means no particle production (sound/flash/shake only).
How to make a particle scene
Particle scenes are built in the Godot editor and saved under data/particles/. Attaching the effect_autostart.gd script to the root node automatically turns on the particle's emitting flag at playback.
Replace Texture with Target Sprite
Setting for whether to replace the particle's texture with the target character's sprite (label is "Replace Texture with Target Sprite" in the tscn Replace Texture with Target Sprite).
| Setting | Behavior |
|---|---|
| ON | Hides the target character's sprite temporarily and replaces it with particles (character transforms into particles) |
| OFF | Target character remains visible; particles play overlaid on the character's position |
Sound
Specifies the path to the sound file.
| Item | Input format | Description |
|---|---|---|
| Sound path | Text + ... button | Path to the sound file (data/sounds/sounds/*.wav / *.mp3 / *.ogg) |
| PLAY button | — | Audition the sound in the editor (volume 100%) |
| STOP button | — | Stop the audition |
Leaving it empty means no sound.
Start Sound After
Specifies the wait time (seconds) from the effect start to sound playback. Use this when you want the sound to play slightly delayed after particles.
- Default: 0 (plays simultaneously with effect start)
- Upper limit: 30 seconds (to prevent battle freeze)
Development notes
A free-form memo field for the user. Supports line breaks. Development notes have no impact on the game whatsoever (not referenced at runtime).
Column 2: Flash
An effect where the target character or the entire screen briefly glows a color.
Input items
| Item (tscn label) | Input format | Description |
|---|---|---|
| Flash | ON/OFF | Whether to use the flash effect |
| Start Flash After | Number (sec) | Wait time from effect start to flash start (0 to 30 sec) |
| Flash Time | Number (sec) | Flash duration (0 to 30 sec) |
| Flash Color Red/Green/Blue/Alpha | Number (0 to 255) | RGBA color of the flash (integers 0 to 255 each, Red/Green/Blue/Alpha) |
Editable condition
If "Flash" is OFF, related items (Start Flash After, Flash Time, Flash Color) are disabled (gray). Turning it ON enables editing.
Color specification
- Each color value is an integer from 0 to 255
- A (Alpha) is opacity (0 = fully transparent, 255 = fully opaque)
- Internally divided by 255 to convert to a floating-point 0.0 to 1.0
Color examples
| Use | Red | Green | Blue | Alpha |
|---|---|---|---|---|
| Fire (orange) | 255 | 100 | 50 | 255 |
| Ice (blue) | 100 | 150 | 255 | 255 |
| Thunder (yellow) | 255 | 255 | 100 | 255 |
| Heal (green) | 100 | 255 | 100 | 200 |
| Damage (red) | 255 | 50 | 50 | 200 |
Upper limits on delay and duration
Flash start delay and flash duration are limited to 30 seconds. This is a safety measure to prevent battle freeze. Huge values (e.g. 9999) are automatically clamped to 30.
Column 2: Shake
An effect where the target character or the entire screen shakes.
Input items
| Item (tscn label) | Input format | Description |
|---|---|---|
| Shake | ON/OFF | Whether to use the shake effect |
| Shake Type | Choice | Shake pattern (9 types, see below) |
| Start Shake After | Number (sec) | Wait time from effect start to shake start (0 to 30 sec) |
| Intensity | Number (pixels) | Max shake offset (px) |
| Shake Time | Number (sec) | Shake duration (0 to 30 sec) |
| Pos Correction Upon Comple | ON/OFF | Whether to return to the original position after shake ends |
Editable condition
If "Shake" is OFF, related items (Shake Type, Start Shake After, Intensity, Shake Time, Pos Correction Upon Comple) are disabled (gray). Turning it ON enables editing.
9 shake types
9 types based on combinations of shake direction and speed:
| Type | Direction | Speed | Example use |
|---|---|---|---|
| Pitch (moment) | Vertical | Momentary (short and sharp) | Impact, hit |
| Roll (moment) | Horizontal | Momentary (short and sharp) | Strike, explosion |
| P and R (moment) | Both | Momentary (short and sharp) | Big explosion |
| Pitch (slow) | Vertical | Slow | Rumble |
| Roll (slow) | Horizontal | Slow | Wave |
| Pitch (standard) | Vertical | Standard | Medium damage |
| Roll (standard) | Horizontal | Standard | Magic hit |
| Pitch (quick) | Vertical | Fast | Rapid blows |
| Roll (quick) | Horizontal | Fast | High-speed attack |
- Pitch = Vertical shake (up/down)
- Roll = Horizontal shake (left/right)
- P and R = Both vertical and horizontal
Meaning of position correction on complete
| Setting | Behavior |
|---|---|
| ON (recommended) | After shake ends, target character/screen returns to original position |
| OFF | After shake ends, offset remains |
Normally set to ON. Setting to OFF may cause the character's position to drift during battle.
Upper limits on delay and duration
Like flash, shake start delay and shake duration are also limited to 30 seconds.
Preview feature
Pressing the Preview button immediately plays the effect with the currently edited settings.
Preview characteristics
- Reflects unsaved changes as well (allows verifying before saving)
- Particles, sound, flash, and shake all play
- Equivalent behavior to runtime battle effect playback
Preview uses
- Verifying newly created effects
- Trial and error for adjusting color or shake intensity
- Adjusting delays (timing between particles and sound)
Typical usage flow
Flow 1: Create a new fire magic effect (FIRE)
- Press the New button
- Enter the ID
FIREand click OK - In Column 1 set:
- Particle: Pick
data/particles/fire_01.tscnvia the...button - Sound: Pick
hit_fire_01.oggvia the...button and PLAY to audition - Start Sound After:
0.2(match the impact timing) - Replace Texture with Target Sprite: OFF (character remains visible)
- Particle: Pick
- In Column 2 Flash set:
- Flash: ON
- Start Flash After:
0, Flash Time:0.5 - Flash Color: Red=
255, Green=100, Blue=50, Alpha=255(fire color)
- In Column 2 Shake set:
- Shake: ON
- Shake Type:
Roll (moment)(momentary horizontal vibration) - Start Shake After:
0, Intensity:8, Shake Time:0.4 - Pos Correction Upon Comple: ON
- Verify with the Preview button
- Press the Save button
- On the Item tab,
FIREis now added to the effect choices forMA_FIRE
Flow 2: Create a heal effect (HEAL)
- New → ID
HEAL - Particle:
data/particles/heal_01.tscn - Sound:
heal_01.ogg, Start Sound After0 - Flash: ON, color Red=
100, Green=255, Blue=100, Alpha=180(green/semi-transparent), Flash Time0.8 - Shake: OFF (no shake for heal)
- Preview to verify, Save
Flow 3: Create a derivative from an existing effect
- Select
FIREin the list - Copy button →
FIRE_2is created - Rename to
FIRE_STRONGvia the Rename ID button - Change Intensity from
8to16(stronger vibration) - Change Flash Time from
0.5to0.8 - Preview to verify, Save
Flow 4: Customize the normal attack effect (ATTACK)
- Select
ATTACKin the list - Rename / delete are rejected (reserved ID)
- Other properties can be edited:
- Particle: Change to
slash_01.tscn→ sword slash effect - Sound: Change to a new slash sound
- Flash: Switch from OFF to ON, add white flash
- Particle: Change to
- Preview to verify, Save
Flow 5: Adjusting sound delay
- Select an existing effect
- PLAY button to audition the sound
- Gradually adjust Start Sound After (0.1 → 0.2 → 0.3) to match the particle's impact timing
- Preview to verify
- Save
Related tabs
| Tab | Related content |
|---|---|
| Item tab | Effect reference on use |
| State tab | Effect reference on application |
Notes
Reserved IDs cannot be deleted or renamed
ATTACK / ESCAPE / DISAPPEAR cannot be deleted or renamed. These are required for the tool's core functionality (normal attack, enemy driven-off, enemy disappearance).
Delay/duration capped at 30 seconds
Flash and shake start delay and duration are limited to 30 seconds. This is a safety measure to prevent battle freeze from huge values. Values exceeding 30 are automatically clamped to 30.
Color is 0-255 integer
Flash color is specified as integers from 0 to 255. Values outside this range are automatically clamped to 0 or 255.
Preview works without saving
The Preview button plays immediately using the current UI values. Useful for trial and error before saving. However, switching to another tab may lose unsaved changes, so always save settings you want to keep via the Save button.
Automatic particle playback
Attaching the effect_autostart.gd script to the root of a particle scene automatically turns on the particle's emitting flag at effect playback. No need to write manual code to turn it on.
Using texture replacement
Texture replacement ON temporarily hides the character body and replaces it with particles. Use it for productions like "character consumed in explosion" or "character fades out in disappearance". For normal overlay productions (particles overlaid on the character's position), set to OFF.
Referential integrity on delete
When deleting an effect, items/states referencing that effect are not automatically corrected. If the reference becomes invalid, the production is skipped at runtime (no error). Check where it is used on the Item/State tab before deleting.
