View source
typedef LevelPropData
package funkin.data.story.level
import funkin.data.story.level.LevelData
Available on all platforms
Data for a single prop for a story mode level.
Fields
optionalstartingAnimation:Null<String>
* If animations are used, this is the name of the animation to play first.
* @default idle
optionaloffsets:Null<Array<Float>>
* The offset on the position to render the prop at.
* @default [0.0, 0.0]
optionalisPixel:Null<Bool>
* If true, the prop is a pixel sprite, and will be rendered without smoothing.
optionaldanceEvery:Null<Float>
* The frequency to bop at, in beats.
* 1 = every beat, 2 = every other beat, etc.
* Supports up to 0.25 precision.
* @default 1.0
optionalanimations:Null<Array<AnimationData>>
* A set of animations to play on the prop.
* If default/empty, the prop will be static.