Skip to content

Commit

Permalink
[runtimes] Fixed owl example project, export and runtime scripts
Browse files Browse the repository at this point in the history
The owl example project was not keying the control bone, leading to incorrect additive blending. The export.sh and runtimes.sh script in example/export did not account for the folder structure change in spine-ts.
  • Loading branch information
badlogic committed Sep 13, 2021
1 parent 31c2f4a commit 67c0d39
Show file tree
Hide file tree
Showing 342 changed files with 4,564 additions and 6,139 deletions.
2 changes: 1 addition & 1 deletion examples/alien/export/alien-ess.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"skeleton": {
"hash": "zgiHK9o7sFk",
"spine": "4.0.07",
"spine": "4.0.31",
"x": -191.3,
"y": -4.51,
"width": 365.79,
Expand Down
Binary file modified examples/alien/export/alien-ess.skel
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/alien/export/alien-pro.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"skeleton": {
"hash": "tnPDOU8oIi0",
"spine": "4.0.07",
"spine": "4.0.31",
"x": -191.3,
"y": -4.51,
"width": 368.26,
Expand Down
Binary file modified examples/alien/export/alien-pro.skel
Binary file not shown.
Binary file modified examples/coin/export/coin-pma.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/coin/export/coin-pro.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"skeleton": {
"hash": "svidebPqqeg",
"spine": "4.0.07",
"spine": "4.0.31",
"x": -152.5,
"y": -151,
"width": 305,
Expand Down
Binary file modified examples/coin/export/coin-pro.skel
Binary file not shown.
Binary file modified examples/coin/export/coin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/dragon/export/dragon-ess.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"skeleton": {
"hash": "UIFpNNbbcQI",
"spine": "4.0.07",
"spine": "4.0.31",
"x": -366.31,
"y": -286.62,
"width": 660.39,
Expand Down
Binary file modified examples/dragon/export/dragon-ess.skel
Binary file not shown.
Binary file modified examples/dragon/export/dragon-pma.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/dragon/export/dragon-pma_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/dragon/export/dragon_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 9 additions & 5 deletions examples/export/export.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,16 +121,20 @@ echo "Exporting assets..."
-i ../vine/images -o ../vine/export -n vine -p atlas-1.0.json \
-i ../vine/images -o ../vine/export -n vine-pma -p atlas-1.0-pma.json \
\
-i ../owl/owl-pro.spine -o ../owl/export -e json.json \
-i ../owl/owl-pro.spine -o ../owl/export -e binary.json \
-i ../owl/images -o ../owl/export -n owl -p atlas-0.5.json \
-i ../owl/images -o ../owl/export -n owl-pma -p atlas-0.5-pma.json \
\
-i ../windmill/windmill-ess.spine -o ../windmill/export -e json.json \
-i ../windmill/windmill-ess.spine -o ../windmill/export -e binary.json \
-i ../windmill/images -o ../windmill/export -n windmill -p atlas-0.5.json \
-i ../windmill/images -o ../windmill/export -n windmill-pma -p atlas-0.5-pma.json

# Owl needs separate export, as cleaning would kill keys in idle animation, which
# would lead to incorrect additive animation blending.
"$SPINE_EXE" \
-u $version ${@:2} \
-i ../owl/owl-pro.spine -o ../owl/export -e json.json \
-i ../owl/owl-pro.spine -o ../owl/export -e binary.json \
-i ../owl/images -o ../owl/export -n owl -p atlas-0.5.json \
-i ../owl/images -o ../owl/export -n owl-pma -p atlas-0.5-pma.json \

# Export Unity Assets
UNITY_BASE_DIR=../spine-unity
if [ -d "$UNITY_BASE_DIR" ]; then
Expand Down
171 changes: 91 additions & 80 deletions examples/export/runtimes.sh

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/goblins/export/goblins-ess.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"skeleton": {
"hash": "vsus27NzL88",
"spine": "4.0.07",
"spine": "4.0.31",
"x": -92.53,
"y": -5.3,
"width": 234.03,
Expand Down
Binary file modified examples/goblins/export/goblins-ess.skel
Binary file not shown.
Binary file modified examples/goblins/export/goblins-pma.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/goblins/export/goblins-pro.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"skeleton": {
"hash": "PtTAK+zF95I",
"spine": "4.0.07",
"spine": "4.0.31",
"x": -134.12,
"y": -3.28,
"width": 266.94,
Expand Down
Binary file modified examples/goblins/export/goblins-pro.skel
Binary file not shown.
Binary file modified examples/goblins/export/goblins.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/hero/export/hero-ess.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"skeleton": {
"hash": "cJR8Fbsu8Hg",
"spine": "4.0.07",
"spine": "4.0.31",
"x": -87.83,
"y": 0.01,
"width": 319.3,
Expand Down
Binary file modified examples/hero/export/hero-ess.skel
Binary file not shown.
Binary file modified examples/hero/export/hero-pma.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/hero/export/hero-pro.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"skeleton": {
"hash": "3ozYAtTiEh8",
"spine": "4.0.07",
"spine": "4.0.31",
"x": -85.7,
"y": -0.02,
"width": 321.77,
Expand Down
Binary file modified examples/hero/export/hero-pro.skel
Binary file not shown.
Binary file modified examples/hero/export/hero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions examples/mix-and-match/export/mix-and-match-pro.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"skeleton": {
"hash": "EedJfu7UJ/I",
"spine": "4.0.07",
"hash": "bR3EmyUwO+g",
"spine": "4.0.31",
"x": -240.58,
"y": -3.38,
"width": 410.36,
Expand Down Expand Up @@ -6643,7 +6643,7 @@
"translate": [
{},
{ "time": 0.2, "x": -13.37, "y": -33.42 },
{ "time": 0.5667, "x": 5.92, "y": 24.83, "curve": "stepped" },
{ "time": 0.5667, "x": 5.92, "y": 24.83 },
{ "time": 1.1667, "x": 5.92, "y": 24.83 },
{ "time": 1.4, "x": -3.11, "y": 35.48 },
{ "time": 2.3, "x": 12.15, "y": 12.12 },
Expand Down
Binary file modified examples/mix-and-match/export/mix-and-match-pro.skel
Binary file not shown.
15 changes: 13 additions & 2 deletions examples/owl/export/owl-pro.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"skeleton": {
"hash": "D48YMP6TYgI",
"spine": "4.0.07",
"hash": "5OTv2PhCedw",
"spine": "4.0.31",
"x": -644,
"y": -274,
"width": 1350.84,
Expand Down Expand Up @@ -696,6 +696,17 @@
{ "time": 6, "value": -4.1 },
{ "time": 6.6667 }
]
},
"control": {
"rotate": [
{}
],
"translate": [
{}
],
"scale": [
{}
]
}
}
},
Expand Down
Binary file modified examples/owl/export/owl-pro.skel
Binary file not shown.
Binary file modified examples/owl/owl-pro.spine
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/powerup/export/powerup-ess.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"skeleton": {
"hash": "oNeCFa8SiWU",
"spine": "4.0.07",
"spine": "4.0.31",
"x": -207.3,
"y": 119.41,
"width": 413.19,
Expand Down
Binary file modified examples/powerup/export/powerup-ess.skel
Binary file not shown.
Binary file modified examples/powerup/export/powerup-pma.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/powerup/export/powerup-pro.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"skeleton": {
"hash": "1WHGXJIHCvk",
"spine": "4.0.07",
"spine": "4.0.31",
"x": -208.76,
"y": 119.41,
"width": 414.65,
Expand Down
Binary file modified examples/powerup/export/powerup-pro.skel
Binary file not shown.
Binary file modified examples/powerup/export/powerup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/raptor/export/raptor-pma.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/raptor/export/raptor-pro.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"skeleton": {
"hash": "c1+xCfJH+TE",
"spine": "4.0.07",
"spine": "4.0.31",
"x": -809.16,
"y": -73.54,
"width": 1287.65,
Expand Down
Binary file modified examples/raptor/export/raptor-pro.skel
Binary file not shown.
Binary file modified examples/raptor/export/raptor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/raptor/manual-maps/raptor-normals.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/raptor/manual-maps/raptor-rim-mask.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/speedy/export/speedy-ess.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"skeleton": {
"hash": "Q9eFOmFPMXI",
"spine": "4.0.07",
"spine": "4.0.31",
"x": -95.43,
"y": -18.79,
"width": 196.03,
Expand Down
Binary file modified examples/speedy/export/speedy-ess.skel
Binary file not shown.
Binary file modified examples/speedy/export/speedy-pma.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/speedy/export/speedy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/spineboy/export/spineboy-ess.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"skeleton": {
"hash": "lS/mQzJwi+I",
"spine": "4.0.07",
"spine": "4.0.31",
"x": -221.27,
"y": -8.57,
"width": 470.72,
Expand Down
Binary file modified examples/spineboy/export/spineboy-ess.skel
Binary file not shown.
Binary file modified examples/spineboy/export/spineboy-pma.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/spineboy/export/spineboy-pro.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"skeleton": {
"hash": "IQgkYFQG8ng",
"spine": "4.0.07",
"spine": "4.0.31",
"x": -188.63,
"y": -7.94,
"width": 418.45,
Expand Down
Binary file modified examples/spineboy/export/spineboy-pro.skel
Binary file not shown.
Binary file modified examples/spineboy/export/spineboy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/spinosaurus/export/spinosaurus-ess.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"skeleton": {
"hash": "Ytk7Zos6DR4",
"spine": "4.0.07",
"spine": "4.0.31",
"x": -840,
"y": -766.03,
"width": 1680,
Expand Down
Binary file modified examples/spinosaurus/export/spinosaurus-ess.skel
Binary file not shown.
Binary file modified examples/stretchyman/export/stretchyman-pma.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/stretchyman/export/stretchyman-pro.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"skeleton": {
"hash": "F+EPhClYhR8",
"spine": "4.0.07",
"spine": "4.0.31",
"x": -100.47,
"y": -9.21,
"width": 260.65,
Expand Down
Binary file modified examples/stretchyman/export/stretchyman-pro.skel
Binary file not shown.
Binary file modified examples/tank/export/tank-pma.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/tank/export/tank-pro.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"skeleton": {
"hash": "3P3VgYJ8Bxk",
"spine": "4.0.07",
"spine": "4.0.31",
"x": -5852.65,
"y": -348.5,
"width": 7202.61,
Expand Down
Binary file modified examples/tank/export/tank-pro.skel
Binary file not shown.
Binary file modified examples/tank/export/tank.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/vine/export/vine-pro.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"skeleton": {
"hash": "mROo4Xkf3Fs",
"spine": "4.0.07",
"spine": "4.0.31",
"x": -87.7,
"y": -1.71,
"width": 227.65,
Expand Down
Binary file modified examples/vine/export/vine-pro.skel
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/windmill/export/windmill-ess.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"skeleton": {
"hash": "tBKgYacI7e4",
"spine": "4.0.07",
"spine": "4.0.31",
"x": -564.6,
"y": -335.4,
"width": 1124.2,
Expand Down
Binary file modified examples/windmill/export/windmill-ess.skel
Binary file not shown.
Binary file modified examples/windmill/export/windmill-pma.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion spine-as3/spine-as3-example/src/spineboy-ess.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"skeleton": {
"hash": "lS/mQzJwi+I",
"spine": "4.0.58-beta",
"spine": "4.0.31",
"x": -221.27,
"y": -8.57,
"width": 470.72,
Expand Down
1 change: 1 addition & 0 deletions spine-as3/spine-as3-example/src/spineboy.atlas
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
spineboy.png
size: 1024, 256
filter: Linear, Linear
scale: 0.5
crosshair
bounds: 813, 160, 45, 45
eye-indifferent
Expand Down
2 changes: 1 addition & 1 deletion spine-cocos2d-objc/Resources/coin-pro.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"skeleton": {
"hash": "svidebPqqeg",
"spine": "4.0.58-beta",
"spine": "4.0.31",
"x": -152.5,
"y": -151,
"width": 305,
Expand Down
2 changes: 1 addition & 1 deletion spine-cocos2d-objc/Resources/goblins-pro.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"skeleton": {
"hash": "PtTAK+zF95I",
"spine": "4.0.58-beta",
"spine": "4.0.31",
"x": -134.12,
"y": -3.28,
"width": 266.94,
Expand Down
Loading

0 comments on commit 67c0d39

Please sign in to comment.