Class: Map

RPG.Map()

new Map()

The JSON data structure of a map. Define to $dataMap
Properties:
Name Type Description
displayName String The map's display name.
tilesetId Number The map's tile set.
width Number The map's width.
height Number The map's height.
scrollType Number The scroll type (0: No Loop, 1: Vertical Loop, 2: Horizontal Loop, 3: Both Loop).
specifyBattleback Boolean The truth value indicating whether the battle background specification is enabled.
battleback1Name String The file name of the floor graphic if the battle background specification is enabled.
battleback2_name String The file name of the wall graphic if the battle background specification is enabled.
autoplayBgm Boolean The truth value indicating whether BGM autoswitching is enabled.
bgs RPG.AudioFile The name of that BGS if BGS autoswitching is enabled.
disableDashing Boolean The truth value of the [Disable Dashing] option.
encounterList Array.<RPG.Map.Encounter> An encounter list. A RPG.Map.Encounter ID array.
encounterStep Number The average number of steps between encounters.
parallaxName String The file name of the parallax background's graphic.
parallaxLoopX Boolean The truth value of the [Loop Horizontal] option for the parallax background.
parallaxLoopY Boolean The truth value of the [Loop Vertical] option for the parallax background.
parallaxSx Number The automatic x-axis scrolling speed for the parallax background.
parallaxSy Number The automatic y-axis scrolling speed for the parallax background.
parallaxShow Boolean The truth value of the [Show in the Editor] option for the parallax background.
data Array.<number> The map data. A 3-dimensional tile ID array (Table).
events Array.<RPG.Event> The array of Event data.

Extends

Classes

Encounter