A type definition for the data in a story mode level JSON file.

See also:

Fields

@:default(true)@:optionaloptionalvisible:Null<Bool>

* Whether this week is visible in the story menu. * @default `true`

@:default(funkin.data.story.level.LevelRegistry.LEVEL_DATA_VERSION)version:String

* The version number of the level data schema. * When making changes to the level data format, this should be incremented, * and a migration function should be added to LevelDataParser to handle old versions.

@:jcustomparse(funkin.data.DataParse.stringNotEmpty)titleAsset:String

* The graphic for the level, as seen in the scrolling list.

@:default(["bopeebo"])songs:Array<String>

* The list of song IDs included in this level.

@:default([])props:Array<LevelPropData>

* The props to display over the colored background. * In the base game this is usually Boyfriend and the opponent.

name:String

* The title of the level, as seen in the top corner.

@:default("#F9CF51")@:optionaloptionalbackground:Null<String>

* The background for the level behind the props.