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 | LITE version only The on screen rectangle location and size of the full map display. Full screen is 0, 0, 1, 1 |
fullmapOrthographicSize | float | LITE version only The orthographic size of the Camera when displaying the full map. Think of it as a zoom level. |
minimapRect | Rect | LITE version only 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 | LITE version only The orthographic size of the Camera when displaying the mini map. Think of it as a zoom level. |
journeyWidth | float | FULL version only 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. |
journeyMaterial | Material | FULL version only The Material used to draw a Journey on the map. You can find a default material in “ChivalrousGames\DungeonMaster\Tools\MapElements\DefaultPathMaterial”. |
fullMapCameraTemplate | Camera | FULL version only A camera prefab used as a template for the full map camera. Default cameras are supplied or you can create your own. |
miniMapCameraTemplate | Camera | FULL version only A camera prefab used as a template for the minimap camera. Default cameras are supplied or you can create your own. |
followMode | MapCameraFollowMode | FULL version only How the map camera moves around the map. |
characterPositionMode | MapCharacterPositionMode | FULL version only How the map character moves around the map. |