View source
typedef DeathData
package funkin.data.character
import funkin.data.character.CharacterData
Available on all platforms
Fields
optionalpreTransitionDelay:Null<Float>
* Impose a delay between when the character reaches `0` health and when the death animation plays.
* @default 0.0
optionalcameraZoom:Null<Float>
* The amount to zoom the camera by while focusing on this character as they die.
* Value is a multiplier of the default camera zoom for the stage.
* @default 1.0
optionalcameraOffsets:Null<Array<Float>>
* The amount to offset the camera by while focusing on this character as they die.
* Default value focuses on the character's graphic midpoint.
* @default [0, 0]