LevelMapConfig

Class in ChivalrousGames.DungeonMaster

Description

Describes the behavior of the map.

Fields

plane Plane The Plane on which the Level map is constructed and displayed.
XY would be a SideScroller.
XZ would be an over head view.
For a 2d level, should be identical to the LevelGenerationConfig plane.
mapObjectSize Vector2 The size of the Map Objects (probably GameObjects with Sprites to represent Rooms) used to generate this map.
Z is not taken into consideration since map objects are assembled in 2D on a XY plane.
rotateRoomMapObjects bool Check this box if the GameObjects that represents the Rooms should rotate on the map to reflect the Room rotation.
mapGameObjects MapGameObjects The default GameObjects that represents Rooms and Dungeon Character position for this Level.
Each Room can override this.
fullMapScrollSpeed float The speed at which the full map should scroll for this Level.
fullmapRect Rect The on screen rectangle location and size of the full map display.
Full screen is 0, 0, 1, 1
fullmapOrthographicSize float The ortographic size of the Camera when displaying the full map.
Think of it as a zoom level.
minimapRect Rect The on screen rectangle location and size of the mini map display.
Full screen is 0, 0, 1, 1… which is not a good idea for a minimap usually.
minimapOrthographicSize float The ortographic size of the Camera when displaying the mini map.
Think of it as a zoom level.
journeyWidthFULL version only float The displayed width of a Journey displayed on the map.
Should be related to mapObjectSize to avoid drawing lines that are too broad or too narrow.
journeyMaterialFULL version only Material The Material used to draw a Journey on the map.
You can find a default material in “ChivalrousGames\DungeonMaster\Tools\MapElements\DefaultPathMaterial”.