Cow_Life_Sim_RPG/Objects/world_object.tscn

25 lines
729 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://cujx1a8vwxsj8"]
[ext_resource type="Texture2D" uid="uid://8cf6ibofj62l" path="res://Objects/parking_lot.png" id="1_j21im"]
[sub_resource type="SpriteFrames" id="SpriteFrames_o3hsi"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("1_j21im")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[node name="WorldObject" type="Node2D"]
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_o3hsi")
[node name="StaticBody2D" type="StaticBody2D" parent="."]
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="StaticBody2D"]
polygon = PackedVector2Array(-99, -101, 98, -100, 101, 99, -101, 99)