@roost2d/chikn-rigs 0.1.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +14 -0
- package/dist/data/chikn-anims.json +220 -0
- package/dist/data/chikn-rig.json +4348 -0
- package/dist/data/roostr-anims.json +220 -0
- package/dist/data/roostr-rig.json +5081 -0
- package/dist/index.d.ts +51 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +98 -0
- package/dist/index.js.map +1 -0
- package/package.json +14 -0
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
{
|
|
2
|
+
"animations": {
|
|
3
|
+
"walk": {
|
|
4
|
+
"duration": 0.5,
|
|
5
|
+
"tweens": [
|
|
6
|
+
{ "target": "Torso", "at": 0.0, "properties": { "y": -8, "rotation": 0, "duration": 0.125 } },
|
|
7
|
+
{ "target": "Torso", "at": 0.125, "properties": { "y": 0, "rotation": -1, "duration": 0.125 } },
|
|
8
|
+
{ "target": "Torso", "at": 0.25, "properties": { "y": -8, "rotation": 0, "duration": 0.125 } },
|
|
9
|
+
{ "target": "Torso", "at": 0.375, "properties": { "y": 0, "rotation": 1, "duration": 0.125 } },
|
|
10
|
+
{ "target": "Head", "at": 0.0, "properties": { "rotation": -2, "duration": 0.25 } },
|
|
11
|
+
{ "target": "Head", "at": 0.25, "properties": { "rotation": 8, "duration": 0.25 } },
|
|
12
|
+
{ "target": "Tail", "at": 0.0, "properties": { "rotation": -5, "duration": 0.25 } },
|
|
13
|
+
{ "target": "Tail", "at": 0.25, "properties": { "rotation": -15, "duration": 0.25 } },
|
|
14
|
+
{ "target": "Wing A", "at": 0.0, "properties": { "rotation": -10, "duration": 0.25 } },
|
|
15
|
+
{ "target": "Wing A", "at": 0.25, "properties": { "rotation": 10, "duration": 0.25 } },
|
|
16
|
+
{ "target": "Wing B", "at": 0.0, "properties": { "rotation": 10, "duration": 0.25 } },
|
|
17
|
+
{ "target": "Wing B", "at": 0.25, "properties": { "rotation": -10, "duration": 0.25 } },
|
|
18
|
+
{ "target": "LegUpper A", "at": 0.0, "properties": { "rotation": 30, "duration": 0.25 } },
|
|
19
|
+
{ "target": "LegUpper A", "at": 0.25, "properties": { "rotation": -30, "duration": 0.25 } },
|
|
20
|
+
{ "target": "LegUpper B", "at": 0.0, "properties": { "rotation": -30, "duration": 0.25 } },
|
|
21
|
+
{ "target": "LegUpper B", "at": 0.25, "properties": { "rotation": 30, "duration": 0.25 } }
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"slowed": {
|
|
25
|
+
"duration": 1.0,
|
|
26
|
+
"tweens": [
|
|
27
|
+
{ "target": "Torso", "at": 0.0, "properties": { "y": 8, "rotation": -8, "duration": 0.5 } },
|
|
28
|
+
{ "target": "Torso", "at": 0.5, "properties": { "y": 5, "rotation": -6, "duration": 0.5 } },
|
|
29
|
+
{ "target": "Head", "at": 0.0, "properties": { "rotation": -15, "duration": 0.5 } },
|
|
30
|
+
{ "target": "Head", "at": 0.5, "properties": { "rotation": -12, "duration": 0.5 } },
|
|
31
|
+
{ "target": "LegUpper A", "at": 0.0, "properties": { "rotation": -40, "duration": 0.5 } },
|
|
32
|
+
{ "target": "LegUpper A", "at": 0.5, "properties": { "rotation": 20, "duration": 0.5 } },
|
|
33
|
+
{ "target": "LegUpper B", "at": 0.0, "properties": { "rotation": 20, "duration": 0.5 } },
|
|
34
|
+
{ "target": "LegUpper B", "at": 0.5, "properties": { "rotation": -40, "duration": 0.5 } },
|
|
35
|
+
{ "target": "Wing A", "at": 0.0, "properties": { "rotation": 20, "duration": 0.5 } },
|
|
36
|
+
{ "target": "Wing A", "at": 0.5, "properties": { "rotation": 10, "duration": 0.5 } }
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
"hit": {
|
|
40
|
+
"duration": 0.35,
|
|
41
|
+
"tweens": [
|
|
42
|
+
{ "target": "Torso", "at": 0.0, "properties": { "rotation": -15, "x": -10, "duration": 0.08 } },
|
|
43
|
+
{ "target": "Torso", "at": 0.08, "properties": { "rotation": 10, "x": 5, "duration": 0.12 } },
|
|
44
|
+
{ "target": "Torso", "at": 0.2, "properties": { "rotation": 0, "x": 0, "duration": 0.15 } },
|
|
45
|
+
{ "target": "Head", "at": 0.0, "properties": { "rotation": 15, "duration": 0.08 } },
|
|
46
|
+
{ "target": "Head", "at": 0.08, "properties": { "rotation": -5, "duration": 0.27 } }
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
"fly": {
|
|
50
|
+
"duration": 0.4,
|
|
51
|
+
"tweens": [
|
|
52
|
+
{ "target": "Torso", "at": 0.0, "properties": { "y": -15, "duration": 0.2 } },
|
|
53
|
+
{ "target": "Torso", "at": 0.2, "properties": { "y": 0, "duration": 0.2 } },
|
|
54
|
+
{ "target": "Wing A", "at": 0.0, "properties": { "rotation": 40, "duration": 0.2 } },
|
|
55
|
+
{ "target": "Wing A", "at": 0.2, "properties": { "rotation": -40, "duration": 0.2 } },
|
|
56
|
+
{ "target": "Wing B", "at": 0.0, "properties": { "rotation": -40, "duration": 0.2 } },
|
|
57
|
+
{ "target": "Wing B", "at": 0.2, "properties": { "rotation": 40, "duration": 0.2 } },
|
|
58
|
+
{ "target": "LegUpper A", "at": 0.0, "properties": { "rotation": 78, "duration": 0.08 } },
|
|
59
|
+
{ "target": "LegUpper A", "at": 0.08, "properties": { "rotation": 68, "duration": 0.12 } },
|
|
60
|
+
{ "target": "LegUpper A", "at": 0.2, "properties": { "rotation": 78, "duration": 0.12 } },
|
|
61
|
+
{ "target": "LegUpper A", "at": 0.32, "properties": { "rotation": 0, "duration": 0.08 } },
|
|
62
|
+
{ "target": "LegUpper B", "at": 0.0, "properties": { "rotation": 70, "duration": 0.08 } },
|
|
63
|
+
{ "target": "LegUpper B", "at": 0.08, "properties": { "rotation": 80, "duration": 0.12 } },
|
|
64
|
+
{ "target": "LegUpper B", "at": 0.2, "properties": { "rotation": 70, "duration": 0.12 } },
|
|
65
|
+
{ "target": "LegUpper B", "at": 0.32, "properties": { "rotation": 0, "duration": 0.08 } }
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
"attack": {
|
|
69
|
+
"duration": 0.3,
|
|
70
|
+
"tweens": [
|
|
71
|
+
{ "target": "Head", "at": 0.0, "properties": { "rotation": 45.0, "duration": 0.1 } },
|
|
72
|
+
{ "target": "Head", "at": 0.1, "properties": { "rotation": -10.0, "duration": 0.08 } },
|
|
73
|
+
{ "target": "Head", "at": 0.18, "properties": { "rotation": 5.0, "duration": 0.12 } },
|
|
74
|
+
{ "target": "Wing A", "at": 0.0, "properties": { "rotation": 100, "duration": 0.2 } },
|
|
75
|
+
{ "target": "Wing A", "at": 0.2, "properties": { "rotation": -100, "duration": 0.2 } },
|
|
76
|
+
{ "target": "Wing B", "at": 0.0, "properties": { "rotation": -100, "duration": 0.2 } },
|
|
77
|
+
{ "target": "Wing B", "at": 0.2, "properties": { "rotation": 100, "duration": 0.2 } }
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
"peck": {
|
|
81
|
+
"duration": 0.64,
|
|
82
|
+
"tweens": [
|
|
83
|
+
{ "target": "Torso", "at": 0.0, "properties": { "rotation": -9, "duration": 0.14 } },
|
|
84
|
+
{ "target": "Torso", "at": 0.14, "properties": { "rotation": -21, "duration": 0.14 } },
|
|
85
|
+
{ "target": "Torso", "at": 0.28, "properties": { "rotation": -9, "duration": 0.16 } },
|
|
86
|
+
{ "target": "Torso", "at": 0.44, "properties": { "rotation": 0, "duration": 0.2 } },
|
|
87
|
+
{ "target": "Head", "at": 0.0, "properties": { "rotation": 12, "duration": 0.14 } },
|
|
88
|
+
{ "target": "Head", "at": 0.14, "properties": { "rotation": 118, "duration": 0.14 } },
|
|
89
|
+
{ "target": "Head", "at": 0.28, "properties": { "rotation": -16, "duration": 0.12 } },
|
|
90
|
+
{ "target": "Head", "at": 0.4, "properties": { "rotation": 18, "duration": 0.24 } },
|
|
91
|
+
{ "target": "LegUpper A", "at": 0.0, "properties": { "rotation": 24, "duration": 0.28 } },
|
|
92
|
+
{ "target": "LegUpper B", "at": 0.0, "properties": { "rotation": -20, "duration": 0.28 } }
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
"attack_peck": {
|
|
96
|
+
"duration": 0.3,
|
|
97
|
+
"tweens": [
|
|
98
|
+
{ "target": "Torso", "at": 0.0, "properties": { "rotation": -6, "x": -4, "duration": 0.08 } },
|
|
99
|
+
{ "target": "Torso", "at": 0.08, "properties": { "rotation": 5, "x": 9, "duration": 0.1 } },
|
|
100
|
+
{ "target": "Torso", "at": 0.18, "properties": { "rotation": 0, "x": 0, "duration": 0.12 } },
|
|
101
|
+
{ "target": "Head", "at": 0.0, "properties": { "rotation": -16, "duration": 0.08 } },
|
|
102
|
+
{ "target": "Head", "at": 0.08, "properties": { "rotation": 62, "duration": 0.08 } },
|
|
103
|
+
{ "target": "Head", "at": 0.16, "properties": { "rotation": 0, "duration": 0.14 } },
|
|
104
|
+
{ "target": "Wing A", "at": 0.0, "properties": { "rotation": 26, "duration": 0.1 } },
|
|
105
|
+
{ "target": "Wing A", "at": 0.1, "properties": { "rotation": 0, "duration": 0.2 } },
|
|
106
|
+
{ "target": "Wing B", "at": 0.0, "properties": { "rotation": -26, "duration": 0.1 } },
|
|
107
|
+
{ "target": "Wing B", "at": 0.1, "properties": { "rotation": 0, "duration": 0.2 } }
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
"attack_heavy": {
|
|
111
|
+
"duration": 0.52,
|
|
112
|
+
"tweens": [
|
|
113
|
+
{ "target": "Torso", "at": 0.0, "properties": { "rotation": -22, "x": -12, "y": -4, "duration": 0.2 } },
|
|
114
|
+
{ "target": "Torso", "at": 0.2, "properties": { "rotation": 18, "x": 14, "y": 2, "duration": 0.14 } },
|
|
115
|
+
{ "target": "Torso", "at": 0.34, "properties": { "rotation": 0, "x": 0, "y": 0, "duration": 0.18 } },
|
|
116
|
+
{ "target": "Head", "at": 0.0, "properties": { "rotation": -28, "duration": 0.2 } },
|
|
117
|
+
{ "target": "Head", "at": 0.2, "properties": { "rotation": 40, "duration": 0.14 } },
|
|
118
|
+
{ "target": "Head", "at": 0.34, "properties": { "rotation": 0, "duration": 0.18 } },
|
|
119
|
+
{ "target": "Wing A", "at": 0.0, "properties": { "rotation": -60, "duration": 0.2 } },
|
|
120
|
+
{ "target": "Wing A", "at": 0.2, "properties": { "rotation": 96, "duration": 0.16 } },
|
|
121
|
+
{ "target": "Wing A", "at": 0.36, "properties": { "rotation": 0, "duration": 0.16 } },
|
|
122
|
+
{ "target": "Wing B", "at": 0.0, "properties": { "rotation": 60, "duration": 0.2 } },
|
|
123
|
+
{ "target": "Wing B", "at": 0.2, "properties": { "rotation": -96, "duration": 0.16 } },
|
|
124
|
+
{ "target": "Wing B", "at": 0.36, "properties": { "rotation": 0, "duration": 0.16 } },
|
|
125
|
+
{ "target": "Tail", "at": 0.0, "properties": { "rotation": 20, "duration": 0.2 } },
|
|
126
|
+
{ "target": "Tail", "at": 0.2, "properties": { "rotation": -14, "duration": 0.32 } }
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
"stagger": {
|
|
130
|
+
"duration": 0.34,
|
|
131
|
+
"tweens": [
|
|
132
|
+
{ "target": "Torso", "at": 0.0, "properties": { "rotation": 20, "x": 12, "duration": 0.09 } },
|
|
133
|
+
{ "target": "Torso", "at": 0.09, "properties": { "rotation": -12, "x": -6, "duration": 0.12 } },
|
|
134
|
+
{ "target": "Torso", "at": 0.21, "properties": { "rotation": 0, "x": 0, "duration": 0.13 } },
|
|
135
|
+
{ "target": "Head", "at": 0.0, "properties": { "rotation": -24, "duration": 0.09 } },
|
|
136
|
+
{ "target": "Head", "at": 0.09, "properties": { "rotation": 8, "duration": 0.25 } },
|
|
137
|
+
{ "target": "Wing A", "at": 0.0, "properties": { "rotation": 36, "duration": 0.09 } },
|
|
138
|
+
{ "target": "Wing A", "at": 0.09, "properties": { "rotation": 0, "duration": 0.25 } },
|
|
139
|
+
{ "target": "Wing B", "at": 0.0, "properties": { "rotation": -36, "duration": 0.09 } },
|
|
140
|
+
{ "target": "Wing B", "at": 0.09, "properties": { "rotation": 0, "duration": 0.25 } }
|
|
141
|
+
]
|
|
142
|
+
},
|
|
143
|
+
"death_burst": {
|
|
144
|
+
"duration": 0.42,
|
|
145
|
+
"tweens": [
|
|
146
|
+
{ "target": "Torso", "at": 0.0, "properties": { "rotation": -18, "y": -10, "duration": 0.12 } },
|
|
147
|
+
{ "target": "Torso", "at": 0.12, "properties": { "rotation": 46, "y": 14, "duration": 0.3 } },
|
|
148
|
+
{ "target": "Head", "at": 0.0, "properties": { "rotation": -30, "duration": 0.12 } },
|
|
149
|
+
{ "target": "Head", "at": 0.12, "properties": { "rotation": 70, "duration": 0.3 } },
|
|
150
|
+
{ "target": "Wing A", "at": 0.0, "properties": { "rotation": 120, "duration": 0.14 } },
|
|
151
|
+
{ "target": "Wing A", "at": 0.14, "properties": { "rotation": 60, "duration": 0.28 } },
|
|
152
|
+
{ "target": "Wing B", "at": 0.0, "properties": { "rotation": -120, "duration": 0.14 } },
|
|
153
|
+
{ "target": "Wing B", "at": 0.14, "properties": { "rotation": -60, "duration": 0.28 } },
|
|
154
|
+
{ "target": "LegUpper A", "at": 0.0, "properties": { "rotation": -50, "duration": 0.14 } },
|
|
155
|
+
{ "target": "LegUpper B", "at": 0.0, "properties": { "rotation": 50, "duration": 0.14 } },
|
|
156
|
+
{ "target": "Tail", "at": 0.0, "properties": { "rotation": 40, "duration": 0.2 } }
|
|
157
|
+
]
|
|
158
|
+
},
|
|
159
|
+
"spawn_drop": {
|
|
160
|
+
"duration": 0.46,
|
|
161
|
+
"tweens": [
|
|
162
|
+
{ "target": "Torso", "at": 0.0, "properties": { "y": -46, "rotation": 8, "duration": 0.22 } },
|
|
163
|
+
{ "target": "Torso", "at": 0.22, "properties": { "y": 6, "rotation": 0, "duration": 0.1 } },
|
|
164
|
+
{ "target": "Torso", "at": 0.32, "properties": { "y": 0, "duration": 0.14 } },
|
|
165
|
+
{ "target": "Head", "at": 0.0, "properties": { "rotation": -18, "duration": 0.22 } },
|
|
166
|
+
{ "target": "Head", "at": 0.22, "properties": { "rotation": 10, "duration": 0.12 } },
|
|
167
|
+
{ "target": "Head", "at": 0.34, "properties": { "rotation": 0, "duration": 0.12 } },
|
|
168
|
+
{ "target": "Wing A", "at": 0.0, "properties": { "rotation": -70, "duration": 0.22 } },
|
|
169
|
+
{ "target": "Wing A", "at": 0.22, "properties": { "rotation": 30, "duration": 0.12 } },
|
|
170
|
+
{ "target": "Wing A", "at": 0.34, "properties": { "rotation": 0, "duration": 0.12 } },
|
|
171
|
+
{ "target": "Wing B", "at": 0.0, "properties": { "rotation": 70, "duration": 0.22 } },
|
|
172
|
+
{ "target": "Wing B", "at": 0.22, "properties": { "rotation": -30, "duration": 0.12 } },
|
|
173
|
+
{ "target": "Wing B", "at": 0.34, "properties": { "rotation": 0, "duration": 0.12 } },
|
|
174
|
+
{ "target": "LegUpper A", "at": 0.22, "properties": { "rotation": 40, "duration": 0.1 } },
|
|
175
|
+
{ "target": "LegUpper A", "at": 0.32, "properties": { "rotation": 0, "duration": 0.14 } },
|
|
176
|
+
{ "target": "LegUpper B", "at": 0.22, "properties": { "rotation": -40, "duration": 0.1 } },
|
|
177
|
+
{ "target": "LegUpper B", "at": 0.32, "properties": { "rotation": 0, "duration": 0.14 } }
|
|
178
|
+
]
|
|
179
|
+
},
|
|
180
|
+
"extraction_bow": {
|
|
181
|
+
"duration": 0.72,
|
|
182
|
+
"tweens": [
|
|
183
|
+
{ "target": "Torso", "at": 0.2, "properties": { "rotation": 24, "y": 6, "duration": 0.2 } },
|
|
184
|
+
{ "target": "Torso", "at": 0.4, "properties": { "rotation": 24, "y": 6, "duration": 0.14 } },
|
|
185
|
+
{ "target": "Torso", "at": 0.54, "properties": { "rotation": 0, "y": 0, "duration": 0.18 } },
|
|
186
|
+
{ "target": "Head", "at": 0.2, "properties": { "rotation": 40, "duration": 0.2 } },
|
|
187
|
+
{ "target": "Head", "at": 0.4, "properties": { "rotation": 40, "duration": 0.14 } },
|
|
188
|
+
{ "target": "Head", "at": 0.54, "properties": { "rotation": 0, "duration": 0.18 } },
|
|
189
|
+
{ "target": "Wing A", "at": 0.2, "properties": { "rotation": -30, "duration": 0.34 } },
|
|
190
|
+
{ "target": "Wing A", "at": 0.54, "properties": { "rotation": 0, "duration": 0.18 } },
|
|
191
|
+
{ "target": "Wing B", "at": 0.2, "properties": { "rotation": 30, "duration": 0.34 } },
|
|
192
|
+
{ "target": "Wing B", "at": 0.54, "properties": { "rotation": 0, "duration": 0.18 } },
|
|
193
|
+
{ "target": "Tail", "at": 0.2, "properties": { "rotation": -18, "duration": 0.34 } },
|
|
194
|
+
{ "target": "Tail", "at": 0.54, "properties": { "rotation": 0, "duration": 0.18 } }
|
|
195
|
+
]
|
|
196
|
+
},
|
|
197
|
+
"draft_cheer": {
|
|
198
|
+
"duration": 0.6,
|
|
199
|
+
"tweens": [
|
|
200
|
+
{ "target": "Torso", "at": 0.0, "properties": { "y": 4, "duration": 0.1 } },
|
|
201
|
+
{ "target": "Torso", "at": 0.1, "properties": { "y": -18, "duration": 0.16 } },
|
|
202
|
+
{ "target": "Torso", "at": 0.26, "properties": { "y": 0, "duration": 0.16 } },
|
|
203
|
+
{ "target": "Torso", "at": 0.42, "properties": { "y": -8, "duration": 0.1 } },
|
|
204
|
+
{ "target": "Torso", "at": 0.52, "properties": { "y": 0, "duration": 0.08 } },
|
|
205
|
+
{ "target": "Head", "at": 0.0, "properties": { "rotation": -16, "duration": 0.2 } },
|
|
206
|
+
{ "target": "Head", "at": 0.2, "properties": { "rotation": 6, "duration": 0.4 } },
|
|
207
|
+
{ "target": "Wing A", "at": 0.0, "properties": { "rotation": -80, "duration": 0.14 } },
|
|
208
|
+
{ "target": "Wing A", "at": 0.14, "properties": { "rotation": 40, "duration": 0.14 } },
|
|
209
|
+
{ "target": "Wing A", "at": 0.28, "properties": { "rotation": -60, "duration": 0.14 } },
|
|
210
|
+
{ "target": "Wing A", "at": 0.42, "properties": { "rotation": 0, "duration": 0.18 } },
|
|
211
|
+
{ "target": "Wing B", "at": 0.0, "properties": { "rotation": 80, "duration": 0.14 } },
|
|
212
|
+
{ "target": "Wing B", "at": 0.14, "properties": { "rotation": -40, "duration": 0.14 } },
|
|
213
|
+
{ "target": "Wing B", "at": 0.28, "properties": { "rotation": 60, "duration": 0.14 } },
|
|
214
|
+
{ "target": "Wing B", "at": 0.42, "properties": { "rotation": 0, "duration": 0.18 } },
|
|
215
|
+
{ "target": "Tail", "at": 0.0, "properties": { "rotation": -20, "duration": 0.3 } },
|
|
216
|
+
{ "target": "Tail", "at": 0.3, "properties": { "rotation": 0, "duration": 0.3 } }
|
|
217
|
+
]
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|