From 8ed77a82bc74f195806ddc4c187b590c5dfcdde0 Mon Sep 17 00:00:00 2001 From: elioat Date: Sun, 16 Feb 2025 21:18:11 -0500 Subject: * --- html/tower/index.html | 8 ++++---- html/tower/js/gameState.js | 18 +++++++++--------- 2 files changed, 13 insertions(+), 13 deletions(-) (limited to 'html') diff --git a/html/tower/index.html b/html/tower/index.html index a5f1f79..0a4adc6 100644 --- a/html/tower/index.html +++ b/html/tower/index.html @@ -82,17 +82,17 @@
-
+
Basic
$20
-
+
Sniper
$40
-
+
Rapid
$35
@@ -102,7 +102,7 @@
$30
-
+
AOE
$45
diff --git a/html/tower/js/gameState.js b/html/tower/js/gameState.js index 79a32f1..b7dc33b 100644 --- a/html/tower/js/gameState.js +++ b/html/tower/js/gameState.js @@ -10,7 +10,7 @@ const TowerTypes = { range: 3, damage: 1, attackSpeed: 1, - color: '#4a90e2' + color: '#3498db' }, SNIPER: { name: 'Sniper Tower', @@ -18,7 +18,7 @@ const TowerTypes = { range: 6, damage: 2, attackSpeed: 0.5, - color: '#9b59b6' + color: '#8e44ad' }, RAPID: { name: 'Rapid Tower', @@ -26,7 +26,7 @@ const TowerTypes = { range: 2, damage: 0.5, attackSpeed: 2, - color: '#2ecc71' + color: '#16a085' }, GOOP: { name: 'Goop Tower', @@ -44,7 +44,7 @@ const TowerTypes = { range: 2, damage: 1.5, attackSpeed: 0.3, - color: '#e67e22', + color: '#d35400', special: 'aoe', aoeRadius: 1 // Additional tiles affected } @@ -54,32 +54,32 @@ const ParticleTypes = { DEATH_PARTICLE: { lifetime: 1000, // milliseconds speed: 0.1, - colors: ['#e74c3c', '#c0392b', '#f1c40f', '#e67e22'] + colors: ['#e74c3c', '#c0392b', '#d35400', '#e67e22'] }, PROJECTILE: { lifetime: 300, speed: 0.3, - color: '#ffffff' + color: '#ecf0f1' }, AOE_EXPLOSION: { lifetime: 500, initialRadius: 10, finalRadius: 60, - color: '#e67e22', + color: '#d35400', ringWidth: 3 } }; const EnemyTypes = { BASIC: { - color: '#ff0000', + color: '#c0392b', baseHealth: { min: 2, max: 6 }, speed: { min: 1, max: 1.5 }, damage: 0, isRanged: false }, RANGED: { - color: '#8e44ad', // Purple + color: '#2c3e50', baseHealth: { min: 1, max: 4 }, speed: { min: 0.7, max: 1.2 }, damage: 0.3, -- cgit 1.4.1-2-gfad0