#author("2026-06-18T03:04:36+09:00","default:admin","admin")
#author("2026-06-18T03:05:48+09:00","default:admin","admin")
''[[Beginner Tutorial INDEX:https://rpgbakin.com/pukiwiki_en/?RPG+Developer+Bakin+Beginner+Tutorial]]>>''	
*Move between maps(Event templates) [#qf9b9c6f]
''Use events to allow the player character to move back and forth between the two created maps.''
''Bakin has templates for events commonly used in games.''

***Switch Maps [#hee44d90]
''Double-click Map_1 in the Map List of the [[Map List Palette]].''
The Map Editor switches to Map_1.

#ref(./Event Templates_1.jpg,40%)
#br

***“Map Transfer” Event Template [#k217da77]
''Open the Events tab of the [[Stamps Palette]].''
The Events tab contains a list of “Event Templates”.
Select “Cave Entrance - Link to Another Place” from the Doors/Stairs folder and place it across the river on the other side of the river.
#ref(./Event Templates_2.jpg,40%)
#br

Press the “Change Map” button in the dialog that opens and select Map_2.
''Press the “Change Map” button in the dialog that opens and select Map_2.''
Click on the lower left part of the top view of Map_2 displayed in the section for selecting the destination.
The red marker moves to that location.
#ref(./Event Templates_3.jpg,40%)
#br

After closing the dialog box with the OK button, a marker labeled “E” will appear on the map.
These markers are called “event symbols” that indicate “events with no graphics specified” placed on maps.

''Tips: Markers can change color.''
''&size(16){Tips: Markers can change color.};''
Right-click on the marker and select the Event Symbol Color from the menu that appears.
#br
For clarity in this explanation, we have changed the terrain below the event symbol to a different terrain.
#ref(./Event Templates_4.jpg,40%)
#br

''Right-click on the “Test Play” button to play a test.''
When the player character walked to the point where we had just placed the event template, the screen went dark and we were able to move to Map_2.

''Select Map_2 in the [[Map List Palette]].''
If you look at Map_2 in the Map Editor, you will see a yellow marker placed in the lower left corner of the map you just specified in the "Event Template."
This is the marker that marks the exit of the "movement event."
If you select this marker and change its position using the manipulator, the destination will also change when touching the map transfer event placed on Map_1.
#ref(./Event Templates_5.jpg,40%)
#br

''Now let's place an event to move from Map_2 to Map_1.''
In the [[Stamps Palette]], move the “Cave Entrance/Exit” event you just selected one square away from the yellow marker that represents the exit of the movement event in the lower left corner of the map.
Press the “Change Map” button in the dialog that opens, select Map_1, decide where you want to exit, and close the dialog with the OK button.

#ref(./Event Templates_6.jpg,40%)
#br

''Try to see what happens if you put this event template in the same location as the exit of another movement event template.''
When you test play the game, you will move to another map and then immediately return to the original map.
This happens because there is a map-transfer event on the destination map, which sends the player back again.
Be careful when placing map-transfer events that connect maps to each other, as they can create an unintended loop between maps.

''Right-click on the “Test Play” button to play a test.''
After moving to Map_2, walking to the location of the event template placed on Map_2 will now take you back to Map_1.

----
''You can now create a mechanism to move between multiple maps.''
''Using what you've learned so far, you can now create an indoor map and place an event template on the door located on Map_1, allowing the player to enter the house.''

''Next, let's have a battle on Map_2.''

----
''&size(16){Next: [[Encounter Battle:https://rpgbakin.com/pukiwiki_en/?Encounter+Battle+%28Beginner+Tutorial%29]]};''
''&size(16){Previous: [[Add More Maps:https://rpgbakin.com/pukiwiki_en/?Add+More+Maps+%28Beginner+Tutorial%29]]};''
----
''[[Beginner Tutorial INDEX:https://rpgbakin.com/pukiwiki_en/?RPG+Developer+Bakin+Beginner+Tutorial]]>>''

Front page   Edit Diff History Attach Copy Rename Reload   New Page list Search Recent changes   Help   RSS of recent changes