61 lines
2.3 KiB
Text
61 lines
2.3 KiB
Text
[gd_scene load_steps=7 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://dn8qucrpq6k72" path="res://enemies/leech/segment_end.tscn" id="2_i1r8c"]
|
|
[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"]
|
|
[ext_resource type="AudioStream" uid="uid://co07360hqn6fk" path="res://sounds/686321__cjspellsfish__punch-land-soft.wav" id="4_b1m5t"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_cq6dk"]
|
|
size = Vector2(2, 12)
|
|
|
|
[node name="Leech" type="Node2D"]
|
|
scale = Vector2(1, 1.2)
|
|
script = ExtResource("1_6u582")
|
|
broadth = 200
|
|
max_hp = 80
|
|
|
|
[node name="Segments" type="Node2D" parent="."]
|
|
|
|
[node name="SegmentEnd1" parent="Segments" instance=ExtResource("2_i1r8c")]
|
|
rotation = 3.1415927
|
|
scale = Vector2(-1, -1)
|
|
|
|
[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="SegmentEnd2" parent="Segments" instance=ExtResource("2_i1r8c")]
|
|
|
|
[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, 8.8)
|
|
shape = SubResource("RectangleShape2D_cq6dk")
|
|
|
|
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
|
|
stream = ExtResource("4_b1m5t")
|
|
volume_db = 15.0
|