Qt Quick Demo - Same Game
A QML implementation of the popular puzzle game by Kuniaki Moribe.
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/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/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/content/qmldir
- demos/samegame/content/samegame.js
- demos/samegame/main.cpp
- demos/samegame/samegame.pro
- demos/samegame/samegame.qml
- demos/samegame/samegame.qmlproject
- demos/samegame/samegame.qrc
Images:
- demos/samegame/content/gfx/background-puzzle.png
- demos/samegame/content/gfx/background.png
- demos/samegame/content/gfx/bar.png
- demos/samegame/content/gfx/blue-puzzle.png
- demos/samegame/content/gfx/blue.png
- demos/samegame/content/gfx/bubble-highscore.png
- demos/samegame/content/gfx/bubble-puzzle.png
- demos/samegame/content/gfx/but-game-1.png
- demos/samegame/content/gfx/but-game-2.png
- demos/samegame/content/gfx/but-game-3.png
- demos/samegame/content/gfx/but-game-4.png
- demos/samegame/content/gfx/but-game-new.png
- demos/samegame/content/gfx/but-menu.png
- demos/samegame/content/gfx/but-puzzle-next.png
- demos/samegame/content/gfx/but-quit.png
- demos/samegame/content/gfx/green-puzzle.png
- demos/samegame/content/gfx/green.png
- demos/samegame/content/gfx/icon-fail.png
- demos/samegame/content/gfx/icon-ok.png
- demos/samegame/content/gfx/icon-time.png
- demos/samegame/content/gfx/logo-a.png
- demos/samegame/content/gfx/logo-e.png
- demos/samegame/content/gfx/logo-g.png
- demos/samegame/content/gfx/logo-m.png
- demos/samegame/content/gfx/logo-s.png
- demos/samegame/content/gfx/logo.png
- demos/samegame/content/gfx/particle-brick.png
- demos/samegame/content/gfx/particle-paint.png
- demos/samegame/content/gfx/particle-smoke.png
- demos/samegame/content/gfx/red-puzzle.png
- demos/samegame/content/gfx/red.png
- demos/samegame/content/gfx/text-highscore-new.png
- demos/samegame/content/gfx/text-highscore.png
- demos/samegame/content/gfx/text-no-winner.png
- demos/samegame/content/gfx/text-p1-go.png
- demos/samegame/content/gfx/text-p1-won.png
- demos/samegame/content/gfx/text-p1.png
- demos/samegame/content/gfx/text-p2-go.png
- demos/samegame/content/gfx/text-p2-won.png
- demos/samegame/content/gfx/text-p2.png
- demos/samegame/content/gfx/yellow-puzzle.png
- demos/samegame/content/gfx/yellow.png
See also QML Applications.
© 2021 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.