Squaby Demo
import QtQuick 2.0
import Felgo 4.0
import ".."
SquabyLevelBase {
squabyDelayDecrementPerWave: 100
pauseBetweenWavesDecrementPerWave: 300
minimumSquabyDelay: 500
minimumPauseBetweenWaves: 500
nextLevelId: ""
difficulty: 5
maxPlayerLife: 5
onMaxPlayerLifeChanged: {
balancingSettings.playerStartLives = maxPlayerLife
}
startGold: 40
onStartGoldChanged: {
balancingSettings.playerStartGold = startGold
}
endlessGame: false
towerPermissions: [
{checked: true, name: "nailgun"},
{checked: false, name: "flamethrower"},
{checked: false, name: "turbine"},
]
EditableComponent {
editableType: "GameSettings"
defaultGroup: "settings"
properties: {
"settings": {
"difficulty": {"min": 1, "max": 10, "stepsize": 1, "label": "Difficulty"},
"nextLevelId": {"label": "Next Level", "enabled": developerBuild},
},
"environment": {
"maxPlayerLife": {"min": 1, "max": 50, "stepsize": 1, "label": "Player Lifes"},
"startGold": {"min": 0, "max": 1000, "stepsize": 5, "label": "Start Gold"},
"towerPermissions": {"propertyType": "simpleArrayDelegate"}
},
"waveData":
{
"squabyDelayDecrementPerWave": {"min": 0, "max": 1000, "stepsize": 100, "label": "Entity Spawn Delay"},
"pauseBetweenWavesDecrementPerWave": {"min": 0, "max": 1000, "stepsize": 100, "label": "Wave Spawn Delay"},
"minimumSquabyDelay": {"min": 0, "max": 10000, "stepsize": 100, "label": "Min Squaby Delay"},
"minimumPauseBetweenWaves": {"min": 0, "max": 10000, "stepsize": 100, "label": "Min Pause Delay"}
}
}
}
EditableComponent {
editableType: "WaveSettings"
defaultGroup: "waves"
properties: {
"waves": {
"propertyType": "waveArrayDelegate"
}
}
}
waves: [
]