• Qt 5.3
  • Qt Quick
  • Qt Quick Demo - Maroon in Trouble
  • Qt 5.3.0 Reference Documentation

Contents

  • Running the Example

Qt Quick Demo - Maroon in Trouble

A cute game designed for touchscreens.

Maroon in Trouble demonstrates various QML and Qt Quick features such as displaying custom components and playing sound effects.

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/maroon/maroon.qml
  • demos/maroon/content/BuildButton.qml
  • demos/maroon/content/GameCanvas.qml
  • demos/maroon/content/GameOverScreen.qml
  • demos/maroon/content/InfoBar.qml
  • demos/maroon/content/NewGameScreen.qml
  • demos/maroon/content/SoundEffect.qml
  • demos/maroon/content/logic.js
  • demos/maroon/content/mobs/MobBase.qml
  • demos/maroon/content/towers/Bomb.qml
  • demos/maroon/content/towers/Factory.qml
  • demos/maroon/content/towers/Melee.qml
  • demos/maroon/content/towers/Ranged.qml
  • demos/maroon/content/towers/TowerBase.qml
  • demos/maroon/main.cpp
  • demos/maroon/maroon.pro
  • demos/maroon/maroon.qmlproject
  • demos/maroon/maroon.qrc

See also QML Applications.

© 2014 Digia Plc and/or its subsidiaries. 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.
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.