SpineSprite:addAnimation

From GiderosMobile
Revision as of 15:31, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")


Available since: Gideros 2018.12
Class: SpineSprite

Description

Add or chain another animation <syntaxhighlight lang="lua"> SpineSprite:addAnimation(track,animation,mix,loop,delay) </source>

Parameters

track: (integer) Track to use
animation: (string) Animation name
mix: (number) Mix duration
loop: (boolean) Wether the animation should loop
delay: (number) Delay before starting this new animation