From 8057a24345d3c5055b15e332e5cd5cf060e445d4 Mon Sep 17 00:00:00 2001 From: Martin Date: Tue, 13 Dec 2022 12:12:38 +0100 Subject: [PATCH] Fixing game settings --- assets/Data/GameSettings-001.json | 201 ------------------------- assets/Data/GameSettings-001.json.meta | 11 -- assets/Data/GameSettings.json | 142 +++++++++++++---- assets/Data/GameSettings.json.meta | 2 +- 4 files changed, 116 insertions(+), 240 deletions(-) delete mode 100644 assets/Data/GameSettings-001.json delete mode 100644 assets/Data/GameSettings-001.json.meta diff --git a/assets/Data/GameSettings-001.json b/assets/Data/GameSettings-001.json deleted file mode 100644 index 9e9bb54..0000000 --- a/assets/Data/GameSettings-001.json +++ /dev/null @@ -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 - } - ] - } -} \ No newline at end of file diff --git a/assets/Data/GameSettings-001.json.meta b/assets/Data/GameSettings-001.json.meta deleted file mode 100644 index 1816c7e..0000000 --- a/assets/Data/GameSettings-001.json.meta +++ /dev/null @@ -1,11 +0,0 @@ -{ - "ver": "1.0.0", - "importer": "json", - "imported": true, - "uuid": "737b7646-f050-47db-8f02-a204ad5f768b", - "files": [ - ".json" - ], - "subMetas": {}, - "userData": {} -} diff --git a/assets/Data/GameSettings.json b/assets/Data/GameSettings.json index 5bae5f7..1d96f58 100644 --- a/assets/Data/GameSettings.json +++ b/assets/Data/GameSettings.json @@ -2,22 +2,22 @@ "player": { "defaultHP": 50, "requiredXP": [ - 5, - 5, - 5, - 10, - 10, 10, 20, - 20, - 20, - 20 + 30, + 40, + 50, + 60, + 70, + 80, + 90, + 100 ], "regenerationDelay": 5, "collisionDelay": 0.5, "weapon": { - "strikeDelay": 2, - "damage": 1 + "strikeDelay": 2.5, + "damage": 5 }, "haloLauncher": { "projectilesToSpawn": 24, @@ -35,7 +35,7 @@ "launcher": { "projectileLifetime": 3, "projectileSpeed": 300, - "wavesToShoot": 0, + "wavesToShoot": 1, "wavesDelayMs": 100, "cooldown": 4 } @@ -45,7 +45,7 @@ "launcher": { "projectileLifetime": 20, "projectileSpeed": 300, - "wavesToShoot": 0, + "wavesToShoot": 1, "wavesDelayMs": 100, "cooldown": 4 } @@ -53,7 +53,7 @@ }, "upgrades": { "maxWeaponLengthUpgrades": 5, - "maxWeaponDamageUpgrades": 5, + "maxWeaponDamageUpgrades": 10, "maxHorizontalProjectileUpgrades": 0, "maxDiagonalProjectileUpgrades": 0, "maxHaloProjectileUpgrades": 5, @@ -72,16 +72,44 @@ { "id": "BasicEnemy", "moveType": "Follow", - "health": 1, + "health": 3, "damage": 1, - "speed": 50 + "speed": 60 + }, + { + "id": "CircleEnemy", + "moveType": "Follow", + "health": 10, + "damage": 1, + "speed": 25 }, { "id": "WaveEnemy", "moveType": "Launch", "health": 1, - "damage": 1, - "speed": 100 + "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": [ @@ -89,32 +117,92 @@ "common": { "enemyId": "BasicEnemy", "startDelay": 0, - "stopDelay": -1, - "cooldown": 2 + "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": "BasicEnemy", - "startDelay": 5, - "stopDelay": -1, - "cooldown": 10 + "enemyId": "CircleEnemy", + "startDelay": 1, + "stopDelay": 240, + "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": [ { "common": { "enemyId": "WaveEnemy", - "startDelay": 5, + "startDelay": 1, "stopDelay": -1, - "cooldown": 5 + "cooldown": 20 }, - "enemiesToSpawn": 10, + "enemiesToSpawn": 15, "waveLifetime": 50 + }, + { + "common": { + "enemyId": "WaveEnemyArmor", + "startDelay": 1, + "stopDelay": -1, + "cooldown": 50 + }, + "enemiesToSpawn": 12, + "waveLifetime": 20 } ] } diff --git a/assets/Data/GameSettings.json.meta b/assets/Data/GameSettings.json.meta index 8a36066..1816c7e 100644 --- a/assets/Data/GameSettings.json.meta +++ b/assets/Data/GameSettings.json.meta @@ -2,7 +2,7 @@ "ver": "1.0.0", "importer": "json", "imported": true, - "uuid": "6828fb79-0a56-437e-b718-9f43bf234fbc", + "uuid": "737b7646-f050-47db-8f02-a204ad5f768b", "files": [ ".json" ],