[gd_scene format=3 uid="uid://4b8osd3h3xbm"] [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"] [node name="Pip" type="Area2D" unique_id=1889156888] script = ExtResource("1_2foya") Faction = 1 [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] texture = ExtResource("2_46jm3") [node name="HealthComponent" parent="." unique_id=1360050278 node_paths=PackedStringArray("Gfx") instance=ExtResource("3_46jm3")] offset_left = -35.0 offset_top = -18.0 offset_right = -8.0 offset_bottom = 110.0 scale = Vector2(0.28840518, 0.28840518) Gfx = NodePath("../Gfx") Health = 5.0 MaxHealth = 5.0 [connection signal="area_entered" from="." to="." method="_on_area_entered"]