Fixing game settings

This commit is contained in:
Martin 2022-12-13 12:12:38 +01:00
parent b4ef0ac65c
commit 8057a24345
4 changed files with 116 additions and 240 deletions

View File

@ -1,201 +0,0 @@
{
"player": {
"defaultHP": 50,
"requiredXP": [
10,
20,
30,
40,
50,
60,
70,
80,
90,
100
],
"regenerationDelay": 5,
"collisionDelay": 0.5,
"weapon": {
"strikeDelay": 2.5,
"damage": 5
},
"haloLauncher": {
"projectilesToSpawn": 24,
"cooldownDivisorPerUpgrade": 1,
"launcher": {
"projectileLifetime": 2,
"projectileSpeed": 150,
"wavesToShoot": 1,
"wavesDelayMs": 0,
"cooldown": 10
}
},
"horizontalLauncher": {
"wavesToShootPerUpgrade": 1,
"launcher": {
"projectileLifetime": 3,
"projectileSpeed": 300,
"wavesToShoot": 1,
"wavesDelayMs": 100,
"cooldown": 4
}
},
"diagonalLauncher": {
"wavesToShootPerUpgrade": 1,
"launcher": {
"projectileLifetime": 20,
"projectileSpeed": 300,
"wavesToShoot": 1,
"wavesDelayMs": 100,
"cooldown": 4
}
}
},
"upgrades": {
"maxWeaponLengthUpgrades": 5,
"maxWeaponDamageUpgrades": 10,
"maxHorizontalProjectileUpgrades": 0,
"maxDiagonalProjectileUpgrades": 0,
"maxHaloProjectileUpgrades": 5,
"maxRegenerationUpgrades": 5
},
"enemyManager": {
"enemies": [
{
"id": "BasicEnemy",
"moveType": "Follow",
"health": 3,
"damage": 1,
"speed": 60
},
{
"id": "CircleEnemy",
"moveType": "Follow",
"health": 10,
"damage": 1,
"speed": 25
},
{
"id": "WaveEnemy",
"moveType": "Launch",
"health": 1,
"damage": 2,
"speed": 390
},
{
"id": "WaveEnemyArmor",
"moveType": "Launch",
"health": 7,
"damage": 3,
"speed": 70
},
{
"id": "BasicBoss",
"moveType": "Follow",
"health": 12,
"damage": 2,
"speed": 65
},
{
"id": "BasicCheetah",
"moveType": "PeriodicFollow",
"health": 5,
"damage": 2,
"speed": 140
}
],
"individualEnemySpawners": [
{
"common": {
"enemyId": "BasicEnemy",
"startDelay": 0,
"stopDelay": 29,
"cooldown": 1
}
},
{
"common": {
"enemyId": "BasicEnemy",
"startDelay": 30,
"stopDelay": 59,
"cooldown": 0.9
}
},
{
"common": {
"enemyId": "BasicBoss",
"startDelay": 60,
"stopDelay": 61,
"cooldown": 0.9
}
},
{
"common": {
"enemyId": "BasicEnemy",
"startDelay": 62,
"stopDelay": 120,
"cooldown": 0.7
}
},
{
"common": {
"enemyId": "BasicEnemy",
"startDelay": 121,
"stopDelay": 240,
"cooldown": 0.5
}
}
],
"circularEnemySpawners": [
{
"common": {
"enemyId": "CircleEnemy",
"startDelay": 1,
"stopDelay": 240,
"cooldown": 35
},
"enemiesToSpawn": 40
},
{
"common": {
"enemyId": "BasicEnemy",
"startDelay": 59,
"stopDelay": 63,
"cooldown": 3
},
"enemiesToSpawn": 10
},
{
"common": {
"enemyId": "BasicCheetah",
"startDelay": 119,
"stopDelay": 123,
"cooldown": 2
},
"enemiesToSpawn": 10
}
],
"waveEnemySpawners": [
{
"common": {
"enemyId": "WaveEnemy",
"startDelay": 1,
"stopDelay": -1,
"cooldown": 20
},
"enemiesToSpawn": 15,
"waveLifetime": 50
},
{
"common": {
"enemyId": "WaveEnemyArmor",
"startDelay": 1,
"stopDelay": -1,
"cooldown": 50
},
"enemiesToSpawn": 12,
"waveLifetime": 20
}
]
}
}

View File

