Skip to content
jjppof edited this page Oct 16, 2022 · 2 revisions

Database file for maps. See an example. This json file is an array of objects, each object corresponds to a map.

Properties

  • key_name [string]: map unique key_name. Required property.
  • name [string]: the map name. Required property.
  • bgm [object]: an object to define the map background music. Optional property.
    • key [string]: the bgm unique key name. Required property.
    • path [string]: the relative path to bgm file. Required property.
  • tileset_files [object]: an object to define the map tileset files. Required property.
    • image [string]: the tileset image relative path. Required property.
    • json [string]: the Tiled map json file v1.1 relative path. Required property.
  • lazy_load [boolean]: if true, this map assets will be loaded on demand (when the hero reaches the map). Optional property. Default value is true.
  • expected_party_level [number]: the expected average level of the party when this map is reached. Optional property.
  • background_key [string]: the battle background key name for this map. Optional property.
  • show_map_name [boolean]: if true, the engine will show this map name in a window when the hero gets into it. Optional property. Default value is true.
Clone this wiki locally