Game Development Reference
In-Depth Information
Figure 10-3. The locations for the hidden treasure we are going to add to our game
The ones listed in Figure 10-3 will do. I have marked the precise treasure locations with Region #5.
From top left to bottom right, they are as follows:
(75,7) at the first dungeon's basement
(85,25) at the first dungeon's basement
(10,14) at Tower of the Void F1F
(18,35) at Tower of the Void F4F. Southwestern pair of pillars
(31,17) at Tower of the Void F5F
How to Change Whether a Map Displays Its Name
For the sake of this exercise, it's time to give our dungeons proper names, so I'll call the first dungeon the Dark Cave.
The second dungeon will be the Dark Spire. Unoriginal, I know, but it serves our purposes. You can make it so that
the game displays a location's name once and then no more (good for the first time a player reaches a new location).
Displaying it is as easy as giving the location a name (by default, an RPG Maker VX Ace [RMVXA] game will display a
location's name every time the player arrives at the area). I'll leave this as an exercise for you; however, if you decide
to go through with this, you'll need switches for each location you would like to do this for. Additionally, you will have
to have conditionals to make sure that the map name display is disabled on subsequent visits. Here's the example
eventing for the first dungeon:
@>Conditional Branch: Variable [0002:X] == 28
@>Conditional Branch: Variable [0003:Y] == 82
@>Control Variables: [0011:DungeonLocation] = 1
@>Conditional Branch: Switch [0024:Dungeon1Visit] == ON
@>Change Map Name Display: $s
@>
: Branch End
 
Search WWH ::




Custom Search