-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectionalAnimationStateMachine.tres
127 lines (100 loc) · 3.95 KB
/
DirectionalAnimationStateMachine.tres
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
[gd_resource type="AnimationNodeStateMachine" load_steps=27 format=2]
[sub_resource type="AnimationNodeAnimation" id=1]
animation = "AttackLeft"
[sub_resource type="AnimationNodeAnimation" id=2]
animation = "AttackDown"
[sub_resource type="AnimationNodeAnimation" id=3]
animation = "AttackRight"
[sub_resource type="AnimationNodeAnimation" id=4]
animation = "AttackUp"
[sub_resource type="AnimationNodeBlendSpace2D" id=5]
blend_point_0/node = SubResource( 1 )
blend_point_0/pos = Vector2( -1, 0 )
blend_point_1/node = SubResource( 2 )
blend_point_1/pos = Vector2( 0, 1.1 )
blend_point_2/node = SubResource( 3 )
blend_point_2/pos = Vector2( 1, 0 )
blend_point_3/node = SubResource( 4 )
blend_point_3/pos = Vector2( 0, -1.1 )
min_space = Vector2( -1, -1.1 )
max_space = Vector2( 1, 1.1 )
blend_mode = 1
[sub_resource type="AnimationNodeAnimation" id=6]
animation = "IdleLeft"
[sub_resource type="AnimationNodeAnimation" id=7]
animation = "IdleDown"
[sub_resource type="AnimationNodeAnimation" id=8]
animation = "IdleRight"
[sub_resource type="AnimationNodeAnimation" id=9]
animation = "IdleUp"
[sub_resource type="AnimationNodeBlendSpace2D" id=10]
blend_point_0/node = SubResource( 6 )
blend_point_0/pos = Vector2( -1, 0 )
blend_point_1/node = SubResource( 7 )
blend_point_1/pos = Vector2( 0, 1.1 )
blend_point_2/node = SubResource( 8 )
blend_point_2/pos = Vector2( 1, 0 )
blend_point_3/node = SubResource( 9 )
blend_point_3/pos = Vector2( 0, -1.1 )
min_space = Vector2( -1, -1.1 )
max_space = Vector2( 1, 1.1 )
blend_mode = 1
[sub_resource type="AnimationNodeAnimation" id=11]
animation = "RollLeft"
[sub_resource type="AnimationNodeAnimation" id=12]
animation = "RollUp"
[sub_resource type="AnimationNodeAnimation" id=13]
animation = "RollRight"
[sub_resource type="AnimationNodeAnimation" id=14]
animation = "RollDown"
[sub_resource type="AnimationNodeBlendSpace2D" id=15]
blend_point_0/node = SubResource( 11 )
blend_point_0/pos = Vector2( -1, 0 )
blend_point_1/node = SubResource( 12 )
blend_point_1/pos = Vector2( 0, -1.1 )
blend_point_2/node = SubResource( 13 )
blend_point_2/pos = Vector2( 1, 0 )
blend_point_3/node = SubResource( 14 )
blend_point_3/pos = Vector2( 0, 1.1 )
min_space = Vector2( -1, -1.1 )
max_space = Vector2( 1, 1.1 )
blend_mode = 1
[sub_resource type="AnimationNodeAnimation" id=16]
animation = "RunLeft"
[sub_resource type="AnimationNodeAnimation" id=17]
animation = "RunDown"
[sub_resource type="AnimationNodeAnimation" id=18]
animation = "RunRight"
[sub_resource type="AnimationNodeAnimation" id=19]
animation = "RunUp"
[sub_resource type="AnimationNodeBlendSpace2D" id=20]
blend_point_0/node = SubResource( 16 )
blend_point_0/pos = Vector2( -1, 0 )
blend_point_1/node = SubResource( 17 )
blend_point_1/pos = Vector2( 0, 1.1 )
blend_point_2/node = SubResource( 18 )
blend_point_2/pos = Vector2( 1, 0 )
blend_point_3/node = SubResource( 19 )
blend_point_3/pos = Vector2( 0, -1.1 )
min_space = Vector2( -1, -1.1 )
max_space = Vector2( 1, 1.1 )
blend_mode = 1
[sub_resource type="AnimationNodeStateMachineTransition" id=21]
[sub_resource type="AnimationNodeStateMachineTransition" id=22]
[sub_resource type="AnimationNodeStateMachineTransition" id=23]
[sub_resource type="AnimationNodeStateMachineTransition" id=24]
[sub_resource type="AnimationNodeStateMachineTransition" id=25]
[sub_resource type="AnimationNodeStateMachineTransition" id=26]
[resource]
resource_local_to_scene = true
states/Attack/node = SubResource( 5 )
states/Attack/position = Vector2( 216, 223 )
states/Idle/node = SubResource( 10 )
states/Idle/position = Vector2( 216, 122 )
states/Roll/node = SubResource( 15 )
states/Roll/position = Vector2( 216, 3 )
states/Run/node = SubResource( 20 )
states/Run/position = Vector2( 518, 122 )
transitions = [ "Idle", "Run", SubResource( 21 ), "Run", "Idle", SubResource( 22 ), "Idle", "Attack", SubResource( 23 ), "Attack", "Idle", SubResource( 24 ), "Idle", "Roll", SubResource( 25 ), "Roll", "Idle", SubResource( 26 ) ]
start_node = "Idle"
graph_offset = Vector2( -313, 42 )