-
Notifications
You must be signed in to change notification settings - Fork 1
/
IceWorm.tscn
63 lines (55 loc) · 2.52 KB
/
IceWorm.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[gd_scene load_steps=21 format=2]
[ext_resource path="res://ice_worm_move_2.png" type="Texture" id=1]
[ext_resource path="res://ice_worm_bite_10.png" type="Texture" id=2]
[ext_resource path="res://ice_worm_bite_7.png" type="Texture" id=3]
[ext_resource path="res://ice_worm_bite_11.png" type="Texture" id=4]
[ext_resource path="res://ice_worm_bite_3.png" type="Texture" id=5]
[ext_resource path="res://ice_worm_move_5.png" type="Texture" id=6]
[ext_resource path="res://ice_worm_move_1.png" type="Texture" id=7]
[ext_resource path="res://ice_worm_bite_4.png" type="Texture" id=8]
[ext_resource path="res://ice_worm_bite_6.png" type="Texture" id=9]
[ext_resource path="res://ice_worm_move_4.png" type="Texture" id=10]
[ext_resource path="res://ice_worm_move_6.png" type="Texture" id=11]
[ext_resource path="res://ice_worm_bite_9.png" type="Texture" id=12]
[ext_resource path="res://ice_worm_bite_5.png" type="Texture" id=13]
[ext_resource path="res://ice_worm_bite_1.png" type="Texture" id=14]
[ext_resource path="res://ice_worm_bite_8.png" type="Texture" id=15]
[ext_resource path="res://ice_worm_bite_2.png" type="Texture" id=16]
[ext_resource path="res://ice_worm_move_3.png" type="Texture" id=17]
[ext_resource path="res://IceWorm.gd" type="Script" id=18]
[sub_resource type="CircleShape2D" id=2]
radius = 20.0
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 14 ), ExtResource( 16 ), ExtResource( 5 ), ExtResource( 8 ), ExtResource( 13 ), ExtResource( 9 ), ExtResource( 3 ), ExtResource( 15 ), ExtResource( 12 ), ExtResource( 2 ), ExtResource( 4 ) ],
"loop": false,
"name": "bite",
"speed": 10.0
}, {
"frames": [ ExtResource( 7 ), ExtResource( 1 ), ExtResource( 17 ), ExtResource( 10 ), ExtResource( 6 ), ExtResource( 11 ) ],
"loop": true,
"name": "default",
"speed": 5.0
}, {
"frames": [ ExtResource( 7 ), ExtResource( 1 ), ExtResource( 17 ), ExtResource( 10 ), ExtResource( 6 ), ExtResource( 11 ) ],
"loop": true,
"name": "move",
"speed": 5.0
} ]
[node name="IceWorm" type="Area2D"]
scale = Vector2( 8, 8 )
z_index = -2
script = ExtResource( 18 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
rotation = 1.58703
shape = SubResource( 2 )
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
position = Vector2( 0, 2 )
frames = SubResource( 1 )
frame = 5
playing = true
[node name="Timer" type="Timer" parent="."]
wait_time = 0.136
autostart = true
[connection signal="area_entered" from="." to="." method="_on_IceWorm_area_entered"]
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]