Event tab
The Event tab is the tab for editing in-game events (title screen, conversations, shops, battle start, endings, etc.). One entry corresponds to one event, and by arranging event content in order, you build up every in-game action.
What is an event
An event is the basic unit of a game scenario. Talking to an NPC on the map, opening a treasure chest, starting the game from the title screen, reaching the ending — all game progress is composed of events.
What is event content
"Show text", "Add Choice", "Play Sound", "Start Battle" and so on — these are the individual operations executed in order within an event. This tool provides more than 70 kinds of event content, which you arrange to build events.
Overview
Purpose of the screen
- Create / delete / rename / copy events
- Add / edit / reorder / copy / paste event content
- Manage multi-page events (can be split with page breaks)
- Display nested event content (conditional branching, loops) with indentation
- Automatically check consistency of conditional branch / loop pairings
- Launch an immediate preview of the event under creation
- Open the related map directly in the in-tool Map Editor
Save location
- 1 event = 1 file (
data/settings/events/<Event ID>.json) - Saved independently per event
Where is it referenced from
- "Event ID" of objects (NPCs, chests, etc.) on the map
- "Start Event" on the title screen (configured in the System tab)
- Destination of choices (the "Event" field of Add Choice)
- Destination of the "Go to Next Event" event content
Screen layout
The Event tab has a left/right split layout.
Left pane: Event list
| Element | Purpose |
|---|---|
| Event list | Displays all event IDs (file names) vertically |
| New button | Add a new event by specifying an ID |
| Copy button | Duplicate the selected event (ID auto-numbered) |
| Delete button | Delete the selected event (with confirmation dialog) |
| Change ID button | Change the ID (file name) of the selected event |
| Save button | Save the current edits (this event only) |
Right pane: Edit the selected event
| Element | Purpose |
|---|---|
| Event name | Display name of the selected event (optional) |
| Used-in-objects list | Reverse-lookup display of objects on maps that reference this event |
| Content list | Current page's event content displayed in order (with indent) |
| Event content operation buttons | Add / Delete / Up / Down / Copy / Paste |
| Event content edit area | Property editing of the selected event content |
| Preview button | Launches the game in a separate process with this event set as the Start Event |
| Map selection + Open Map Editor button | Display the related map in the in-tool Map Editor |
| Formula Help button | Pops up the Formula reference |
Add Content dialog
Dialog shown by pressing the New button. Allows you to select from 70+ event content items by category.
Context menu
The menu shown by right-clicking on the content list. Add / Copy / Paste / Move Up / Move Down / Delete can be executed quickly via keyboard or right click.
Operations in the left pane
Create a new event
- Press the New button
- Enter a new event ID (= file name) in the dialog
- Allowed characters:
_a-zA-Z0-9(underscore, half-width alphanumerics) - Error is displayed if empty or invalid characters are included
- If the ID duplicates an existing one,
_2,_3suffixes are auto-appended
Copy an event
- Copy button fully duplicates the selected event
- The new ID is auto-numbered as
<original ID>_2(incremented further on duplicate) - Event content order is also fully copied
Delete an event
- Delete button shows a confirmation dialog
- "Yes" deletes the corresponding event file
Deletion cannot be undone
Deleted events cannot be restored. If other events reference it via "Go to Next Event" etc., errors may occur at game runtime. Confirm references in the Used-in-objects list before deletion.
Change ID
- Change ID button shows a rename dialog with the current ID as the initial value
- Allowed characters / duplicate check are the same as New
Note on ID change
When you change the ID (file name), you must manually update references to it from other events, objects, System settings, etc.
Save
- Save button writes only the current event (
<Event ID>.json) - "Save All" on the Home tab saves it as well
Operations in the right pane
Event name
- Purpose: Display name of the selected event (for developer memo; only the ID is used in-game)
- Optional, may be empty
Used-in-objects list
A reverse-lookup list that displays objects on maps that reference this event.
| Column | Content |
|---|---|
| Map name | Map on which the object is placed |
| Object ID | Unique ID of the placed object |
| Object name | Display name of the object |
| "Open" button | Transition to the Map Editor and select the corresponding object |
Purpose: Grasp where this event is used. Allows you to confirm references before deleting / renaming.
Content list
Displays the event content of the page currently being edited in order. Each row's display format:
<indent>(position) [event content name] summary of main properties- Indent: Full-width space prefix according to nesting depth of conditional branches / loops
- (position): Position in the array (0-based)
- [event content name]: Translated event content name (e.g.
[Show Text],[Change Target Parameter (Char)]) - Summary of main properties: Excerpt of configured values (e.g.
text=Hello, wait_input=true)
Selection behavior: Clicking a row displays the corresponding event content's editing UI in the lower Event content edit area. Switching is instantaneous.
Event content operation buttons
| Button | Action |
|---|---|
| New | Opens the Add Content dialog to select event content to add |
| Delete | Removes the selected event content from the list |
| Up | Moves the selected event content up by 1 |
| Down | Moves the selected event content down by 1 |
| Copy | Copies the selected event content (multi-select possible) into the copy buffer |
| Paste | Inserts the copy buffer contents below the current position |
Event content edit area
An area to edit the properties of the event content selected in the content list.
- Dedicated edit UI is displayed per event content
- See Event Content reference for property details of each event content
Preview button
Launches the game in a separate process with the event currently being edited specified as the Start Event. Convenient for verifying the behavior of the event under production.
Behavior:
- Automatically saves current edits
- Launches the Godot executable as a separate process (game screen in a window separate from the editor)
- The currently selected event is executed as the Start Event
- The process ends when the game screen is closed
Advantages of preview
- The Home tab's "Start Game" starts execution from the System tab's "Start Event"
- Preview launch starts execution from the event currently being edited
- You can instantly test battle scenes and boss events that would normally take time to reach in a regular playthrough
Map selection + Open Map Editor
Next to the Preview button, the Map selection dropdown and Open Map Editor button provide a pathway to open the related map in the in-tool Map Editor (popup window).
Behavior:
- Select the target map from the dropdown
- Press the Open Map Editor button
- The Map Editor appears as a popup
Initial value: The "Start Map" set in the System tab is pre-selected.
Disabled condition: When no map is selected, the "Open Map Editor" button cannot be pressed.
Formula Help button
Pops up a help window with the same content as the Formula reference.
- Non-modal, so you can continue editing events with the help window open
- Convenient when writing Formulas for conditional branches or variable assignments
- The same button is also available in other tabs (Char, Enemy, Item, etc.)
Add Content dialog
Dialog shown by pressing the New button. Allows you to select from 70+ event content items by category.
Layout
- Up to 26 items per page (2 columns × 13 rows)
- To categorize many event content types, split into multiple pages with tabs
- Tab configuration: 2 pages — "Common content page" and "Char/Party related page"
Category classification
All event content is classified into 12 categories.
- Message — Text / Window / Choice / Button
- Image — Image show / move / rotate / scale / animation
- Screen — Screen shake / fade / camera movement
- Flow — Variable / branch / loop / event transition / input
- Timing — Wait
- Audio — Play / stop sound
- Control — Log screen / save screen / settings screen display, game end / reset
- Battle — Start battle / encounter ON/OFF
- Player Character — PC visibility toggle / PC sprite change
- Minimap — Minimap show / explored record
- 3D Dungeon — 3D display mode control
- Character/Party — Parameter change / item / state / member operations
Split presets related to Char/Party
Event content for Char/Party operations is split into multiple buttons by purpose (as seen in the editor).
Change Target Parameter: 4 presets
| Button display | Target |
|---|---|
| Change Target Parameter (Char) | Parameters of a specific character individual (HP, etc.) |
| Change Target Parameter (Party) | Party-shared parameters (GOLD, etc.) |
| Change Target Parameter (Party Item) | Parameters of items owned by the party |
| Change Target Parameter (Char Item) | Parameters of items owned by a character |
Change Item Info: 2 presets
| Button display | Target |
|---|---|
| Change Item Info (Party Item) | Name, description, image of items owned by the party |
| Change Item Info (Char Item) | Name, description, image of items owned by a character |
Add Item / Item Select Display / Buy Shop Display / Sell Shop Display: 2 presets each
- (Party) — Operation on the party
- (Char) — Operation on a specific character
How split presets work
Internally these are one event content, but on the editor they are split into buttons by purpose. After addition, you can switch "Target" in the edit area to use the same event content as a different preset.
Multi-page management
A single event can hold multiple pages. Page breaks are expressed with a page break mark (● display).
Example use cases
- Page 1: First-time conversation
- Page 2: Second-time and onward conversation
- Page switching is controlled by variables or conditional branches
Example implementation of page switching
Use a variable (e.g. talked_once) to implement as follows:
- At the end of the first-time conversation, set
talked_once = 1 - At the start of the second-time-onward event, branch with condition
talked_once == 1
Indent display (nesting of flow control)
Using flow control event content such as Conditional Branch or Loop causes the nested structure to be automatically indented. You do not need to manually specify indentation.
Rules for computing indentation
- Conditional Branch / Loop start → indent becomes 1 level deeper starting from the next line
- Else / End Branch / End Loop / Break Loop → the row itself is displayed 1 level shallower
- End Branch / End Loop → indent returns 1 level shallower starting from the next line
Display example
(0) [Show Text] "Which do you choose?"
(1) [Add Choice] A: Yes
(2) [Add Choice] B: No
(3) [Show Choice Window]
(4) [Conditional Branch] expr = SELF.HP > 50
(5) [Show Text] You look fine
(6) [Else]
(7) [Show Text] Are you all right?
(8) [End Branch]Flow control consistency check
Whether Conditional Branch and End Branch, Loop and End Loop pairs are correctly matched is automatically checked on save.
Detected issues
| Issue type | Description |
|---|---|
| No matching End Branch | Conditional Branch has no End Branch after it (unclosed) |
| No matching End Loop | Loop has no End Loop after it (unclosed) |
| No matching Conditional Branch (End Branch) | End Branch appears without a Conditional Branch (orphan) |
| No matching Loop (End Loop) | End Loop appears without a Loop (orphan) |
| No matching Conditional Branch (Else) | Else appears without a Conditional Branch (orphan) |
| No matching Loop (Break Loop) | Break Loop is used outside a Loop (orphan) |
Display on detection
- On the content list: A warning badge (e.g.
[! Missing End Branch],[! Missing Conditional Branch], etc.) is appended to the end of the row - On save: A warning message is output to the Godot editor's Output panel
Infinite loop detection
If a Loop contains no event content that involves input waiting or time elapse, a warning "Danger of infinite synchronous loop" is issued.
Event content involving input waiting or time elapse:
- Show Text / Show Choice Window / Show Button
- Wait
- Item Select Display / Buy Shop Display / Sell Shop Display
- Number Input / Text Input
- Start Battle
- Go to Next Event / Return to Previous Event
- Show Window
Loops that contain none of these may freeze at game runtime.
Saving is possible even with consistency errors
- Saving executes even if there are errors (so the user does not lose further edits)
- However, if errors remain, unintended behavior may occur at game runtime
- Refer to the badge display and fix accordingly
How saving works
Behavior of Save / Save All
- Writes only the event currently being edited (
<Event ID>.json) - Other event files are not changed (Home tab's "Save All" can save all files at once)
File structure of saves
Structure of a single event JSON file:
{
"contents": [
{
"type": "Show Text",
"properties": {
"text": "Hello",
"wait_input": true,
"is_log": true
}
},
{
"type": "Add Choice",
"properties": {
"text": "Yes",
"event": "",
"label": ""
}
}
]
}type= kind of event contentproperties= properties of that event content (differs per event content)
Impact on other tabs / runtime
Linkage with other tabs
| Linked to | Purpose |
|---|---|
| Object tab | References events in this tab via objects' "Event ID" |
| System tab | Specifies the start-time event from this tab via "Start Event" |
| Variable tab | References variables in "Variable Assignment", "Conditional Branch" within events |
| Char tab | Specifies a character in "Add Party Member", "Change Target Parameter" within events |
| Item tab | Specifies an item in "Add Item", "Buy Shop Display" within events |
| State tab | Specifies a state in "Apply State", "Remove State" |
| Parameter tab | References parameter keys in "Change Target Parameter", etc. |
| Map tab | Specifies destination in "Transfer Map"; target of the used-in-objects list |
Reverse transitions
- Map Editor → Event tab: The "Open Event" button in the Map Editor transitions to this tab and auto-selects the corresponding event
- Event tab → Map Editor: The "Open" button in the used-in-objects list transitions from this tab to the Map Editor and auto-selects the corresponding object
All event content list (70+)
The detailed properties, meaning of each option, and in-game behavior of all event content are explained on each event content's individual page. This page is a table of contents.
Writing in progress
Individual pages for each event content are being written sequentially. Items not yet linked will be linked once writing is complete.
Message (12 kinds)
Text / window / choice / button related.
- Show Window
- Show Text
- Clear Text
- Clear Window
- Clear All Windows
- Shake Window
- Add Choice
- Show Choice Window
- Reset Choices
- Add Button
- Show Button
- Reset Buttons
Image (8 kinds)
Image show / move / rotate / scale / animation.
- Show Image
- Move Image
- Shake Image
- Rotate Image
- Scale Image
- Play Animated Image
- Clear Image
- Clear All Images
Screen (4 kinds)
Overall screen effects.
- Shake Screen
- Fade Out
- Fade In
- Move Camera
Flow (17 kinds)
Variable / branch / loop / label / event transition / input.
- Variable Assignment
- Set Local Flag
- Set Move Route
- Transfer Map
- Change Object
- Number Input
- Text Input
- Set Label
- Go to Next Event
- Return to Previous Event
- Conditional Branch
- Else
- End Branch
- Start Loop
- End Loop
- Break Loop
- End Event
Timing (1 kind)
- Wait
Audio (2 kinds)
- Play Sound
- Stop Sound
Control (7 kinds)
Overall game control.
- Change Function
- Show Log Screen
- Show Save Screen
- Show Load Screen
- Show Settings Screen
- End Game
- Reset Game
Battle (2 kinds)
- Start Battle
- Toggle Encounter
Player Character (2 kinds)
- Toggle PC Visibility
- Change PC Sprite
Minimap (4 kinds)
- Show Minimap
- Hide Minimap
- Mark All Cells as Explored
- Clear All Cell Exploration
3D Dungeon (3 kinds)
- 3D Mode ON/OFF
- Change 3D Settings
- Reset 3D Dungeon Region
Character/Party (19 kinds)
Parameter change / item addition / state application, etc. for Char/Party.
- Change Target Parameter (Char)
- Change Target Parameter (Party)
- Change Target Parameter (Party Item)
- Change Target Parameter (Char Item)
- Change Item Info (Party Item)
- Change Item Info (Char Item)
- Add Item (Party)
- Add Item (Char)
- Remove Item
- Apply State
- Remove State
- Add Party Member
- Remove Party Member
- Item Select Display (Party)
- Item Select Display (Char)
- Buy Shop Display (Party)
- Buy Shop Display (Char)
- Sell Shop Display (Party)
- Sell Shop Display (Char)
Details of all event content
On the Event Content reference page, you can access detailed properties, meaning of each option, and in-game behavior of each event content from the category-based index.
Usage examples
From new event creation to sample game launch
- New button → enter an ID (e.g.
event_sample) → create - Press the New button on the right pane → select "Show Text" in the Add Content dialog
- Enter the body text in the Event content edit area (e.g.
Hello) - Add branching with "Add Choice" if needed
- Save with the Save button or Home tab's "Save All"
- On a map object (NPC), set the "Event ID" to
event_sample - Launch with the Home tab's Start Game button → talk to the NPC to verify behavior
Using conditional branches
- New → add "Conditional Branch" → enter condition (e.g.
{flag_1} == 1) in expression - (With indent +1) add processing inside the branch (e.g. "Show Text")
- Add Else if needed → add processing for the false case
- Close the branch with End Branch
- Nesting is visualized with indent display
Using multiple pages
- Describe the processing of page 1
- Add a page break at the end (shown as
●on the content list) - Describe the processing of page 2
- Manage the current page with a variable (e.g.
current_page), or branch state via local flag
Quick verification with Preview
- Editing an event
- Press the Preview button → auto-saves and launches the game in a separate process
- The current event is executed as the Start Event
- Close the game screen to end; return to the editor and continue editing
Constraints / edge cases
Event ID constraints
- Empty string prohibited
- Allowed characters:
_a-zA-Z0-9 - Duplicates auto-avoided with
_2,_3...
Flow control consistency errors
- No matching end for Conditional Branch / Loop (unclosed)
- End Branch / End Loop / Else / Break Loop appear without a matching element (orphan)
→ Warning badge displayed + warning message to the output panel on save; save still executes
Infinite synchronous loop
- No event content with input waiting or time elapse within a Loop → Warning "Danger of infinite synchronous loop"; may freeze at game runtime
Consistency on event content deletion
- When deleting a Conditional Branch etc. breaks the pair, Else / End Branch are not deleted automatically
- The user must manually fix the consistency
Split presets related to Char/Party
- Appear as multiple buttons on the editor but are a single event content in the saved file
- Can be switched to other presets as the same event content by switching "Target" in the edit area
Impact on other events on save
- On save, only the event currently being edited is written
- Other event files are not changed at all
Frequently asked questions (FAQ)
Files do not appear in the event list
Cause: There are no .json files in the data/settings/events/ directory, or the JSON files are corrupted.
Solution: Check whether files exist in the corresponding directory. If corrupted, fix with a text editor.
I cannot find the event content I'm looking for in the Add Content dialog
Solution: Char/Party-related event content is in a separate tab. Switch tabs at the top of the dialog.
What is the difference between the 4 "Change Target Parameter" buttons?
Solution: Only the target (where it applies) differs; internally they are the same event content.
- Char: Individual character parameters (HP, etc.)
- Party: Party-shared parameters (GOLD, etc.)
- Party Item: Parameters of items owned by the party
- Char Item: Parameters of items owned by a character
After deleting an event, a referencing event errors at runtime
Solution: Confirm references in the used-in-objects list before deleting the event. For other events referencing it via "Go to Next Event" etc., update the references manually.
Flow control warning badges do not disappear
Solution: Check the following.
- Whether End Branch / End Loop matching Conditional Branch / Loop exist
- Whether the order is correct (e.g. is there a Conditional Branch before Else)
- Break Loop is only valid inside a Loop
Do unsaved changes disappear when switching tabs during editing?
Solution: Fixed; unsaved changes are preserved even after tab switching.
Operations become slow with large events
Cause: Packing hundreds of event content into one event causes time to be spent rebuilding the content list and computing indentation.
Solution: Splitting into multiple files via "Go to Next Event" is recommended.
Are other event files changed on save?
Solution: No. Save / Save All writes only the event currently being edited. Other events are not changed.
What is the difference between Preview and "Start Game"?
Solution:
- Home tab's "Start Game": Starts execution from System tab's "Start Event"
- Event tab's "Preview": Starts execution from the event currently being edited (with auto-save)
The Open Map Editor button is disabled
Solution: Check whether a map is selected in the map selection dropdown. It is disabled when no map is selected.
Related references:
- Event Content reference — Category-based index of all 70+ event content
- Formula reference — Formula notation used in conditional branches and variable assignments
- Text special notation — Embedded notation usable in Show Text / Add Choice / Add Button
- Map tab — Source for reverse transition from Map Editor
- Object tab — Templates holding Event IDs
- System tab — Start Event configuration
