TowerDefense/Towers/Scenes/maxence.tscn

47 lines
1.4 KiB
Text
Raw Normal View History

[gd_scene load_steps=8 format=3 uid="uid://b1pg1hgysx3am"]
[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"]
[sub_resource type="SphereShape3D" id="SphereShape3D_sciv6"]
radius = 0.2
[sub_resource type="Resource" id="Resource_sciv6"]
script = ExtResource("2_7fox5")
speed = 40
damage = 10
maxTargets = 5
type = 2
allowedTargets = 1
damageArea = SubResource("SphereShape3D_sciv6")
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")
[node name="Maxence" instance=ExtResource("1_laam8")]
tower_name = "Maxence"
type = 3
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
energy_cost = 25.0
[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
2025-09-07 10:52:05 +02:00
value = 50.0