Experience Battle
Having experienced event creation in Create Your First Event, in this chapter we actually run this tool's battle system. Let's build the event "talking to an NPC starts a boss battle" and experience the battle flow.
Goals
- Learn how to use the Start Battle event content
- Experience the Fight / Escape selection
- Operate the command input flow of type → item → target
- Confirm the behavior of victory / defeat / escape
- Get a feel for the overall battle system of this tool
Estimated time: 20–30 minutes
Two Paths That Trigger Battle
Battles in this tool have two trigger paths:
- Via encounter: auto-triggered by walking the map (random battles)
- Via event: explicitly fired with the event content "Start Battle" (boss battles, etc.)
In this chapter we cover path (2), via event. For encounter-based triggers, see the Map Tab Reference and the Enemy Group Tab Reference for setup.
Preparation: Check an Enemy Group
To start a battle, you need an enemy group that defines which enemies appear. In this chapter we use an existing sample.
- Press the "Group" button (Enemy Group tab) in the editor
- Look at the sample enemy groups (such as
troop_slime,troop_boss) - Decide which enemy group to use (we'll use
troop_slimeas the example in this chapter; pick as you like)
What is an enemy group?
An enemy group is "the combination of enemies that appear in one battle." You can freely compose anything from a single slime to a boss + three subordinates. Details: see the Enemy Group tab.
Step 1: Create a Battle-triggering Event
Create a new event in the same manner as in Create Your First Event.
- Go to the Event tab
- "Create New" with the ID
evt_test_battle - The right pane opens an empty event editor
Step 2: Add "Show Text" as the Pre-battle Effect
First show a message before battle.
- "Add New" → pick "Show Text"
- Enter in the text field:
A battle begins! Prepare yourselves. - Leave Wait Input / Output Log ON
Step 3: Add "Start Battle"
Next, trigger the battle.
- "Add New" → pick "Start Battle"
- It is added to the content list
Set the Start Battle properties
Select the Start Battle row and set in the edit area on the right:
- Map Key: pick from sample battle maps (for example,
map_battle_field) - Troop Key: the group confirmed during preparation (for example,
troop_slime) - Victory Event: leave empty (returns to the current event on victory)
- Defeat Event: leave empty (follows the full-wipe handling of Editor System)
- Escape Disabled: OFF (the player can escape)
- Transition Mode: Default (fade effect)
More on Start Battle
All properties of Start Battle have a complete explanation in Start Battle.
Step 4: Add Post-battle Text
Add a message to show after the battle is won or escaped.
- "Add New" → "Show Text"
- Enter in the text field:
The battle is over....
Full picture of the event
The content list should look like this:
Show Text ("A battle begins! Prepare yourselves.")
Start Battle (map_battle_field / troop_slime)
Show Text ("The battle is over....")
● Finish ProcessOn defeat, this Show Text is not reached
If the party is defeated in battle, control does not return to the continuation of this event; it follows the full-wipe handling setting of Editor System (default: Reset Game = return to title). To "jump to a dedicated event on defeat", specify an event ID in the Defeat Event property of Start Battle.
Save
- Press the Save button at the bottom of the screen
Step 5: Place an NPC on the Map and Link the Event ID
In the same manner as in Create Your First Event, place an NPC on the map and link this event.
- Open the target map on the Map tab (for example,
map_test) - Open the map editor with "Edit with this tool"
- Switch the palette mode to Object
- Place an NPC template on the map
- Select the placed NPC
- Pick
evt_test_battlein the Event ID field - Set Trigger to
Decide(fires on decide key) - Save → Close in the map editor
- Also Save in the Map tab
Step 6: Launch the Game and Experience Battle
- On the Home tab, Save All → Start Game (F5)
- When the game launches, stand in front of the placed NPC and press the decide key
- The "A battle begins!..." message is shown
- The screen switches to battle (transition fade effect)
Step 7: Operate the Battle
The battle screen uses the following command input flow.
1. Fight / Escape prompt
When battle starts, a prompt first asks you to pick "Fight" or "Escape".
- Pick Fight → go to party command input
- Pick Escape → escape judgment (success ends the battle; failure runs only enemy actions)
Let's pick Fight first.
2. Type menu (what to do)
Starting from the 1st party member, enter commands in order. The type menu has buttons like:
- Attack (BA_ATTACK): regular attack
- Magic: magic (if the character has MP)
- Skill: skills
- Item: owned items (shown only when BA_ITEM is owned)
Let's pick "Attack" first.
3. Target selection
For a regular attack, pick one from among the enemies.
- Click an enemy character (or arrow keys + decide)
That finalizes the 1st member's command and moves to the next member (2nd and beyond).
4. Action phase after all input is finished
When everyone's input is done, actions are run automatically in AGI order (etc.).
- For each action, a message ("○○'s attack!") + effect plays
- Damage numbers pop up
- Enemies whose HP hits 0 disappear with a vanish effect
5. Outcome judgment
- Defeat all enemies → victory: switches to
bgm_victory, shows results → gain EXP / GOLD / items - All party members fall → defeat: switches to
bgm_defeat, returns to title (or jumps to a defeat event) - Both sides alive → next turn: returns to the Fight / Escape prompt
Step 8: Try Escape Too
Trigger the battle again and try Escape this time.
- Launch the game again
- Talk to the NPC and trigger the battle
- Pick Escape
- If the escape judgment succeeds, the battle ends → the event continues and shows "The battle is over..."
- If it fails, only the enemy action phase runs → go to the next turn
Step 9: Try Defeat Too (optional)
Combining with a strong enemy and intentionally losing lets you confirm the behavior.
Behavior on defeat
- By default, it resets to the title screen
- Player progress is rewound to the pre-battle state (damage, etc. is invalidated)
- To implement a rescue event like "revive at a church", change
encounter_defeat_actionin Editor System toMove Eventand specify a dedicated event
Summary: What You Learned in This Chapter
- Battles have two paths: via encounter and via event (Start Battle)
- You can trigger a battle with the "Start Battle" event content
- The essentials are two: Map Key + Troop Key
- The battle flow is Fight / Escape prompt → type → item → target selection → action execution
- Different behavior for victory / defeat / escape (BGM switch / results / return to title)
- Defeat behavior can be set on the System tab
That Completes the Tutorial!
In this series (T1–T6) you experienced:
- Installation and First Launch (T1)
- Home Tab and Basic Operations (T2)
- Add Your First Character (T3)
- Edit Your First Map (T4)
- Create Your First Event (T5)
- Experience Battle (T6)
You should now have a feel for "what you can do by touching what in the editor" in this tool. From here, you deepen in the direction that fits your target game.
Recommended Next Reading
Feature Reference
- Formula Reference — How to write Formulas, used for battle damage, level-up curves, etc.
- Text Notation — Text decoration such as color, line breaks, and variable expansion
- Translation / Multi-language — Making your game multi-language
- Save / Load Reference — Save data structure and auto-save
- Battle System Reference — Complete spec of the battle system
- Event Content List — Table of contents of all 74 event content items by category
Editor Screen Reference
- Editor All Tab Reference — Complete explanation of all 20 tabs
Useful Pages When Creating
- Home Tab Reference — How to read the Home tab's information dashboard
- System Tab Reference — Basic settings for the entire game
Related Pages
- Start Battle — All properties of Start Battle
- Battle System Reference — Overview of the battle system
- Editor Enemy — Enemy stats and AI setup
- Editor Enemy Group — Enemy group definitions
- Editor System — Full-wipe handling and other settings
