Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.
MosaicLink Qt Quick game - app showcase
This article provides and overview of the MosaicLink game, and the challenges of creating it using Symbian Qt Quick Components.
I build the MosaicLink game with Qt Quick on Symbian^3 first, by several weeks coding, debuging with QtCreator and it's Qt Simulator.
And finally debugging on C7 device, package the game with UID provided by Nokia Store, the game signed and published to Nokia Store.
After months, I ported this game to Harmattan platform, and published to Nokia Store too.
This game used basic QML elements and most QtQuick Components elements, for example: BusyIndicator, PageStack, Page, ButtonColumn, Button, QueryDialog, Slider, CheckBox and Audio element (Symbian^3).
- I have to implement a line drawing class on C++ side and registered it to QML side to use it to show connection line in the game.
- I implemented a engine and setting class with some Q_PROPERTY and Q_INVOKABLE and registered to QML side to get game data and event.
- I have to use some async mechnism to show partial of game page while waiting engine generating game data, and a bit delay to show game contents.
- While porting to Harmattan, I have to learn some acknowlege to replace the game icon and to build the debian package.
- The Audio element works bad on Harmattan if there are several audio playing at the same time, eventually I integrated the GameEnabler which from public of projects.developer.nokia.com to resolve the issue.
It's almost enough to build simple interesting game! The QtQuick and QtQuick Components is very graceful and efficient. You can quickly port apps across platform.
ScreenShots for Harmattan version
ScreenShots for Symbian^3 version
- Symbian^3 version, http://store.ovi.com/content/216600
- Harmattan version, http://store.ovi.com/content/230823
Note: This is an entry in the Symbian Qt Quick Components Competition 2012Q1