2025-09-03 00:03:15 +02:00
|
|
|
[gd_scene load_steps=8 format=3 uid="uid://b1pg1hgysx3am"]
|
2025-09-02 19:49:40 +02:00
|
|
|
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://trg7ag3dqr2l" path="res://Towers/tower.tscn" id="1_laam8"]
|
|
|
|
|
[ext_resource type="Script" uid="uid://ddgbr0n8kic3y" path="res://Towers/Projectiles/ProjectileResource.gd" id="2_7fox5"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://boxdrq4nrq7hv" path="res://Assets/Icones/flamingo.svg" id="2_sciv6"]
|
|
|
|
|
[ext_resource type="Script" uid="uid://bg0x4egeu17qb" path="res://Towers/Scripts/Upgrades/TowerUpgrade.gd" id="4_l8w4i"]
|
|
|
|
|
|
2025-09-03 00:03:15 +02:00
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_sciv6"]
|
|
|
|
|
radius = 0.2
|
|
|
|
|
|
2025-09-02 19:49:40 +02:00
|
|
|
[sub_resource type="Resource" id="Resource_sciv6"]
|
|
|
|
|
script = ExtResource("2_7fox5")
|
|
|
|
|
speed = 40
|
|
|
|
|
damage = 10
|
|
|
|
|
maxTargets = 5
|
2025-09-03 00:03:15 +02:00
|
|
|
type = 2
|
2025-09-02 19:49:40 +02:00
|
|
|
allowedTargets = 1
|
2025-09-03 00:03:15 +02:00
|
|
|
damageArea = SubResource("SphereShape3D_sciv6")
|
2025-09-02 19:49:40 +02:00
|
|
|
metadata/_custom_type_script = "uid://ddgbr0n8kic3y"
|
|
|
|
|
|
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_pw4mj"]
|
|
|
|
|
radius = 10.0
|
|
|
|
|
|
|
|
|
|
[node name="Maxence" instance=ExtResource("1_laam8")]
|
|
|
|
|
tower_name = "Maxence"
|
|
|
|
|
tower_type = 3
|
|
|
|
|
icone = ExtResource("2_sciv6")
|
|
|
|
|
bio = ""
|
|
|
|
|
price = 200
|
|
|
|
|
projectileRessource = SubResource("Resource_sciv6")
|
|
|
|
|
towerRange = SubResource("SphereShape3D_pw4mj")
|
|
|
|
|
action_cooldown = 3.0
|
|
|
|
|
energy_regen = 20.0
|
2025-09-03 00:03:15 +02:00
|
|
|
energy_cost = 25.0
|
2025-09-02 19:49:40 +02:00
|
|
|
tower_shop = Array[ExtResource("4_l8w4i")]([])
|
|
|
|
|
|
|
|
|
|
[node name="Sprite3D" parent="." index="5"]
|
|
|
|
|
frame = 8
|