Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!
Draws a sprite animation. More...
|Import Statement:||import QtQuick 2.11|
For full details, see the Sprite Animations overview.
See also Sprite animations with SpriteSequence.
goalSprite : string
The name of the Sprite that the animation should move to.
Sprite states have defined durations and transitions between them; setting
goalSprite will cause it to disregard any path weightings (including
0) and head down the path that will reach the
goalSprite quickest (fewest animations). It will pass through intermediate states on that path, and animate them for their duration.
If it is possible to return to the
goalSprite from the starting point of the
goalSprite, it will continue to do so until
goalSprite is set to
"" or an unreachable
interpolate : bool
true, interpolation will occur between sprite frames to make the animation appear smoother.
running : bool
Whether the sprite is animating or not.
The sprite or sprites to draw. Sprites will be scaled to the size of this item.
This function causes the SpriteSequence to jump to the specified sprite immediately; intermediate sprites are not played.