There's moreā€¦

Sprite animation is used extensively, especially in game development. Sprites are used for character animation, particle animation, and even GUI animation. A sprite sheet consists of many images combined into one, which can then be chopped down and displayed on the screen, one at a time. The transitions between different images (or sprites) from the sprite sheet creates the illusion of animation, which we usually refer to as sprite animation. Sprite animation can be easily achieved in QML using the AnimatedSprite type.

In this example program, I am using a free and open source image  that was created by bluecarrot16 under the CC-BY 3.0/GPL 3.0/GPL 2.0/OGA-BY 3.0 license. The image can be obtained legally at http://opengameart.org/content/lpc-horse.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset