animations.d overview
Table of contents
- utils
- AnimationRequest (type alias)
- AnimationTarget (type alias)
- BalloonRequest (type alias)
- DataAnimation (interface)
- DataAnimationMV (interface)
- DataFrameCellMV (type alias)
- DataFrameMV (type alias)
- DataTimingMV (type alias)
- DisplayType (type alias)
- FlashTiming (interface)
- Rotation (interface)
- SoundTiming (interface)
utils
AnimationRequest (type alias)
Signature
export declare type AnimationRequest = {
targets: AnimationTarget[]
animationId: AnimationID
mirror: boolean
}
AnimationTarget (type alias)
Signature
export declare type AnimationTarget = Game_Character | Game_Battler
BalloonRequest (type alias)
Signature
export declare type BalloonRequest = {
target: Game_Character
balloonId: BalloonIconID
}
DataAnimation (interface)
Signature
export interface DataAnimation extends DataBase {
displayType: DisplayType
effectName: string
scale: number
speed: number
rotation: Rotation
offsetX: number
offsetY: number
soundTimings: SoundTiming[]
flashTimings: FlashTiming[]
alignBottom?: boolean
}
DataAnimationMV (interface)
Signature
export interface DataAnimationMV extends DataBase {
frames: DataFrameMV[]
animation1Name: string
animation2Name: string
animation1Hue: number
animation2Hue: number
timings: DataTimingMV[]
position: number
}
DataFrameCellMV (type alias)
Signature
export declare type DataFrameCellMV = readonly [
number,
number,
number,
number,
number,
boolean,
number,
PIXI.BLEND_MODES
]
DataFrameMV (type alias)
Signature
export declare type DataFrameMV = DataFrameCellMV[]
DataTimingMV (type alias)
Signature
export declare type DataTimingMV = {
frame: number
flashDuration: number
se?: DataAudio
} & (
| {
flashScope: 1
flashColor: Color
}
| {
flashScope: 2
flashColor: Color
}
| {
flashScope: 3
}
| undefined
)
DisplayType (type alias)
Signature
export declare type DisplayType = 0 | 1 | 2
FlashTiming (interface)
Signature
export interface FlashTiming {
frame: number
duration: number
color: Color
}
Rotation (interface)
Signature
export interface Rotation {
x: number
y: number
z: number
}
SoundTiming (interface)
Signature
export interface SoundTiming {
frame: number
se: DataAudio | null
}