Qt Quick Demo - Same Game
Same Game demonstrates a QML game with custom types and logic written in JavaScript. The game uses various Qt Quick features such as particles, animation, and loading images.
For more details about different parts of the example, see QML Advanced Tutorial.
Running the Example
To run the example from Qt Creator, open the Welcome mode and select the example from Examples. For more information, visit Building and Running an Example.
Files:
- demos/samegame/samegame.qml
- demos/samegame/content/BBSettings.qml
- demos/samegame/content/Block.qml
- demos/samegame/content/BlockEmitter.qml
- demos/samegame/content/Button.qml
- demos/samegame/content/GameArea.qml
- demos/samegame/content/LogoAnimation.qml
- demos/samegame/content/MenuEmitter.qml
- demos/samegame/content/PaintEmitter.qml
- demos/samegame/content/PrimaryPack.qml
- demos/samegame/content/PuzzleBlock.qml
- demos/samegame/content/SamegameText.qml
- demos/samegame/content/Settings.qml
- demos/samegame/content/SimpleBlock.qml
- demos/samegame/content/SmokeText.qml
- demos/samegame/content/samegame.js
- demos/samegame/content/+blackberry/Settings.qml
- demos/samegame/content/levels/TemplateBase.qml
- demos/samegame/content/levels/level0.qml
- demos/samegame/content/levels/level1.qml
- demos/samegame/content/levels/level2.qml
- demos/samegame/content/levels/level3.qml
- demos/samegame/content/levels/level4.qml
- demos/samegame/content/levels/level5.qml
- demos/samegame/content/levels/level6.qml
- demos/samegame/content/levels/level7.qml
- demos/samegame/content/levels/level8.qml
- demos/samegame/content/levels/level9.qml
- demos/samegame/main.cpp
- demos/samegame/samegame.pro
- demos/samegame/samegame.qmlproject
- demos/samegame/samegame.qrc
- demos/samegame/content/qmldir
See also QML Applications.
© 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.