Skip to content

Commit f346e3f

Browse files
authored
fix: Bump spine version and update example files (#3534)
Since the format of the spine files that we had was outdated it had to be updated. Closes: #3533
1 parent db8e0b2 commit f346e3f

File tree

7 files changed

+136
-134
lines changed

7 files changed

+136
-134
lines changed

examples/assets/spine/spineboy-pro.json

Lines changed: 41 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"skeleton": {
3-
"hash": "itfFESDjM1c",
4-
"spine": "4.1.23-beta",
3+
"hash": "dr3Kr/vMgPA",
4+
"spine": "4.2.22",
55
"x": -188.63,
66
"y": -7.94,
77
"width": 418.45,
@@ -12,7 +12,7 @@
1212
"bones": [
1313
{ "name": "root", "rotation": 0.05 },
1414
{ "name": "hip", "parent": "root", "y": 247.27 },
15-
{ "name": "crosshair", "parent": "root", "x": 302.83, "y": 569.45, "color": "ff3f00ff" },
15+
{ "name": "crosshair", "parent": "root", "x": 302.83, "y": 569.45, "color": "ff3f00ff", "icon": "circle" },
1616
{
1717
"name": "aim-constraint-target",
1818
"parent": "hip",
@@ -22,8 +22,8 @@
2222
"y": 5.62,
2323
"color": "abe323ff"
2424
},
25-
{ "name": "rear-foot-target", "parent": "root", "x": 61.91, "y": 0.42, "color": "ff3f00ff" },
26-
{ "name": "rear-leg-target", "parent": "rear-foot-target", "x": -33.91, "y": 37.34, "color": "ff3f00ff" },
25+
{ "name": "rear-foot-target", "parent": "root", "x": 61.91, "y": 0.42, "color": "ff3f00ff", "icon": "ik" },
26+
{ "name": "rear-leg-target", "parent": "rear-foot-target", "x": -33.91, "y": 37.34, "color": "ff3f00ff", "icon": "ik" },
2727
{
2828
"name": "rear-thigh",
2929
"parent": "hip",
@@ -58,12 +58,20 @@
5858
"rotation": -0.85,
5959
"x": 51.17,
6060
"y": 0.24,
61-
"transform": "noRotationOrReflection",
61+
"inherit": "noRotationOrReflection",
6262
"color": "ff000dff"
6363
},
64-
{ "name": "board-ik", "parent": "root", "x": -131.78, "y": 69.09, "color": "4c56ffff" },
64+
{ "name": "board-ik", "parent": "root", "x": -131.78, "y": 69.09, "color": "4c56ffff", "icon": "arrows" },
6565
{ "name": "clipping", "parent": "root" },
66-
{ "name": "hoverboard-controller", "parent": "root", "rotation": -0.28, "x": -329.69, "y": 69.82, "color": "ff0004ff" },
66+
{
67+
"name": "hoverboard-controller",
68+
"parent": "root",
69+
"rotation": -0.28,
70+
"x": -329.69,
71+
"y": 69.82,
72+
"color": "ff0004ff",
73+
"icon": "arrowsB"
74+
},
6775
{ "name": "exhaust1", "parent": "hoverboard-controller", "rotation": 3.02, "x": -249.68, "y": 53.39 },
6876
{ "name": "exhaust2", "parent": "hoverboard-controller", "rotation": 26.34, "x": -191.6, "y": -22.92 },
6977
{
@@ -76,16 +84,16 @@
7684
"scaleY": 0.7847
7785
},
7886
{ "name": "portal-root", "parent": "root", "x": 12.9, "y": 328.54, "scaleX": 2.0334, "scaleY": 2.0334 },
79-
{ "name": "flare1", "parent": "portal-root", "x": -6.34, "y": -161.57 },
80-
{ "name": "flare10", "parent": "portal-root", "x": -6.34, "y": -161.57 },
81-
{ "name": "flare2", "parent": "portal-root", "x": -6.34, "y": -161.57 },
82-
{ "name": "flare3", "parent": "portal-root", "x": -6.34, "y": -161.57 },
83-
{ "name": "flare4", "parent": "portal-root", "x": -6.34, "y": -161.57 },
84-
{ "name": "flare5", "parent": "portal-root", "x": -6.34, "y": -161.57 },
85-
{ "name": "flare6", "parent": "portal-root", "x": -6.34, "y": -161.57 },
86-
{ "name": "flare7", "parent": "portal-root", "x": -6.34, "y": -161.57 },
87-
{ "name": "flare8", "parent": "portal-root", "x": -6.34, "y": -161.57 },
88-
{ "name": "flare9", "parent": "portal-root", "x": -6.34, "y": -161.57 },
87+
{ "name": "flare1", "parent": "portal-root", "x": -6.34, "y": -161.57, "icon": "particles" },
88+
{ "name": "flare10", "parent": "portal-root", "x": -6.34, "y": -161.57, "icon": "particles" },
89+
{ "name": "flare2", "parent": "portal-root", "x": -6.34, "y": -161.57, "icon": "particles" },
90+
{ "name": "flare3", "parent": "portal-root", "x": -6.34, "y": -161.57, "icon": "particles" },
91+
{ "name": "flare4", "parent": "portal-root", "x": -6.34, "y": -161.57, "icon": "particles" },
92+
{ "name": "flare5", "parent": "portal-root", "x": -6.34, "y": -161.57, "icon": "particles" },
93+
{ "name": "flare6", "parent": "portal-root", "x": -6.34, "y": -161.57, "icon": "particles" },
94+
{ "name": "flare7", "parent": "portal-root", "x": -6.34, "y": -161.57, "icon": "particles" },
95+
{ "name": "flare8", "parent": "portal-root", "x": -6.34, "y": -161.57, "icon": "particles" },
96+
{ "name": "flare9", "parent": "portal-root", "x": -6.34, "y": -161.57, "icon": "particles" },
8997
{
9098
"name": "torso",
9199
"parent": "hip",
@@ -117,8 +125,8 @@
117125
"y": 0.2,
118126
"color": "00ff04ff"
119127
},
120-
{ "name": "front-foot-target", "parent": "root", "x": -13.53, "y": 0.04, "color": "ff3f00ff" },
121-
{ "name": "front-leg-target", "parent": "front-foot-target", "x": -28.4, "y": 29.06, "color": "ff3f00ff" },
128+
{ "name": "front-foot-target", "parent": "root", "x": -13.53, "y": 0.04, "color": "ff3f00ff", "icon": "ik" },
129+
{ "name": "front-leg-target", "parent": "front-foot-target", "x": -28.4, "y": 29.06, "color": "ff3f00ff", "icon": "ik" },
122130
{
123131
"name": "front-thigh",
124132
"parent": "hip",
@@ -153,7 +161,7 @@
153161
"rotation": -1.68,
154162
"x": 41.42,
155163
"y": -0.09,
156-
"transform": "noRotationOrReflection",
164+
"inherit": "noRotationOrReflection",
157165
"color": "00ff04ff"
158166
},
159167
{ "name": "back-shoulder", "parent": "torso3", "rotation": -104.11, "x": 7.32, "y": -19.22, "color": "ff000dff" },
@@ -223,11 +231,19 @@
223231
"y": -0.04,
224232
"color": "e0da19ff"
225233
},
226-
{ "name": "hoverboard-thruster-front", "parent": "hoverboard-controller", "rotation": -29.2, "x": 95.77, "y": -2.99, "transform": "noRotationOrReflection" },
227-
{ "name": "hoverboard-thruster-rear", "parent": "hoverboard-controller", "rotation": -29.2, "x": -76.47, "y": -4.88, "transform": "noRotationOrReflection" },
234+
{ "name": "hoverboard-thruster-front", "parent": "hoverboard-controller", "rotation": -29.2, "x": 95.77, "y": -2.99, "inherit": "noRotationOrReflection" },
235+
{ "name": "hoverboard-thruster-rear", "parent": "hoverboard-controller", "rotation": -29.2, "x": -76.47, "y": -4.88, "inherit": "noRotationOrReflection" },
228236
{ "name": "hoverglow-front", "parent": "hoverboard-thruster-front", "rotation": 0.17, "x": -1.78, "y": -37.79 },
229237
{ "name": "hoverglow-rear", "parent": "hoverboard-thruster-rear", "rotation": 0.17, "x": 1.06, "y": -35.66 },
230-
{ "name": "muzzle", "parent": "rear-bracer", "rotation": 3.06, "x": 242.34, "y": 34.26, "color": "ffb900ff" },
238+
{
239+
"name": "muzzle",
240+
"parent": "rear-bracer",
241+
"rotation": 3.06,
242+
"x": 242.34,
243+
"y": 34.26,
244+
"color": "ffb900ff",
245+
"icon": "muzzleFlash"
246+
},
231247
{ "name": "muzzle-ring", "parent": "muzzle", "color": "ffb900ff" },
232248
{ "name": "muzzle-ring2", "parent": "muzzle", "color": "ffb900ff" },
233249
{ "name": "muzzle-ring3", "parent": "muzzle", "color": "ffb900ff" },
@@ -246,7 +262,7 @@
246262
"scaleY": 0.738,
247263
"color": "000effff"
248264
},
249-
{ "name": "head-control", "parent": "head", "x": 110.21, "color": "00a220ff" }
265+
{ "name": "head-control", "parent": "head", "x": 110.21, "color": "00a220ff", "icon": "arrows" }
250266
],
251267
"slots": [
252268
{ "name": "portal-bg", "bone": "portal" },
-3.03 KB
Binary file not shown.

examples/assets/spine/spineboy.atlas

Lines changed: 47 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -3,99 +3,92 @@ spineboy.png
33
filter: Linear, Linear
44
scale: 0.5
55
crosshair
6-
bounds: 813, 160, 45, 45
6+
bounds: 352, 7, 45, 45
77
eye-indifferent
8-
bounds: 569, 2, 47, 45
8+
bounds: 862, 105, 47, 45
99
eye-surprised
10-
bounds: 643, 7, 47, 45
11-
rotate: 90
10+
bounds: 505, 79, 47, 45
1211
front-bracer
13-
bounds: 811, 51, 29, 40
12+
bounds: 826, 66, 29, 40
1413
front-fist-closed
15-
bounds: 807, 93, 38, 41
14+
bounds: 786, 65, 38, 41
1615
front-fist-open
17-
bounds: 815, 210, 43, 44
18-
front-foot
19-
bounds: 706, 64, 63, 35
16+
bounds: 710, 51, 43, 44
2017
rotate: 90
18+
front-foot
19+
bounds: 210, 6, 63, 35
2120
front-shin
22-
bounds: 80, 11, 41, 92
21+
bounds: 665, 128, 41, 92
22+
rotate: 90
2323
front-thigh
24-
bounds: 754, 12, 23, 56
24+
bounds: 2, 2, 23, 56
25+
rotate: 90
2526
front-upper-arm
26-
bounds: 618, 5, 23, 49
27+
bounds: 250, 205, 23, 49
2728
goggles
28-
bounds: 214, 20, 131, 83
29+
bounds: 665, 171, 131, 83
2930
gun
30-
bounds: 347, 14, 105, 102
31-
rotate: 90
31+
bounds: 798, 152, 105, 102
3232
head
33-
bounds: 80, 105, 136, 149
33+
bounds: 2, 27, 136, 149
3434
hoverboard-board
35-
bounds: 2, 8, 246, 76
36-
rotate: 90
35+
bounds: 2, 178, 246, 76
3736
hoverboard-thruster
38-
bounds: 478, 2, 30, 32
39-
hoverglow-small
40-
bounds: 218, 117, 137, 38
37+
bounds: 722, 96, 30, 32
4138
rotate: 90
39+
hoverglow-small
40+
bounds: 275, 81, 137, 38
4241
mouth-grind
43-
bounds: 775, 80, 47, 30
44-
rotate: 90
42+
bounds: 614, 97, 47, 30
4543
mouth-oooo
46-
bounds: 779, 31, 47, 30
47-
rotate: 90
44+
bounds: 612, 65, 47, 30
4845
mouth-smile
49-
bounds: 783, 207, 47, 30
50-
rotate: 90
46+
bounds: 661, 64, 47, 30
5147
muzzle-glow
52-
bounds: 779, 4, 25, 25
48+
bounds: 382, 54, 25, 25
5349
muzzle-ring
54-
bounds: 451, 14, 25, 105
50+
bounds: 275, 54, 25, 105
51+
rotate: 90
5552
muzzle01
56-
bounds: 664, 60, 67, 40
53+
bounds: 911, 95, 67, 40
5754
rotate: 90
5855
muzzle02
59-
bounds: 580, 56, 68, 42
60-
rotate: 90
56+
bounds: 792, 108, 68, 42
6157
muzzle03
62-
bounds: 478, 36, 83, 53
58+
bounds: 956, 171, 83, 53
6359
rotate: 90
6460
muzzle04
65-
bounds: 533, 49, 75, 45
66-
rotate: 90
61+
bounds: 275, 7, 75, 45
6762
muzzle05
68-
bounds: 624, 56, 68, 38
69-
rotate: 90
63+
bounds: 140, 3, 68, 38
7064
neck
71-
bounds: 806, 8, 18, 21
65+
bounds: 250, 182, 18, 21
7266
portal-bg
73-
bounds: 258, 121, 133, 133
67+
bounds: 140, 43, 133, 133
7468
portal-flare1
75-
bounds: 690, 2, 56, 30
76-
rotate: 90
69+
bounds: 554, 65, 56, 30
7770
portal-flare2
78-
bounds: 510, 3, 57, 31
79-
portal-flare3
80-
bounds: 722, 4, 58, 30
71+
bounds: 759, 112, 57, 31
8172
rotate: 90
73+
portal-flare3
74+
bounds: 554, 97, 58, 30
8275
portal-shade
83-
bounds: 393, 121, 133, 133
76+
bounds: 275, 121, 133, 133
8477
portal-streaks1
85-
bounds: 528, 126, 126, 128
78+
bounds: 410, 126, 126, 128
8679
portal-streaks2
87-
bounds: 656, 129, 125, 125
80+
bounds: 538, 129, 125, 125
8881
rear-bracer
89-
bounds: 826, 13, 28, 36
82+
bounds: 857, 67, 28, 36
9083
rear-foot
91-
bounds: 743, 70, 57, 30
92-
rotate: 90
84+
bounds: 663, 96, 57, 30
9385
rear-shin
94-
bounds: 174, 14, 38, 89
86+
bounds: 414, 86, 38, 89
87+
rotate: 90
9588
rear-thigh
96-
bounds: 783, 158, 28, 47
89+
bounds: 756, 63, 28, 47
9790
rear-upper-arm
98-
bounds: 783, 136, 20, 44
91+
bounds: 60, 5, 20, 44
9992
rotate: 90
10093
torso
101-
bounds: 123, 13, 49, 90
94+
bounds: 905, 164, 49, 90

examples/assets/spine/spineboy.png

13.9 KB
Loading
Binary file not shown.

0 commit comments

Comments
 (0)