Change Map
Category: Flow
An event content that moves the player to another map. It is the basis for world switching, such as from town to dungeon, up stairs to another floor, to another location after an event ends, or warping far away.
Many things link automatically
When this event content is executed, the following are automatically linked:
- The destination map's field BGM / ambient sound plays automatically (if set on the map)
- The battle background image is updated to match the destination map (used in the next battle)
- The transition effect (fade) plays automatically (depending on selection mode)
- Auto-save at event completion (2026-09-16)
By placing just one Change Map, the user can bundle many processes such as BGM switching, screen fade, and save together.
Property list
| Item (tscn label) | Input format | Description |
|---|---|---|
| Map | Select | Destination map (defined in the map tab) |
| Position X | Numeric (cell coordinates) | X coordinate of the player's destination (in cell units) |
| Position Y | Numeric (cell coordinates) | Y coordinate of the player's destination (in cell units) |
| Pick from Map | Button | Open the visual coordinate selection dialog |
| Facing | Select | Player's facing direction after transition (5 choices) |
| Transition Mode | Select | Transition method (Default / Preset / Skip) |
| Transition Key | Select | Transition used in Preset mode (transition tab) |
Property details
Map
Selects the destination map.
- Dropdown: Select from all maps created in the map tab
- The map must be defined in the map tab beforehand
Real-time cross-tab update (2026-09-08)
When maps are added or removed in the map tab, the dropdown reflects the change immediately.
Position X / Y (Position X, Position Y)
Specifies the player's position after transition in cell coordinates (tile units) on the map.
- Range: -9999 to 9999
- Not in pixel units, but in cell (tile) units
- Map top-left is (0, 0), right is positive X, down is positive Y
Specify visually with the Pick from Map button
Instead of entering coordinates manually, pressing the "Pick from Map" button opens a map coordinate selection dialog where you can decide the coordinates by clicking while looking at the map.
Pick from Map
A button to open the map coordinate selection dialog.
- Within the dialog, you can select the map and specify coordinates with a click
- The selection result is automatically reflected in the Map / Position X / Y properties
- When no map is currently selected, the start map opens by default
Facing
Specifies the player's facing direction after transition.
| Choice | Behavior |
|---|---|
| keep | Preserves the facing before transition (default) |
| down | Facing down |
| up | Facing up |
| left | Facing left |
| right | Facing right |
Adjust facing when entering from a door
In the staging of entering a room from a door, entering with "facing down" looks natural. Specifying the direction appropriately improves the player's immersion.
Transition Mode
Specifies the screen effect (fade, etc.) method at transition.
| Choice | Behavior |
|---|---|
| Default | Uses the system-default transition (bi_transition_map_change) |
| Preset | Uses the custom transition specified by Transition Key |
| Skip | No transition (instant switch) |
Guide for using them
- Default: Normal map switching (town, dungeon, etc.) — basically use this
- Preset: Special staging (movement to a special place, visual effects during events) — custom transition defined in advance
- Skip: For debugging, instant scene changes, or when you do not want the player to notice the switch
Transition Key
Only valid when Transition Mode is "Preset".
- Select from custom transitions defined in
transition.json - Disabled and unselectable in Default / Skip mode
Runtime behavior
When this event content is executed, it is processed in the following order:
1. Check map data
- Check whether the specified map exists in the map data
- If not: Output warning log (
[change_map] map_key not found in map_data: <map key>) and proceed to the next event content without doing anything (not treated as an error)
2. Check tilemap resource
- Check whether the tilemap resource (
.tscn) set on the map exists - If not: Output warning log and silently proceed to the next event content
3. Start transition (cover the screen)
- Default mode: Cover the screen with the system-default transition
- Preset mode: Effect of the specified transition key
- Skip mode: Skip
4. Map switching processing
Update internal save data as follows:
- Current map (
tilemap) - Map name (
map_name) - Battle background image (
battle_bg) ← if set on the map - Field BGM (
field_bgm) ← if set on the map - Ambient sound (
field_me) - Player coordinates (
pc_pos_cell_x/y) - Player facing (
pc_facing, updated only when not keep)
Then, actually apply the tilemap and place the player.
5. Automatic firing of field BGM / ambient sound
At the end of tilemap application, the BGM / ME set on the map plays automatically. You do not need to separately write Play Sound.
6. End transition (show the screen)
Play the transition so that the destination map becomes visible (in Default / Preset mode).
7. Automatic suppression of collision events
Immediately after transition, collision events with objects at the player's new placement coordinates are internally suppressed so they do not fire erroneously. This is a safety mechanism to prevent unintended chain firing of events.
8. Set the auto-save flag (2026-09-16)
Sets an internal flag so that auto-save fires at event completion (Finish Process / End Event). State is automatically saved at the end of events including map switching.
9. Proceed to the next event content
After waiting for all processing (including transition completion) to finish, proceed to the next event content.
3D dungeon batch processing (2026-08-31)
When Set 3D Dungeon Enabled or Set 3D Dungeon Config is placed consecutively with this event content, it is processed atomically in the order "fade out → 3D switch → map switch → fade in". When placed alone, the usual processing path is used.
Typical usage flows
Flow 1: From town to dungeon
Move the player standing at the entrance of the town into the dungeon:
- Show Text ← "Entering the dungeon"
- Change Map (this event content)
- Map:
dungeon_1 - Position X: 10
- Position Y: 15
- Facing: down
- Transition Mode: Default
- Map:
Flow 2: To another floor by stairs
Use the dungeon stairs to move to another floor:
- Show Text ← "Go down the stairs?"
- Add Choice × 2 (Yes / No)
- Show Selection Window
- Conditional Branch ("Yes" check)
- Change Map (this event content)
- Map:
dungeon_2f - Position: stair point
- Facing: down
- Map:
- End If
Flow 3: Warp point (instant movement)
Staging of warping with a magic circle:
- Show Text ← "The magic circle shines!"
- Shake Screen (strength 20, time 0.5, Pitch (quick))
- Play Sound (SOUND magic sound)
- Change Map (this event content)
- Map:
far_land - Position: warp destination coordinates
- Facing: keep
- Transition Mode: Preset
- Transition Key:
magic_warp
- Map:
Flow 4: Instant switch (no transition)
For high-speed switching for debugging, or when you want to avoid staging on consecutive switches:
- Change Map (this event content)
- Map:
test_room - Position: (0, 0)
- Transition Mode: Skip
- Map:
Flow 5: Return after event ends
Return to base after boss battle:
- (boss battle completion event)
- Show Text ← "...before I knew it, I was back in town"
- Fade Out Screen (black, time 2.0)
- Change Map (this event content)
- Map:
town_a - Position: plaza
- Transition Mode: Skip ← because the screen is already covered by Fade Out
- Map:
- Fade In Screen (black, time 2.0)
Using Transition Mode vs. Fade Screen
- Switch simply with only this event content's Transition Mode
- When you want to insert custom staging (text, sound, etc.), combine Fade Out Screen + this event content (Skip) + Fade In Screen
Flow 6: Map switch + event fire
When you want to fire a special event at the destination:
- Change Map (this event content) (map
cave_entrance, position, facing) - Move to Event (Event
cave_arrival_event) ← to the arrival event
Flow 7: Map branching by condition
Change the destination by flag:
- Conditional Branch (Formula
{flag_boss_defeated} == 1) - Change Map (this event content) (map
new_land, position) - Else
- Change Map (this event content) (map
old_land, position) - End If
Flow 8: Natural entry with facing specification
Natural staging of entering a room from a door:
- Change Map (this event content)
- Map:
house_interior - Position: 1 cell below the door
- Facing: down ← enters from the door and faces down
- Map:
- Show Text ← "Welcome"
Typical combinations
For the overall picture, see Combination pattern collection.
Town/dungeon switching
Basic transition:
- Change Map (this event content)
Staging before and after transition
Insert text, sound, and screen effects:
- Show Text
- Fade Out Screen
- Change Map (this event content) (Skip mode)
- Fade In Screen
Return after battle
Return to base after battle ends:
- Start Battle (battle end processing)
- Change Map (this event content)
Branch destination by condition
Transition that changes with game progress:
- Conditional Branch
- Change Map (this event content) (for condition A)
- Else
- Change Map (this event content) (for condition B)
- End If
Transition + arrival event
Fire a dedicated event after transition:
- Change Map (this event content)
- Move to Event (arrival event)
Related event content
| Related event content | Purpose |
|---|---|
| Fade Out Screen | Manual version of transition (for special staging) |
| Fade In Screen | Manual version of screen fade in |
| Move to Event | Fire arrival event after transition |
| Conditional Branch | Conditional branching of destination |
| Play Sound | Sound effect before transition (BGM/ambient sound is automatic on the map side) |
| Change Object | Change object properties at the destination |
Related pages
| Page | Related content |
|---|---|
| Map tab (editor) | Definition of destination maps |
| System tab (editor) | bi_transition_map_change setting |
| Event content index | List of all event contents |
Notes
Position is in cell units
Position X / Y is not in pixel units but in cell (tile) units. Specify coordinates according to the map's tile size. Using the "Pick from Map" button allows visual specification and is reliable.
Map must be defined in the map tab beforehand
The destination map must be defined in the map tab beforehand. If you specify an undefined map, a warning log is output and transition processing is skipped.
Transition Key is only for Preset
Transition Key is usable only when Transition Mode is "Preset". It is disabled in Default / Skip mode.
Map switching automatically updates BGM / ambient sound / battle background
If BGM / ambient sound / battle background image is set on the destination map, it is automatically applied when this event content is executed. You do not need to write Play Sound separately. If not set on the map, it does not switch (the previous map's state may be preserved).
Automatic suppression of collision events after transition
Immediately after transition, collision events with objects at the player's new placement coordinates are internally suppressed so they do not fire erroneously. This mechanism prevents unintended chain firing of events.
Auto-save at completion of event including map switching
Auto-save fires at the completion of an event including this event content (2026-09-16). This is a safety mechanism that can restore to the map-switch state even if the game crashes before manual save.
3D dungeon batch processing
When Set 3D Dungeon Enabled or Set 3D Dungeon Config is placed consecutively with this event content, it is internally converted to atomic processing. When used alone, the behavior is the same as before.
Set facing after transition appropriately
Specifying facing according to the scene (entering from a door, climbing stairs, warping, etc.) results in natural staging. "keep" preserves the facing from the transition source, which may result in an unintended facing direction.
No error even for nonexistent maps
Even if you specify a map that does not exist in the map data, a warning log is output and processing silently proceeds to the next event content. The game does not stop. Check the log during debugging.
Beware of Position Y value range
If the map is small, specifying a large value for Position Y may place the player outside the map. Specify coordinates according to the actual size of the map, or use the "Pick from Map" button to specify safely.
