Cow_Life_Sim_RPG/Objects/Beach/SunningRock/SunningRock.tscn

48 lines
1.8 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://baj3yy1yf65uw"]
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_uy7qk"]
[ext_resource type="Texture2D" uid="uid://cn2qexqrtgngh" path="res://Objects/Beach/SunningRock/SunningRock.png" id="2_xlqsx"]
[ext_resource type="PackedScene" uid="uid://bqibe7ha6r5ls" path="res://Interactions/Interactable/interactable.tscn" id="3_e7rkt"]
[ext_resource type="PackedScene" uid="uid://dcmfjvp8h6k33" path="res://Interactions/SunningRock/SunningRockInteration.tscn" id="4_bdtrm"]
[sub_resource type="SpriteFrames" id="SpriteFrames_fts7c"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_xlqsx")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_dxbwj"]
radius = 45.0
height = 268.0
[node name="SunningRock" instance=ExtResource("1_uy7qk")]
[node name="AnimatedSprite2D" parent="." index="0"]
sprite_frames = SubResource("SpriteFrames_fts7c")
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
polygon = PackedVector2Array(28, -23, 83, -22, 106, -19, 126, -10, 128, 17, 114, 35, 92, 46, 68, 46, 43, 44, 5, 41, -30, 39, -63, 33, -92, 30, -115, 24, -126, 10, -126, -26, -119, -31, -91, -35, -60, -35, -19, -31)
[node name="Interactable" parent="." index="2" instance=ExtResource("3_e7rkt")]
[node name="Panel" parent="Interactable" index="1"]
offset_left = -117.0
offset_top = -38.0
offset_right = 126.0
offset_bottom = 31.0
[node name="SunningRockInteraction" parent="." index="3" instance=ExtResource("4_bdtrm")]
[node name="CollisionShape2D" parent="SunningRockInteraction/InteractionArea" index="0"]
rotation = 1.5708
shape = SubResource("CapsuleShape2D_dxbwj")
[editable path="Interactable"]
[editable path="Interactable/ActionMenu"]
[editable path="SunningRockInteraction"]