more stuff

This commit is contained in:
2026-05-13 19:30:02 +02:00
parent 2bb1acbece
commit 37f4ea3b4e
9 changed files with 148 additions and 16 deletions

View File

@@ -2,17 +2,27 @@
[ext_resource type="Script" uid="uid://cdbkkb2cpwkn1" path="res://scripts/Pip.cs" id="1_2foya"]
[ext_resource type="Texture2D" uid="uid://dkpk1ubnmbl68" path="res://assets/pip.png" id="2_46jm3"]
[ext_resource type="PackedScene" uid="uid://dn6jqa3wj40ir" path="res://scripts/components/health_component.tscn" id="3_46jm3"]
[ext_resource type="Script" uid="uid://bfi1cm0m4wuk2" path="res://Damager.cs" id="4_6fdkq"]
[node name="Pip" type="Area2D" unique_id=1889156888 node_paths=PackedStringArray("Target")]
[node name="Pip" type="Area2D" unique_id=1889156888]
script = ExtResource("1_2foya")
Faction = 1
Target = NodePath("")
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="." unique_id=528123989]
polygon = PackedVector2Array(-18.5, -18.5, -18.5, 18.5, 18.5, 18.5, 18.5, -18.5)
[node name="Gfx" type="Sprite2D" parent="." unique_id=1494214084]
modulate = Color(0.5376854, 0.9999998, 0.6650417, 1)
texture = ExtResource("2_46jm3")
[node name="HealthComponent" parent="." unique_id=1360050278 node_paths=PackedStringArray("Gfx") instance=ExtResource("3_46jm3")]
visible = false
Gfx = NodePath("../Gfx")
Health = 5.0
MaxHealth = 5.0
[node name="Damager" type="Timer" parent="." unique_id=1839733483]
autostart = true
script = ExtResource("4_6fdkq")
[connection signal="area_entered" from="." to="." method="_on_area_entered"]