Group tab
The Group tab is the tab for defining the composition of enemies for one battle (an enemy group). One entry corresponds to one group and configures battle background, BGM, and enemy order.
Overview
Purpose of the screen
- Define the enemy composition for one battle (enemy group)
- Configure the battle background image
- Configure the battle BGM
- Adjust the order of enemies (placement order from left to right on the battle screen)
- Confirm placement and BGM identical to the battle screen with Preview
Save location
- Saved to
data/settings/group.jsonwith the group ID as the key
Where is it referenced from
- Enemy group specified in the Map tab encounter settings
- Enemy group specified directly in the "Start Battle" event content
Screen layout
The Group tab has a left/right split layout.
Left pane (group list)
| Element | Purpose |
|---|---|
| New button | Add a new group by specifying an ID |
| List | Displays all group IDs vertically |
| Change ID button | Change the ID of the selected group |
| Copy button | Duplicate the selected group (ID auto-numbered) |
| Delete button (red text) | Delete the selected group (with confirmation dialog) |
Right pane (edit area, 2-column layout)
| Column | Content |
|---|---|
| Column 1 | Main editing (ID / Battle Background / BGM / Enemy composition / Dev Memo) |
| Column 2 | Sample preview of the battle background |
Bottom buttons
- Save button
- Preview button (displays enemies and background at the same placement as the battle screen + plays BGM)
Full property reference
Column 1-1: ID
| Item name | Input method | Meaning | Values |
|---|---|---|---|
| ID | Text input (read-only) | Group ID | _a-zA-Z0-9 only, required |
- ID: Cannot be edited directly. Change via the Change ID button in the left pane
Column 1-2: Battle Background
| Item name | Input method | Meaning |
|---|---|---|
| Background | Text input + file selection button | Battle background image path |
Supported formats: *.png,*.jpg,*.jpeg,*.svg,*.webp,*.bmp, etc.
File selection: Select an image file under data/sprites/pictures/.
Preview: A sample image is automatically displayed in Column 2. It updates in real time as the text is changed.
Fallback behavior (when the background is empty):
- If the Group tab's background is not set → Use the Map tab's battle background
- If the Map tab's battle background is also not set → Start battle without a battle background
Column 1-3: BGM
| Item name | Input method | Meaning |
|---|---|---|
| BGM | Text input + file selection button | Battle BGM path |
| PLAY button | Button | Audition the BGM within the editor |
| STOP button | Button | Stop the audition |
Supported formats: *.wav,*.mp3,*.ogg.
File selection: Select an audio file under data/sounds/bgms/.
Audition: The PLAY button auditions the BGM at 100% volume within the editor. Press STOP before trying another setting.
Fallback behavior (when BGM is empty):
- If the Group tab's BGM is not set → Use the Map tab's BGM
- If the Map tab's BGM is also not set → Use the "Battle BGM" in the System tab
- If all are empty, battle starts without BGM
Column 1-4: Enemy composition
Add, reorder, and delete the enemies composing the group.
| Item name | Input method | Meaning |
|---|---|---|
| Enemy | Dropdown | Enemy ID to add (chosen from keys defined in the Enemy tab) |
| Move Up | Button | Move the selected enemy up by 1 (to the left on the battle screen) |
| Move Down | Button | Move the selected enemy down by 1 (to the right on the battle screen) |
| Add | Button | Append the enemy selected in the dropdown to the end of the list |
| Delete | Button | Delete the enemy selected in the list |
| List | List | Ordered list of enemies currently registered |
Display format of the list:
<order> : <Enemy ID>Example: 1 : GOBLIN, 2 : SLIME
Invalid enemy IDs (IDs not existing in the Enemy tab) are highlighted in red in the list.
Placement of enemies on the battle screen
Array order = placement order from left to right
The order in the list (from top to bottom) corresponds to the placement order from left to right on the battle screen.
- 1st in the list → Leftmost on the battle screen
- 2nd in the list → Second from the left on the battle screen
- Last in the list → Rightmost on the battle screen
Move Up moves to the left on the battle screen, Move Down moves to the right.
Duplicate enemy additions
The same enemy ID can be registered multiple times.
Example: Register 1 : GOBLIN and 2 : GOBLIN → 2 goblins appear side by side on the battle screen
They are treated as separate individuals and each has its own HP, etc.
Column 1-5: Dev Memo
| Item name | Input method | Meaning |
|---|---|---|
| Dev Memo | Multi-line text | Developer-only memo (not displayed in-game) |
Bottom buttons
Save button
Saves edits to group.json.
Preview button (added 2026-09-16)
Previews the background, enemies, and BGM at the same placement as the battle screen.
Behavior:
- Battle background: Placed at the same center position as the battle screen
- Enemy placement: Displayed with the same calculation as the battle screen (screen width divided by the number of enemies, equally spaced)
- BGM playback: Plays the configured BGM at 100% volume
- BGM auto-stop: BGM automatically stops when the preview window is closed
Purpose: Lets you check the look and sound before actually trying out the game screen on battle start.
What you can check in the preview
- Position and scale of the background image
- Order and spacing of enemies
- Enemy image size and footing position
- Match between BGM mood and background
Impact on other tabs / runtime
Linkage with other tabs
| Linked to | Purpose |
|---|---|
| Enemy tab | References enemy IDs from this tab in "Enemy composition" |
| Map tab | Specifies this tab's group ID in encounter settings |
| Event tab | Specifies this tab's group ID in the "Start Battle" event content |
How it is used in-game
- On encounter: An enemy group is drawn from the encounter settings in the Map tab, and battle starts with the composition defined in this tab
- On battle start via event: The enemy group specified in the "Start Battle" event content is displayed in battle
- Battle background fallback: Group tab → Map tab, in order
- BGM fallback: Group tab → Map tab → System tab, in order
Auto-update of cross-tab references
The enemy dropdown in this tab is automatically updated to the latest state just before the dropdown is opened. Enemies newly added / deleted / renamed in the Enemy tab are reflected immediately without needing a tab switch.
CRUD details
New
- New button → an ID input dialog is displayed
- Validation: empty prohibited, allowed characters
_a-zA-Z0-9only - Duplicates auto-avoided with
_2,_3... - A new group is created with all properties empty (no background, no BGM, no enemies)
Change ID
- Change ID button → a rename dialog with the current ID as the initial value is displayed
- Validation: same as New
WARNING
After an ID change, if the Map tab or Event tab references the old ID, manual update is required.
Copy
- Copy button fully duplicates the selected group (including background, BGM, enemy composition)
- The new ID is auto-numbered like
_2
Delete
- Delete button → confirmation dialog
- "Yes" executes the deletion
Unsaved marker
When Group(*) is displayed in the tab title, it indicates there are unsaved changes. (*) disappears when you save or press "Save All" on the Home tab.
Usage examples
Typical flow for creating a new group
- New button → enter an ID (e.g.
GOBLIN_1) → create - Set the Battle Background (e.g.
data/sprites/pictures/field.png) - Set the BGM (e.g.
data/sounds/bgms/battle_normal.ogg) - Audition the BGM with the PLAY button
- Enemy composition:
- Select
GOBLINfrom the dropdown → Add - Select
GOBLINagain → Add (2nd one) - Select
SLIME→ Add (3rd one)
- Select
- Current composition:
1: GOBLIN,2: GOBLIN,3: SLIME(placed left to right on the battle screen) - If you want to adjust the order, change with Move Up / Move Down
- Check the battle screen with the Preview button
- Save to save
- Specify
GOBLIN_1in the Map tab's encounter settings to trigger a battle
Composing with multiple of the same enemy
- Create a new group
SLIME_3 - Add
SLIME3 times in a row in Enemy composition - Current composition:
1: SLIME,2: SLIME,3: SLIME(3 slimes lined up from the left)
Each individual is treated separately and has its own HP. Defeating 1 leaves the other 2 alive.
Boss battle design
- Create a new group
BOSS_FIRE - Battle Background: Boss-dedicated background image (e.g.
data/sprites/pictures/dungeon_boss.png) - BGM: Boss-battle-dedicated BGM (e.g.
data/sounds/bgms/battle_boss.ogg) - In Enemy composition, add only 1
BOSS_FIRE - Check the boss's impact with Preview
- Specify this group in the "Start Battle" event content and also set up a victory presentation event
Constraints / edge cases
ID constraints
- Empty string prohibited
- Allowed characters:
_a-zA-Z0-9 - Duplicates auto-avoided with
_2,_3
Invalid enemy ID
- When an enemy ID not existing in the Enemy tab is included in the composition, it is displayed in red in the list
- At runtime, that enemy is ignored (skipped)
- Periodically check red highlights and fix them
When enemy composition is empty
- Triggering a battle with a group that has no enemies registered ends the battle immediately (victory judgment)
- Registering at least 1 enemy is recommended
When battle background is not set
- Falls back to the Map tab's battle background
- If the Map tab is also not set, battle starts with no background (black background)
When BGM is not set
- Falls back to the Map tab's BGM
- If the Map tab is also not set, falls back to the "Battle BGM" in the System tab
- If all are not set, battle starts with no BGM
BGM during preview
- BGM keeps playing while the preview window is open
- Automatically stops when the window is closed
Frequently asked questions (FAQ)
An enemy is displayed in red in the list
Cause: An enemy ID not existing in the Enemy tab is included in the composition.
Solution: Check whether that ID exists in the Enemy tab. If it is a deleted enemy, delete it from the list in the Group tab.
Even though I registered the same enemy twice, only 1 appears in battle
Possible causes: Runtime error, or the enemy ID in the Enemy tab is wrong.
Solution: Confirm in advance with the Preview button. If only 1 is displayed even in preview, suspect a typo in the enemy ID.
I want to change the order of enemies on the battle screen
Solution: Change the order within the list with the Move Up / Move Down buttons. Top-to-bottom in the list = left-to-right on the battle screen.
I set the battle background but it is not displayed
Possible causes:
- Invalid file path
- The image file is corrupted
- A different background is prioritized in the Map tab (though the Group tab should have priority)
Solution: Check whether the image is displayed in the preview in Column 2. If not displayed, re-select the path.
BGM does not play
Possible causes:
- Invalid file path
- The audio file is corrupted
- Not a supported format (anything other than
*.wav,*.mp3,*.ogg)
Solution: Check whether in-editor audition is possible with the PLAY button. If audition fails, re-select the path.
Preview enemy order differs from actual battle
Cause: Preview is placed with exactly the same calculation as the battle screen, so they normally match.
Solution: If there is a difference, it may be an issue in the preview implementation; please report it.
After deleting the group, encounter settings error
Cause: The deleted group ID is referenced in the Map tab's encounter settings.
Solution: Before deleting the group, confirm whether that group ID is used in the Map tab.
What is the priority between the battle background and the map background?
Solution: The Group tab's background takes priority. Only when the Group tab is empty is the Map tab's background used.
What is the BGM fallback order?
Solution: Group tab BGM → Map tab BGM → "Battle BGM" in the System tab → silent, in order of priority.
Does the Dev Memo affect the game?
Solution: No. It is for developer memo use only and is not displayed in-game at all.
Related references:
- Enemy tab — Definition of enemies included in compositions
- Map tab — Encounter settings specifying this group
- Event tab — Specifies this group in the "Start Battle" event content
- System tab — Source of battle BGM fallback
