Structure
LevelSettings
Declaration
struct LevelSettings
Topics
Initializers
Instance Properties
var anchorPoint: String?
An optional setting that defines the anchor point associated with the scene. Default: width: 0.5, height: 0.5
var fontColor: String?
An optional setting that defines the color of the font for the level.
var id: UUID?
An autogenerated unique identifier.
var scaleMode: String
An optional setting that defines how the scene is mapped to the view that presents it. Default: aspectFill
var sceneOrientation: String
A setting that defines the size dimension orientation of the scene. Default: landscape
var scrollOrientation: String
A setting that defines what direction the scene scrolls. Default: horizontal
var size: String?
An optional setting that defines how the scene size is mapped to the view that presents it.
Default Implementations
See Also
Level Composition
struct Background
A structure representing all the properties and types needed to create the list of
BackgroundImage for your level.struct GroundSection
A structure representing all the properties and types needed to create a specific horizontal ground section.
struct CheckPointData
A structure representing all the properties and types needed to create the list of checkpoints for your level.
struct CheckPointLocation
A structure representing all the properties and types needed to define the specific checkpoint.
struct ObstacleLevelItem
A structure representing all the properties and types needed to create the list of
Obstacle for your level.struct CharacterLevelItem
A structure representing all the properties and types needed to create the list of
Character for your level.struct Artifacts
A structure representing all the properties and types needed to create the list of collectibles for your level.
struct Coins
A structure representing all the properties and types needed to create the list of monetary collectibles for your level.
struct Shields
A structure representing all the properties and types needed to create the list of protective objects for your level.