[gd_scene load_steps=5 format=3 uid="uid://b62xcg0dd3vct"] [ext_resource type="Script" uid="uid://b70f2ylbb3btt" path="res://enemies/leech/leech.gd" id="1_6u582"] [ext_resource type="PackedScene" uid="uid://cvoicwo2xnf7e" path="res://enemies/leech/segment.tscn" id="2_oqch2"] [ext_resource type="PackedScene" uid="uid://chs0u61f45nau" path="res://utils/earth_aligner.tscn" id="3_0r7dp"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_cq6dk"] size = Vector2(2, 24) [node name="Leech" type="Node2D"] scale = Vector2(1, 1.2) script = ExtResource("1_6u582") broadth = 200 hp = 250 [node name="Segments" type="Node2D" parent="."] [node name="Segment0" parent="Segments" instance=ExtResource("2_oqch2")] [node name="Segment2" parent="Segments" instance=ExtResource("2_oqch2")] [node name="Segment3" parent="Segments" instance=ExtResource("2_oqch2")] [node name="Segment4" parent="Segments" instance=ExtResource("2_oqch2")] [node name="Segment5" parent="Segments" instance=ExtResource("2_oqch2")] [node name="Segment6" parent="Segments" instance=ExtResource("2_oqch2")] [node name="Segment7" parent="Segments" instance=ExtResource("2_oqch2")] [node name="Segment8" parent="Segments" instance=ExtResource("2_oqch2")] [node name="Segment9" parent="Segments" instance=ExtResource("2_oqch2")] [node name="EarthAligner" parent="." instance=ExtResource("3_0r7dp")] [node name="RayCast2D" type="Area2D" parent="."] position = Vector2(248, 31.2) collision_layer = 0 collision_mask = 8 [node name="CollisionShape2D" type="CollisionShape2D" parent="RayCast2D"] position = Vector2(0, 14.8) shape = SubResource("RectangleShape2D_cq6dk") [node name="RayCast2D2" type="Area2D" parent="."] collision_layer = 0 collision_mask = 8 [node name="CollisionShape2D" type="CollisionShape2D" parent="RayCast2D2"] position = Vector2(0, 14.8) shape = SubResource("RectangleShape2D_cq6dk")