[unity] Added unity-specific example asset source files (Pharan's modified assets). Added export-unityspecific.sh and adapted runtimes.sh to new assets and to work with sparse-checkout dir structure.
38
examples/export/atlas-1.0-2048-pma.json
Normal file
@ -0,0 +1,38 @@
|
||||
{
|
||||
"pot": true,
|
||||
"paddingX": 2,
|
||||
"paddingY": 2,
|
||||
"edgePadding": true,
|
||||
"duplicatePadding": false,
|
||||
"rotation": true,
|
||||
"minWidth": 16,
|
||||
"minHeight": 16,
|
||||
"maxWidth": 2048,
|
||||
"maxHeight": 2048,
|
||||
"square": false,
|
||||
"stripWhitespaceX": false,
|
||||
"stripWhitespaceY": false,
|
||||
"alphaThreshold": 0,
|
||||
"filterMin": "Linear",
|
||||
"filterMag": "Linear",
|
||||
"wrapX": "ClampToEdge",
|
||||
"wrapY": "ClampToEdge",
|
||||
"format": "RGBA8888",
|
||||
"alias": true,
|
||||
"outputFormat": "png",
|
||||
"jpegQuality": 0.9,
|
||||
"ignoreBlankImages": true,
|
||||
"fast": false,
|
||||
"debug": false,
|
||||
"silent": false,
|
||||
"combineSubdirectories": false,
|
||||
"flattenPaths": false,
|
||||
"premultiplyAlpha": true,
|
||||
"useIndexes": false,
|
||||
"bleed": false,
|
||||
"limitMemory": false,
|
||||
"grid": false,
|
||||
"scale": [ 1 ],
|
||||
"scaleSuffix": [ "" ],
|
||||
"atlasExtension": ".atlas"
|
||||
}
|
||||
38
examples/export/atlas-1.0-2048.json
Normal file
@ -0,0 +1,38 @@
|
||||
{
|
||||
"pot": true,
|
||||
"paddingX": 2,
|
||||
"paddingY": 2,
|
||||
"edgePadding": true,
|
||||
"duplicatePadding": false,
|
||||
"rotation": true,
|
||||
"minWidth": 16,
|
||||
"minHeight": 16,
|
||||
"maxWidth": 2048,
|
||||
"maxHeight": 2048,
|
||||
"square": false,
|
||||
"stripWhitespaceX": false,
|
||||
"stripWhitespaceY": false,
|
||||
"alphaThreshold": 0,
|
||||
"filterMin": "Linear",
|
||||
"filterMag": "Linear",
|
||||
"wrapX": "ClampToEdge",
|
||||
"wrapY": "ClampToEdge",
|
||||
"format": "RGBA8888",
|
||||
"alias": true,
|
||||
"outputFormat": "png",
|
||||
"jpegQuality": 0.9,
|
||||
"ignoreBlankImages": true,
|
||||
"fast": false,
|
||||
"debug": false,
|
||||
"silent": false,
|
||||
"combineSubdirectories": false,
|
||||
"flattenPaths": false,
|
||||
"premultiplyAlpha": false,
|
||||
"useIndexes": false,
|
||||
"bleed": false,
|
||||
"limitMemory": false,
|
||||
"grid": false,
|
||||
"scale": [ 1 ],
|
||||
"scaleSuffix": [ "" ],
|
||||
"atlasExtension": ".atlas"
|
||||
}
|
||||
38
examples/export/atlas-1.0-square-pma.json
Normal file
@ -0,0 +1,38 @@
|
||||
{
|
||||
"pot": true,
|
||||
"paddingX": 2,
|
||||
"paddingY": 2,
|
||||
"edgePadding": true,
|
||||
"duplicatePadding": false,
|
||||
"rotation": true,
|
||||
"minWidth": 16,
|
||||
"minHeight": 16,
|
||||
"maxWidth": 1024,
|
||||
"maxHeight": 1024,
|
||||
"square": true,
|
||||
"stripWhitespaceX": false,
|
||||
"stripWhitespaceY": false,
|
||||
"alphaThreshold": 0,
|
||||
"filterMin": "Linear",
|
||||
"filterMag": "Linear",
|
||||
"wrapX": "ClampToEdge",
|
||||
"wrapY": "ClampToEdge",
|
||||
"format": "RGBA8888",
|
||||
"alias": true,
|
||||
"outputFormat": "png",
|
||||
"jpegQuality": 0.9,
|
||||
"ignoreBlankImages": true,
|
||||
"fast": false,
|
||||
"debug": false,
|
||||
"silent": false,
|
||||
"combineSubdirectories": false,
|
||||
"flattenPaths": false,
|
||||
"premultiplyAlpha": true,
|
||||
"useIndexes": false,
|
||||
"bleed": false,
|
||||
"limitMemory": false,
|
||||
"grid": false,
|
||||
"scale": [ 1 ],
|
||||
"scaleSuffix": [ "" ],
|
||||
"atlasExtension": ".atlas"
|
||||
}
|
||||
38
examples/export/atlas-1.0-square.json
Normal file
@ -0,0 +1,38 @@
|
||||
{
|
||||
"pot": true,
|
||||
"paddingX": 2,
|
||||
"paddingY": 2,
|
||||
"edgePadding": true,
|
||||
"duplicatePadding": false,
|
||||
"rotation": true,
|
||||
"minWidth": 16,
|
||||
"minHeight": 16,
|
||||
"maxWidth": 1024,
|
||||
"maxHeight": 1024,
|
||||
"square": true,
|
||||
"stripWhitespaceX": false,
|
||||
"stripWhitespaceY": false,
|
||||
"alphaThreshold": 0,
|
||||
"filterMin": "Linear",
|
||||
"filterMag": "Linear",
|
||||
"wrapX": "ClampToEdge",
|
||||
"wrapY": "ClampToEdge",
|
||||
"format": "RGBA8888",
|
||||
"alias": true,
|
||||
"outputFormat": "png",
|
||||
"jpegQuality": 0.9,
|
||||
"ignoreBlankImages": true,
|
||||
"fast": false,
|
||||
"debug": false,
|
||||
"silent": false,
|
||||
"combineSubdirectories": false,
|
||||
"flattenPaths": false,
|
||||
"premultiplyAlpha": false,
|
||||
"useIndexes": false,
|
||||
"bleed": false,
|
||||
"limitMemory": false,
|
||||
"grid": false,
|
||||
"scale": [ 1 ],
|
||||
"scaleSuffix": [ "" ],
|
||||
"atlasExtension": ".atlas"
|
||||
}
|
||||
81
examples/export/export-unityspecific.sh
Normal file
@ -0,0 +1,81 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
|
||||
cd $SCRIPT_DIR
|
||||
|
||||
SPINE_EXE="C:/Program Files (x86)/Spine/Spine.com"
|
||||
if [ ! -f "$SPINE_EXE" ]; then
|
||||
SPINE_EXE="/mnt/c/Program Files (x86)/Spine/Spine.com"
|
||||
fi
|
||||
if [ ! -f "$SPINE_EXE" ]; then
|
||||
SPINE_EXE="/Applications/Spine/Spine.app/Contents/MacOS/Spine"
|
||||
fi
|
||||
echo "Spine exe: $SPINE_EXE"
|
||||
|
||||
echo "Please enter the Spine editor version to use to clean the examples (e.g. 3.7.58-beta)"
|
||||
read version
|
||||
|
||||
PROJECTS_BASE_DIR=../spine-unity
|
||||
|
||||
echo "Cleaning export directories ..."
|
||||
rm -rf $PROJECTS_BASE_DIR/eyes/export/*
|
||||
rm -rf $PROJECTS_BASE_DIR/footsoldier/export/*
|
||||
rm -rf $PROJECTS_BASE_DIR/gauge/export/*
|
||||
rm -rf $PROJECTS_BASE_DIR/raggedyspineboy/export/*
|
||||
rm -rf $PROJECTS_BASE_DIR/spineboy-unity/export/*
|
||||
rm -rf $PROJECTS_BASE_DIR/spineunitygirl/export/*
|
||||
rm -rf $PROJECTS_BASE_DIR/whirlyblendmodes/export/*
|
||||
|
||||
echo ""
|
||||
echo "Exporting..."
|
||||
"$SPINE_EXE" \
|
||||
-u $version -f \
|
||||
-i $PROJECTS_BASE_DIR/eyes/eyes.spine -o $PROJECTS_BASE_DIR/eyes/export -e json.json \
|
||||
-i $PROJECTS_BASE_DIR/eyes/eyes.spine -o $PROJECTS_BASE_DIR/eyes/export -e binary.json \
|
||||
-i $PROJECTS_BASE_DIR/eyes/images -o $PROJECTS_BASE_DIR/eyes/export -n eyes -p atlas-1.0.json \
|
||||
-i $PROJECTS_BASE_DIR/eyes/images -o $PROJECTS_BASE_DIR/eyes/export -n eyes-pma -p atlas-1.0-pma.json \
|
||||
\
|
||||
-i $PROJECTS_BASE_DIR/footsoldier/footsoldier.spine -o $PROJECTS_BASE_DIR/footsoldier/export -e json.json \
|
||||
-i $PROJECTS_BASE_DIR/footsoldier/footsoldier.spine -o $PROJECTS_BASE_DIR/footsoldier/export -e binary.json \
|
||||
-i $PROJECTS_BASE_DIR/footsoldier/images -o $PROJECTS_BASE_DIR/footsoldier/export -n footsoldier -p atlas-1.0.json \
|
||||
-i $PROJECTS_BASE_DIR/footsoldier/images -o $PROJECTS_BASE_DIR/footsoldier/export -n footsoldier-pma -p atlas-1.0-pma.json \
|
||||
\
|
||||
-i $PROJECTS_BASE_DIR/gauge/gauge.spine -o $PROJECTS_BASE_DIR/gauge/export -e json.json \
|
||||
-i $PROJECTS_BASE_DIR/gauge/gauge.spine -o $PROJECTS_BASE_DIR/gauge/export -e binary.json \
|
||||
-i $PROJECTS_BASE_DIR/gauge/images -o $PROJECTS_BASE_DIR/gauge/export -n gauge -p atlas-1.0.json \
|
||||
-i $PROJECTS_BASE_DIR/gauge/images -o $PROJECTS_BASE_DIR/gauge/export -n gauge-pma -p atlas-1.0-pma.json \
|
||||
\
|
||||
-i $PROJECTS_BASE_DIR/hero/hero-pro.spine -o $PROJECTS_BASE_DIR/hero/export -e json.json \
|
||||
-i $PROJECTS_BASE_DIR/hero/hero-pro.spine -o $PROJECTS_BASE_DIR/hero/export -e binary.json \
|
||||
-i $PROJECTS_BASE_DIR/hero/images -o $PROJECTS_BASE_DIR/hero/export -n hero -p atlas-1.0.json \
|
||||
-i $PROJECTS_BASE_DIR/hero/images -o $PROJECTS_BASE_DIR/hero/export -n hero-pma -p atlas-1.0-pma.json \
|
||||
\
|
||||
-i $PROJECTS_BASE_DIR/raggedyspineboy/raggedyspineboy.spine -o $PROJECTS_BASE_DIR/raggedyspineboy/export -e json.json \
|
||||
-i $PROJECTS_BASE_DIR/raggedyspineboy/raggedyspineboy.spine -o $PROJECTS_BASE_DIR/raggedyspineboy/export -e binary.json \
|
||||
-i $PROJECTS_BASE_DIR/raggedyspineboy/images -o $PROJECTS_BASE_DIR/raggedyspineboy/export -n raggedyspineboy -p atlas-1.0.json \
|
||||
-i $PROJECTS_BASE_DIR/raggedyspineboy/images -o $PROJECTS_BASE_DIR/raggedyspineboy/export -n raggedyspineboy-pma -p atlas-1.0-pma.json \
|
||||
\
|
||||
-i $PROJECTS_BASE_DIR/raptor/raptor.spine -o $PROJECTS_BASE_DIR/raptor/export -e json.json \
|
||||
-i $PROJECTS_BASE_DIR/raptor/raptor.spine -o $PROJECTS_BASE_DIR/raptor/export -e binary.json \
|
||||
-i $PROJECTS_BASE_DIR/raptor/images -o $PROJECTS_BASE_DIR/raptor/export -n raptor -p atlas-1.0-square.json \
|
||||
-i $PROJECTS_BASE_DIR/raptor/images -o $PROJECTS_BASE_DIR/raptor/export -n raptor-pma -p atlas-1.0-square-pma.json \
|
||||
\
|
||||
-i $PROJECTS_BASE_DIR/spineboy-pro/spineboy-pro.spine -o $PROJECTS_BASE_DIR/spineboy-pro/export -e json.json \
|
||||
-i $PROJECTS_BASE_DIR/spineboy-pro/spineboy-pro.spine -o $PROJECTS_BASE_DIR/spineboy-pro/export -e binary.json \
|
||||
-i $PROJECTS_BASE_DIR/spineboy-pro/images -o $PROJECTS_BASE_DIR/spineboy-pro/export -n spineboy -p atlas-1.0-2048.json \
|
||||
-i $PROJECTS_BASE_DIR/spineboy-pro/images -o $PROJECTS_BASE_DIR/spineboy-pro/export -n spineboy-pma -p atlas-1.0-2048-pma.json \
|
||||
\
|
||||
-i $PROJECTS_BASE_DIR/spineboy-unity/spineboy-unity.spine -o $PROJECTS_BASE_DIR/spineboy-unity/export -e json.json \
|
||||
-i $PROJECTS_BASE_DIR/spineboy-unity/spineboy-unity.spine -o $PROJECTS_BASE_DIR/spineboy-unity/export -e binary.json \
|
||||
-i $PROJECTS_BASE_DIR/spineboy-unity/images -o $PROJECTS_BASE_DIR/spineboy-unity/export -n spineboy -p atlas-1.0-square.json \
|
||||
-i $PROJECTS_BASE_DIR/spineboy-unity/images -o $PROJECTS_BASE_DIR/spineboy-unity/export -n spineboy-pma -p atlas-1.0-square-pma.json \
|
||||
\
|
||||
-i $PROJECTS_BASE_DIR/spineunitygirl/doi.spine -o $PROJECTS_BASE_DIR/spineunitygirl/export -e json.json \
|
||||
-i $PROJECTS_BASE_DIR/spineunitygirl/doi.spine -o $PROJECTS_BASE_DIR/spineunitygirl/export -e binary.json \
|
||||
-i $PROJECTS_BASE_DIR/spineunitygirl/images -o $PROJECTS_BASE_DIR/spineunitygirl/export -n doi -p atlas-1.0.json \
|
||||
-i $PROJECTS_BASE_DIR/spineunitygirl/images -o $PROJECTS_BASE_DIR/spineunitygirl/export -n doi-pma -p atlas-1.0-pma.json \
|
||||
\
|
||||
-i $PROJECTS_BASE_DIR/whirlyblendmodes/whirlyblendmodes.spine -o $PROJECTS_BASE_DIR/whirlyblendmodes/export -e json.json \
|
||||
-i $PROJECTS_BASE_DIR/whirlyblendmodes/whirlyblendmodes.spine -o $PROJECTS_BASE_DIR/whirlyblendmodes/export -e binary.json \
|
||||
-i $PROJECTS_BASE_DIR/whirlyblendmodes/images -o $PROJECTS_BASE_DIR/whirlyblendmodes/export -n whirlyblendmodes -p atlas-1.0.json \
|
||||
-i $PROJECTS_BASE_DIR/whirlyblendmodes/images -o $PROJECTS_BASE_DIR/whirlyblendmodes/export -n whirlyblendmodes-pma -p atlas-1.0-pma.json
|
||||
@ -18,386 +18,537 @@ echo "Copying assets to runtimes ..."
|
||||
|
||||
echo ""
|
||||
echo "spine-libgdx"
|
||||
rm "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/goblins/"*
|
||||
cp -f ../goblins/export/*.json "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/goblins/"
|
||||
cp -f ../goblins/export/*.skel "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/goblins/"
|
||||
cp -f ../goblins/export/*-pma.* "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/goblins/"
|
||||
if [ -d "$RUNTIME_DIR/spine-libgdx" ]; then
|
||||
rm "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/goblins/"*
|
||||
cp -f ../goblins/export/*.json "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/goblins/"
|
||||
cp -f ../goblins/export/*.skel "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/goblins/"
|
||||
cp -f ../goblins/export/*-pma.* "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/goblins/"
|
||||
|
||||
rm "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/raptor/"*
|
||||
cp -f ../raptor/export/*.json "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/raptor/"
|
||||
cp -f ../raptor/export/*.skel "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/raptor/"
|
||||
cp -f ../raptor/export/*-pma.* "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/raptor/"
|
||||
rm "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/raptor/"*
|
||||
cp -f ../raptor/export/*.json "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/raptor/"
|
||||
cp -f ../raptor/export/*.skel "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/raptor/"
|
||||
cp -f ../raptor/export/*-pma.* "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/raptor/"
|
||||
|
||||
rm "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/spineboy/"*
|
||||
cp -f ../spineboy/export/*.json "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/spineboy/"
|
||||
cp -r ../spineboy/export/*.skel "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/spineboy/"
|
||||
cp -r ../spineboy/export/*-pma.* "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/spineboy/"
|
||||
rm "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/spineboy/"*
|
||||
cp -f ../spineboy/export/*.json "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/spineboy/"
|
||||
cp -r ../spineboy/export/*.skel "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/spineboy/"
|
||||
cp -r ../spineboy/export/*-pma.* "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/spineboy/"
|
||||
|
||||
rm "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/coin/"*
|
||||
cp -f ../coin/export/*.json "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/coin/"
|
||||
cp -f ../coin/export/*.skel "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/coin/"
|
||||
cp -f ../coin/export/*-pma.* "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/coin/"
|
||||
rm "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/coin/"*
|
||||
cp -f ../coin/export/*.json "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/coin/"
|
||||
cp -f ../coin/export/*.skel "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/coin/"
|
||||
cp -f ../coin/export/*-pma.* "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/coin/"
|
||||
|
||||
rm -f "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/mix-and-match/"*
|
||||
cp -f ../mix-and-match/export/*.json "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/mix-and-match/"
|
||||
cp -f ../mix-and-match/export/*.skel "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/mix-and-match/"
|
||||
cp -f ../mix-and-match/export/*-pma.* "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/mix-and-match/"
|
||||
rm -f "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/mix-and-match/"*
|
||||
cp -f ../mix-and-match/export/*.json "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/mix-and-match/"
|
||||
cp -f ../mix-and-match/export/*.skel "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/mix-and-match/"
|
||||
cp -f ../mix-and-match/export/*-pma.* "$RUNTIME_DIR/spine-libgdx/spine-libgdx-tests/assets/mix-and-match/"
|
||||
else
|
||||
echo "skipping spine-libgdx - dir not found"
|
||||
fi
|
||||
|
||||
echo "spine-as3"
|
||||
rm "$RUNTIME_DIR/spine-as3/spine-as3-example/src/spineboy".*
|
||||
cp -f ../spineboy/export/spineboy-ess.json "$RUNTIME_DIR/spine-as3/spine-as3-example/src/"
|
||||
cp -f ../spineboy/export/spineboy.atlas "$RUNTIME_DIR/spine-as3/spine-as3-example/src/"
|
||||
cp -f ../spineboy/export/spineboy.png "$RUNTIME_DIR/spine-as3/spine-as3-example/src/"
|
||||
if [ -d "$RUNTIME_DIR/spine-as3" ]; then
|
||||
rm "$RUNTIME_DIR/spine-as3/spine-as3-example/src/spineboy".*
|
||||
cp -f ../spineboy/export/spineboy-ess.json "$RUNTIME_DIR/spine-as3/spine-as3-example/src/"
|
||||
cp -f ../spineboy/export/spineboy.atlas "$RUNTIME_DIR/spine-as3/spine-as3-example/src/"
|
||||
cp -f ../spineboy/export/spineboy.png "$RUNTIME_DIR/spine-as3/spine-as3-example/src/"
|
||||
else
|
||||
echo "skipping spine-as3 - dir not found"
|
||||
fi
|
||||
|
||||
echo "spine-cocos2d-objc"
|
||||
rm "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"*
|
||||
if [ -d "$RUNTIME_DIR/spine-cocos2d-objc" ]; then
|
||||
rm "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"*
|
||||
|
||||
cp -f ../coin/export/coin-pro.json "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"
|
||||
cp -f ../coin/export/coin.atlas "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"
|
||||
cp -f ../coin/export/coin.png "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"
|
||||
cp -f ../coin/export/coin-pro.json "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"
|
||||
cp -f ../coin/export/coin.atlas "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"
|
||||
cp -f ../coin/export/coin.png "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"
|
||||
|
||||
cp -f ../goblins/export/goblins-pro.json "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"
|
||||
cp -f ../goblins/export/goblins.atlas "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"
|
||||
cp -f ../goblins/export/goblins.png "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"
|
||||
cp -f ../goblins/export/goblins-pro.json "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"
|
||||
cp -f ../goblins/export/goblins.atlas "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"
|
||||
cp -f ../goblins/export/goblins.png "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"
|
||||
|
||||
cp -f ../raptor/export/raptor-pro.json "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"
|
||||
cp -f ../raptor/export/raptor.atlas "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"
|
||||
cp -f ../raptor/export/raptor.png "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"
|
||||
cp -f ../raptor/export/raptor-pro.json "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"
|
||||
cp -f ../raptor/export/raptor.atlas "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"
|
||||
cp -f ../raptor/export/raptor.png "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"
|
||||
|
||||
cp -f ../spineboy/export/spineboy-ess.json "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"
|
||||
cp -f ../spineboy/export/spineboy.atlas "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"
|
||||
cp -f ../spineboy/export/spineboy.png "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"
|
||||
cp -f ../spineboy/export/spineboy-ess.json "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"
|
||||
cp -f ../spineboy/export/spineboy.atlas "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"
|
||||
cp -f ../spineboy/export/spineboy.png "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"
|
||||
|
||||
cp -f ../tank/export/tank-pro.json "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"
|
||||
cp -f ../tank/export/tank.atlas "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"
|
||||
cp -f ../tank/export/tank.png "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"
|
||||
cp -f ../tank/export/tank-pro.json "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"
|
||||
cp -f ../tank/export/tank.atlas "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"
|
||||
cp -f ../tank/export/tank.png "$RUNTIME_DIR/spine-cocos2d-objc/Resources/"
|
||||
else
|
||||
echo "skipping spine-cocos2d-objc - dir not found"
|
||||
fi
|
||||
|
||||
echo "spine-cocos2dx"
|
||||
rm "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"*
|
||||
if [ -d "$RUNTIME_DIR/spine-cocos2dx" ]; then
|
||||
rm "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"*
|
||||
|
||||
cp -f ../coin/export/coin-pro.skel "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
cp -f ../coin/export/coin.atlas "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
cp -f ../coin/export/coin.png "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
cp -f ../coin/export/coin-pro.skel "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
cp -f ../coin/export/coin.atlas "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
cp -f ../coin/export/coin.png "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
|
||||
cp -f ../goblins/export/goblins-pro.json "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
cp -f ../goblins/export/goblins.atlas "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
cp -f ../goblins/export/goblins.png "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
cp -f ../goblins/export/goblins-pro.json "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
cp -f ../goblins/export/goblins.atlas "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
cp -f ../goblins/export/goblins.png "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
|
||||
cp -f ../raptor/export/raptor-pro.json "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
cp -f ../raptor/export/raptor.atlas "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
cp -f ../raptor/export/raptor.png "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
cp -f ../raptor/export/raptor-pro.json "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
cp -f ../raptor/export/raptor.atlas "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
cp -f ../raptor/export/raptor.png "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
|
||||
cp -f ../spineboy/export/spineboy-pro.json "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
cp -f ../spineboy/export/spineboy.atlas "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
cp -f ../spineboy/export/spineboy.png "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
cp -f ../spineboy/export/spineboy-pro.json "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
cp -f ../spineboy/export/spineboy.atlas "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
cp -f ../spineboy/export/spineboy.png "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
|
||||
cp -f ../tank/export/tank-pro.skel "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
cp -f ../tank/export/tank.atlas "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
cp -f ../tank/export/tank.png "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
cp -f ../tank/export/tank-pro.skel "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
cp -f ../tank/export/tank.atlas "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
cp -f ../tank/export/tank.png "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
|
||||
cp -f ../mix-and-match/export/mix-and-match-pro.skel "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
cp -f ../mix-and-match/export/mix-and-match.atlas "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
cp -f ../mix-and-match/export/mix-and-match.png "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
cp -f ../mix-and-match/export/mix-and-match-pro.skel "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
cp -f ../mix-and-match/export/mix-and-match.atlas "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
cp -f ../mix-and-match/export/mix-and-match.png "$RUNTIME_DIR/spine-cocos2dx/example/Resources/common/"
|
||||
else
|
||||
echo "skipping spine-cocos2dx - dir not found"
|
||||
fi
|
||||
|
||||
echo "spine-corona"
|
||||
rm "$RUNTIME_DIR/spine-corona/data/"*
|
||||
cp -f ../coin/export/coin-pro.json "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../coin/export/coin.atlas "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../coin/export/coin.png "$RUNTIME_DIR/spine-corona/data"
|
||||
if [ -d "$RUNTIME_DIR/spine-corona" ]; then
|
||||
rm "$RUNTIME_DIR/spine-corona/data/"*
|
||||
cp -f ../coin/export/coin-pro.json "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../coin/export/coin.atlas "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../coin/export/coin.png "$RUNTIME_DIR/spine-corona/data"
|
||||
|
||||
cp -f ../goblins/export/goblins-pro.json "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../goblins/export/goblins.atlas "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../goblins/export/goblins.png "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../goblins/export/goblins-pro.json "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../goblins/export/goblins.atlas "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../goblins/export/goblins.png "$RUNTIME_DIR/spine-corona/data"
|
||||
|
||||
cp -f ../raptor/export/raptor-pro.json "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../raptor/export/raptor.atlas "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../raptor/export/raptor.png "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../raptor/export/raptor-pro.json "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../raptor/export/raptor.atlas "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../raptor/export/raptor.png "$RUNTIME_DIR/spine-corona/data"
|
||||
|
||||
cp -f ../spineboy/export/spineboy-pro.json "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../spineboy/export/spineboy.atlas "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../spineboy/export/spineboy.png "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../spineboy/export/spineboy-pro.json "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../spineboy/export/spineboy.atlas "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../spineboy/export/spineboy.png "$RUNTIME_DIR/spine-corona/data"
|
||||
|
||||
cp -f ../tank/export/tank-pro.json "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../tank/export/tank.atlas "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../tank/export/tank.png "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../tank/export/tank-pro.json "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../tank/export/tank.atlas "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../tank/export/tank.png "$RUNTIME_DIR/spine-corona/data"
|
||||
|
||||
cp -f ../vine/export/vine-pro.json "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../vine/export/vine.atlas "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../vine/export/vine.png "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../vine/export/vine-pro.json "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../vine/export/vine.atlas "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../vine/export/vine.png "$RUNTIME_DIR/spine-corona/data"
|
||||
|
||||
cp -f ../stretchyman/export/stretchyman-pro.json "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../stretchyman/export/stretchyman.atlas "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../stretchyman/export/stretchyman.png "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../stretchyman/export/stretchyman-pro.json "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../stretchyman/export/stretchyman.atlas "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../stretchyman/export/stretchyman.png "$RUNTIME_DIR/spine-corona/data"
|
||||
|
||||
cp -f ../stretchyman/export/stretchyman-stretchy-ik-pro.json "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../stretchyman/export/stretchyman-stretchy-ik-pro.json "$RUNTIME_DIR/spine-corona/data"
|
||||
|
||||
cp -f ../owl/export/owl-pro.json "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../owl/export/owl.atlas "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../owl/export/owl.png "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../owl/export/owl-pro.json "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../owl/export/owl.atlas "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../owl/export/owl.png "$RUNTIME_DIR/spine-corona/data"
|
||||
|
||||
cp -f ../mix-and-match/export/mix-and-match-pro.json "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../mix-and-match/export/mix-and-match.atlas "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../mix-and-match/export/mix-and-match.png "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../mix-and-match/export/mix-and-match-pro.json "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../mix-and-match/export/mix-and-match.atlas "$RUNTIME_DIR/spine-corona/data"
|
||||
cp -f ../mix-and-match/export/mix-and-match.png "$RUNTIME_DIR/spine-corona/data"
|
||||
else
|
||||
echo "skipping spine-corona - dir not found"
|
||||
fi
|
||||
|
||||
echo "spine-love"
|
||||
rm "$RUNTIME_DIR/spine-love/data/"*
|
||||
cp -f ../coin/export/coin-pro.json "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../coin/export/coin.atlas "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../coin/export/coin.png "$RUNTIME_DIR/spine-love/data"
|
||||
if [ -d "$RUNTIME_DIR/spine-love" ]; then
|
||||
rm "$RUNTIME_DIR/spine-love/data/"*
|
||||
cp -f ../coin/export/coin-pro.json "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../coin/export/coin.atlas "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../coin/export/coin.png "$RUNTIME_DIR/spine-love/data"
|
||||
|
||||
cp -f ../goblins/export/goblins-pro.json "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../goblins/export/goblins.atlas "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../goblins/export/goblins.png "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../goblins/export/goblins-pro.json "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../goblins/export/goblins.atlas "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../goblins/export/goblins.png "$RUNTIME_DIR/spine-love/data"
|
||||
|
||||
cp -f ../raptor/export/raptor-pro.json "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../raptor/export/raptor.atlas "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../raptor/export/raptor.png "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../raptor/export/raptor-pro.json "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../raptor/export/raptor.atlas "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../raptor/export/raptor.png "$RUNTIME_DIR/spine-love/data"
|
||||
|
||||
cp -f ../spineboy/export/spineboy-pro.json "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../spineboy/export/spineboy.atlas "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../spineboy/export/spineboy.png "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../spineboy/export/spineboy-pro.json "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../spineboy/export/spineboy.atlas "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../spineboy/export/spineboy.png "$RUNTIME_DIR/spine-love/data"
|
||||
|
||||
cp -f ../tank/export/tank-pro.json "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../tank/export/tank.atlas "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../tank/export/tank.png "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../tank/export/tank-pro.json "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../tank/export/tank.atlas "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../tank/export/tank.png "$RUNTIME_DIR/spine-love/data"
|
||||
|
||||
cp -f ../vine/export/vine-pro.json "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../vine/export/vine.atlas "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../vine/export/vine.png "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../vine/export/vine-pro.json "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../vine/export/vine.atlas "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../vine/export/vine.png "$RUNTIME_DIR/spine-love/data"
|
||||
|
||||
cp -f ../stretchyman/export/stretchyman-pro.json "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../stretchyman/export/stretchyman.atlas "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../stretchyman/export/stretchyman.png "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../stretchyman/export/stretchyman-pro.json "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../stretchyman/export/stretchyman.atlas "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../stretchyman/export/stretchyman.png "$RUNTIME_DIR/spine-love/data"
|
||||
|
||||
cp -f ../stretchyman/export/stretchyman-stretchy-ik-pro.json "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../stretchyman/export/stretchyman-stretchy-ik-pro.json "$RUNTIME_DIR/spine-love/data"
|
||||
|
||||
cp -f ../mix-and-match/export/mix-and-match-pro.json "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../mix-and-match/export/mix-and-match.atlas "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../mix-and-match/export/mix-and-match.png "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../mix-and-match/export/mix-and-match-pro.json "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../mix-and-match/export/mix-and-match.atlas "$RUNTIME_DIR/spine-love/data"
|
||||
cp -f ../mix-and-match/export/mix-and-match.png "$RUNTIME_DIR/spine-love/data"
|
||||
else
|
||||
echo "skipping spine-love - dir not found"
|
||||
fi
|
||||
|
||||
echo "spine-sfml-c"
|
||||
rm "$RUNTIME_DIR/spine-sfml/c/data/"*
|
||||
cp -f ../coin/export/coin-pro.json "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../coin/export/coin-pro.skel "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../coin/export/coin-pma.atlas "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../coin/export/coin-pma.png "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
if [ -d "$RUNTIME_DIR/spine-sfml/c" ]; then
|
||||
rm "$RUNTIME_DIR/spine-sfml/c/data/"*
|
||||
cp -f ../coin/export/coin-pro.json "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../coin/export/coin-pro.skel "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../coin/export/coin-pma.atlas "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../coin/export/coin-pma.png "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
|
||||
cp -f ../goblins/export/goblins-pro.json "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../goblins/export/goblins-pro.skel "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../goblins/export/goblins-pma.atlas "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../goblins/export/goblins-pma.png "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../goblins/export/goblins-pro.json "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../goblins/export/goblins-pro.skel "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../goblins/export/goblins-pma.atlas "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../goblins/export/goblins-pma.png "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
|
||||
cp -f ../raptor/export/raptor-pro.json "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../raptor/export/raptor-pro.skel "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../raptor/export/raptor-pma.atlas "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../raptor/export/raptor-pma.png "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../raptor/export/raptor-pro.json "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../raptor/export/raptor-pro.skel "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../raptor/export/raptor-pma.atlas "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../raptor/export/raptor-pma.png "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
|
||||
cp -f ../spineboy/export/spineboy-pro.json "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../spineboy/export/spineboy-pro.skel "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../spineboy/export/spineboy-pma.atlas "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../spineboy/export/spineboy-pma.png "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../spineboy/export/spineboy-pro.json "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../spineboy/export/spineboy-pro.skel "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../spineboy/export/spineboy-pma.atlas "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../spineboy/export/spineboy-pma.png "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
|
||||
cp -f ../tank/export/tank-pro.json "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../tank/export/tank-pro.skel "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../tank/export/tank-pma.atlas "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../tank/export/tank-pma.png "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../tank/export/tank-pro.json "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../tank/export/tank-pro.skel "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../tank/export/tank-pma.atlas "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../tank/export/tank-pma.png "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
|
||||
cp -f ../vine/export/vine-pro.json "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../vine/export/vine-pro.skel "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../vine/export/vine-pma.atlas "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../vine/export/vine-pma.png "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../vine/export/vine-pro.json "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../vine/export/vine-pro.skel "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../vine/export/vine-pma.atlas "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../vine/export/vine-pma.png "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
|
||||
cp -f ../stretchyman/export/stretchyman-pro.json "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../stretchyman/export/stretchyman-pro.skel "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../stretchyman/export/stretchyman-pma.atlas "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../stretchyman/export/stretchyman-pma.png "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../stretchyman/export/stretchyman-pro.json "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../stretchyman/export/stretchyman-pro.skel "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../stretchyman/export/stretchyman-pma.atlas "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../stretchyman/export/stretchyman-pma.png "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
|
||||
cp -f ../stretchyman/export/stretchyman-stretchy-ik-pro.json "$RUNTIME_DIR/spine-sfml/c/data"
|
||||
cp -f ../stretchyman/export/stretchyman-stretchy-ik-pro.skel "$RUNTIME_DIR/spine-sfml/c/data"
|
||||
cp -f ../stretchyman/export/stretchyman-stretchy-ik-pro.json "$RUNTIME_DIR/spine-sfml/c/data"
|
||||
cp -f ../stretchyman/export/stretchyman-stretchy-ik-pro.skel "$RUNTIME_DIR/spine-sfml/c/data"
|
||||
|
||||
cp -f ../owl/export/owl-pro.json "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../owl/export/owl-pro.skel "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../owl/export/owl-pma.atlas "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../owl/export/owl-pma.png "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../owl/export/owl-pro.json "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../owl/export/owl-pro.skel "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../owl/export/owl-pma.atlas "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../owl/export/owl-pma.png "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
|
||||
cp -f ../mix-and-match/export/mix-and-match-pro.json "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../mix-and-match/export/mix-and-match-pro.skel "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../mix-and-match/export/mix-and-match-pma.atlas "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../mix-and-match/export/mix-and-match-pma.png "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../mix-and-match/export/mix-and-match-pro.json "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../mix-and-match/export/mix-and-match-pro.skel "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../mix-and-match/export/mix-and-match-pma.atlas "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
cp -f ../mix-and-match/export/mix-and-match-pma.png "$RUNTIME_DIR/spine-sfml/c/data/"
|
||||
else
|
||||
echo "skipping spine-sfml-c - dir not found"
|
||||
fi
|
||||
|
||||
echo "spine-sfml-cpp"
|
||||
rm "$RUNTIME_DIR/spine-sfml/cpp/data/"*
|
||||
cp -f ../coin/export/coin-pro.json "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../coin/export/coin-pro.skel "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../coin/export/coin-pma.atlas "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../coin/export/coin-pma.png "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
if [ -d "$RUNTIME_DIR/spine-sfml/cpp" ]; then
|
||||
rm "$RUNTIME_DIR/spine-sfml/cpp/data/"*
|
||||
cp -f ../coin/export/coin-pro.json "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../coin/export/coin-pro.skel "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../coin/export/coin-pma.atlas "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../coin/export/coin-pma.png "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
|
||||
cp -f ../goblins/export/goblins-pro.json "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../goblins/export/goblins-pro.skel "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../goblins/export/goblins-pma.atlas "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../goblins/export/goblins-pma.png "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../goblins/export/goblins-pro.json "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../goblins/export/goblins-pro.skel "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../goblins/export/goblins-pma.atlas "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../goblins/export/goblins-pma.png "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
|
||||
cp -f ../raptor/export/raptor-pro.json "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../raptor/export/raptor-pro.skel "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../raptor/export/raptor-pma.atlas "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../raptor/export/raptor-pma.png "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../raptor/export/raptor-pro.json "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../raptor/export/raptor-pro.skel "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../raptor/export/raptor-pma.atlas "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../raptor/export/raptor-pma.png "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
|
||||
cp -f ../spineboy/export/spineboy-pro.json "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../spineboy/export/spineboy-pro.skel "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../spineboy/export/spineboy-pma.atlas "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../spineboy/export/spineboy-pma.png "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../spineboy/export/spineboy-pro.json "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../spineboy/export/spineboy-pro.skel "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../spineboy/export/spineboy-pma.atlas "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../spineboy/export/spineboy-pma.png "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
|
||||
cp -f ../tank/export/tank-pro.json "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../tank/export/tank-pro.skel "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../tank/export/tank-pma.atlas "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../tank/export/tank-pma.png "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../tank/export/tank-pro.json "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../tank/export/tank-pro.skel "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../tank/export/tank-pma.atlas "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../tank/export/tank-pma.png "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
|
||||
cp -f ../vine/export/vine-pro.json "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../vine/export/vine-pro.skel "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../vine/export/vine-pma.atlas "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../vine/export/vine-pma.png "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../vine/export/vine-pro.json "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../vine/export/vine-pro.skel "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../vine/export/vine-pma.atlas "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../vine/export/vine-pma.png "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
|
||||
cp -f ../stretchyman/export/stretchyman-pro.json "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../stretchyman/export/stretchyman-pro.skel "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../stretchyman/export/stretchyman-pma.atlas "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../stretchyman/export/stretchyman-pma.png "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../stretchyman/export/stretchyman-pro.json "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../stretchyman/export/stretchyman-pro.skel "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../stretchyman/export/stretchyman-pma.atlas "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../stretchyman/export/stretchyman-pma.png "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
|
||||
cp -f ../stretchyman/export/stretchyman-stretchy-ik-pro.json "$RUNTIME_DIR/spine-sfml/cpp/data"
|
||||
cp -f ../stretchyman/export/stretchyman-stretchy-ik-pro.skel "$RUNTIME_DIR/spine-sfml/cpp/data"
|
||||
cp -f ../stretchyman/export/stretchyman-stretchy-ik-pro.json "$RUNTIME_DIR/spine-sfml/cpp/data"
|
||||
cp -f ../stretchyman/export/stretchyman-stretchy-ik-pro.skel "$RUNTIME_DIR/spine-sfml/cpp/data"
|
||||
|
||||
cp -f ../owl/export/owl-pro.json "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../owl/export/owl-pro.skel "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../owl/export/owl-pma.atlas "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../owl/export/owl-pma.png "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../owl/export/owl-pro.json "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../owl/export/owl-pro.skel "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../owl/export/owl-pma.atlas "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../owl/export/owl-pma.png "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
|
||||
cp -f ../mix-and-match/export/mix-and-match-pro.json "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../mix-and-match/export/mix-and-match-pro.skel "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../mix-and-match/export/mix-and-match-pma.atlas "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../mix-and-match/export/mix-and-match-pma.png "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../mix-and-match/export/mix-and-match-pro.json "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../mix-and-match/export/mix-and-match-pro.skel "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../mix-and-match/export/mix-and-match-pma.atlas "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
cp -f ../mix-and-match/export/mix-and-match-pma.png "$RUNTIME_DIR/spine-sfml/cpp/data/"
|
||||
else
|
||||
echo "skipping spine-sfml-cpp - dir not found"
|
||||
fi
|
||||
|
||||
echo "spine-starling"
|
||||
# DO NOT DELETE EVERYTHING IN SOURCE, ESPECIALLY goblins-mesh-starling.png/.xml
|
||||
cp -f ../coin/export/coin-pro.json "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../coin/export/coin.atlas "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../coin/export/coin.png "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
if [ -d "$RUNTIME_DIR/spine-starling" ]; then
|
||||
# DO NOT DELETE EVERYTHING IN SOURCE, ESPECIALLY goblins-mesh-starling.png/.xml
|
||||
cp -f ../coin/export/coin-pro.json "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../coin/export/coin.atlas "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../coin/export/coin.png "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
|
||||
cp -f ../goblins/export/goblins-pro.json "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../goblins/export/goblins.atlas "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../goblins/export/goblins.png "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../goblins/export/goblins-pro.json "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../goblins/export/goblins.atlas "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../goblins/export/goblins.png "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
|
||||
cp -f ../raptor/export/raptor-pro.json "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../raptor/export/raptor.atlas "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../raptor/export/raptor.png "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../raptor/export/raptor-pro.json "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../raptor/export/raptor.atlas "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../raptor/export/raptor.png "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
|
||||
cp -f ../spineboy/export/spineboy-pro.json "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../spineboy/export/spineboy.atlas "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../spineboy/export/spineboy.png "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../spineboy/export/spineboy-pro.json "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../spineboy/export/spineboy.atlas "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../spineboy/export/spineboy.png "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
|
||||
cp -f ../tank/export/tank-pro.json "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../tank/export/tank.atlas "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../tank/export/tank.png "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../tank/export/tank-pro.json "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../tank/export/tank.atlas "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../tank/export/tank.png "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
|
||||
cp -f ../vine/export/vine-pro.json "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../vine/export/vine.atlas "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../vine/export/vine.png "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../vine/export/vine-pro.json "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../vine/export/vine.atlas "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../vine/export/vine.png "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
|
||||
cp -f ../stretchyman/export/stretchyman-pro.json "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../stretchyman/export/stretchyman.atlas "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../stretchyman/export/stretchyman.png "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../stretchyman/export/stretchyman-pro.json "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../stretchyman/export/stretchyman.atlas "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../stretchyman/export/stretchyman.png "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
|
||||
cp -f ../stretchyman/export/stretchyman-stretchy-ik-pro.json "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../stretchyman/export/stretchyman-stretchy-ik-pro.json "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
|
||||
cp -f ../owl/export/owl-pro.json "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../owl/export/owl.atlas "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../owl/export/owl.png "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../owl/export/owl-pro.json "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../owl/export/owl.atlas "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../owl/export/owl.png "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
|
||||
cp -f ../mix-and-match/export/mix-and-match-pro.json "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../mix-and-match/export/mix-and-match.atlas "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../mix-and-match/export/mix-and-match.png "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../mix-and-match/export/mix-and-match-pro.json "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../mix-and-match/export/mix-and-match.atlas "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
cp -f ../mix-and-match/export/mix-and-match.png "$RUNTIME_DIR/spine-starling/spine-starling-example/src/"
|
||||
else
|
||||
echo "skipping spine-starling - dir not found"
|
||||
fi
|
||||
|
||||
echo "spine-ts"
|
||||
rm "$RUNTIME_DIR/spine-ts/webgl/example/assets/"*
|
||||
cp -f ../coin/export/coin-pro.skel "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../coin/export/coin-pma.atlas "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../coin/export/coin-pma.png "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
if [ -d "$RUNTIME_DIR/spine-ts" ]; then
|
||||
rm "$RUNTIME_DIR/spine-ts/webgl/example/assets/"*
|
||||
cp -f ../coin/export/coin-pro.skel "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../coin/export/coin-pma.atlas "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../coin/export/coin-pma.png "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
|
||||
cp -f ../goblins/export/goblins-pro.skel "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../goblins/export/goblins-pma.atlas "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../goblins/export/goblins-pma.png "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../goblins/export/goblins-pro.skel "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../goblins/export/goblins-pma.atlas "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../goblins/export/goblins-pma.png "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
|
||||
cp -f ../raptor/export/raptor-pro.skel "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../raptor/export/raptor-pma.atlas "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../raptor/export/raptor-pma.png "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../raptor/export/raptor-pro.skel "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../raptor/export/raptor-pma.atlas "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../raptor/export/raptor-pma.png "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
|
||||
cp -f ../spineboy/export/spineboy-pro.skel "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../spineboy/export/spineboy-pma.atlas "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../spineboy/export/spineboy-pma.png "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../spineboy/export/spineboy.png "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../spineboy/export/spineboy-pro.skel "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../spineboy/export/spineboy-pma.atlas "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../spineboy/export/spineboy-pma.png "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../spineboy/export/spineboy.png "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
|
||||
cp -f ../tank/export/tank-pro.skel "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../tank/export/tank-pma.atlas "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../tank/export/tank-pma.png "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../tank/export/tank-pro.skel "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../tank/export/tank-pma.atlas "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../tank/export/tank-pma.png "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
|
||||
cp -f ../vine/export/vine-pro.skel "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../vine/export/vine-pma.atlas "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../vine/export/vine-pma.png "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../vine/export/vine-pro.skel "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../vine/export/vine-pma.atlas "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../vine/export/vine-pma.png "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
|
||||
cp -f ../owl/export/owl-pro.skel "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../owl/export/owl-pma.atlas "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../owl/export/owl-pma.png "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../owl/export/owl-pro.skel "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../owl/export/owl-pma.atlas "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../owl/export/owl-pma.png "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
|
||||
cp -f ../stretchyman/export/stretchyman-pro.skel "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../stretchyman/export/stretchyman-pma.atlas "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../stretchyman/export/stretchyman-pma.png "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../stretchyman/export/stretchyman-pro.skel "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../stretchyman/export/stretchyman-pma.atlas "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../stretchyman/export/stretchyman-pma.png "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
|
||||
cp -f ../stretchyman/export/stretchyman-stretchy-ik-pro.skel "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../stretchyman/export/stretchyman-stretchy-ik-pro.skel "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
|
||||
cp -f ../mix-and-match/export/mix-and-match-pro.skel "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../mix-and-match/export/mix-and-match-pma.atlas "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../mix-and-match/export/mix-and-match-pma.png "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../mix-and-match/export/mix-and-match-pro.skel "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../mix-and-match/export/mix-and-match-pma.atlas "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
cp -f ../mix-and-match/export/mix-and-match-pma.png "$RUNTIME_DIR/spine-ts/webgl/example/assets/"
|
||||
|
||||
rm "$RUNTIME_DIR/spine-ts/canvas/example/assets/"*
|
||||
cp -f ../spineboy/export/spineboy-ess.json "$RUNTIME_DIR/spine-ts/canvas/example/assets/"
|
||||
cp -f ../spineboy/export/spineboy.atlas "$RUNTIME_DIR/spine-ts/canvas/example/assets/"
|
||||
cp -f ../spineboy/export/spineboy.png "$RUNTIME_DIR/spine-ts/canvas/example/assets/"
|
||||
rm "$RUNTIME_DIR/spine-ts/canvas/example/assets/"*
|
||||
cp -f ../spineboy/export/spineboy-ess.json "$RUNTIME_DIR/spine-ts/canvas/example/assets/"
|
||||
cp -f ../spineboy/export/spineboy.atlas "$RUNTIME_DIR/spine-ts/canvas/example/assets/"
|
||||
cp -f ../spineboy/export/spineboy.png "$RUNTIME_DIR/spine-ts/canvas/example/assets/"
|
||||
|
||||
rm "$RUNTIME_DIR/spine-ts/threejs/example/assets/"*
|
||||
cp -f ../raptor/export/raptor-pro.json "$RUNTIME_DIR/spine-ts/threejs/example/assets/"
|
||||
cp -f ../raptor/export/raptor.atlas "$RUNTIME_DIR/spine-ts/threejs/example/assets/"
|
||||
cp -f ../raptor/export/raptor.png "$RUNTIME_DIR/spine-ts/threejs/example/assets/"
|
||||
rm "$RUNTIME_DIR/spine-ts/threejs/example/assets/"*
|
||||
cp -f ../raptor/export/raptor-pro.json "$RUNTIME_DIR/spine-ts/threejs/example/assets/"
|
||||
cp -f ../raptor/export/raptor.atlas "$RUNTIME_DIR/spine-ts/threejs/example/assets/"
|
||||
cp -f ../raptor/export/raptor.png "$RUNTIME_DIR/spine-ts/threejs/example/assets/"
|
||||
|
||||
rm "$RUNTIME_DIR/spine-ts/player/example/assets/"*
|
||||
cp -f ../raptor/export/raptor-pro.json "$RUNTIME_DIR/spine-ts/player/example/assets/"
|
||||
cp -f ../raptor/export/raptor-pma.atlas "$RUNTIME_DIR/spine-ts/player/example/assets/"
|
||||
cp -f ../raptor/export/raptor-pma.png "$RUNTIME_DIR/spine-ts/player/example/assets/"
|
||||
rm "$RUNTIME_DIR/spine-ts/player/example/assets/"*
|
||||
cp -f ../raptor/export/raptor-pro.json "$RUNTIME_DIR/spine-ts/player/example/assets/"
|
||||
cp -f ../raptor/export/raptor-pma.atlas "$RUNTIME_DIR/spine-ts/player/example/assets/"
|
||||
cp -f ../raptor/export/raptor-pma.png "$RUNTIME_DIR/spine-ts/player/example/assets/"
|
||||
|
||||
cp -f ../spineboy/export/spineboy-pro.skel "$RUNTIME_DIR/spine-ts/player/example/assets/"
|
||||
cp -f ../spineboy/export/spineboy-pma.atlas "$RUNTIME_DIR/spine-ts/player/example/assets/"
|
||||
cp -f ../spineboy/export/spineboy-pma.png "$RUNTIME_DIR/spine-ts/player/example/assets/"
|
||||
cp -f ../spineboy/export/spineboy-pro.skel "$RUNTIME_DIR/spine-ts/player/example/assets/"
|
||||
cp -f ../spineboy/export/spineboy-pma.atlas "$RUNTIME_DIR/spine-ts/player/example/assets/"
|
||||
cp -f ../spineboy/export/spineboy-pma.png "$RUNTIME_DIR/spine-ts/player/example/assets/"
|
||||
else
|
||||
echo "skipping spine-ts - dir not found"
|
||||
fi
|
||||
|
||||
echo "spine-xna"
|
||||
rm "$RUNTIME_DIR/spine-xna/example/data/"*
|
||||
cp -f ../coin/export/coin-pro.json "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../coin/export/coin-pro.skel "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../coin/export/coin.atlas "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../coin/export/coin.png "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
if [ -d "$RUNTIME_DIR/spine-xna" ]; then
|
||||
rm "$RUNTIME_DIR/spine-xna/example/data/"*
|
||||
cp -f ../coin/export/coin-pro.json "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../coin/export/coin-pro.skel "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../coin/export/coin.atlas "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../coin/export/coin.png "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
|
||||
cp -f ../goblins/export/goblins-pro.json "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../goblins/export/goblins-pro.skel "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../goblins/export/goblins.atlas "$RUNTIME_DIR/spine-xna/example/data/goblins-mesh.atlas"
|
||||
cp -f ../goblins/export/goblins.png "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../goblins/export/goblins-pro.json "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../goblins/export/goblins-pro.skel "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../goblins/export/goblins.atlas "$RUNTIME_DIR/spine-xna/example/data/goblins-mesh.atlas"
|
||||
cp -f ../goblins/export/goblins.png "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
|
||||
cp -f ../raptor/export/raptor-pro.json "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../raptor/export/raptor-pro.skel "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../raptor/export/raptor.atlas "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../raptor/export/raptor.png "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../raptor/export/raptor-pro.json "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../raptor/export/raptor-pro.skel "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../raptor/export/raptor.atlas "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../raptor/export/raptor.png "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
|
||||
cp -f ../spineboy/export/spineboy-ess.json "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../spineboy/export/spineboy-ess.skel "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../spineboy/export/spineboy.atlas "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../spineboy/export/spineboy.png "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../spineboy/export/spineboy-ess.json "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../spineboy/export/spineboy-ess.skel "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../spineboy/export/spineboy.atlas "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../spineboy/export/spineboy.png "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
|
||||
cp -f ../tank/export/tank-pro.json "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../tank/export/tank-pro.skel "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../tank/export/tank.atlas "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../tank/export/tank.png "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../tank/export/tank-pro.json "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../tank/export/tank-pro.skel "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../tank/export/tank.atlas "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
cp -f ../tank/export/tank.png "$RUNTIME_DIR/spine-xna/example/data/"
|
||||
else
|
||||
echo "skipping spine-xna - dir not found"
|
||||
fi
|
||||
|
||||
echo "spine-unity"
|
||||
if [ -d "$RUNTIME_DIR/spine-unity" ]; then
|
||||
# Section of assets specific for the spine-unity runtime
|
||||
UNITY_SPECIFIC_ASSETS_SOURCE_DIR=../spine-unity
|
||||
|
||||
# DO NOT DELETE EVERYTHING IN UNITY DIRS, ESPECIALLY NOT .meta FILES.
|
||||
# Note: We copy the files following the existing naming scheme (e.g. goblins.json instead of goblins-pro.json)
|
||||
# to the unity assets directories. This requires to change the png file reference line in the atlas file.
|
||||
UNITY_ASSET_TARGET_DIR="$RUNTIME_DIR/spine-unity/Assets/Spine Examples/Spine Skeletons/Dragon"
|
||||
cp -f ../dragon/export/dragon-ess.json "$UNITY_ASSET_TARGET_DIR/dragon.json"
|
||||
cp -f ../dragon/export/dragon-pma.atlas "$UNITY_ASSET_TARGET_DIR/dragon.atlas.txt"
|
||||
sed -i 's/dragon-pma.png/dragon.png/g' "$UNITY_ASSET_TARGET_DIR/dragon.atlas.txt"
|
||||
sed -i 's/dragon-pma2.png/dragon2.png/g' "$UNITY_ASSET_TARGET_DIR/dragon.atlas.txt"
|
||||
cp -f ../dragon/export/dragon-pma.png "$UNITY_ASSET_TARGET_DIR/dragon.png"
|
||||
cp -f ../dragon/export/dragon-pma2.png "$UNITY_ASSET_TARGET_DIR/dragon2.png"
|
||||
|
||||
UNITY_ASSET_TARGET_DIR="$RUNTIME_DIR/spine-unity/Assets/Spine Examples/Spine Skeletons/Goblins"
|
||||
cp -f ../goblins/export/goblins-pro.json "$UNITY_ASSET_TARGET_DIR/goblins.json"
|
||||
cp -f ../goblins/export/goblins-pma.atlas "$UNITY_ASSET_TARGET_DIR/goblins.atlas.txt"
|
||||
sed -i 's/goblins-pma.png/goblins.png/g' "$UNITY_ASSET_TARGET_DIR/goblins.atlas.txt"
|
||||
cp -f ../goblins/export/goblins-pma.png "$UNITY_ASSET_TARGET_DIR/goblins.png"
|
||||
|
||||
UNITY_ASSET_TARGET_DIR="$RUNTIME_DIR/spine-unity/Assets/Spine Examples/Spine Skeletons/Hero"
|
||||
cp -f ../spine-unity/hero/export/hero-pro.json "$UNITY_ASSET_TARGET_DIR/"
|
||||
cp -f ../spine-unity/hero/export/hero-pma.atlas "$UNITY_ASSET_TARGET_DIR/hero-pro.atlas.txt"
|
||||
sed -i 's/hero-pma.png/hero-pro.png/g' "$UNITY_ASSET_TARGET_DIR/hero-pro.atlas.txt"
|
||||
cp -f ../spine-unity/hero/export/hero-pma.png "$UNITY_ASSET_TARGET_DIR/hero-pro.png"
|
||||
|
||||
UNITY_ASSET_TARGET_DIR="$RUNTIME_DIR/spine-unity/Assets/Spine Examples/Spine Skeletons/Raptor"
|
||||
cp -f ../raptor/export/raptor-pro.json "$UNITY_ASSET_TARGET_DIR/raptor.json"
|
||||
cp -f ../raptor/export/raptor-pma.atlas "$UNITY_ASSET_TARGET_DIR/raptor.atlas.txt"
|
||||
sed -i 's/raptor-pma.png/raptor.png/g' "$UNITY_ASSET_TARGET_DIR/raptor.atlas.txt"
|
||||
cp -f ../raptor/export/raptor-pma.png "$UNITY_ASSET_TARGET_DIR/raptor.png"
|
||||
|
||||
UNITY_ASSET_TARGET_DIR="$RUNTIME_DIR/spine-unity/Assets/Spine Examples/Spine Skeletons/spineboy-pro"
|
||||
cp -f ../spineboy/export/spineboy-pro.json "$UNITY_ASSET_TARGET_DIR/spineboy-pro.json"
|
||||
cp -f ../spineboy/export/spineboy-pma.atlas "$UNITY_ASSET_TARGET_DIR/spineboy-pro.atlas.txt"
|
||||
sed -i 's/spineboy-pma.png/spineboy-pro.png/g' "$UNITY_ASSET_TARGET_DIR/spineboy-pro.atlas.txt"
|
||||
cp -f ../spineboy/export/spineboy-pma.png "$UNITY_ASSET_TARGET_DIR/spineboy-pro.png"
|
||||
|
||||
UNITY_ASSET_TARGET_DIR="$RUNTIME_DIR/spine-unity/Assets/Spine Examples/Spine Skeletons/Stretchyman"
|
||||
cp -f ../stretchyman/export/stretchyman-pro.json "$UNITY_ASSET_TARGET_DIR/stretchyman.json"
|
||||
cp -f ../stretchyman/export/stretchyman-pma.atlas "$UNITY_ASSET_TARGET_DIR/stretchyman-diffuse-pma.atlas.txt"
|
||||
sed -i 's/stretchyman-pma.png/stretchyman-diffuse-pma.png/g' "$UNITY_ASSET_TARGET_DIR/stretchyman-diffuse-pma.atlas.txt"
|
||||
cp -f ../stretchyman/export/stretchyman-pma.png "$UNITY_ASSET_TARGET_DIR/stretchyman-diffuse-pma.png"
|
||||
# Note: normalmap and emissionmap have been created manually, a recreated version is copied to the target dir.
|
||||
cp -f $UNITY_SPECIFIC_ASSETS_SOURCE_DIR/stretchyman/stretchyman-normals.png "$UNITY_ASSET_TARGET_DIR/"
|
||||
cp -f $UNITY_SPECIFIC_ASSETS_SOURCE_DIR/stretchyman/stretchyman-emission.png "$UNITY_ASSET_TARGET_DIR/"
|
||||
|
||||
UNITY_ASSET_TARGET_DIR="$RUNTIME_DIR/spine-unity/Assets/Spine Examples/Spine Skeletons/Eyes"
|
||||
cp -f $UNITY_SPECIFIC_ASSETS_SOURCE_DIR/eyes/export/eyes.json "$UNITY_ASSET_TARGET_DIR/eyes.json"
|
||||
cp -f $UNITY_SPECIFIC_ASSETS_SOURCE_DIR/eyes/export/eyes-pma.atlas "$UNITY_ASSET_TARGET_DIR/eyes.atlas.txt"
|
||||
sed -i 's/eyes-pma.png/eyes.png/g' "$UNITY_ASSET_TARGET_DIR/eyes.atlas.txt"
|
||||
cp -f $UNITY_SPECIFIC_ASSETS_SOURCE_DIR/eyes/export/eyes-pma.png "$UNITY_ASSET_TARGET_DIR/eyes.png"
|
||||
|
||||
UNITY_ASSET_TARGET_DIR="$RUNTIME_DIR/spine-unity/Assets/Spine Examples/Spine Skeletons/FootSoldier"
|
||||
cp -f $UNITY_SPECIFIC_ASSETS_SOURCE_DIR/footsoldier/export/footsoldier.json "$UNITY_ASSET_TARGET_DIR/FootSoldier.json"
|
||||
cp -f $UNITY_SPECIFIC_ASSETS_SOURCE_DIR/footsoldier/export/footsoldier-pma.atlas "$UNITY_ASSET_TARGET_DIR/FS_White.atlas.txt"
|
||||
sed -i 's/footsoldier-pma.png/FS_White.png/g' "$UNITY_ASSET_TARGET_DIR/FS_White.atlas.txt"
|
||||
cp -f $UNITY_SPECIFIC_ASSETS_SOURCE_DIR/footsoldier/export/footsoldier-pma.png "$UNITY_ASSET_TARGET_DIR/FS_White.png"
|
||||
|
||||
UNITY_ASSET_TARGET_DIR="$RUNTIME_DIR/spine-unity/Assets/Spine Examples/Spine Skeletons/Gauge"
|
||||
cp -f $UNITY_SPECIFIC_ASSETS_SOURCE_DIR/gauge/export/gauge.json "$UNITY_ASSET_TARGET_DIR/Gauge.json"
|
||||
cp -f $UNITY_SPECIFIC_ASSETS_SOURCE_DIR/gauge/export/gauge-pma.atlas "$UNITY_ASSET_TARGET_DIR/Gauge.atlas.txt"
|
||||
sed -i 's/gauge-pma.png/Gauge.png/g' "$UNITY_ASSET_TARGET_DIR/Gauge.atlas.txt"
|
||||
cp -f $UNITY_SPECIFIC_ASSETS_SOURCE_DIR/gauge/export/gauge-pma.png "$UNITY_ASSET_TARGET_DIR/Gauge.png"
|
||||
|
||||
UNITY_ASSET_TARGET_DIR="$RUNTIME_DIR/spine-unity/Assets/Spine Examples/Spine Skeletons/Raptor"
|
||||
cp -f $UNITY_SPECIFIC_ASSETS_SOURCE_DIR/raptor/export/raptor.json "$UNITY_ASSET_TARGET_DIR/raptor.json"
|
||||
cp -f $UNITY_SPECIFIC_ASSETS_SOURCE_DIR/raptor/export/raptor-pma.atlas "$UNITY_ASSET_TARGET_DIR/raptor.atlas.txt"
|
||||
sed -i 's/raptor-pma.png/raptor.png/g' "$UNITY_ASSET_TARGET_DIR/raptor.atlas.txt"
|
||||
cp -f $UNITY_SPECIFIC_ASSETS_SOURCE_DIR/raptor/export/raptor-pma.png "$UNITY_ASSET_TARGET_DIR/raptor.png"
|
||||
|
||||
|
||||
UNITY_ASSET_TARGET_DIR="$RUNTIME_DIR/spine-unity/Assets/Spine Examples/Spine Skeletons/Raggedy Spineboy"
|
||||
cp -f $UNITY_SPECIFIC_ASSETS_SOURCE_DIR/raggedyspineboy/export/raggedyspineboy.json "$UNITY_ASSET_TARGET_DIR/raggedy spineboy.json"
|
||||
cp -f $UNITY_SPECIFIC_ASSETS_SOURCE_DIR/raggedyspineboy/export/raggedyspineboy-pma.atlas "$UNITY_ASSET_TARGET_DIR/Raggedy Spineboy.atlas.txt"
|
||||
sed -i 's/raggedyspineboy-pma.png/Raggedy Spineboy.png/g' "$UNITY_ASSET_TARGET_DIR/Raggedy Spineboy.atlas.txt"
|
||||
cp -f $UNITY_SPECIFIC_ASSETS_SOURCE_DIR/raggedyspineboy/export/raggedyspineboy-pma.png "$UNITY_ASSET_TARGET_DIR/Raggedy Spineboy.png"
|
||||
|
||||
UNITY_ASSET_TARGET_DIR="$RUNTIME_DIR/spine-unity/Assets/Spine Examples/Spine Skeletons/spineboy-pro"
|
||||
cp -f $UNITY_SPECIFIC_ASSETS_SOURCE_DIR/spineboy-pro/export/spineboy-pro.json "$UNITY_ASSET_TARGET_DIR/spineboy-pro.json"
|
||||
cp -f $UNITY_SPECIFIC_ASSETS_SOURCE_DIR/spineboy-pro/export/spineboy-pma.atlas "$UNITY_ASSET_TARGET_DIR/spineboy-pro.atlas.txt"
|
||||
sed -i 's/spineboy-pma.png/spineboy-pro.png/g' "$UNITY_ASSET_TARGET_DIR/spineboy-pro.atlas.txt"
|
||||
cp -f $UNITY_SPECIFIC_ASSETS_SOURCE_DIR/spineboy-pro/export/spineboy-pma.png "$UNITY_ASSET_TARGET_DIR/spineboy-pro.png"
|
||||
|
||||
UNITY_ASSET_TARGET_DIR="$RUNTIME_DIR/spine-unity/Assets/Spine Examples/Spine Skeletons/spineboy-unity"
|
||||
cp -f $UNITY_SPECIFIC_ASSETS_SOURCE_DIR/spineboy-unity/export/spineboy-unity.json "$UNITY_ASSET_TARGET_DIR/spineboy-unity.json"
|
||||
cp -f $UNITY_SPECIFIC_ASSETS_SOURCE_DIR/spineboy-unity/export/spineboy-pma.atlas "$UNITY_ASSET_TARGET_DIR/spineboy.atlas.txt"
|
||||
sed -i 's/spineboy-pma.png/spineboy.png/g' "$UNITY_ASSET_TARGET_DIR/spineboy.atlas.txt"
|
||||
cp -f $UNITY_SPECIFIC_ASSETS_SOURCE_DIR/spineboy-unity/export/spineboy-pma.png "$UNITY_ASSET_TARGET_DIR/spineboy.png"
|
||||
|
||||
UNITY_ASSET_TARGET_DIR="$RUNTIME_DIR/spine-unity/Assets/Spine Examples/Spine Skeletons/Spineunitygirl"
|
||||
cp -f $UNITY_SPECIFIC_ASSETS_SOURCE_DIR/spineunitygirl/export/doi.json "$UNITY_ASSET_TARGET_DIR/Doi.json"
|
||||
cp -f $UNITY_SPECIFIC_ASSETS_SOURCE_DIR/spineunitygirl/export/doi-pma.atlas "$UNITY_ASSET_TARGET_DIR/Doi.atlas.txt"
|
||||
sed -i 's/doi-pma.png/Doi.png/g' "$UNITY_ASSET_TARGET_DIR/Doi.atlas.txt"
|
||||
cp -f $UNITY_SPECIFIC_ASSETS_SOURCE_DIR/spineunitygirl/export/doi-pma.png "$UNITY_ASSET_TARGET_DIR/Doi.png"
|
||||
|
||||
UNITY_ASSET_TARGET_DIR="$RUNTIME_DIR/spine-unity/Assets/Spine Examples/Spine Skeletons/Whirlyblendmodes"
|
||||
cp -f $UNITY_SPECIFIC_ASSETS_SOURCE_DIR/whirlyblendmodes/export/whirlyblendmodes.json "$UNITY_ASSET_TARGET_DIR/whirlyblendmodes.json"
|
||||
cp -f $UNITY_SPECIFIC_ASSETS_SOURCE_DIR/whirlyblendmodes/export/whirlyblendmodes-pma.atlas "$UNITY_ASSET_TARGET_DIR/whirlyblendmodes.atlas.txt"
|
||||
sed -i 's/whirlyblendmodes-pma.png/whirlyblendmodes.png/g' "$UNITY_ASSET_TARGET_DIR/whirlyblendmodes.atlas.txt"
|
||||
cp -f $UNITY_SPECIFIC_ASSETS_SOURCE_DIR/whirlyblendmodes/export/whirlyblendmodes-pma.png "$UNITY_ASSET_TARGET_DIR/whirlyblendmodes.png"
|
||||
else
|
||||
echo "skipping spine-unity - dir not found"
|
||||
fi
|
||||
|
||||
BIN
examples/spine-unity/eyes/eyes.spine
Normal file
BIN
examples/spine-unity/eyes/images/EyeLines.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
examples/spine-unity/eyes/images/EyeWhite.png
Normal file
|
After Width: | Height: | Size: 9.0 KiB |
BIN
examples/spine-unity/eyes/images/L_Eye.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
examples/spine-unity/eyes/images/R_Eye.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
34
examples/spine-unity/eyes/import/eyes.atlas.txt
Normal file
@ -0,0 +1,34 @@
|
||||
|
||||
eyes.png
|
||||
size: 1024,512
|
||||
format: RGBA8888
|
||||
filter: Linear,Linear
|
||||
repeat: none
|
||||
EyeLines
|
||||
rotate: false
|
||||
xy: 2, 152
|
||||
size: 868, 322
|
||||
orig: 868, 322
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
EyeWhite
|
||||
rotate: false
|
||||
xy: 2, 2
|
||||
size: 700, 148
|
||||
orig: 700, 148
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
L_Eye
|
||||
rotate: false
|
||||
xy: 872, 326
|
||||
size: 148, 148
|
||||
orig: 148, 148
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
R_Eye
|
||||
rotate: false
|
||||
xy: 872, 326
|
||||
size: 148, 148
|
||||
orig: 148, 148
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
30
examples/spine-unity/eyes/import/eyes.json
Normal file
@ -0,0 +1,30 @@
|
||||
{
|
||||
"skeleton": { "hash": "zBR2x5RGJoCPEHpszlOxG4dsqEw", "spine": "3.6.07-beta", "width": 868, "height": 322, "fps": 1, "images": "" },
|
||||
"bones": [
|
||||
{ "name": "root" },
|
||||
{ "name": "L_Eye", "parent": "root", "x": -223.17, "y": 2.99 },
|
||||
{ "name": "R_Eye", "parent": "root", "x": 237.32, "y": 6.4 }
|
||||
],
|
||||
"slots": [
|
||||
{ "name": "EyeWhite", "bone": "root", "attachment": "EyeWhite" },
|
||||
{ "name": "R_Eye", "bone": "R_Eye", "attachment": "R_Eye" },
|
||||
{ "name": "L_Eye", "bone": "L_Eye", "attachment": "L_Eye" },
|
||||
{ "name": "EyeLines", "bone": "root", "attachment": "EyeLines" }
|
||||
],
|
||||
"skins": {
|
||||
"default": {
|
||||
"EyeLines": {
|
||||
"EyeLines": { "y": 28, "width": 868, "height": 322 }
|
||||
},
|
||||
"EyeWhite": {
|
||||
"EyeWhite": { "x": 3, "y": 2, "width": 700, "height": 148 }
|
||||
},
|
||||
"L_Eye": {
|
||||
"L_Eye": { "x": -0.81, "y": 2, "width": 148, "height": 148 }
|
||||
},
|
||||
"R_Eye": {
|
||||
"R_Eye": { "x": 0.67, "y": -1.39, "width": 148, "height": 148 }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
examples/spine-unity/eyes/import/eyes.png
Normal file
|
After Width: | Height: | Size: 29 KiB |
BIN
examples/spine-unity/footsoldier/footsoldier.spine
Normal file
BIN
examples/spine-unity/footsoldier/images/White/arm 2.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
BIN
examples/spine-unity/footsoldier/images/White/arm.png
Normal file
|
After Width: | Height: | Size: 6.4 KiB |
BIN
examples/spine-unity/footsoldier/images/White/body.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
examples/spine-unity/footsoldier/images/White/eyes blink.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
examples/spine-unity/footsoldier/images/White/eyes.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
examples/spine-unity/footsoldier/images/White/feet 2.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
examples/spine-unity/footsoldier/images/White/feet.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
examples/spine-unity/footsoldier/images/White/hand.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
examples/spine-unity/footsoldier/images/White/head 1.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
examples/spine-unity/footsoldier/images/White/leg 2.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
examples/spine-unity/footsoldier/images/White/leg.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
examples/spine-unity/footsoldier/images/White/mouth.png
Normal file
|
After Width: | Height: | Size: 415 B |
@ -0,0 +1,34 @@
|
||||
|
||||
Equipment.png
|
||||
size: 512,128
|
||||
format: RGBA8888
|
||||
filter: Linear,Linear
|
||||
repeat: none
|
||||
Equipment/shield1
|
||||
rotate: true
|
||||
xy: 220, 33
|
||||
size: 71, 118
|
||||
orig: 256, 256
|
||||
offset: 92, 69
|
||||
index: -1
|
||||
Equipment/shield2
|
||||
rotate: true
|
||||
xy: 340, 22
|
||||
size: 82, 111
|
||||
orig: 256, 256
|
||||
offset: 87, 72
|
||||
index: -1
|
||||
Equipment/sword1
|
||||
rotate: false
|
||||
xy: 2, 2
|
||||
size: 161, 31
|
||||
orig: 512, 256
|
||||
offset: 217, 112
|
||||
index: -1
|
||||
Equipment/sword4
|
||||
rotate: false
|
||||
xy: 2, 35
|
||||
size: 216, 69
|
||||
orig: 512, 256
|
||||
offset: 200, 94
|
||||
index: -1
|
||||
BIN
examples/spine-unity/footsoldier/import/Equipment/Equipment.png
Normal file
|
After Width: | Height: | Size: 39 KiB |
90
examples/spine-unity/footsoldier/import/FS_White.atlas.txt
Normal file
@ -0,0 +1,90 @@
|
||||
|
||||
FS_White.png
|
||||
size: 256,256
|
||||
format: RGBA8888
|
||||
filter: Linear,Linear
|
||||
repeat: none
|
||||
White/arm
|
||||
rotate: false
|
||||
xy: 143, 156
|
||||
size: 111, 98
|
||||
orig: 111, 98
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
White/arm 2
|
||||
rotate: false
|
||||
xy: 95, 36
|
||||
size: 46, 79
|
||||
orig: 46, 79
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
White/body
|
||||
rotate: false
|
||||
xy: 2, 12
|
||||
size: 91, 103
|
||||
orig: 91, 103
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
White/eyes
|
||||
rotate: true
|
||||
xy: 195, 87
|
||||
size: 67, 31
|
||||
orig: 67, 31
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
White/eyes blink
|
||||
rotate: true
|
||||
xy: 228, 87
|
||||
size: 67, 22
|
||||
orig: 67, 22
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
White/feet
|
||||
rotate: false
|
||||
xy: 95, 2
|
||||
size: 50, 32
|
||||
orig: 50, 32
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
White/feet 2
|
||||
rotate: false
|
||||
xy: 193, 58
|
||||
size: 55, 27
|
||||
orig: 55, 27
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
White/hand
|
||||
rotate: false
|
||||
xy: 147, 9
|
||||
size: 32, 28
|
||||
orig: 32, 28
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
White/head 1
|
||||
rotate: false
|
||||
xy: 2, 117
|
||||
size: 139, 137
|
||||
orig: 139, 137
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
White/leg
|
||||
rotate: false
|
||||
xy: 143, 39
|
||||
size: 48, 55
|
||||
orig: 48, 55
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
White/leg 2
|
||||
rotate: false
|
||||
xy: 143, 96
|
||||
size: 50, 58
|
||||
orig: 50, 58
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
White/mouth
|
||||
rotate: false
|
||||
xy: 193, 35
|
||||
size: 28, 21
|
||||
orig: 28, 21
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
BIN
examples/spine-unity/footsoldier/import/FS_White.png
Normal file
|
After Width: | Height: | Size: 51 KiB |
1754
examples/spine-unity/footsoldier/import/FootSoldier.json
Normal file
5
examples/spine-unity/footsoldier/import/license.txt
Normal file
@ -0,0 +1,5 @@
|
||||
Copyright (c) 2014, XDTech
|
||||
|
||||
The project file and images in this "FootSoldier" project are provided for
|
||||
demonstration purposes only and may not be redistributed for any reason nor
|
||||
used as the basis for derivative work.
|
||||
BIN
examples/spine-unity/gauge/gauge.spine
Normal file
BIN
examples/spine-unity/gauge/images/Background.png
Normal file
|
After Width: | Height: | Size: 489 B |
BIN
examples/spine-unity/gauge/images/Bar.png
Normal file
|
After Width: | Height: | Size: 173 B |
BIN
examples/spine-unity/gauge/images/Border.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
27
examples/spine-unity/gauge/import/Gauge.atlas.txt
Normal file
@ -0,0 +1,27 @@
|
||||
|
||||
Gauge.png
|
||||
size: 1024,64
|
||||
format: RGBA8888
|
||||
filter: Linear,Linear
|
||||
repeat: none
|
||||
Background
|
||||
rotate: false
|
||||
xy: 254, 30
|
||||
size: 224, 32
|
||||
orig: 224, 32
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Bar
|
||||
rotate: false
|
||||
xy: 480, 30
|
||||
size: 224, 32
|
||||
orig: 224, 32
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
Border
|
||||
rotate: false
|
||||
xy: 2, 2
|
||||
size: 250, 60
|
||||
orig: 250, 60
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
42
examples/spine-unity/gauge/import/Gauge.json
Normal file
@ -0,0 +1,42 @@
|
||||
{
|
||||
"skeleton": { "hash": "rc2mxcPRae3DQs+8yUQlM2SkaRg", "spine": "3.6.07-beta", "width": 250, "height": 60, "fps": 1, "images": "./images/" },
|
||||
"bones": [
|
||||
{ "name": "root" },
|
||||
{ "name": "Bar", "parent": "root", "x": -112.29 }
|
||||
],
|
||||
"slots": [
|
||||
{ "name": "Background", "bone": "root", "attachment": "Background" },
|
||||
{ "name": "Bar", "bone": "Bar", "attachment": "Bar" },
|
||||
{ "name": "Border", "bone": "root", "attachment": "Border" }
|
||||
],
|
||||
"skins": {
|
||||
"default": {
|
||||
"Background": {
|
||||
"Background": { "width": 224, "height": 32 }
|
||||
},
|
||||
"Bar": {
|
||||
"Bar": { "x": 112.29, "width": 224, "height": 32 }
|
||||
},
|
||||
"Border": {
|
||||
"Border": { "width": 250, "height": 60 }
|
||||
}
|
||||
}
|
||||
},
|
||||
"animations": {
|
||||
"Fill": {
|
||||
"bones": {
|
||||
"Bar": {
|
||||
"scale": [
|
||||
{
|
||||
"time": 0,
|
||||
"x": 0.002,
|
||||
"y": 1,
|
||||
"curve": [ 0.25, 0, 0.75, 1 ]
|
||||
},
|
||||
{ "time": 1, "x": 1, "y": 1 }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
examples/spine-unity/gauge/import/Gauge.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
examples/spine-unity/hero/hero-pro.spine
Normal file
BIN
examples/spine-unity/hero/images/body.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
examples/spine-unity/hero/images/cape.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
BIN
examples/spine-unity/hero/images/eyes.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
examples/spine-unity/hero/images/fingers.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
examples/spine-unity/hero/images/foot1.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
examples/spine-unity/hero/images/foot2.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
examples/spine-unity/hero/images/forearm1.png
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
BIN
examples/spine-unity/hero/images/forearm2.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
examples/spine-unity/hero/images/hand1.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
examples/spine-unity/hero/images/hand2.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
examples/spine-unity/hero/images/head.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
examples/spine-unity/hero/images/mantles.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
examples/spine-unity/hero/images/mouth.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
examples/spine-unity/hero/images/shin1.png
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
BIN
examples/spine-unity/hero/images/shin2.png
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
BIN
examples/spine-unity/hero/images/sword.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
examples/spine-unity/hero/images/thigh1.png
Normal file
|
After Width: | Height: | Size: 4.7 KiB |
BIN
examples/spine-unity/hero/images/thigh2.png
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
BIN
examples/spine-unity/hero/images/upper-arm1.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
examples/spine-unity/hero/images/upper-arm2.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
146
examples/spine-unity/hero/import/hero-pro.atlas.txt
Normal file
@ -0,0 +1,146 @@
|
||||
|
||||
hero-pro.png
|
||||
size: 1024,256
|
||||
format: RGBA8888
|
||||
filter: Linear,Linear
|
||||
repeat: none
|
||||
body
|
||||
rotate: false
|
||||
xy: 324, 81
|
||||
size: 97, 95
|
||||
orig: 97, 95
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
cape
|
||||
rotate: false
|
||||
xy: 176, 88
|
||||
size: 146, 159
|
||||
orig: 146, 159
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
eyes
|
||||
rotate: false
|
||||
xy: 604, 216
|
||||
size: 82, 31
|
||||
orig: 82, 31
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
fingers
|
||||
rotate: false
|
||||
xy: 877, 214
|
||||
size: 31, 33
|
||||
orig: 31, 33
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
foot1
|
||||
rotate: false
|
||||
xy: 743, 205
|
||||
size: 50, 42
|
||||
orig: 50, 42
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
foot2
|
||||
rotate: false
|
||||
xy: 688, 209
|
||||
size: 53, 38
|
||||
orig: 53, 38
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
forearm1
|
||||
rotate: false
|
||||
xy: 795, 198
|
||||
size: 41, 49
|
||||
orig: 41, 49
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
forearm2
|
||||
rotate: false
|
||||
xy: 910, 215
|
||||
size: 31, 32
|
||||
orig: 31, 32
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
hand1
|
||||
rotate: false
|
||||
xy: 838, 199
|
||||
size: 37, 48
|
||||
orig: 37, 48
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
hand2
|
||||
rotate: false
|
||||
xy: 286, 49
|
||||
size: 31, 37
|
||||
orig: 31, 37
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
head
|
||||
rotate: false
|
||||
xy: 2, 74
|
||||
size: 172, 173
|
||||
orig: 172, 173
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
mantles
|
||||
rotate: false
|
||||
xy: 2, 17
|
||||
size: 136, 55
|
||||
orig: 136, 55
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
mouth
|
||||
rotate: false
|
||||
xy: 2, 2
|
||||
size: 61, 13
|
||||
orig: 61, 13
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
shin1
|
||||
rotate: false
|
||||
xy: 482, 119
|
||||
size: 53, 57
|
||||
orig: 53, 57
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
shin2
|
||||
rotate: false
|
||||
xy: 192, 32
|
||||
size: 51, 54
|
||||
orig: 51, 54
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
sword
|
||||
rotate: false
|
||||
xy: 324, 178
|
||||
size: 216, 69
|
||||
orig: 216, 69
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
thigh1
|
||||
rotate: false
|
||||
xy: 542, 184
|
||||
size: 60, 63
|
||||
orig: 60, 63
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
thigh2
|
||||
rotate: false
|
||||
xy: 423, 112
|
||||
size: 57, 64
|
||||
orig: 57, 64
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
upper-arm1
|
||||
rotate: false
|
||||
xy: 140, 16
|
||||
size: 50, 56
|
||||
orig: 50, 56
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
upper-arm2
|
||||
rotate: false
|
||||
xy: 245, 27
|
||||
size: 39, 59
|
||||
orig: 39, 59
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
5381
examples/spine-unity/hero/import/hero-pro.json
Normal file
BIN
examples/spine-unity/hero/import/hero-pro.png
Normal file
|
After Width: | Height: | Size: 126 KiB |
5
examples/spine-unity/hero/import/license.txt
Normal file
@ -0,0 +1,5 @@
|
||||
Copyright (c) 2014, XDTech
|
||||
|
||||
The project file and images in this "Hero" project are provided for
|
||||
demonstration purposes only and may not be redistributed for any reason nor
|
||||
used as the basis for derivative work.
|
||||
BIN
examples/spine-unity/raggedyspineboy/images/arm.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
examples/spine-unity/raggedyspineboy/images/head.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
examples/spine-unity/raggedyspineboy/images/leg.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
examples/spine-unity/raggedyspineboy/images/torso.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
@ -0,0 +1,34 @@
|
||||
|
||||
Raggedy Spineboy.png
|
||||
size: 256,256
|
||||
format: RGBA8888
|
||||
filter: Linear,Linear
|
||||
repeat: none
|
||||
arm
|
||||
rotate: false
|
||||
xy: 140, 178
|
||||
size: 71, 75
|
||||
orig: 71, 75
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
head
|
||||
rotate: false
|
||||
xy: 2, 66
|
||||
size: 136, 187
|
||||
orig: 136, 187
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
leg
|
||||
rotate: false
|
||||
xy: 140, 77
|
||||
size: 36, 99
|
||||
orig: 36, 99
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
torso
|
||||
rotate: true
|
||||
xy: 2, 2
|
||||
size: 62, 95
|
||||
orig: 62, 95
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
BIN
examples/spine-unity/raggedyspineboy/import/Raggedy Spineboy.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
@ -0,0 +1,308 @@
|
||||
{
|
||||
"skeleton": { "hash": "PfETvq+tNE3sJ4NmzYgf3kHTmFY", "spine": "3.6.07-beta", "width": 0, "height": 0, "images": "" },
|
||||
"bones": [
|
||||
{ "name": "root" },
|
||||
{ "name": "hip", "parent": "root", "x": -0.79, "y": 82.38 },
|
||||
{ "name": "abdomen", "parent": "hip", "length": 33.5, "rotation": 89.55, "y": -0.1 },
|
||||
{ "name": "chest", "parent": "abdomen", "length": 29.58, "x": 38.08, "y": 0.73 },
|
||||
{ "name": "L-arm", "parent": "chest", "length": 32.68, "rotation": -121.23, "x": 24.64, "y": -16.69 },
|
||||
{ "name": "L-thigh", "parent": "hip", "length": 29.76, "rotation": -81.94, "x": 17.32, "y": -5.2 },
|
||||
{ "name": "L-foot", "parent": "L-thigh", "length": 37.25, "rotation": -6.29, "x": 37.36, "y": -1.79 },
|
||||
{ "name": "L-forearm", "parent": "L-arm", "length": 33.69, "rotation": -12.09, "x": 39.1, "y": -2.35 },
|
||||
{ "name": "R-arm", "parent": "chest", "length": 36.76, "rotation": 133.38, "x": 26, "y": 13.63 },
|
||||
{ "name": "R-thigh", "parent": "hip", "length": 29.49, "rotation": -93.16, "x": -18.19, "y": -6.06 },
|
||||
{ "name": "R-foot", "parent": "R-thigh", "length": 39.99, "rotation": -1.8, "x": 36.41, "y": 0.27 },
|
||||
{ "name": "R-forearm", "parent": "R-arm", "length": 36.13, "rotation": 2.73, "x": 41.66, "y": 0.28 },
|
||||
{ "name": "head", "parent": "chest", "length": 94.23, "rotation": -2.25, "x": 41.02, "y": -0.11 },
|
||||
{ "name": "scalp", "parent": "head", "length": 31.95, "rotation": -29.89, "x": 129.34, "y": 15.1 },
|
||||
{ "name": "hair1", "parent": "scalp", "length": 23.01, "rotation": 68.49, "x": 36.51, "y": 4.13 },
|
||||
{ "name": "hair2", "parent": "hair1", "length": 23.5, "rotation": 59.56, "x": 29.03, "y": 1.58 }
|
||||
],
|
||||
"slots": [
|
||||
{ "name": "R-arm", "bone": "R-arm", "attachment": "arm" },
|
||||
{ "name": "L-arm", "bone": "L-arm", "attachment": "arm" },
|
||||
{ "name": "L-leg", "bone": "L-thigh", "attachment": "leg" },
|
||||
{ "name": "R-leg", "bone": "R-thigh", "attachment": "leg" },
|
||||
{ "name": "torso", "bone": "abdomen", "attachment": "torso" },
|
||||
{ "name": "head", "bone": "head", "attachment": "head" }
|
||||
],
|
||||
"skins": {
|
||||
"default": {
|
||||
"L-arm": {
|
||||
"arm": {
|
||||
"type": "mesh",
|
||||
"uvs": [ 1, 0.16418, 0.90368, 0.30178, 0.80735, 0.43938, 0.75345, 0.50664, 0.71536, 0.55417, 0.66561, 0.61626, 0.63234, 0.65778, 0.59417, 0.7054, 0.45366, 0.8527, 0.31316, 1, 0.15658, 1, 0, 1, 0, 0.71458, 0.13235, 0.59074, 0.26471, 0.4669, 0.34675, 0.39836, 0.39153, 0.36096, 0.43008, 0.32876, 0.4689, 0.29633, 0.52302, 0.25113, 0.59417, 0.1917, 0.72983, 0.09585, 0.86549, 0, 1, 0, 0.15703, 0.83582, 0.46722, 0.51561, 0.78995, 0.22527, 0.34029, 0.70958, 0.62889, 0.3843 ],
|
||||
"triangles": [ 7, 25, 6, 25, 27, 14, 27, 25, 7, 13, 14, 27, 24, 13, 27, 12, 13, 24, 8, 27, 7, 11, 12, 24, 10, 11, 24, 9, 24, 27, 9, 27, 8, 10, 24, 9, 25, 14, 15, 22, 23, 0, 26, 21, 22, 26, 22, 0, 20, 21, 26, 1, 26, 0, 28, 20, 26, 19, 20, 28, 18, 19, 28, 2, 26, 1, 28, 26, 2, 3, 28, 2, 17, 4, 5, 25, 17, 5, 16, 17, 25, 15, 16, 25, 4, 28, 3, 28, 4, 18, 18, 4, 17, 6, 25, 5 ],
|
||||
"vertices": [ 1, 4, -11.38, 11.41, 1, 1, 4, 0.99, 11.79, 1, 1, 4, 13.36, 12.18, 1, 1, 4, 19.69, 11.97, 1, 2, 4, 24.16, 11.83, 0.91748, 7, -17.58, 10.73, 0.08252, 2, 4, 30, 11.64, 0.75238, 7, -11.83, 11.77, 0.24762, 2, 4, 33.91, 11.51, 0.44551, 7, -7.98, 12.46, 0.55449, 2, 4, 38.39, 11.36, 0.2127, 7, -3.57, 13.26, 0.7873, 2, 4, 53.17, 9.61, 0.07308, 7, 11.25, 14.65, 0.92692, 2, 4, 67.95, 7.86, 0.00873, 7, 26.07, 16.03, 0.99127, 1, 7, 34.26, 8.51, 1, 1, 7, 42.44, 0.99, 1, 1, 7, 27.96, -14.77, 1, 2, 4, 50.33, -20.36, 0.05494, 7, 14.76, -15.25, 0.94506, 2, 4, 37.32, -18.06, 0.23231, 7, 1.56, -15.74, 0.76769, 2, 4, 29.76, -16.28, 0.47868, 7, -6.21, -15.58, 0.52132, 2, 4, 25.63, -15.31, 0.71242, 7, -10.45, -15.5, 0.28758, 2, 4, 22.08, -14.47, 0.81876, 7, -14.1, -15.42, 0.18124, 2, 4, 18.5, -13.63, 0.9506, 7, -17.77, -15.35, 0.0494, 2, 4, 13.51, -12.45, 0.97879, 7, -22.9, -15.25, 0.02121, 2, 4, 6.96, -10.91, 0.99704, 7, -29.63, -15.11, 0.00296, 1, 4, -4.48, -7.2, 1, 1, 4, -15.91, -3.5, 1, 1, 4, -21.43, 4.29, 1, 1, 7, 25.9, -0.53, 1, 2, 4, 31.99, -4.22, 0.80128, 7, -6.56, -3.32, 0.19872, 1, 4, 0.98, 1.89, 1, 1, 7, 9.92, 1.3, 1, 1, 4, 17.32, -0.55, 1 ],
|
||||
"hull": 24,
|
||||
"edges": [ 0, 2, 2, 4, 4, 6, 14, 16, 16, 18, 18, 20, 20, 22, 22, 24, 24, 26, 26, 28, 28, 30, 38, 40, 40, 42, 42, 44, 44, 46, 46, 0, 10, 34, 30, 32, 32, 34, 10, 12, 12, 14, 6, 8, 8, 10, 34, 36, 36, 38, 8, 36 ],
|
||||
"width": 71,
|
||||
"height": 75
|
||||
}
|
||||
},
|
||||
"L-leg": {
|
||||
"leg": {
|
||||
"type": "mesh",
|
||||
"uvs": [ 1, 0.23129, 1, 0.29498, 1, 0.37025, 1, 0.44552, 1, 0.50921, 1, 0.65976, 1, 0.71766, 1, 0.87399, 0.73924, 1, 0.22971, 1, 0, 0.89715, 0, 0.64818, 0.01978, 0.59915, 0.08517, 0.43712, 0.10542, 0.38694, 0.13057, 0.32459, 0.15317, 0.26859, 0.178, 0.20707, 0.26155, 0, 1, 0, 0.61186, 0.12128, 0.51632, 0.54396 ],
|
||||
"triangles": [ 7, 8, 6, 6, 8, 9, 11, 6, 9, 9, 10, 11, 11, 12, 6, 12, 5, 6, 12, 21, 5, 12, 13, 21, 21, 4, 5, 21, 13, 4, 13, 14, 4, 14, 3, 4, 14, 15, 3, 15, 2, 3, 15, 16, 2, 16, 1, 2, 16, 17, 1, 17, 0, 1, 17, 20, 0, 17, 18, 20, 20, 19, 0, 20, 18, 19 ],
|
||||
"vertices": [ 1, 5, 11.02, 15.15, 1, 1, 5, 17.32, 14.75, 1, 2, 5, 24.75, 14.29, 0.95577, 6, -14.29, 14.6, 0.04423, 2, 5, 32.19, 13.83, 0.71874, 6, -6.84, 14.96, 0.28126, 2, 5, 38.49, 13.44, 0.37177, 6, -0.55, 15.26, 0.62823, 2, 5, 53.36, 12.51, 0.00736, 6, 14.34, 15.96, 0.99264, 1, 6, 20.07, 16.24, 1, 1, 6, 35.53, 16.97, 1, 1, 6, 48.43, 8.19, 1, 1, 6, 49.31, -10.13, 1, 1, 6, 39.53, -18.88, 1, 2, 5, 49.98, -23.35, 0.00313, 6, 14.91, -20.05, 0.99687, 2, 5, 45.18, -22.34, 0.02543, 6, 10.03, -19.57, 0.97457, 2, 5, 29.32, -18.99, 0.4709, 6, -6.11, -17.98, 0.5291, 2, 5, 24.4, -17.96, 0.69968, 6, -11.11, -17.49, 0.30032, 2, 5, 18.3, -16.67, 0.89625, 6, -17.32, -16.88, 0.10375, 2, 5, 12.82, -15.51, 0.9779, 6, -22.89, -16.33, 0.0221, 1, 5, 6.79, -14.24, 1, 1, 5, -13.48, -9.97, 1, 1, 5, -11.83, 16.57, 1, 1, 5, -0.72, 1.88, 1, 1, 6, 3.72, -1.97, 1 ],
|
||||
"hull": 20,
|
||||
"edges": [ 36, 38, 20, 22, 18, 20, 16, 18, 16, 14, 22, 24, 24, 10, 10, 12, 12, 14, 12, 22, 24, 26, 10, 8, 26, 8, 8, 6, 26, 28, 6, 28, 28, 30, 6, 4, 30, 4, 4, 2, 30, 32, 2, 32, 32, 34, 34, 36, 2, 0, 0, 38, 34, 0 ],
|
||||
"width": 36,
|
||||
"height": 99
|
||||
}
|
||||
},
|
||||
"R-arm": {
|
||||
"arm": {
|
||||
"type": "mesh",
|
||||
"uvs": [ 1, 0.16418, 0.90368, 0.30178, 0.80735, 0.43938, 0.75345, 0.50664, 0.71536, 0.55417, 0.66561, 0.61626, 0.63234, 0.65778, 0.59417, 0.7054, 0.45366, 0.8527, 0.31316, 1, 0.15658, 1, 0, 1, 0, 0.71458, 0.13235, 0.59074, 0.26471, 0.4669, 0.34675, 0.39836, 0.39153, 0.36096, 0.43008, 0.32876, 0.4689, 0.29633, 0.52302, 0.25113, 0.59417, 0.1917, 0.72983, 0.09585, 0.86549, 0, 1, 0, 0.15703, 0.83582, 0.46722, 0.51561, 0.78995, 0.22527, 0.34029, 0.70958, 0.62889, 0.3843 ],
|
||||
"triangles": [ 7, 25, 6, 25, 27, 14, 25, 14, 15, 27, 25, 7, 13, 14, 27, 24, 13, 27, 12, 13, 24, 8, 27, 7, 11, 12, 24, 10, 11, 24, 9, 24, 27, 9, 27, 8, 10, 24, 9, 26, 21, 22, 20, 21, 26, 28, 20, 26, 19, 20, 28, 18, 19, 28, 2, 26, 1, 28, 26, 2, 3, 28, 2, 17, 4, 5, 25, 17, 5, 16, 17, 25, 15, 16, 25, 4, 28, 3, 28, 4, 18, 18, 4, 17, 6, 25, 5, 1, 26, 0, 26, 22, 0, 22, 23, 0 ],
|
||||
"vertices": [ 1, 8, -6.97, 5.03, 1, 1, 8, 5.06, 7.93, 1, 1, 8, 17.1, 10.83, 1, 2, 8, 23.34, 11.91, 0.99563, 11, -17.75, 12.49, 0.00437, 2, 8, 27.74, 12.68, 0.95467, 11, -13.31, 13.04, 0.04533, 2, 8, 33.5, 13.69, 0.75827, 11, -7.51, 13.77, 0.24173, 2, 8, 37.35, 14.36, 0.53963, 11, -3.63, 14.26, 0.46037, 2, 8, 41.77, 15.13, 0.29363, 11, 0.82, 14.82, 0.70637, 2, 8, 56.6, 16.42, 4.0E-4, 11, 15.69, 15.41, 0.9996, 1, 11, 30.56, 16, 1, 1, 11, 38.34, 8.05, 1, 1, 11, 46.11, 0.1, 1, 1, 11, 30.8, -14.86, 1, 2, 8, 59.92, -13.5, 4.8E-4, 11, 17.59, -14.64, 0.99952, 2, 8, 46.72, -13.9, 0.17385, 11, 4.38, -14.41, 0.82615, 2, 8, 38.95, -13.7, 0.5683, 11, -3.37, -13.84, 0.4317, 2, 8, 34.71, -13.59, 0.79613, 11, -7.6, -13.53, 0.20387, 2, 8, 31.06, -13.49, 0.92362, 11, -11.24, -13.26, 0.07638, 2, 8, 27.39, -13.4, 0.98278, 11, -14.9, -12.99, 0.01722, 1, 8, 22.26, -13.26, 1, 1, 8, 15.53, -13.09, 1, 1, 8, 3.58, -11.79, 1, 1, 8, -8.37, -10.49, 1, 1, 8, -15.36, -3.99, 1, 1, 11, 29.51, -0.54, 1, 2, 8, 38.68, -1.43, 0.57762, 11, -3.06, -1.58, 0.42238, 1, 8, 7.07, -1.77, 1, 1, 11, 13.64, 2.15, 1, 1, 8, 23.56, -0.83, 1 ],
|
||||
"hull": 24,
|
||||
"edges": [ 0, 2, 2, 4, 4, 6, 14, 16, 16, 18, 18, 20, 20, 22, 22, 24, 24, 26, 26, 28, 28, 30, 38, 40, 40, 42, 42, 44, 44, 46, 46, 0, 10, 34, 30, 32, 32, 34, 10, 12, 12, 14, 6, 8, 8, 10, 34, 36, 36, 38, 8, 36 ],
|
||||
"width": 71,
|
||||
"height": 75
|
||||
}
|
||||
},
|
||||
"R-leg": {
|
||||
"leg": {
|
||||
"type": "mesh",
|
||||
"uvs": [ 1, 0.23129, 1, 0.29498, 1, 0.37025, 1, 0.44552, 1, 0.50921, 1, 0.65976, 1, 0.71766, 1, 0.87399, 0.73924, 1, 0.22971, 1, 0, 0.89715, 0, 0.64818, 0.01978, 0.59915, 0.08517, 0.43712, 0.10542, 0.38694, 0.13057, 0.32459, 0.15317, 0.26859, 0.178, 0.20707, 0.26155, 0, 1, 0, 0.61186, 0.12128, 0.51632, 0.54396 ],
|
||||
"triangles": [ 7, 8, 6, 6, 8, 9, 11, 6, 9, 9, 10, 11, 11, 12, 6, 12, 5, 6, 12, 21, 5, 12, 13, 21, 21, 4, 5, 21, 13, 4, 13, 14, 4, 14, 3, 4, 14, 15, 3, 15, 2, 3, 15, 16, 2, 16, 1, 2, 16, 17, 1, 17, 0, 1, 17, 20, 0, 17, 18, 20, 20, 19, 0, 20, 18, 19 ],
|
||||
"vertices": [ 1, 9, 7.41, 14.89, 1, 2, 9, 13.71, 15.24, 0.99432, 10, -23.16, 14.24, 0.00568, 2, 9, 21.15, 15.65, 0.91831, 10, -15.74, 14.89, 0.08169, 2, 9, 28.59, 16.06, 0.65731, 10, -8.32, 15.53, 0.34269, 2, 9, 34.88, 16.4, 0.33128, 10, -2.03, 16.08, 0.66872, 2, 9, 49.77, 17.22, 0.00401, 10, 12.81, 17.36, 0.99599, 1, 10, 18.52, 17.86, 1, 2, 9, 70.94, 18.39, 0, 10, 33.94, 19.2, 1, 2, 9, 83.91, 9.7, 0, 10, 47.18, 10.92, 1, 2, 9, 84.92, -8.61, 0, 10, 48.77, -7.35, 1, 2, 9, 75.21, -17.43, 0, 10, 39.34, -16.47, 1, 2, 9, 50.6, -18.79, 0.01347, 10, 14.78, -18.6, 0.98653, 2, 9, 45.72, -18.34, 0.05687, 10, 9.88, -18.31, 0.94313, 2, 9, 29.57, -16.87, 0.66681, 10, -6.3, -17.35, 0.33319, 2, 9, 24.57, -16.42, 0.86313, 10, -11.31, -17.05, 0.13687, 2, 9, 18.36, -15.85, 0.97673, 10, -17.54, -16.68, 0.02327, 2, 9, 12.77, -15.35, 0.99935, 10, -23.13, -16.35, 6.5E-4, 1, 9, 6.64, -14.79, 1, 2, 9, -13.99, -12.91, 0.99999, 10, -49.96, -14.76, 1.0E-5, 2, 9, -15.45, 13.63, 1, 10, -52.26, 11.72, 0, 2, 9, -2.7, 0.34, 1, 10, -39.09, -1.16, 0, 2, 9, 39.28, -0.79, 0.02735, 10, 2.9, -0.97, 0.97265 ],
|
||||
"hull": 20,
|
||||
"edges": [ 36, 38, 20, 22, 18, 20, 16, 18, 16, 14, 22, 24, 24, 10, 10, 12, 12, 14, 12, 22, 24, 26, 10, 8, 26, 8, 8, 6, 26, 28, 6, 28, 28, 30, 6, 4, 30, 4, 4, 2, 30, 32, 2, 32, 32, 34, 34, 36, 2, 0, 0, 38, 34, 0 ],
|
||||
"width": 36,
|
||||
"height": 99
|
||||
}
|
||||
},
|
||||
"head": {
|
||||
"head": {
|
||||
"type": "mesh",
|
||||
"uvs": [ 0.60755, 0.01864, 0.64146, 0.03355, 0.70227, 0.06028, 0.76687, 0.08869, 0.80696, 0.14524, 0.84158, 0.19407, 1, 0.41294, 1, 0.78562, 0.67349, 1, 0.38214, 1, 0.13935, 0.8937, 0.07949, 0.78808, 0.05899, 0.7519, 0, 0.64781, 0, 0.40213, 0.15055, 0.27784, 0.25632, 0.21734, 0.28424, 0.20137, 0.31117, 0.18597, 0.32034, 0.16739, 0.32984, 0.14814, 0.3317, 0.12798, 0.33358, 0.1076, 0.29623, 0.08869, 0.21779, 0.06978, 0.2514, 0.03195, 0.32659, 0.01699, 0.37521, 0.00732, 0.41202, 0, 0.45684, 0, 0.49046, 0, 0.53155, 0, 0.56517, 0, 0.55023, 0.1049, 0.46058, 0.06437, 0.38587, 0.05086, 0.31117, 0.04816, 0.54649, 0.17516, 0.35973, 0.28865, 0.14308, 0.41294, 0.13188, 0.57777, 0.24767, 0.43186, 0.43817, 0.37511, 0.59878, 0.3616, 0.78181, 0.43726, 0.89761, 0.53994, 0.87616, 0.37787 ],
|
||||
"triangles": [ 35, 21, 22, 21, 35, 34, 35, 28, 34, 28, 29, 34, 23, 36, 22, 22, 36, 35, 35, 26, 27, 26, 35, 36, 24, 25, 23, 23, 25, 36, 35, 27, 28, 36, 25, 26, 33, 2, 37, 2, 33, 1, 1, 33, 0, 37, 34, 33, 31, 33, 34, 34, 20, 21, 31, 34, 30, 33, 32, 0, 33, 31, 32, 34, 29, 30, 37, 20, 34, 8, 45, 7, 8, 44, 45, 44, 8, 43, 42, 43, 8, 8, 9, 42, 9, 40, 41, 9, 41, 42, 11, 40, 10, 9, 10, 40, 11, 12, 40, 45, 6, 7, 12, 13, 40, 13, 14, 40, 40, 39, 41, 40, 14, 39, 44, 46, 45, 45, 46, 6, 46, 44, 5, 41, 38, 42, 41, 16, 38, 16, 17, 38, 39, 15, 41, 41, 15, 16, 39, 14, 15, 44, 43, 5, 6, 46, 5, 43, 42, 37, 42, 38, 37, 43, 37, 4, 43, 4, 5, 4, 2, 3, 2, 4, 37, 17, 18, 38, 18, 19, 38, 19, 20, 38, 37, 38, 20 ],
|
||||
"vertices": [ 1, 14, 17.04, -22.66, 1, 3, 12, 187.6, -11.93, 0.00182, 13, 63.98, 5.58, 0.02381, 14, 11.42, -25.02, 0.97438, 2, 12, 182.37, -21.52, 0.62995, 14, 1.36, -29.25, 0.37005, 3, 12, 176.82, -31.71, 0.82289, 13, 64.49, -16.93, 0.07936, 14, -9.34, -33.75, 0.09775, 3, 12, 165.13, -38.42, 0.86351, 13, 57.7, -28.58, 0.08156, 14, -22.66, -31.7, 0.05494, 3, 12, 155.03, -44.22, 0.89858, 13, 51.83, -38.64, 0.08345, 14, -34.17, -29.93, 0.01796, 1, 12, 109.81, -70.7, 1, 1, 12, 30.84, -74.45, 1, 1, 12, -16.96, -26.55, 1, 1, 12, -19.08, 18.11, 1, 1, 12, 1.68, 56.4, 1, 1, 12, 23.63, 66.63, 1, 1, 12, 31.14, 70.14, 1, 1, 12, 52.77, 80.23, 1, 2, 12, 104.83, 82.69, 0.99074, 13, -54.93, 46.39, 0.00926, 3, 12, 132.26, 60.87, 0.88784, 13, -20.27, 41.13, 0.11168, 15, 48.07, 46.13, 4.7E-4, 4, 12, 145.85, 45.26, 0.85196, 13, -0.71, 34.37, 0.12365, 14, 14.49, 45.72, 0.00833, 15, 30.69, 34.9, 0.01605, 4, 12, 149.44, 41.14, 0.84249, 13, 4.45, 32.59, 0.12681, 14, 14.72, 40.26, 0.01053, 15, 26.1, 31.94, 0.02016, 4, 12, 152.9, 37.17, 0.83336, 13, 9.43, 30.87, 0.12986, 14, 14.94, 35, 0.01266, 15, 21.68, 29.08, 0.02412, 4, 12, 156.9, 35.95, 0.60487, 13, 13.51, 31.8, 0.21603, 14, 17.31, 31.55, 0.05833, 15, 19.9, 25.29, 0.12077, 4, 12, 161.05, 34.68, 0.368, 13, 17.74, 32.78, 0.30535, 14, 19.76, 27.97, 0.10569, 15, 18.06, 21.36, 0.22096, 4, 12, 165.34, 34.6, 0.18497, 13, 21.49, 34.84, 0.23674, 14, 23.06, 25.24, 0.1279, 15, 17.37, 17.13, 0.45039, 3, 13, 25.29, 36.92, 0.16741, 14, 26.39, 22.47, 0.15034, 15, 16.67, 12.86, 0.68225, 3, 13, 25.58, 43.92, 0.03309, 14, 33.01, 24.76, 0.02128, 15, 22, 8.32, 0.94563, 1, 15, 33.6, 3.18, 1, 1, 15, 27.7, -4.32, 1, 1, 15, 15.91, -6.38, 1, 1, 15, 8.29, -7.71, 1, 1, 15, 2.52, -8.72, 1, 2, 14, 33.8, -6.24, 0.33703, 15, -4.33, -8.07, 0.66297, 2, 14, 30.77, -10.42, 0.58778, 15, -9.46, -7.58, 0.41222, 2, 14, 27.08, -15.53, 0.81447, 15, -15.74, -6.98, 0.18553, 2, 14, 24.05, -19.7, 0.97838, 15, -20.88, -6.49, 0.02162, 1, 14, 7.37, -4.8, 1, 1, 14, 22.4, 1.3, 1, 1, 15, 7.54, 1.64, 1, 3, 13, 34.06, 46.62, 0.01618, 14, 38.63, 17.86, 0.0046, 15, 18.9, -0.03, 0.97922, 1, 13, 30.82, 1.68, 1, 3, 12, 131.49, 28.69, 0.99828, 14, -7.07, 41.74, 7.0E-5, 15, 16.34, 51.47, 0.00165, 1, 12, 103.58, 60.65, 1, 1, 12, 68.57, 60.72, 1, 1, 12, 100.33, 44.43, 1, 1, 12, 113.74, 15.8, 1, 1, 12, 117.77, -8.69, 1, 1, 12, 103.07, -37.5, 1, 1, 12, 82.15, -56.28, 1, 3, 12, 116.34, -51.37, 0.97904, 13, 21.84, -64.11, 0.01725, 14, -68.87, -11.37, 0.00371 ],
|
||||
"hull": 33,
|
||||
"edges": [ 16, 14, 16, 18, 18, 20, 26, 28, 28, 30, 44, 46, 46, 48, 48, 50, 14, 12, 10, 12, 50, 52, 52, 54, 54, 56, 56, 58, 58, 60, 60, 62, 62, 64, 2, 0, 0, 64, 2, 4, 4, 6, 20, 22, 22, 24, 24, 26, 80, 82, 82, 84, 84, 86, 86, 88, 88, 90, 90, 12, 80, 26, 34, 36, 30, 32, 32, 34, 36, 38, 38, 40, 40, 42, 42, 44, 12, 92, 6, 8, 8, 10 ],
|
||||
"width": 136,
|
||||
"height": 187
|
||||
}
|
||||
},
|
||||
"torso": {
|
||||
"torso": {
|
||||
"type": "mesh",
|
||||
"uvs": [ 0.87097, 0.13351, 1, 0.26703, 1, 0.45027, 1, 0.63351, 1, 0.81676, 1, 1, 0.75, 1, 0.5, 1, 0.25, 1, 0, 1, 0, 0.72402, 0, 0.44805, 0.09823, 0.22402, 0.19646, 0, 0.4692, 0, 0.74195, 0, 0.58869, 0.13132, 0.401, 0.46063, 0.8354, 0.50156, 0.42394, 0.2675, 0.36228, 0.63166, 0.58839, 0.76773, 0.71972, 0.25773, 0.84058, 0.76485, 0.57726, 0.50305, 0.24069, 0.44016, 0.19158, 0.8008, 0.29695, 0.12289, 0.37843, 0.84006, 0.71037, 0.63433, 0.15889, 0.60896 ],
|
||||
"triangles": [ 9, 10, 26, 9, 26, 8, 8, 28, 7, 8, 26, 28, 23, 3, 4, 6, 21, 23, 7, 21, 6, 6, 23, 5, 23, 4, 5, 17, 25, 19, 24, 22, 18, 17, 19, 24, 25, 12, 27, 25, 27, 19, 1, 18, 22, 22, 24, 19, 27, 13, 14, 16, 14, 15, 12, 13, 27, 22, 16, 15, 22, 15, 0, 19, 27, 14, 19, 14, 16, 22, 0, 1, 22, 19, 16, 11, 12, 25, 2, 18, 1, 30, 11, 25, 20, 25, 17, 20, 17, 24, 30, 25, 20, 18, 2, 3, 29, 24, 18, 10, 11, 30, 23, 18, 3, 29, 18, 23, 21, 24, 29, 21, 29, 23, 20, 24, 21, 26, 30, 20, 10, 30, 26, 28, 20, 21, 26, 20, 28, 7, 28, 21 ],
|
||||
"vertices": [ 1, 3, 31.69, -23.15, 1, 2, 2, 57.15, -30.53, 0.39506, 3, 19.07, -31.25, 0.60494, 2, 2, 39.74, -30.66, 0.60494, 3, 1.66, -31.39, 0.39506, 2, 2, 22.33, -30.8, 0.79012, 3, -15.75, -31.53, 0.20988, 1, 5, -7.76, 14.89, 1, 1, 5, 9.48, 12.45, 1, 1, 5, 7.3, -2.9, 1, 2, 5, 5.13, -18.25, 0.488, 9, 5.77, 18.5, 0.512, 2, 5, 2.96, -33.59, 0.16267, 9, 6.62, 3.03, 0.83733, 3, 2, -12.97, 30.92, 0.26337, 3, -51.05, 30.2, 0.06996, 9, 7.46, -12.45, 0.66667, 1, 9, -18.72, -13.88, 1, 2, 2, 39.46, 31.34, 0.60494, 3, 1.38, 30.61, 0.39506, 2, 2, 60.79, 25.41, 0.39506, 3, 22.71, 24.69, 0.60494, 1, 3, 44.04, 18.76, 1, 1, 3, 44.18, 1.86, 1, 1, 3, 44.31, -15.05, 1, 1, 3, 31.76, -5.65, 1, 2, 2, 38.46, 6.47, 0.552, 3, 0.38, 5.74, 0.448, 2, 2, 34.79, -20.5, 0.552, 3, -3.29, -21.22, 0.448, 1, 3, 18.74, 4.46, 1, 1, 2, 22.2, 8.74, 1, 2, 2, 9.38, -5.38, 0.52, 5, -15.95, -9.73, 0.48, 1, 3, 19.82, -13.87, 1, 2, 2, 9.78, -21.01, 0.52, 5, -14.03, 5.79, 0.48, 2, 2, 34.52, -4.49, 0.552, 3, -3.56, -5.22, 0.448, 2, 2, 40.33, 16.42, 0.552, 3, 2.25, 15.69, 0.448, 2, 2, 6.04, 19.2, 0.584, 9, -12.08, -1.62, 0.416, 1, 3, 32.42, 12.44, 1, 2, 2, 2.41, 7.58, 0.584, 9, -8.99, 10.15, 0.416, 1, 2, 22.11, -12.84, 1, 1, 2, 24.25, 21.37, 1 ],
|
||||
"hull": 16,
|
||||
"edges": [ 0, 2, 2, 4, 4, 6, 6, 8, 8, 10, 10, 12, 12, 14, 14, 16, 16, 18, 18, 20, 20, 22, 22, 24, 24, 26, 26, 28, 28, 30, 30, 0 ],
|
||||
"width": 62,
|
||||
"height": 95
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"animations": {
|
||||
"animation": {
|
||||
"bones": {
|
||||
"abdomen": {
|
||||
"rotate": [
|
||||
{
|
||||
"time": 0,
|
||||
"angle": 0,
|
||||
"curve": [ 0.25, 0, 0.374, 1 ]
|
||||
},
|
||||
{ "time": 0.3, "angle": 6.52 },
|
||||
{ "time": 1.3333, "angle": 0 }
|
||||
]
|
||||
},
|
||||
"chest": {
|
||||
"rotate": [
|
||||
{
|
||||
"time": 0,
|
||||
"angle": 0,
|
||||
"curve": [ 0.25, 0, 0.374, 1 ]
|
||||
},
|
||||
{
|
||||
"time": 0.3667,
|
||||
"angle": 13.73,
|
||||
"curve": [ 0.34, 0, 0.651, 0.43 ]
|
||||
},
|
||||
{
|
||||
"time": 0.6667,
|
||||
"angle": 12.78,
|
||||
"curve": [ 0.444, 0, 0.75, 1 ]
|
||||
},
|
||||
{
|
||||
"time": 0.9,
|
||||
"angle": 9.11,
|
||||
"curve": [ 0.444, 0, 0.75, 1 ]
|
||||
},
|
||||
{ "time": 1.3333, "angle": 0 }
|
||||
]
|
||||
},
|
||||
"head": {
|
||||
"rotate": [
|
||||
{
|
||||
"time": 0,
|
||||
"angle": 0,
|
||||
"curve": [ 0.348, 0, 0.609, 0.5 ]
|
||||
},
|
||||
{
|
||||
"time": 0.1,
|
||||
"angle": -10.88,
|
||||
"curve": [ 0.25, 0, 0.75, 1 ]
|
||||
},
|
||||
{
|
||||
"time": 0.4333,
|
||||
"angle": 6.77,
|
||||
"curve": [ 0.804, 0, 0.592, 0.98 ]
|
||||
},
|
||||
{ "time": 1.3333, "angle": 0 }
|
||||
]
|
||||
},
|
||||
"R-arm": {
|
||||
"rotate": [
|
||||
{
|
||||
"time": 0,
|
||||
"angle": 0,
|
||||
"curve": [ 0.25, 0, 0.75, 1 ]
|
||||
},
|
||||
{
|
||||
"time": 0.1667,
|
||||
"angle": -26.35,
|
||||
"curve": [ 0.25, 0, 0.75, 1 ]
|
||||
},
|
||||
{
|
||||
"time": 0.4333,
|
||||
"angle": -6.09,
|
||||
"curve": [ 0.25, 0, 0.75, 1 ]
|
||||
},
|
||||
{ "time": 1.3333, "angle": 0 }
|
||||
]
|
||||
},
|
||||
"L-arm": {
|
||||
"rotate": [
|
||||
{
|
||||
"time": 0,
|
||||
"angle": 0,
|
||||
"curve": [ 0.25, 0, 0.374, 1 ]
|
||||
},
|
||||
{
|
||||
"time": 0.3333,
|
||||
"angle": 53.01,
|
||||
"curve": [ 0.537, 0.01, 0.769, 1 ]
|
||||
},
|
||||
{
|
||||
"time": 0.6,
|
||||
"angle": 35.12,
|
||||
"curve": [ 0.35, 0, 0.659, 1 ]
|
||||
},
|
||||
{
|
||||
"time": 0.8333,
|
||||
"angle": 56.78,
|
||||
"curve": [ 0.59, 0, 0.695, 1 ]
|
||||
},
|
||||
{ "time": 1.3333, "angle": 0 }
|
||||
]
|
||||
},
|
||||
"R-forearm": {
|
||||
"rotate": [
|
||||
{
|
||||
"time": 0,
|
||||
"angle": 0,
|
||||
"curve": [ 0.348, 0, 0.609, 0.5 ]
|
||||
},
|
||||
{
|
||||
"time": 0.3333,
|
||||
"angle": 9.78,
|
||||
"curve": [ 0.25, 0, 0.471, 1 ]
|
||||
},
|
||||
{ "time": 1.3333, "angle": 0 }
|
||||
]
|
||||
},
|
||||
"L-forearm": {
|
||||
"rotate": [
|
||||
{
|
||||
"time": 0,
|
||||
"angle": 14.9,
|
||||
"curve": [ 0.331, -5.57, 0.528, 1 ]
|
||||
},
|
||||
{
|
||||
"time": 0.4333,
|
||||
"angle": 32.08,
|
||||
"curve": [ 0.642, 0, 0.318, 1 ]
|
||||
},
|
||||
{
|
||||
"time": 0.6333,
|
||||
"angle": -11.74,
|
||||
"curve": [ 0.602, 0, 0.386, 1 ]
|
||||
},
|
||||
{
|
||||
"time": 0.9333,
|
||||
"angle": 58,
|
||||
"curve": [ 0.25, 0, 0.629, 1 ]
|
||||
},
|
||||
{ "time": 1.3333, "angle": 14.9 }
|
||||
]
|
||||
},
|
||||
"scalp": {
|
||||
"rotate": [
|
||||
{
|
||||
"time": 0,
|
||||
"angle": -7.01,
|
||||
"curve": [ 0.357, 0, 0.643, 0.45 ]
|
||||
},
|
||||
{
|
||||
"time": 0.2667,
|
||||
"angle": 7.61,
|
||||
"curve": [ 0.208, 0.44, 0.479, 1 ]
|
||||
},
|
||||
{ "time": 0.6667, "angle": 0 },
|
||||
{ "time": 1.3333, "angle": -7.01 }
|
||||
]
|
||||
},
|
||||
"hair1": {
|
||||
"rotate": [
|
||||
{
|
||||
"time": 0,
|
||||
"angle": -8.8,
|
||||
"curve": [ 0.25, 0, 0.374, 1 ]
|
||||
},
|
||||
{
|
||||
"time": 0.2667,
|
||||
"angle": -16.02,
|
||||
"curve": [ 0.25, 0, 0.536, 1 ]
|
||||
},
|
||||
{
|
||||
"time": 0.5333,
|
||||
"angle": 29.39,
|
||||
"curve": [ 0.25, 0, 0.439, 1 ]
|
||||
},
|
||||
{ "time": 1.3333, "angle": -8.8 }
|
||||
]
|
||||
},
|
||||
"hair2": {
|
||||
"rotate": [
|
||||
{
|
||||
"time": 0,
|
||||
"angle": 4.65,
|
||||
"curve": [ 0.424, 0, 0.374, 1 ]
|
||||
},
|
||||
{
|
||||
"time": 0.3333,
|
||||
"angle": -17.96,
|
||||
"curve": [ 0.25, 0, 0.536, 1 ]
|
||||
},
|
||||
{
|
||||
"time": 0.6333,
|
||||
"angle": 6.63,
|
||||
"curve": [ 0.25, 0, 0.439, 1 ]
|
||||
},
|
||||
{ "time": 1.3333, "angle": 4.65 }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
examples/spine-unity/raggedyspineboy/raggedyspineboy.spine
Normal file
BIN
examples/spine-unity/raptor/images/back_arm.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
examples/spine-unity/raptor/images/back_bracer.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
examples/spine-unity/raptor/images/back_hand.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
examples/spine-unity/raptor/images/back_knee.png
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
BIN
examples/spine-unity/raptor/images/back_thigh.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
examples/spine-unity/raptor/images/eyes_open.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
examples/spine-unity/raptor/images/front_arm.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
examples/spine-unity/raptor/images/front_bracer.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
examples/spine-unity/raptor/images/front_hand.png
Normal file
|
After Width: | Height: | Size: 3.5 KiB |
BIN
examples/spine-unity/raptor/images/front_open_hand.png
Normal file
|
After Width: | Height: | Size: 4.0 KiB |
BIN
examples/spine-unity/raptor/images/front_thigh.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
examples/spine-unity/raptor/images/gun.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
examples/spine-unity/raptor/images/gun_nohand.png
Normal file
|
After Width: | Height: | Size: 9.1 KiB |
BIN
examples/spine-unity/raptor/images/head.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
examples/spine-unity/raptor/images/lower_leg.png
Normal file
|
After Width: | Height: | Size: 7.9 KiB |
BIN
examples/spine-unity/raptor/images/mouth_smile.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
examples/spine-unity/raptor/images/neck.png
Normal file
|
After Width: | Height: | Size: 776 B |
BIN
examples/spine-unity/raptor/images/raptor_arm_back.png
Normal file
|
After Width: | Height: | Size: 8.9 KiB |
BIN
examples/spine-unity/raptor/images/raptor_body.png
Normal file
|
After Width: | Height: | Size: 120 KiB |
BIN
examples/spine-unity/raptor/images/raptor_front_arm.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
examples/spine-unity/raptor/images/raptor_front_leg.png
Normal file
|
After Width: | Height: | Size: 46 KiB |
BIN
examples/spine-unity/raptor/images/raptor_hindleg_back.png
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
examples/spine-unity/raptor/images/raptor_horn.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
examples/spine-unity/raptor/images/raptor_horn_back.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
examples/spine-unity/raptor/images/raptor_jaw.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
examples/spine-unity/raptor/images/raptor_saddle_noshadow.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
examples/spine-unity/raptor/images/raptor_saddle_strap_front.png
Normal file
|
After Width: | Height: | Size: 6.2 KiB |