@ -1,11 +0,0 @@
{
"ver": "1.0.0",
"importer": "json",
"imported": true,
"uuid": "737b7646-f050-47db-8f02-a204ad5f768b",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

View File

@ -2,22 +2,22 @@
"player": { "player": {
"defaultHP": 50, "defaultHP": 50,
"requiredXP": [ "requiredXP": [
5,
5,
5,
10,
10,
10, 10,
20, 20,
20, 30,
20, 40,
20 50,
60,
70,
80,
90,
100
], ],
"regenerationDelay": 5, "regenerationDelay": 5,
"collisionDelay": 0.5, "collisionDelay": 0.5,
"weapon": { "weapon": {
"strikeDelay": 2, "strikeDelay": 2.5,
"damage": 1 "damage": 5
}, },
"haloLauncher": { "haloLauncher": {
"projectilesToSpawn": 24, "projectilesToSpawn": 24,
@ -35,7 +35,7 @@
"launcher": { "launcher": {
"projectileLifetime": 3, "projectileLifetime": 3,
"projectileSpeed": 300, "projectileSpeed": 300,
"wavesToShoot": 0, "wavesToShoot": 1,
"wavesDelayMs": 100, "wavesDelayMs": 100,
"cooldown": 4 "cooldown": 4
} }
@ -45,7 +45,7 @@
"launcher": { "launcher": {
"projectileLifetime": 20, "projectileLifetime": 20,
"projectileSpeed": 300, "projectileSpeed": 300,
"wavesToShoot": 0, "wavesToShoot": 1,
"wavesDelayMs": 100, "wavesDelayMs": 100,
"cooldown": 4 "cooldown": 4
} }
@ -53,7 +53,7 @@
}, },
"upgrades": { "upgrades": {
"maxWeaponLengthUpgrades": 5, "maxWeaponLengthUpgrades": 5,
"maxWeaponDamageUpgrades": 5, "maxWeaponDamageUpgrades": 10,
"maxHorizontalProjectileUpgrades": 0, "maxHorizontalProjectileUpgrades": 0,
"maxDiagonalProjectileUpgrades": 0, "maxDiagonalProjectileUpgrades": 0,
"maxHaloProjectileUpgrades": 5, "maxHaloProjectileUpgrades": 5,
@ -72,16 +72,44 @@
{ {
"id": "BasicEnemy", "id": "BasicEnemy",
"moveType": "Follow", "moveType": "Follow",
"health": 1, "health": 3,
"damage": 1, "damage": 1,
"speed": 50 "speed": 60
},
{
"id": "CircleEnemy",
"moveType": "Follow",
"health": 10,
"damage": 1,
"speed": 25
}, },
{ {
"id": "WaveEnemy", "id": "WaveEnemy",
"moveType": "Launch", "moveType": "Launch",
"health": 1, "health": 1,
"damage": 1, "damage": 2,
"speed": 100 "speed": 390
},
{
"id": "WaveEnemyArmor",
"moveType": "Launch",
"health": 7,
"damage": 3,
"speed": 70
},
{
"id": "BasicBoss",
"moveType": "Follow",
"health": 12,
"damage": 2,
"speed": 65
},
{
"id": "BasicCheetah",
"moveType": "PeriodicFollow",
"health": 5,
"damage": 2,
"speed": 140
} }
], ],
"individualEnemySpawners": [ "individualEnemySpawners": [
@ -89,32 +117,92 @@
"common": { "common": {
"enemyId": "BasicEnemy", "enemyId": "BasicEnemy",
"startDelay": 0, "startDelay": 0,
"stopDelay": -1, "stopDelay": 29,
"cooldown": 2 "cooldown": 1
}
},
{
"common": {
"enemyId": "BasicEnemy",
"startDelay": 30,
"stopDelay": 59,
"cooldown": 0.9
}
},
{
"common": {
"enemyId": "BasicBoss",
"startDelay": 60,
"stopDelay": 61,
"cooldown": 0.9
}
},
{
"common": {
"enemyId": "BasicEnemy",
"startDelay": 62,
"stopDelay": 120,
"cooldown": 0.7
}
},
{
"common": {
"enemyId": "BasicEnemy",
"startDelay": 121,
"stopDelay": 240,
"cooldown": 0.5
} }
} }
], ],
"circularEnemySpawners": [ "circularEnemySpawners": [
{ {
"common": { "common": {
"enemyId": "BasicEnemy", "enemyId": "CircleEnemy",
"startDelay": 5, "startDelay": 1,
"stopDelay": -1, "stopDelay": 240,
"cooldown": 10 "cooldown": 35
}, },
"enemiesToSpawn": 50 "enemiesToSpawn": 40
},
{
"common": {
"enemyId": "BasicEnemy",
"startDelay": 59,
"stopDelay": 63,
"cooldown": 3
},
"enemiesToSpawn": 10
},
{
"common": {
"enemyId": "BasicCheetah",
"startDelay": 119,
"stopDelay": 123,
"cooldown": 2
},
"enemiesToSpawn": 10
} }
], ],
"waveEnemySpawners": [ "waveEnemySpawners": [
{ {
"common": { "common": {
"enemyId": "WaveEnemy", "enemyId": "WaveEnemy",
"startDelay": 5, "startDelay": 1,
"stopDelay": -1, "stopDelay": -1,
"cooldown": 5 "cooldown": 20
}, },
"enemiesToSpawn": 10, "enemiesToSpawn": 15,
"waveLifetime": 50 "waveLifetime": 50
},
{
"common": {
"enemyId": "WaveEnemyArmor",
"startDelay": 1,
"stopDelay": -1,
"cooldown": 50
},
"enemiesToSpawn": 12,
"waveLifetime": 20
} }
] ]
} }

View File

@ -2,7 +2,7 @@
"ver": "1.0.0", "ver": "1.0.0",
"importer": "json", "importer": "json",
"imported": true, "imported": true,
"uuid": "6828fb79-0a56-437e-b718-9f43bf234fbc", "uuid": "737b7646-f050-47db-8f02-a204ad5f768b",
"files": [ "files": [
".json" ".json"
], ],