Introduction
Backgrounds are the method of displaying a battle. Depending on the configuration of the Battle, backgrounds will render differently.
Occurs on Current Map
Background Layers and Foreground Layers are ignored. Hero Positions and Enemy Positions are measured in tile coordinates. Map is used only for sampling the background. The battle will take place around a Battle Focal Point on a Map?.
Camera is ignored if the map is rendering in 2D.
Occurs on External Map
Background Layers and Foreground Layers are ignored. Hero Positions and Enemy Positions are measured in tile coordinates. Map will be used as the background in game. The battle will take place around the first Battle Focal Point on the Map?.
Camera is ignored if the map is rendering in 2D.
Occurs on User Interface
Background Layers and Foreground Layers are used in either pixel or relative screen coordinates. Hero Positions and Enemy Positions are measured in pixel offsets from the center of the screen. Map is ignored. Camera is ignored.
Properties
System
Name | Explanation | Type |
Name | The name of the background. | String |
Appearance
Name | Explanation | Type |
Background Layers | The background layers of the scene. | Map Layer Element |
Foreground Layers | The foreground layers of the scene. | Map Layer Element |
Map | The map to leverage for a battle. | Map? |
Camera
Name | Explanation | Type |
Pitch (X Rotation) | The pitch of the camera in degrees. | Number |
Yaw (Y Rotation) | The yaw of the camera in degrees. | Number |
Roll (Z Rotation) | The roll of the camera in degrees. | Number |
Positioning
Name | Explanation | Type |
Enemy Positions | The position of the enemies in the scene. | Position? |
Hero Positions | The position of the heroes in the scene. | Position? |
Map Layer Element
System
Name | Explanation | Type |
Name | The name of the layer. | String |
Appearance
Name | Explanation | Type |
Image | The static image associated with the layer. | Image |
Sprite | The sprite associated with the layer. | Sprite or Model? |
Use Sprite | Whether or not to use a sprite instead of image. | Toggle |
Position
Name | Explanation | Type |
Pixel X | The x coordinate of the layer in pixels. | Number |
Pixel Y | The y coordinate of the layer in pixels. | Number |
Pixel Width | The width of the layer in pixels. | Number |
Pixel Height | The height of the layer in pixels. | Number |
Relative X | The x coordinate of the layer in screen percentage. | Number |
Relative Y | The y coordinate of the layer in screen percentage. | Number |
Relative Width | The width of the layer in screen percentage. | Number |
Relative Height | The height of the layer in screen percentage. | Number |
Use Relative Positioning | Whether or not to use measurements based on a percentage of the screen rather than pixels. | Toggle |
Position
System
Name | Explanation | Type |
Name | The name of the position. | String |
Position
Name | Explanation | Type |
X | The x coordinate of the position. | Number |
Y | The y coordinate of the position. | Number |
Z | The z coordinate of the position. | Number |