Add tower firing

This commit is contained in:
2024-02-10 11:25:02 +01:00
parent e654c47446
commit 1c6fab51c6
6 changed files with 119 additions and 12 deletions

View File

@@ -176,9 +176,9 @@ ecs_entity_t placeBuilding(Game *game, BuildingType type,
.range = 46.0f,
.minDamage = 40.0f,
.maxDamage = 80.0f,
.damageFalloff = 8.0f,
.damageRadius = 28.0f,
.projectileSpeed = 10.0f,
.projectileSpeed = 100.0f,
.projectileRadius = 4.0f,
.projectileDamageCount = 3,
.fireCooldown = 1.2f,
.fireElapsed = 0.0f,
});