Cow_Life_Sim_RPG/Objects/Beach/Buoy/YellowBuoy.tscn

32 lines
1.2 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://bet7kc6462ock"]
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_53lko"]
[ext_resource type="Texture2D" uid="uid://c822al5wy7jou" path="res://Objects/Beach/Buoy/YellowBuoy1.png" id="2_qxov1"]
[ext_resource type="Texture2D" uid="uid://c2y78pwk6u72r" path="res://Objects/Beach/Buoy/YellowBuoy2.png" id="3_3aa04"]
[ext_resource type="Script" path="res://Utils/PlayOnReady.gd" id="4_fh4qc"]
[sub_resource type="SpriteFrames" id="SpriteFrames_o500p"]
animations = [{
"frames": [{
"duration": 9.0,
"texture": ExtResource("2_qxov1")
}, {
"duration": 9.0,
"texture": ExtResource("3_3aa04")
}],
"loop": true,
"name": &"default",
"speed": 10.0
}]
[node name="YellowBuoy" instance=ExtResource("1_53lko")]
[node name="AnimatedSprite2D" parent="." index="0"]
position = Vector2(1, -26)
sprite_frames = SubResource("SpriteFrames_o500p")
frame_progress = 0.00571462
script = ExtResource("4_fh4qc")
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
polygon = PackedVector2Array(35, 5, 35, 13, 25, 21, 17, 23, -13, 22, -24, 19, -31, 14, -34, 10, -34, 4, -29, 1, -20, 0, -12, 0, 18, 0, 26, 1, 31, 2)