-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGrassStepEffect.tscn
37 lines (29 loc) · 1.04 KB
/
GrassStepEffect.tscn
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
36
37
[gd_scene load_steps=8 format=2]
[ext_resource path="res://Assets/Map/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, 16, 16 )
[sub_resource type="AtlasTexture" id=2]
atlas = ExtResource( 1 )
region = Rect2( 16, 0, 16, 16 )
[sub_resource type="AtlasTexture" id=3]
atlas = ExtResource( 1 )
region = Rect2( 32, 0, 16, 16 )
[sub_resource type="AtlasTexture" id=4]
atlas = ExtResource( 1 )
region = Rect2( 48, 0, 16, 16 )
[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"]
position = Vector2( 0, -12 )
scale = Vector2( 0.75, 0.75 )
frames = SubResource( 5 )
centered = false
script = ExtResource( 2 )
[connection signal="animation_finished" from="." to="." method="_on_GrassStepEffect_animation_finished"]