Skip to content

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 formatDescription
MapSelectDestination map (defined in the map tab)
Position XNumeric (cell coordinates)X coordinate of the player's destination (in cell units)
Position YNumeric (cell coordinates)Y coordinate of the player's destination (in cell units)
Pick from MapButtonOpen the visual coordinate selection dialog
FacingSelectPlayer's facing direction after transition (5 choices)
Transition ModeSelectTransition method (Default / Preset / Skip)
Transition KeySelectTransition 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.

ChoiceBehavior
keepPreserves the facing before transition (default)
downFacing down
upFacing up
leftFacing left
rightFacing 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.

ChoiceBehavior
DefaultUses the system-default transition (bi_transition_map_change)
PresetUses the custom transition specified by Transition Key
SkipNo 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:

  1. Show Text ← "Entering the dungeon"
  2. Change Map (this event content)
    • Map: dungeon_1
    • Position X: 10
    • Position Y: 15
    • Facing: down
    • Transition Mode: Default

Flow 2: To another floor by stairs ​

Use the dungeon stairs to move to another floor:

  1. Show Text ← "Go down the stairs?"
  2. Add Choice × 2 (Yes / No)
  3. Show Selection Window
  4. Conditional Branch ("Yes" check)
  5. Change Map (this event content)
    • Map: dungeon_2f
    • Position: stair point
    • Facing: down
  6. End If

Flow 3: Warp point (instant movement) ​

Staging of warping with a magic circle:

  1. Show Text ← "The magic circle shines!"
  2. Shake Screen (strength 20, time 0.5, Pitch (quick))
  3. Play Sound (SOUND magic sound)
  4. Change Map (this event content)
    • Map: far_land
    • Position: warp destination coordinates
    • Facing: keep
    • Transition Mode: Preset
    • Transition Key: magic_warp

Flow 4: Instant switch (no transition) ​

For high-speed switching for debugging, or when you want to avoid staging on consecutive switches:

  1. Change Map (this event content)
    • Map: test_room
    • Position: (0, 0)
    • Transition Mode: Skip

Flow 5: Return after event ends ​

Return to base after boss battle:

  1. (boss battle completion event)
  2. Show Text ← "...before I knew it, I was back in town"
  3. Fade Out Screen (black, time 2.0)
  4. Change Map (this event content)
    • Map: town_a
    • Position: plaza
    • Transition Mode: Skip ← because the screen is already covered by Fade Out
  5. 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:

  1. Change Map (this event content) (map cave_entrance, position, facing)
  2. Move to Event (Event cave_arrival_event) ← to the arrival event

Flow 7: Map branching by condition ​

Change the destination by flag:

  1. Conditional Branch (Formula {flag_boss_defeated} == 1)
  2. Change Map (this event content) (map new_land, position)
  3. Else
  4. Change Map (this event content) (map old_land, position)
  5. End If

Flow 8: Natural entry with facing specification ​

Natural staging of entering a room from a door:

  1. Change Map (this event content)
    • Map: house_interior
    • Position: 1 cell below the door
    • Facing: down ← enters from the door and faces down
  2. Show Text ← "Welcome"

Typical combinations ​

For the overall picture, see Combination pattern collection.

Town/dungeon switching ​

Basic transition:

  1. Change Map (this event content)

Staging before and after transition ​

Insert text, sound, and screen effects:

  1. Show Text
  2. Fade Out Screen
  3. Change Map (this event content) (Skip mode)
  4. Fade In Screen

Return after battle ​

Return to base after battle ends:

  1. Start Battle (battle end processing)
  2. Change Map (this event content)

Branch destination by condition ​

Transition that changes with game progress:

  1. Conditional Branch
  2. Change Map (this event content) (for condition A)
  3. Else
  4. Change Map (this event content) (for condition B)
  5. End If

Transition + arrival event ​

Fire a dedicated event after transition:

  1. Change Map (this event content)
  2. Move to Event (arrival event)
Related event contentPurpose
Fade Out ScreenManual version of transition (for special staging)
Fade In ScreenManual version of screen fade in
Move to EventFire arrival event after transition
Conditional BranchConditional branching of destination
Play SoundSound effect before transition (BGM/ambient sound is automatic on the map side)
Change ObjectChange object properties at the destination
PageRelated content
Map tab (editor)Definition of destination maps
System tab (editor)bi_transition_map_change setting
Event content indexList 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.