April 2018
Beginner
714 pages
18h 21m
English
The player character as well as any other component of the game should be animated. If the component is implemented using simple Qt Quick shapes, it is quite easy to do by changing the item's properties fluently, using property animations (as we did with the Coin object). Things get more difficult if a component is complex enough that it is easier to draw it in a graphics program and use an image in the game instead of trying to recreate the object using Qt Quick items. Then, you need a number of images—one for every frame of animation. Images would have to keep replacing one another to make a convincing animation.
Read now
Unlock full access