The base class for a given level.
RequiresA tile map node called “Tile Map Node”. Automapping should be disabled, and the tileset should be “Costumemaster Default”.
RequiresA camera node called “Camera”.
RequiresLevel configuration data in the scene’s user data. See also:
class GameScene : SKScene
A data structure used to determine the properties of a level based on a user data dictionary.
The user data dictionary requires the following fields:
exitAtfield: (String) determines column and row coordinates to the exit node.
availableCostumesfield: (Int) determines which costumes are available.
levelLinkfield: (String) determines the next scene to display after this scene ends.
startingCostumefield: (String) determines which costume the player starts with.
requisite_COL_ROWfield(s): (String) determines what outputs require certain inputs.
These fields are not required but can be added to extend the configuration:
achievementTriggerfield: (String) determines the achievement to trigger when passing through an achievement trigger.
timerfield: (Int) determines how long a timer in the level will last. Defaults to 3 seconds.
disallowCostumefield: (String) determines which costume cannot be used in this level.
trackNamefield: (String) determines what music track to play.
public struct LevelDataConfiguration