-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGrassStepEffect.tscn
More file actions
35 lines (27 loc) · 1000 Bytes
/
GrassStepEffect.tscn
File metadata and controls
35 lines (27 loc) · 1000 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[gd_scene load_steps=8 format=2]
[ext_resource path="res://Assets/Grass/grass_step_animation.png" type="Texture" id=1]
[ext_resource path="res://GrassStepEffect.gd" type="Script" id=2]
[sub_resource type="AtlasTexture" id=1]
atlas = ExtResource( 1 )
region = Rect2( 0, 0, 15, 14 )
[sub_resource type="AtlasTexture" id=2]
atlas = ExtResource( 1 )
region = Rect2( 15, 0, 15, 14 )
[sub_resource type="AtlasTexture" id=3]
atlas = ExtResource( 1 )
region = Rect2( 30, 0, 15, 14 )
[sub_resource type="AtlasTexture" id=4]
atlas = ExtResource( 1 )
region = Rect2( 45, 0, 15, 14 )
[sub_resource type="SpriteFrames" id=5]
animations = [ {
"frames": [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ), SubResource( 4 ) ],
"loop": true,
"name": "default",
"speed": 10.0
} ]
[node name="GrassStepEffect" type="AnimatedSprite"]
frames = SubResource( 5 )
centered = false
script = ExtResource( 2 )
[connection signal="animation_finished" from="." to="." method="_on_GrassStepEffect_animation_finished"]