Cow_Life_Sim_RPG/NPCs/Beach/Whale/Whale.tscn

49 lines
1.5 KiB
Plaintext

[gd_scene load_steps=9 format=3 uid="uid://brmjavcajdu03"]
[ext_resource type="PackedScene" uid="uid://doqfsp7yxools" path="res://NPCs/NPC.tscn" id="1_3f7lk"]
[ext_resource type="Script" path="res://NPCs/Beach/Whale/Whale.gd" id="2_cs65o"]
[ext_resource type="Texture2D" uid="uid://bdddtyk2coax8" path="res://NPCs/Beach/Whale/Whale1.png" id="2_dbxph"]
[ext_resource type="Texture2D" uid="uid://do4kg2auu2dwm" path="res://NPCs/Beach/Whale/Whale2.png" id="3_r42pj"]
[ext_resource type="Script" path="res://Utils/PlayOnReady.gd" id="5_yfdiw"]
[sub_resource type="SpriteFrames" id="SpriteFrames_pa14j"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_dbxph")
}, {
"duration": 1.0,
"texture": ExtResource("3_r42pj")
}],
"loop": true,
"name": &"default",
"speed": 1.2
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_6t2cr"]
radius = 136.059
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_u025d"]
radius = 22.0
height = 326.0
[node name="Whale" instance=ExtResource("1_3f7lk")]
script = ExtResource("2_cs65o")
[node name="Sprite" parent="." index="0"]
position = Vector2(56, -68)
sprite_frames = SubResource("SpriteFrames_pa14j")
frame_progress = 0.804645
script = ExtResource("5_yfdiw")
[node name="CollisionShape2D" parent="Talkable/InteractionArea" index="0"]
position = Vector2(6, -11)
shape = SubResource("CircleShape2D_6t2cr")
[node name="CollisionShape2D" parent="." index="3"]
position = Vector2(46, 17)
rotation = 1.5708
shape = SubResource("CapsuleShape2D_u025d")
[editable path="Talkable"]