Cow_Life_Sim_RPG/NPCs/Beach/Seal/Seal.tscn

73 lines
2.5 KiB
Plaintext

[gd_scene load_steps=8 format=3 uid="uid://cn0rlu1x4kakc"]
[ext_resource type="PackedScene" uid="uid://doqfsp7yxools" path="res://NPCs/NPC.tscn" id="1_evrv5"]
[ext_resource type="Script" path="res://NPCs/Beach/Seal/Seal.gd" id="2_sblbo"]
[ext_resource type="Texture2D" uid="uid://dklkoqcx0qhf1" path="res://NPCs/Beach/Seal/Seal.png" id="3_fi4iu"]
[ext_resource type="Texture2D" uid="uid://oggti7coatvk" path="res://NPCs/Beach/Seal/SealNote.png" id="4_uqs8h"]
[ext_resource type="PackedScene" uid="uid://bwbddg5e5xi54" path="res://Objects/Beach/Ball/SealBall.tscn" id="5_fuf70"]
[sub_resource type="SpriteFrames" id="SpriteFrames_xdtoc"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("3_fi4iu")
}, {
"duration": 1.0,
"texture": ExtResource("4_uqs8h")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_bsf3e"]
radius = 98.2033
[node name="Seal" instance=ExtResource("1_evrv5")]
script = ExtResource("2_sblbo")
[node name="Sprite" parent="." index="0"]
position = Vector2(-1.2, 21.2)
sprite_frames = SubResource("SpriteFrames_xdtoc")
frame = 1
[node name="Interactable" parent="." index="1"]
position = Vector2(-1.2, 21.2)
[node name="Panel" parent="Interactable" index="1"]
offset_left = -104.0
offset_top = -49.0
offset_right = -32.0
offset_bottom = -23.0
scale = Vector2(3, 3.3)
metadata/_edit_use_anchors_ = true
[node name="Talkable" parent="." index="2"]
position = Vector2(-1.2, 21.2)
[node name="CollisionShape2D" parent="Talkable/InteractionArea" index="0"]
shape = SubResource("CircleShape2D_bsf3e")
[node name="CollisionShape2D" parent="." index="3"]
position = Vector2(-1.2, 25.2)
disabled = true
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="." index="4"]
position = Vector2(-1.2, 64.2)
polygon = PackedVector2Array(-102, -72, -91, -56, -30, -18, 27, -9, 53, 0, 58, -9, 103, -11, 104, -34, 92, -55, 91, -68, 72, -64, -26, -84, -71, -84, -99, -78)
[node name="SealBall" parent="." index="5" instance=ExtResource("5_fuf70")]
position = Vector2(45, -26)
lock_rotation = false
[node name="BallCatchArea" type="Area2D" parent="." index="6"]
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="BallCatchArea" index="0"]
polygon = PackedVector2Array(-113, 18, -78, 60, 2, 79, 82, 81, 128, 63, 144, 31, 135, -8, 101, -37, 1, -64, -78, -62, -119, -26)
[connection signal="body_entered" from="BallCatchArea" to="." method="_on_ball_catch_area_body_entered"]
[editable path="Interactable"]
[editable path="Interactable/ActionMenu"]
[editable path="Talkable"]