Backgrounds

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

NameExplanationType
NameThe name of the background.String

Appearance

NameExplanationType
Background LayersThe background layers of the scene.Map Layer Element
Foreground LayersThe foreground layers of the scene.Map Layer Element
MapThe map to leverage for a battle.Map?

Camera

NameExplanationType
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

NameExplanationType
Enemy PositionsThe position of the enemies in the scene.Position?
Hero PositionsThe position of the heroes in the scene.Position?

Map Layer Element

System

NameExplanationType
NameThe name of the layer.String

Appearance

NameExplanationType
ImageThe static image associated with the layer.Image
SpriteThe sprite associated with the layer.Sprite or Model
Use SpriteWhether or not to use a sprite instead of image.Toggle

Position

NameExplanationType
Pixel XThe x coordinate of the layer in pixels.Number
Pixel YThe y coordinate of the layer in pixels.Number
Pixel WidthThe width of the layer in pixels.Number
Pixel HeightThe height of the layer in pixels.Number
Relative XThe x coordinate of the layer in screen percentage.Number
Relative YThe y coordinate of the layer in screen percentage.Number
Relative WidthThe width of the layer in screen percentage.Number
Relative HeightThe height of the layer in screen percentage.Number
Use Relative PositioningWhether or not to use measurements based on a percentage of the screen rather than pixels.Toggle

Position

System

NameExplanationType
NameThe name of the position.String

Position

NameExplanationType
XThe x coordinate of the position.Number
YThe y coordinate of the position.Number
ZThe z coordinate of the position.Number