Skip to content

Commit d78e230

Browse files
committed
[ts][pixi] Started physics example porting
1 parent dce854e commit d78e230

34 files changed

+13167
-8
lines changed

examples/export/runtimes.sh

+24-4
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,22 @@ cp -f ../mix-and-match/export/mix-and-match-pro.skel "$ROOT/spine-ts/spine-pixi/
450450
cp -f ../mix-and-match/export/mix-and-match-pma.atlas "$ROOT/spine-ts/spine-pixi/example/assets/"
451451
cp -f ../mix-and-match/export/mix-and-match-pma.png "$ROOT/spine-ts/spine-pixi/example/assets/"
452452

453+
cp -f ../celestial-circus/export/* "$ROOT/spine-ts/spine-pixi/example/assets/"
454+
455+
cp -f ../cloud-pot/export/cloud-pot.json "$ROOT/spine-ts/spine-pixi/example/assets/"
456+
cp -f ../cloud-pot/export/cloud-pot.skel "$ROOT/spine-ts/spine-pixi/example/assets/"
457+
cp -f ../cloud-pot/export/cloud-pot-pma.atlas "$ROOT/spine-ts/spine-pixi/example/assets/"
458+
cp -f ../cloud-pot/export/cloud-pot-pma.png "$ROOT/spine-ts/spine-pixi/example/assets/"
459+
460+
cp -f ../sack/export/sack-pro.json "$ROOT/spine-ts/spine-pixi/example/assets/"
461+
cp -f ../sack/export/sack-pro.skel "$ROOT/spine-ts/spine-pixi/example/assets/"
462+
cp -f ../sack/export/sack-pma.atlas "$ROOT/spine-ts/spine-pixi/example/assets/"
463+
cp -f ../sack/export/sack-pma.png "$ROOT/spine-ts/spine-pixi/example/assets/"
464+
465+
cp -f ../snowglobe/export/snowglobe-pro.json "$ROOT/spine-ts/spine-pixi/example/assets/"
466+
cp -f ../snowglobe/export/snowglobe-pro.skel "$ROOT/spine-ts/spine-pixi/example/assets/"
467+
cp -f ../snowglobe/export/snowglobe-pma* "$ROOT/spine-ts/spine-pixi/example/assets/"
468+
453469
echo "spine-monogame"
454470
rm "$ROOT/spine-monogame/spine-monogame-example/data/"*
455471
cp -f ../coin/export/coin-pro.json "$ROOT/spine-monogame/spine-monogame-example/data/"
@@ -561,11 +577,15 @@ UNITY_SOURCE_DIR=../spine-unity
561577
# and error out otherwise.
562578
sed="sed"
563579
if [[ $OSTYPE == 'darwin'* ]]; then
564-
if [ ! -f "/opt/homebrew/bin/gsed" ]; then
565-
echo "macOS sed detected. Please install GNU sed via brew install gnu-sed"
566-
exit -1
567-
fi
568580
sed="/opt/homebrew/bin/gsed"
581+
if [ ! -f "/opt/homebrew/bin/gsed" ]; then
582+
echo "macOS sed detected - gsed not found in /opt/homebrew/bin/gsed"
583+
if [ ! -f "/usr/local/bin/gsed" ]; then
584+
echo "macOS sed detected - gsed not found in /usr/local/bin/gsed"
585+
exit -1
586+
fi
587+
sed="/opt/homebrew/bin/gsed"
588+
ficod
569589
fi
570590

571591
# Do not delete everything in unity dirs, especially not .meta files.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,170 @@
1+
celestial-circus-pma.png
2+
size: 1024, 1024
3+
filter: Linear, Linear
4+
pma: true
5+
scale: 0.5
6+
arm-back-down
7+
bounds: 944, 3, 48, 103
8+
arm-front-down
9+
bounds: 241, 56, 45, 98
10+
bench
11+
bounds: 2, 94, 237, 60
12+
body-bottom
13+
bounds: 674, 8, 193, 156
14+
rotate: 90
15+
collar
16+
bounds: 822, 352, 59, 33
17+
ear
18+
bounds: 997, 185, 25, 35
19+
eye-back-shadow
20+
bounds: 1004, 978, 18, 12
21+
eye-front-shadow
22+
bounds: 1004, 992, 30, 18
23+
rotate: 90
24+
eye-reflex-back
25+
bounds: 822, 341, 10, 9
26+
eye-reflex-front
27+
bounds: 525, 699, 13, 9
28+
rotate: 90
29+
eye-white-back
30+
bounds: 956, 963, 16, 20
31+
eye-white-front
32+
bounds: 551, 179, 28, 22
33+
eyelashes-down-back
34+
bounds: 980, 325, 14, 7
35+
rotate: 90
36+
eyelashes-down-front
37+
bounds: 979, 1003, 19, 8
38+
rotate: 90
39+
eyelashes-top-back
40+
bounds: 997, 118, 23, 12
41+
rotate: 90
42+
eyelashes-top-front
43+
bounds: 956, 985, 37, 21
44+
rotate: 90
45+
feathers-front
46+
bounds: 2, 2, 90, 108
47+
rotate: 90
48+
fringe-middle-back
49+
bounds: 980, 222, 42, 65
50+
fringe-side-back
51+
bounds: 944, 222, 34, 117
52+
fringe-side-front
53+
bounds: 989, 289, 33, 116
54+
hair-back-1
55+
bounds: 289, 2, 166, 383
56+
rotate: 90
57+
hair-back-2
58+
bounds: 887, 341, 100, 356
59+
hair-back-4
60+
bounds: 832, 11, 110, 328
61+
hair-hat-shadow
62+
bounds: 944, 108, 112, 51
63+
rotate: 90
64+
hat-front
65+
bounds: 112, 22, 121, 70
66+
leg-front
67+
bounds: 554, 699, 323, 400
68+
rotate: 90
69+
logo-brooch
70+
bounds: 505, 170, 20, 31
71+
mouth
72+
bounds: 279, 26, 28, 8
73+
rotate: 90
74+
nose
75+
bounds: 279, 15, 8, 9
76+
nose-highlight
77+
bounds: 551, 171, 5, 6
78+
nose-shadow
79+
bounds: 834, 341, 9, 10
80+
rotate: 90
81+
pupil-back
82+
bounds: 505, 699, 13, 18
83+
rotate: 90
84+
pupil-front
85+
bounds: 112, 5, 15, 22
86+
rotate: 90
87+
rope-back
88+
bounds: 989, 407, 13, 615
89+
rope-front
90+
bounds: 989, 407, 13, 615
91+
skirt
92+
bounds: 2, 714, 550, 308
93+
sock-bow
94+
bounds: 235, 14, 42, 40
95+
spine-logo-body
96+
bounds: 997, 143, 16, 40
97+
star-big
98+
bounds: 527, 171, 22, 30
99+
star-medium
100+
bounds: 1015, 173, 7, 10
101+
star-small
102+
bounds: 674, 2, 4, 6
103+
rotate: 90
104+
underskirt
105+
bounds: 2, 156, 556, 285
106+
rotate: 90
107+
underskirt-back
108+
bounds: 289, 170, 542, 214
109+
rotate: 90
110+
wing-back
111+
bounds: 505, 203, 182, 315
112+
rotate: 90
113+
wing-front
114+
bounds: 505, 387, 380, 310
115+
116+
celestial-circus-pma_2.png
117+
size: 1024, 1024
118+
filter: Linear, Linear
119+
pma: true
120+
scale: 0.5
121+
arm-back-up
122+
bounds: 490, 683, 104, 145
123+
rotate: 90
124+
arm-front-up
125+
bounds: 162, 23, 96, 145
126+
body-top
127+
bounds: 2, 2, 158, 166
128+
chest
129+
bounds: 744, 878, 130, 117
130+
cloud-back
131+
bounds: 490, 789, 252, 206
132+
cloud-front
133+
bounds: 2, 170, 406, 245
134+
rotate: 90
135+
face
136+
bounds: 876, 879, 116, 128
137+
rotate: 90
138+
feathers-back
139+
bounds: 266, 578, 57, 57
140+
fringe-middle-front
141+
bounds: 260, 105, 75, 63
142+
glove-bottom-back
143+
bounds: 325, 584, 64, 51
144+
glove-bottom-front
145+
bounds: 391, 585, 59, 61
146+
rotate: 90
147+
hair-back-3
148+
bounds: 249, 241, 87, 335
149+
hair-back-5
150+
bounds: 378, 646, 110, 349
151+
hair-back-6
152+
bounds: 266, 637, 110, 358
153+
hand-back
154+
bounds: 573, 622, 75, 59
155+
hand-front
156+
bounds: 637, 712, 67, 75
157+
hat-back
158+
bounds: 260, 23, 80, 56
159+
rotate: 90
160+
head-back
161+
bounds: 744, 768, 128, 108
162+
jabot
163+
bounds: 249, 170, 88, 69
164+
leg-back
165+
bounds: 2, 578, 262, 417
166+
neck
167+
bounds: 338, 511, 49, 71
168+
rope-front-bottom
169+
bounds: 490, 628, 53, 81
170+
rotate: 90
Loading
Loading

0 commit comments

Comments
 (0)