本页内容

同款游戏

这是由森部邦昭开发的一款热门益智游戏的 QML 实现版本。

《Same Game》演示了一个使用 QML 开发的游戏,其中自定义类型和逻辑均由 JavaScript 编写。该游戏运用了多种 Qt Quick 功能,例如粒子效果、动画和加载图片。

《Same Game》主菜单及游戏模式选项

正在进行中的同一款游戏,带有彩色方块和分数显示

有关本示例各部分的更多详细信息,请参阅《QML 高级教程》。

运行示例

您可以通过以下方式运行该示例:

示例项目 @ code.qt.io

另请参阅 QML 应用程序。

© 2026 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.