Skip to content

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 IDPurposeRuntime firing path
ATTACKNormal attack effectUsed as the effect for the item BA_ATTACK
ESCAPEEnemy driven-off effectFires automatically when an enemy is driven off
DISAPPEAREnemy disappearance effectFires 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) ​

ElementPurpose
ListDisplays all effect IDs in a vertical column
New buttonAdd a new effect by specifying an ID
Rename ID buttonChange the ID of the selected effect (reserved IDs are rejected)
Copy buttonDuplicate the selected effect
Delete button (red text)Delete the selected effect (reserved IDs are rejected; confirmation dialog shown)
Preview buttonImmediately preview the effect with the current settings
Save buttonWrites the edits to effect.json

Right pane (property editor, 2-column structure) ​

ColumnContent
Column 1Basic info (ID / particles / replace texture / sound / sound start delay) + development notes
Column 2Flash (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-z A-Z 0-9 only
  • 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).

ItemInput formatDescription
Particle pathText + ... buttonPath 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).

SettingBehavior
ONHides the target character's sprite temporarily and replaces it with particles (character transforms into particles)
OFFTarget character remains visible; particles play overlaid on the character's position

Sound ​

Specifies the path to the sound file.

ItemInput formatDescription
Sound pathText + ... buttonPath 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 formatDescription
FlashON/OFFWhether to use the flash effect
Start Flash AfterNumber (sec)Wait time from effect start to flash start (0 to 30 sec)
Flash TimeNumber (sec)Flash duration (0 to 30 sec)
Flash Color Red/Green/Blue/AlphaNumber (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 ​

UseRedGreenBlueAlpha
Fire (orange)25510050255
Ice (blue)100150255255
Thunder (yellow)255255100255
Heal (green)100255100200
Damage (red)2555050200

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 formatDescription
ShakeON/OFFWhether to use the shake effect
Shake TypeChoiceShake pattern (9 types, see below)
Start Shake AfterNumber (sec)Wait time from effect start to shake start (0 to 30 sec)
IntensityNumber (pixels)Max shake offset (px)
Shake TimeNumber (sec)Shake duration (0 to 30 sec)
Pos Correction Upon CompleON/OFFWhether 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:

TypeDirectionSpeedExample use
Pitch (moment)VerticalMomentary (short and sharp)Impact, hit
Roll (moment)HorizontalMomentary (short and sharp)Strike, explosion
P and R (moment)BothMomentary (short and sharp)Big explosion
Pitch (slow)VerticalSlowRumble
Roll (slow)HorizontalSlowWave
Pitch (standard)VerticalStandardMedium damage
Roll (standard)HorizontalStandardMagic hit
Pitch (quick)VerticalFastRapid blows
Roll (quick)HorizontalFastHigh-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 ​

SettingBehavior
ON (recommended)After shake ends, target character/screen returns to original position
OFFAfter 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) ​

  1. Press the New button
  2. Enter the ID FIRE and click OK
  3. In Column 1 set:
    • Particle: Pick data/particles/fire_01.tscn via the ... button
    • Sound: Pick hit_fire_01.ogg via the ... button and PLAY to audition
    • Start Sound After: 0.2 (match the impact timing)
    • Replace Texture with Target Sprite: OFF (character remains visible)
  4. 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)
  5. 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
  6. Verify with the Preview button
  7. Press the Save button
  8. On the Item tab, FIRE is now added to the effect choices for MA_FIRE

Flow 2: Create a heal effect (HEAL) ​

  1. New → ID HEAL
  2. Particle: data/particles/heal_01.tscn
  3. Sound: heal_01.ogg, Start Sound After 0
  4. Flash: ON, color Red=100, Green=255, Blue=100, Alpha=180 (green/semi-transparent), Flash Time 0.8
  5. Shake: OFF (no shake for heal)
  6. Preview to verify, Save

Flow 3: Create a derivative from an existing effect ​

  1. Select FIRE in the list
  2. Copy button → FIRE_2 is created
  3. Rename to FIRE_STRONG via the Rename ID button
  4. Change Intensity from 8 to 16 (stronger vibration)
  5. Change Flash Time from 0.5 to 0.8
  6. Preview to verify, Save

Flow 4: Customize the normal attack effect (ATTACK) ​

  1. Select ATTACK in the list
  2. Rename / delete are rejected (reserved ID)
  3. 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
  4. Preview to verify, Save

Flow 5: Adjusting sound delay ​

  1. Select an existing effect
  2. PLAY button to audition the sound
  3. Gradually adjust Start Sound After (0.1 → 0.2 → 0.3) to match the particle's impact timing
  4. Preview to verify
  5. Save
TabRelated content
Item tabEffect reference on use
State tabEffect 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.