the-lost-memory/project/Shattered3.tscn

38 lines
984 B
Plaintext
Raw Permalink Normal View History

2022-11-17 17:52:05 +00:00
[gd_scene load_steps=8 format=2]
[ext_resource path="res://Shattered3.gd" type="Script" id=1]
[ext_resource path="res://sprites/petals.png" type="Texture" id=2]
[sub_resource type="AtlasTexture" id=7]
atlas = ExtResource( 2 )
region = Rect2( 0, 0, 26, 43 )
[sub_resource type="AtlasTexture" id=8]
atlas = ExtResource( 2 )
region = Rect2( 26, 0, 26, 43 )
[sub_resource type="AtlasTexture" id=9]
atlas = ExtResource( 2 )
region = Rect2( 52, 0, 26, 43 )
[sub_resource type="SpriteFrames" id=5]
animations = [ {
"frames": [ SubResource( 7 ), SubResource( 8 ), SubResource( 9 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]
[sub_resource type="RectangleShape2D" id=6]
extents = Vector2( 13, 23 )
[node name="Shattered3" type="StaticBody2D"]
script = ExtResource( 1 )
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
frames = SubResource( 5 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 0, 1 )
shape = SubResource( 6 )