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"]
|
|
|
|
|
|
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
|
|
|
|
|
|
2025-09-06 16:31:05 +02:00
|
|
|
[sub_resource type="ViewportTexture" id="ViewportTexture_7fox5"]
|
|
|
|
|
viewport_path = NodePath("EnergyBar3D/SubViewport")
|
|
|
|
|
|
2025-09-02 19:49:40 +02:00
|
|
|
[node name="Maxence" instance=ExtResource("1_laam8")]
|
|
|
|
|
tower_name = "Maxence"
|
2025-09-04 17:59:23 +02:00
|
|
|
type = 3
|
2025-09-02 19:49:40 +02:00
|
|
|
icone = ExtResource("2_sciv6")
|
|
|
|
|
bio = ""
|
|
|
|
|
price = 200
|
|
|
|
|
projectileRessource = SubResource("Resource_sciv6")
|
|
|
|
|
towerRange = SubResource("SphereShape3D_pw4mj")
|
|
|
|
|
action_cooldown = 3.0
|
2025-09-06 16:31:05 +02:00
|
|
|
max_energy = 50.0
|
2025-09-03 00:03:15 +02:00
|
|
|
energy_cost = 25.0
|
2025-09-02 19:49:40 +02:00
|
|
|
|
|
|
|
|
[node name="Sprite3D" parent="." index="5"]
|
|
|
|
|
frame = 8
|
2025-09-06 16:31:05 +02:00
|
|
|
|
|
|
|
|
[node name="EnergyBar3D" parent="." index="6"]
|
|
|
|
|
texture = SubResource("ViewportTexture_7fox5")
|
|
|
|
|
|
|
|
|
|
[node name="EnergyBar2D" parent="EnergyBar3D/SubViewport" index="0"]
|
|
|
|
|
max_value = 50.0
|