untitled-plant-game/World/Flower.tscn
2021-12-06 20:32:17 +01:00

105 lines
2.8 KiB
Text

[gd_scene load_steps=22 format=2]
[ext_resource path="res://Aseprite/flower.png" type="Texture" id=1]
[ext_resource path="res://World/Flower.gd" type="Script" id=2]
[sub_resource type="AtlasTexture" id=12]
atlas = ExtResource( 1 )
region = Rect2( 72, 0, 9, 9 )
[sub_resource type="AtlasTexture" id=13]
atlas = ExtResource( 1 )
region = Rect2( 63, 0, 9, 9 )
[sub_resource type="AtlasTexture" id=14]
atlas = ExtResource( 1 )
region = Rect2( 45, 0, 9, 9 )
[sub_resource type="AtlasTexture" id=15]
atlas = ExtResource( 1 )
region = Rect2( 54, 0, 9, 9 )
[sub_resource type="AtlasTexture" id=16]
atlas = ExtResource( 1 )
region = Rect2( 36, 0, 9, 9 )
[sub_resource type="AtlasTexture" id=17]
atlas = ExtResource( 1 )
region = Rect2( 27, 0, 9, 9 )
[sub_resource type="AtlasTexture" id=18]
atlas = ExtResource( 1 )
region = Rect2( 18, 0, 9, 9 )
[sub_resource type="AtlasTexture" id=19]
atlas = ExtResource( 1 )
region = Rect2( 9, 0, 9, 9 )
[sub_resource type="AtlasTexture" id=20]
atlas = ExtResource( 1 )
region = Rect2( 0, 0, 9, 9 )
[sub_resource type="AtlasTexture" id=2]
atlas = ExtResource( 1 )
region = Rect2( 0, 0, 9, 9 )
[sub_resource type="AtlasTexture" id=3]
atlas = ExtResource( 1 )
region = Rect2( 9, 0, 9, 9 )
[sub_resource type="AtlasTexture" id=4]
atlas = ExtResource( 1 )
region = Rect2( 18, 0, 9, 9 )
[sub_resource type="AtlasTexture" id=5]
atlas = ExtResource( 1 )
region = Rect2( 27, 0, 9, 9 )
[sub_resource type="AtlasTexture" id=6]
atlas = ExtResource( 1 )
region = Rect2( 36, 0, 9, 9 )
[sub_resource type="AtlasTexture" id=7]
atlas = ExtResource( 1 )
region = Rect2( 45, 0, 9, 9 )
[sub_resource type="AtlasTexture" id=8]
atlas = ExtResource( 1 )
region = Rect2( 54, 0, 9, 9 )
[sub_resource type="AtlasTexture" id=9]
atlas = ExtResource( 1 )
region = Rect2( 63, 0, 9, 9 )
[sub_resource type="AtlasTexture" id=10]
atlas = ExtResource( 1 )
region = Rect2( 72, 0, 9, 9 )
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ SubResource( 12 ), SubResource( 13 ), SubResource( 14 ), SubResource( 15 ), SubResource( 16 ), SubResource( 17 ), SubResource( 18 ), SubResource( 19 ), SubResource( 20 ) ],
"loop": false,
"name": "remove",
"speed": 15.0
}, {
"frames": [ SubResource( 2 ), SubResource( 3 ), SubResource( 4 ), SubResource( 5 ), SubResource( 6 ), SubResource( 7 ), SubResource( 8 ), SubResource( 9 ), SubResource( 10 ) ],
"loop": false,
"name": "blossom",
"speed": 15.0
} ]
[node name="Flower" type="AnimatedSprite"]
frames = SubResource( 1 )
animation = "blossom"
frame = 8
playing = true
script = ExtResource( 2 )
[node name="Timer" type="Timer" parent="."]
wait_time = 120.0
autostart = true
[node name="Tween" type="Tween" parent="."]
[connection signal="animation_finished" from="." to="." method="_on_Flower_animation_finished"]
[connection signal="timeout" from="Timer" to="." method="remove"]