Durdles - 2-Player Action Game
# allows to add DEPLOYMENTFOLDERS and links to the Felgo library and QtCreator auto-completion
CONFIG += felgo
qmlFolder.source = qml
DEPLOYMENTFOLDERS += qmlFolder # comment for publishing
assetsFolder.source = assets
DEPLOYMENTFOLDERS += assetsFolder
# Add more folders to ship with the application here
RESOURCES += \
# resources.qrc # uncomment for publishing
# NOTE: for PUBLISHING, perform the following steps:
# 1. comment the DEPLOYMENTFOLDERS += qmlFolder line above, to avoid shipping your qml files with the application (instead they get compiled to the app binary)
# 2. uncomment the resources.qrc file inclusion and add any qml subfolders to the .qrc file; this compiles your qml files and js files to the app binary and protects your source code
# 3. change the setMainQmlFile() call in main.cpp to the one starting with "qrc:/" - this loads the qml files from the resources
# for more details see the "Deployment Guides" in the Felgo Documentation
# during development, use the qmlFolder deployment because you then get shorter compilation times (the qml files do not need to be compiled to the binary but are just copied)
# also, for quickest deployment on Desktop disable the "Shadow Build" option in Projects/Builds - you can then select "Run Without Deployment" from the Build menu in Qt Creator if you only changed QML files; this speeds up application start, because your app is not copied & re-compiled but just re-interpreted
# The .cpp file which was generated for your project. Feel free to hack it.
SOURCES += main.cpp
android {
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
OTHER_FILES += android/AndroidManifest.xml
}
ios {
ICON_DATA.files = \
ios/Icon.png \
ios/Icon@2x.png \
ios/Icon-60.png \
ios/Icon-60@2x.png \
ios/Icon-72.png \
ios/Icon-72@2x.png \
ios/Icon-76.png \
ios/Icon-76@2x.png \
ios/Def.png \
ios/Def@2x.png \
ios/Def-Landscape.png \
ios/Def-568h@2x.png
QMAKE_BUNDLE_DATA += ICON_DATA
QMAKE_INFO_PLIST = ios/Project-Info.plist
OTHER_FILES += $$QMAKE_INFO_PLIST
}
OTHER_FILES += \
common/EnergyBar.qml \
common/LevelBase.qml \
common/MenuButton.qml \
common/SceneBase.qml \
controls/Movement.qml \
controls/Shot.qml \
entities/powerUps/PowerUpAccelerator.qml \
entities/powerUps/PowerUpLifeUp.qml \
entities/powerUps/PowerUpPowerShot.qml \
entities/powerUps/PowerUpShield.qml \
entities/powerUps/PowerUpSpawn.qml \
entities/Ball.qml \
entities/Border.qml \
entities/Bullet.qml \
entities/Iglu.qml \
entities/Lake.qml \
entities/Obstacle.qml \
entities/Opponents.qml \
entities/Player.qml \
entities/Splat.qml \
entities/Tank.qml \
entities/Tree.qml \
entities/Wall.qml \
levels/Level_01.qml \
levels/Level_02.qml \
levels/Level_03.qml \
levels/Level_04.qml \
levels/Level_05.qml \
levels/Level_06.qml \
levels/Level_07.qml \
levels/Level_08.qml \
levels/Level_09.qml \
levels/Level_10.qml \
scenes/CreditsScene.qml \
scenes/GameScene.qml \
scenes/MenuScene.qml \
scenes/SelectLevelScene.qml \