View source
typedef StageDataCharacter
package funkin.data.stage
import funkin.data.stage.StageData
Available on all platforms
Fields
optionalzIndex:Null<Int>
* A number determining the stack order of the character, relative to props and other characters in the stage.
* Again, just like CSS.
* @default 0
optionalscroll:Null<Array<Float>>
* How much the character scrolls relative to the camera. Used to create a parallax effect.
* Represented as an [x, y] array of two floats.
* [1, 1] means the character moves 1:1 with the camera.
* [0.5, 0.5] means the character moves half as much as the camera.
* [0, 0] means the character is not moved.
* @default [1, 1]
optionalcameraOffsets:Null<Array<Float>>
* The camera offsets to apply when focusing on the character on this stage.
* @default [-100, -100] for BF, [100, -100] for DAD/OPPONENT, [0, 0] for GF