Frames of the Animation, objects that are later converted to AnimationFrame
since
2.0.0
key
key:string
memberof
Duck.Types.Animation.Config
description
Key / Name of Animation
since
2.0.0
Optional repeat
repeat?:number
memberof
Duck.Types.Animation.Config
description
Determines the amount of times the Animation loops, optional -> defaults: 1
since
2.0.0
Optional useDelta
useDelta?:boolean
memberof
Duck.Types.Animation.Config
description
Determines if the Animation timers count by the Game.deltaTime, set to true if used in the Scene.update method, and false
otherwise, optional -> defaults: false
since
2.0.0
Optional yoyo
yoyo?:boolean
memberof
Duck.Types.Animation.Config
description
Determines if the animation plays in the opposite direction of its current direction and switches on end, like a yoyo
optional -> defaults: false
Duck.Types.Animation.Config
The amount of milliseconds that is waited for before playing the animation, optional -> defaults: 0
2.0.0