[starling] Fixed renderer, ignores path attachments. Fixed samples, click on sprites to advance to next sample. Updated assets

This commit is contained in:
badlogic 2017-04-11 13:11:02 +02:00
parent 0e9cb8ee26
commit 8920840ecf
125 changed files with 167 additions and 16119 deletions

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "KbedHwMuvIUvCUziYdeAMmLqQdc", "spine": "3.6.12-beta", "width": 365.79, "height": 391.47, "images": "./images/" },
"skeleton": { "hash": "KbedHwMuvIUvCUziYdeAMmLqQdc", "spine": "3.6.14-beta", "width": 365.79, "height": 391.47, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "hip", "parent": "root", "x": -8.17, "y": 73.5, "color": "fff200ff" },

Binary file not shown.

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "wKRjA+djIs9K05d/19sZhwmP3Ow", "spine": "3.6.12-beta", "width": 897, "height": 716.36, "images": "./images/" },
"skeleton": { "hash": "wKRjA+djIs9K05d/19sZhwmP3Ow", "spine": "3.6.14-beta", "width": 897, "height": 716.36, "images": "./images/" },
"bones": [
{ "name": "root", "y": -176.12 },
{ "name": "COG", "parent": "root", "y": 176.12 },

Binary file not shown.

View File

@ -11,6 +11,7 @@ echo "Spine exe: $SPINE_EXE"
echo "Cleaning..."
rm -rf ../alien/export/*
rm -rf ../coin/export/*
rm -rf ../dragon/export/*
rm -rf ../goblins/export/*
rm -rf ../hero/export/*
@ -33,6 +34,11 @@ echo "Exporting..."
-i ../alien/images -o ../alien/export -n alien -p atlas-0.5.json \
-i ../alien/images -o ../alien/export -n alien-pma -p atlas-0.5-pma.json \
\
-i ../coin/coin-pro.spine -o ../coin/export -e json.json \
-i ../coin/coin-pro.spine -o ../coin/export -e binary.json \
-i ../coin/images -o ../coin/export -n coin -p atlas-0.5.json \
-i ../coin/images -o ../coin/export -n coin-pma -p atlas-0.5-pma.json \
\
-i ../dragon/dragon.spine -o ../dragon/export -e json.json \
-i ../dragon/dragon.spine -o ../dragon/export -e binary.json \
-i ../dragon/images -o ../dragon/export -n dragon -p atlas-1.0.json \
@ -94,11 +100,6 @@ echo "Exporting..."
-i ../tank/images -o ../tank/export -n tank -p atlas-0.5.json \
-i ../tank/images -o ../tank/export -n tank-pma -p atlas-0.5-pma.json \
\
-i ../test/test.spine -o ../test/export -e json.json \
-i ../test/test.spine -o ../test/export -e binary.json \
-i ../test/images -o ../test/export -n test -p atlas-0.5.json \
-i ../test/images -o ../test/export -n test-pma -p atlas-0.5-pma.json \
\
-i ../vine/vine.spine -o ../vine/export -e json.json \
-i ../vine/vine.spine -o ../vine/export -e binary.json \
-i ../vine/images -o ../vine/export -n vine -p atlas-1.0.json \

View File

@ -94,10 +94,6 @@ cp -f ../stretchyman/export/stretchyman.json ../../spine-corona/data
cp -f ../stretchyman/export/stretchyman.atlas ../../spine-corona/data
cp -f ../stretchyman/export/stretchyman.png ../../spine-corona/data
cp -f ../test/export/test.json ../../spine-corona/data
cp -f ../test/export/test.atlas ../../spine-corona/data
cp -f ../test/export/test.png ../../spine-corona/data
echo "spine-love"
rm -f ../../spine-love/data/*
cp -f ../goblins/export/goblins-mesh.json ../../spine-love/data
@ -124,10 +120,6 @@ cp -f ../stretchyman/export/stretchyman.json ../../spine-love/data
cp -f ../stretchyman/export/stretchyman.atlas ../../spine-love/data
cp -f ../stretchyman/export/stretchyman.png ../../spine-love/data
cp -f ../test/export/test.json ../../spine-love/data
cp -f ../test/export/test.atlas ../../spine-love/data
cp -f ../test/export/test.png ../../spine-love/data
echo "spine-sfml"
rm -f ../../spine-sfml/data/*
cp -f ../goblins/export/goblins-mesh.json ../../spine-sfml/data/
@ -189,6 +181,10 @@ cp -f ../stretchyman/export/stretchyman.png ../../spine-starling/spine-starling-
echo "spine-ts"
rm -f ../../spine-ts/webgl/example/assets/*
cp -f ../coin/export/coin.json ../../spine-ts-webgl/examples/assets/
cp -f ../coin/export/coin.atlas ../../spine-ts-webgl/examples/assets/
cp -f ../coin/export/coin.png ../../spine-ts-webgl/examples/assets/
cp -f ../goblins/export/goblins-mesh.json ../../spine-ts/webgl/example/assets/
cp -f ../goblins/export/goblins.atlas ../../spine-ts/webgl/example/assets/goblins-mesh.atlas
cp -f ../goblins/export/goblins.png ../../spine-ts/webgl/example/assets/goblins.png

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "awYuZphYLRdHB2QK7tysD2unMI0", "spine": "3.6.12-beta", "width": 266.88, "height": 349.56, "images": "./images/" },
"skeleton": { "hash": "awYuZphYLRdHB2QK7tysD2unMI0", "spine": "3.6.14-beta", "width": 266.88, "height": 349.56, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "hip", "parent": "root", "x": 0.65, "y": 114.41 },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "r5YD0f6538Hmy0yaaam0Wp73fd8", "spine": "3.6.12-beta", "width": 234.01, "height": 354.84, "images": "./images/" },
"skeleton": { "hash": "r5YD0f6538Hmy0yaaam0Wp73fd8", "spine": "3.6.14-beta", "width": 234.01, "height": 354.84, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "hip", "parent": "root", "x": 0.65, "y": 114.41 },

Binary file not shown.

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "ESgSG/7CxdxIbeuHK+6pb0TxzjM", "spine": "3.6.12-beta", "width": 318.71, "height": 333.7, "images": "./images/" },
"skeleton": { "hash": "ESgSG/7CxdxIbeuHK+6pb0TxzjM", "spine": "3.6.14-beta", "width": 318.71, "height": 333.7, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "Hip", "parent": "root", "y": 94.89 },

Binary file not shown.

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "5CVEtC6/slh4hSB3vRGoGm7LdKY", "spine": "3.6.12-beta", "width": 319.36, "height": 337.02, "images": "./images/" },
"skeleton": { "hash": "5CVEtC6/slh4hSB3vRGoGm7LdKY", "spine": "3.6.14-beta", "width": 319.36, "height": 337.02, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "Hip", "parent": "root", "y": 94.89 },

Binary file not shown.

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "d01ShNZ08gDOIyqc2CGlBzHUKrA", "spine": "3.6.12-beta", "width": 413.19, "height": 195.71, "images": "./images/" },
"skeleton": { "hash": "d01ShNZ08gDOIyqc2CGlBzHUKrA", "spine": "3.6.14-beta", "width": 413.19, "height": 195.71, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "powerup", "parent": "root", "x": 1.48, "y": 134.02 },

Binary file not shown.

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "WOArBZLexLEX/Tow3AuM8ddszEE", "spine": "3.6.12-beta", "width": 1223.73, "height": 1055.62, "images": "./images/" },
"skeleton": { "hash": "WOArBZLexLEX/Tow3AuM8ddszEE", "spine": "3.6.14-beta", "width": 1223.73, "height": 1055.62, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "hip", "parent": "root", "rotation": 3.16, "x": -136.79, "y": 415.48, "color": "fbff00ff" },

Binary file not shown.

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "/NqLa1fxpj/CLuLG6xP3+K+2Oq0", "spine": "3.6.12-beta", "width": 196.03, "height": 305.44, "images": "./images/" },
"skeleton": { "hash": "/NqLa1fxpj/CLuLG6xP3+K+2Oq0", "spine": "3.6.14-beta", "width": 196.03, "height": 305.44, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "hip", "parent": "root", "x": -0.03, "y": 51.91 },

Binary file not shown.

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "7ZwwnXuU4QeWBoMnt86GJ4+hiN0", "spine": "3.6.12-beta", "width": 161.12, "height": 343.58, "images": "./images/" },
"skeleton": { "hash": "7ZwwnXuU4QeWBoMnt86GJ4+hiN0", "spine": "3.6.14-beta", "width": 161.12, "height": 343.58, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "hip", "parent": "root", "x": 0.65, "y": 114.41 },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "jwwArXQBSgnDp4JM5vgHQsr+jXc", "spine": "3.6.12-beta", "width": 511.48, "height": 739.87, "images": "./images/" },
"skeleton": { "hash": "jwwArXQBSgnDp4JM5vgHQsr+jXc", "spine": "3.6.14-beta", "width": 511.48, "height": 739.87, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "hip", "parent": "root", "x": -49.9, "y": 290.96 },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "Ej63wc50xNQhwqzbg9G0U7ADkFQ", "spine": "3.6.12-beta", "width": 0, "height": 0, "images": "./images/" },
"skeleton": { "hash": "Ej63wc50xNQhwqzbg9G0U7ADkFQ", "spine": "3.6.14-beta", "width": 0, "height": 0, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "hip", "parent": "root", "y": 247.27 },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "pyNJVWnSVMCkMub+i4imk8DBmBY", "spine": "3.6.12-beta", "width": 470.9, "height": 731.49, "images": "./images/" },
"skeleton": { "hash": "pyNJVWnSVMCkMub+i4imk8DBmBY", "spine": "3.6.14-beta", "width": 470.9, "height": 731.49, "images": "./images/" },
"bones": [
{ "name": "hip", "y": 247.47 },
{ "name": "torso", "parent": "hip", "length": 127.56, "rotation": 103.82, "x": -1.62, "y": 4.9, "color": "e0da19ff" },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "/FQ62MLXDzS93xb3LzhPr1aQxX8", "spine": "3.6.12-beta", "width": 1680, "height": 1782.28, "images": "./images/" },
"skeleton": { "hash": "/FQ62MLXDzS93xb3LzhPr1aQxX8", "spine": "3.6.14-beta", "width": 1680, "height": 1782.28, "images": "./images/" },
"bones": [
{ "name": "root", "y": -526.32 },
{ "name": "leaves", "parent": "root", "x": -0.17, "y": 1310.1 },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "RC7+qra2dmTzDIZaq6KhAjmvQgQ", "spine": "3.6.12-beta", "width": 264.48, "height": 570.11, "images": "./images/" },
"skeleton": { "hash": "RC7+qra2dmTzDIZaq6KhAjmvQgQ", "spine": "3.6.14-beta", "width": 264.48, "height": 570.11, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "hip", "parent": "root", "x": 28.61, "y": 289.9 },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "B1t2zOgaLSulKMcmcm3oTMzI3qI", "spine": "3.6.12-beta", "width": 1914.53, "height": 964.05, "images": "./images/" },
"skeleton": { "hash": "B1t2zOgaLSulKMcmcm3oTMzI3qI", "spine": "3.6.14-beta", "width": 1914.53, "height": 964.05, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "tankRoot", "parent": "root", "y": 200 },

Binary file not shown.

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "64h+ct/Nr1wkBrgZHtYbbfXpBlI", "spine": "3.6.12-beta", "width": 1333.78, "height": 1112.91, "images": "./images/" },
"skeleton": { "hash": "64h+ct/Nr1wkBrgZHtYbbfXpBlI", "spine": "3.6.14-beta", "width": 1333.78, "height": 1112.91, "images": "./images/" },
"bones": [
{ "name": "root", "x": 28.68, "y": -105.71 },
{ "name": "attachment", "parent": "root", "x": -267.71, "y": -366.62 },

Binary file not shown.

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "XWcs8pGHgYuqhvjNJQtrj3g2BEs", "spine": "3.6.12-beta", "width": 227.33, "height": 841.07, "images": "./images/" },
"skeleton": { "hash": "XWcs8pGHgYuqhvjNJQtrj3g2BEs", "spine": "3.6.14-beta", "width": 227.33, "height": 841.07, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "vine1", "parent": "root", "length": 74, "rotation": 90, "x": 339.1, "y": -467.15, "color": "f700ffff" },

Binary file not shown.

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "pyNJVWnSVMCkMub+i4imk8DBmBY", "spine": "3.6.12-beta", "width": 470.9, "height": 731.49, "images": "./images/" },
"skeleton": { "hash": "pyNJVWnSVMCkMub+i4imk8DBmBY", "spine": "3.6.14-beta", "width": 470.9, "height": 731.49, "images": "./images/" },
"bones": [
{ "name": "hip", "y": 247.47 },
{ "name": "torso", "parent": "hip", "length": 127.56, "rotation": 103.82, "x": -1.62, "y": 4.9, "color": "e0da19ff" },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "awYuZphYLRdHB2QK7tysD2unMI0", "spine": "3.6.12-beta", "width": 266.88, "height": 349.56, "images": "./images/" },
"skeleton": { "hash": "awYuZphYLRdHB2QK7tysD2unMI0", "spine": "3.6.14-beta", "width": 266.88, "height": 349.56, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "hip", "parent": "root", "x": 0.65, "y": 114.41 },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "WOArBZLexLEX/Tow3AuM8ddszEE", "spine": "3.6.12-beta", "width": 1223.73, "height": 1055.62, "images": "./images/" },
"skeleton": { "hash": "WOArBZLexLEX/Tow3AuM8ddszEE", "spine": "3.6.14-beta", "width": 1223.73, "height": 1055.62, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "hip", "parent": "root", "rotation": 3.16, "x": -136.79, "y": 415.48, "color": "fbff00ff" },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "pyNJVWnSVMCkMub+i4imk8DBmBY", "spine": "3.6.12-beta", "width": 470.9, "height": 731.49, "images": "./images/" },
"skeleton": { "hash": "pyNJVWnSVMCkMub+i4imk8DBmBY", "spine": "3.6.14-beta", "width": 470.9, "height": 731.49, "images": "./images/" },
"bones": [
{ "name": "hip", "y": 247.47 },
{ "name": "torso", "parent": "hip", "length": 127.56, "rotation": 103.82, "x": -1.62, "y": 4.9, "color": "e0da19ff" },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "B1t2zOgaLSulKMcmcm3oTMzI3qI", "spine": "3.6.12-beta", "width": 1914.53, "height": 964.05, "images": "./images/" },
"skeleton": { "hash": "B1t2zOgaLSulKMcmcm3oTMzI3qI", "spine": "3.6.14-beta", "width": 1914.53, "height": 964.05, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "tankRoot", "parent": "root", "y": 200 },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "awYuZphYLRdHB2QK7tysD2unMI0", "spine": "3.6.12-beta", "width": 266.88, "height": 349.56, "images": "./images/" },
"skeleton": { "hash": "awYuZphYLRdHB2QK7tysD2unMI0", "spine": "3.6.14-beta", "width": 266.88, "height": 349.56, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "hip", "parent": "root", "x": 0.65, "y": 114.41 },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "WOArBZLexLEX/Tow3AuM8ddszEE", "spine": "3.6.12-beta", "width": 1223.73, "height": 1055.62, "images": "./images/" },
"skeleton": { "hash": "WOArBZLexLEX/Tow3AuM8ddszEE", "spine": "3.6.14-beta", "width": 1223.73, "height": 1055.62, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "hip", "parent": "root", "rotation": 3.16, "x": -136.79, "y": 415.48, "color": "fbff00ff" },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "pyNJVWnSVMCkMub+i4imk8DBmBY", "spine": "3.6.12-beta", "width": 470.9, "height": 731.49, "images": "./images/" },
"skeleton": { "hash": "pyNJVWnSVMCkMub+i4imk8DBmBY", "spine": "3.6.14-beta", "width": 470.9, "height": 731.49, "images": "./images/" },
"bones": [
{ "name": "hip", "y": 247.47 },
{ "name": "torso", "parent": "hip", "length": 127.56, "rotation": 103.82, "x": -1.62, "y": 4.9, "color": "e0da19ff" },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "B1t2zOgaLSulKMcmcm3oTMzI3qI", "spine": "3.6.12-beta", "width": 1914.53, "height": 964.05, "images": "./images/" },
"skeleton": { "hash": "B1t2zOgaLSulKMcmcm3oTMzI3qI", "spine": "3.6.14-beta", "width": 1914.53, "height": 964.05, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "tankRoot", "parent": "root", "y": 200 },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "awYuZphYLRdHB2QK7tysD2unMI0", "spine": "3.6.12-beta", "width": 266.88, "height": 349.56, "images": "./images/" },
"skeleton": { "hash": "awYuZphYLRdHB2QK7tysD2unMI0", "spine": "3.6.14-beta", "width": 266.88, "height": 349.56, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "hip", "parent": "root", "x": 0.65, "y": 114.41 },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "WOArBZLexLEX/Tow3AuM8ddszEE", "spine": "3.6.12-beta", "width": 1223.73, "height": 1055.62, "images": "./images/" },
"skeleton": { "hash": "WOArBZLexLEX/Tow3AuM8ddszEE", "spine": "3.6.14-beta", "width": 1223.73, "height": 1055.62, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "hip", "parent": "root", "rotation": 3.16, "x": -136.79, "y": 415.48, "color": "fbff00ff" },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "pyNJVWnSVMCkMub+i4imk8DBmBY", "spine": "3.6.12-beta", "width": 470.9, "height": 731.49, "images": "./images/" },
"skeleton": { "hash": "pyNJVWnSVMCkMub+i4imk8DBmBY", "spine": "3.6.14-beta", "width": 470.9, "height": 731.49, "images": "./images/" },
"bones": [
{ "name": "hip", "y": 247.47 },
{ "name": "torso", "parent": "hip", "length": 127.56, "rotation": 103.82, "x": -1.62, "y": 4.9, "color": "e0da19ff" },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "RC7+qra2dmTzDIZaq6KhAjmvQgQ", "spine": "3.6.12-beta", "width": 264.48, "height": 570.11, "images": "./images/" },
"skeleton": { "hash": "RC7+qra2dmTzDIZaq6KhAjmvQgQ", "spine": "3.6.14-beta", "width": 264.48, "height": 570.11, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "hip", "parent": "root", "x": 28.61, "y": 289.9 },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "B1t2zOgaLSulKMcmcm3oTMzI3qI", "spine": "3.6.12-beta", "width": 1914.53, "height": 964.05, "images": "./images/" },
"skeleton": { "hash": "B1t2zOgaLSulKMcmcm3oTMzI3qI", "spine": "3.6.14-beta", "width": 1914.53, "height": 964.05, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "tankRoot", "parent": "root", "y": 200 },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "64h+ct/Nr1wkBrgZHtYbbfXpBlI", "spine": "3.6.12-beta", "width": 1333.78, "height": 1112.91, "images": "./images/" },
"skeleton": { "hash": "64h+ct/Nr1wkBrgZHtYbbfXpBlI", "spine": "3.6.14-beta", "width": 1333.78, "height": 1112.91, "images": "./images/" },
"bones": [
{ "name": "root", "x": 28.68, "y": -105.71 },
{ "name": "attachment", "parent": "root", "x": -267.71, "y": -366.62 },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "XWcs8pGHgYuqhvjNJQtrj3g2BEs", "spine": "3.6.12-beta", "width": 227.33, "height": 841.07, "images": "./images/" },
"skeleton": { "hash": "XWcs8pGHgYuqhvjNJQtrj3g2BEs", "spine": "3.6.14-beta", "width": 227.33, "height": 841.07, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "vine1", "parent": "root", "length": 74, "rotation": 90, "x": 339.1, "y": -467.15, "color": "f700ffff" },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "awYuZphYLRdHB2QK7tysD2unMI0", "spine": "3.6.12-beta", "width": 266.88, "height": 349.56, "images": "./images/" },
"skeleton": { "hash": "awYuZphYLRdHB2QK7tysD2unMI0", "spine": "3.6.14-beta", "width": 266.88, "height": 349.56, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "hip", "parent": "root", "x": 0.65, "y": 114.41 },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "r5YD0f6538Hmy0yaaam0Wp73fd8", "spine": "3.6.12-beta", "width": 234.01, "height": 354.84, "images": "./images/" },
"skeleton": { "hash": "r5YD0f6538Hmy0yaaam0Wp73fd8", "spine": "3.6.14-beta", "width": 234.01, "height": 354.84, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "hip", "parent": "root", "x": 0.65, "y": 114.41 },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "WOArBZLexLEX/Tow3AuM8ddszEE", "spine": "3.6.12-beta", "width": 1223.73, "height": 1055.62, "images": "./images/" },
"skeleton": { "hash": "WOArBZLexLEX/Tow3AuM8ddszEE", "spine": "3.6.14-beta", "width": 1223.73, "height": 1055.62, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "hip", "parent": "root", "rotation": 3.16, "x": -136.79, "y": 415.48, "color": "fbff00ff" },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "7ZwwnXuU4QeWBoMnt86GJ4+hiN0", "spine": "3.6.12-beta", "width": 161.12, "height": 343.58, "images": "./images/" },
"skeleton": { "hash": "7ZwwnXuU4QeWBoMnt86GJ4+hiN0", "spine": "3.6.14-beta", "width": 161.12, "height": 343.58, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "hip", "parent": "root", "x": 0.65, "y": 114.41 },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "jwwArXQBSgnDp4JM5vgHQsr+jXc", "spine": "3.6.12-beta", "width": 511.48, "height": 739.87, "images": "./images/" },
"skeleton": { "hash": "jwwArXQBSgnDp4JM5vgHQsr+jXc", "spine": "3.6.14-beta", "width": 511.48, "height": 739.87, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "hip", "parent": "root", "x": -49.9, "y": 290.96 },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "Ej63wc50xNQhwqzbg9G0U7ADkFQ", "spine": "3.6.12-beta", "width": 0, "height": 0, "images": "./images/" },
"skeleton": { "hash": "Ej63wc50xNQhwqzbg9G0U7ADkFQ", "spine": "3.6.14-beta", "width": 0, "height": 0, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "hip", "parent": "root", "y": 247.27 },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "pyNJVWnSVMCkMub+i4imk8DBmBY", "spine": "3.6.12-beta", "width": 470.9, "height": 731.49, "images": "./images/" },
"skeleton": { "hash": "pyNJVWnSVMCkMub+i4imk8DBmBY", "spine": "3.6.14-beta", "width": 470.9, "height": 731.49, "images": "./images/" },
"bones": [
{ "name": "hip", "y": 247.47 },
{ "name": "torso", "parent": "hip", "length": 127.56, "rotation": 103.82, "x": -1.62, "y": 4.9, "color": "e0da19ff" },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "awYuZphYLRdHB2QK7tysD2unMI0", "spine": "3.6.12-beta", "width": 266.88, "height": 349.56, "images": "./images/" },
"skeleton": { "hash": "awYuZphYLRdHB2QK7tysD2unMI0", "spine": "3.6.14-beta", "width": 266.88, "height": 349.56, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "hip", "parent": "root", "x": 0.65, "y": 114.41 },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "WOArBZLexLEX/Tow3AuM8ddszEE", "spine": "3.6.12-beta", "width": 1223.73, "height": 1055.62, "images": "./images/" },
"skeleton": { "hash": "WOArBZLexLEX/Tow3AuM8ddszEE", "spine": "3.6.14-beta", "width": 1223.73, "height": 1055.62, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "hip", "parent": "root", "rotation": 3.16, "x": -136.79, "y": 415.48, "color": "fbff00ff" },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "pyNJVWnSVMCkMub+i4imk8DBmBY", "spine": "3.6.12-beta", "width": 470.9, "height": 731.49, "images": "./images/" },
"skeleton": { "hash": "pyNJVWnSVMCkMub+i4imk8DBmBY", "spine": "3.6.14-beta", "width": 470.9, "height": 731.49, "images": "./images/" },
"bones": [
{ "name": "hip", "y": 247.47 },
{ "name": "torso", "parent": "hip", "length": 127.56, "rotation": 103.82, "x": -1.62, "y": 4.9, "color": "e0da19ff" },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "RC7+qra2dmTzDIZaq6KhAjmvQgQ", "spine": "3.6.12-beta", "width": 264.48, "height": 570.11, "images": "./images/" },
"skeleton": { "hash": "RC7+qra2dmTzDIZaq6KhAjmvQgQ", "spine": "3.6.14-beta", "width": 264.48, "height": 570.11, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "hip", "parent": "root", "x": 28.61, "y": 289.9 },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "B1t2zOgaLSulKMcmcm3oTMzI3qI", "spine": "3.6.12-beta", "width": 1914.53, "height": 964.05, "images": "./images/" },
"skeleton": { "hash": "B1t2zOgaLSulKMcmcm3oTMzI3qI", "spine": "3.6.14-beta", "width": 1914.53, "height": 964.05, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "tankRoot", "parent": "root", "y": 200 },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "64h+ct/Nr1wkBrgZHtYbbfXpBlI", "spine": "3.6.12-beta", "width": 1333.78, "height": 1112.91, "images": "./images/" },
"skeleton": { "hash": "64h+ct/Nr1wkBrgZHtYbbfXpBlI", "spine": "3.6.14-beta", "width": 1333.78, "height": 1112.91, "images": "./images/" },
"bones": [
{ "name": "root", "x": 28.68, "y": -105.71 },
{ "name": "attachment", "parent": "root", "x": -267.71, "y": -366.62 },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "XWcs8pGHgYuqhvjNJQtrj3g2BEs", "spine": "3.6.12-beta", "width": 227.33, "height": 841.07, "images": "./images/" },
"skeleton": { "hash": "XWcs8pGHgYuqhvjNJQtrj3g2BEs", "spine": "3.6.14-beta", "width": 227.33, "height": 841.07, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "vine1", "parent": "root", "length": 74, "rotation": 90, "x": 339.1, "y": -467.15, "color": "f700ffff" },

View File

@ -88,13 +88,12 @@ end
function love.load(arg)
if arg[#arg] == "-debug" then require("mobdebug").start() end
-- table.insert(skeletons, loadSkeleton("test", "test", "animation", nil, 0.5, 400, 300))
table.insert(skeletons, loadSkeleton("spineboy", "spineboy", "walk", nil, 0.5, 400, 500))
--[[ table.insert(skeletons, loadSkeleton("raptor", "raptor", "walk", nil, 0.3, 400, 500))
table.insert(skeletons, loadSkeleton("raptor", "raptor", "walk", nil, 0.3, 400, 500))
table.insert(skeletons, loadSkeleton("goblins-mesh", "goblins", "walk", "goblin", 1, 400, 500))
table.insert(skeletons, loadSkeleton("tank", "tank", "drive", nil, 0.2, 600, 500))
table.insert(skeletons, loadSkeleton("vine", "vine", "animation", nil, 0.3, 400, 500))
table.insert(skeletons, loadSkeleton("stretchyman", "stretchyman", "sneak", nil, 0.3, 200, 500))]]--
table.insert(skeletons, loadSkeleton("stretchyman", "stretchyman", "sneak", nil, 0.3, 200, 500))
skeletonRenderer = spine.SkeletonRenderer.new(true)
end

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "awYuZphYLRdHB2QK7tysD2unMI0", "spine": "3.6.12-beta", "width": 266.88, "height": 349.56, "images": "./images/" },
"skeleton": { "hash": "awYuZphYLRdHB2QK7tysD2unMI0", "spine": "3.6.14-beta", "width": 266.88, "height": 349.56, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "hip", "parent": "root", "x": 0.65, "y": 114.41 },

Binary file not shown.

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "WOArBZLexLEX/Tow3AuM8ddszEE", "spine": "3.6.12-beta", "width": 1223.73, "height": 1055.62, "images": "./images/" },
"skeleton": { "hash": "WOArBZLexLEX/Tow3AuM8ddszEE", "spine": "3.6.14-beta", "width": 1223.73, "height": 1055.62, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "hip", "parent": "root", "rotation": 3.16, "x": -136.79, "y": 415.48, "color": "fbff00ff" },

Binary file not shown.

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "pyNJVWnSVMCkMub+i4imk8DBmBY", "spine": "3.6.12-beta", "width": 470.9, "height": 731.49, "images": "./images/" },
"skeleton": { "hash": "pyNJVWnSVMCkMub+i4imk8DBmBY", "spine": "3.6.14-beta", "width": 470.9, "height": 731.49, "images": "./images/" },
"bones": [
{ "name": "hip", "y": 247.47 },
{ "name": "torso", "parent": "hip", "length": 127.56, "rotation": 103.82, "x": -1.62, "y": 4.9, "color": "e0da19ff" },

Binary file not shown.

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "RC7+qra2dmTzDIZaq6KhAjmvQgQ", "spine": "3.6.12-beta", "width": 264.48, "height": 570.11, "images": "./images/" },
"skeleton": { "hash": "RC7+qra2dmTzDIZaq6KhAjmvQgQ", "spine": "3.6.14-beta", "width": 264.48, "height": 570.11, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "hip", "parent": "root", "x": 28.61, "y": 289.9 },

Binary file not shown.

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "B1t2zOgaLSulKMcmcm3oTMzI3qI", "spine": "3.6.12-beta", "width": 1914.53, "height": 964.05, "images": "./images/" },
"skeleton": { "hash": "B1t2zOgaLSulKMcmcm3oTMzI3qI", "spine": "3.6.14-beta", "width": 1914.53, "height": 964.05, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "tankRoot", "parent": "root", "y": 200 },

Binary file not shown.

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "XWcs8pGHgYuqhvjNJQtrj3g2BEs", "spine": "3.6.12-beta", "width": 227.33, "height": 841.07, "images": "./images/" },
"skeleton": { "hash": "XWcs8pGHgYuqhvjNJQtrj3g2BEs", "spine": "3.6.14-beta", "width": 227.33, "height": 841.07, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "vine1", "parent": "root", "length": 74, "rotation": 90, "x": 339.1, "y": -467.15, "color": "f700ffff" },

Binary file not shown.

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "awYuZphYLRdHB2QK7tysD2unMI0", "spine": "3.6.12-beta", "width": 266.88, "height": 349.56, "images": "./images/" },
"skeleton": { "hash": "awYuZphYLRdHB2QK7tysD2unMI0", "spine": "3.6.14-beta", "width": 266.88, "height": 349.56, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "hip", "parent": "root", "x": 0.65, "y": 114.41 },

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "WOArBZLexLEX/Tow3AuM8ddszEE", "spine": "3.6.12-beta", "width": 1223.73, "height": 1055.62, "images": "./images/" },
"skeleton": { "hash": "WOArBZLexLEX/Tow3AuM8ddszEE", "spine": "3.6.14-beta", "width": 1223.73, "height": 1055.62, "images": "./images/" },
"bones": [
{ "name": "root" },
{ "name": "hip", "parent": "root", "rotation": 3.16, "x": -136.79, "y": 415.48, "color": "fbff00ff" },

View File

@ -29,6 +29,7 @@
*****************************************************************************/
package spine.examples {
import starling.display.DisplayObjectContainer;
import spine.*;
import spine.atlas.Atlas;
import spine.attachments.AtlasAttachmentLoader;
@ -61,6 +62,8 @@ package spine.examples {
[Embed(source = "/goblins-mesh-starling.png")]
static public const GoblinsStarlingAtlasTexture : Class;
private var skeleton : SkeletonAnimation;
private var skinChangeCount: Number = 0;
public function GoblinsExample() {
var useStarlingAtlas : Boolean = false;
@ -95,8 +98,15 @@ package spine.examples {
private function onClick(event : TouchEvent) : void {
var touch : Touch = event.getTouch(this);
if (touch && touch.phase == TouchPhase.BEGAN) {
skeleton.skeleton.skinName = skeleton.skeleton.skin.name == "goblin" ? "goblingirl" : "goblin";
skeleton.skeleton.setSlotsToSetupPose();
if (skinChangeCount < 2) {
skeleton.skeleton.skinName = skeleton.skeleton.skin.name == "goblin" ? "goblingirl" : "goblin";
skeleton.skeleton.setSlotsToSetupPose();
skinChangeCount++;
} else {
var parent: DisplayObjectContainer = this.parent;
this.removeFromParent(true);
parent.addChild(new RaptorExample());
}
}
}
}

View File

@ -38,20 +38,11 @@ package spine.examples {
private var _starling : Starling;
public function Main() {
var example : Class;
example = SpineboyExample;
// example = GoblinsExample;
// example = RaptorExample;
// example = TankExample;
// example = VineExample;
// example = StretchymanExample;
// example = TwoColorExample;
_starling = new Starling(example, stage);
_starling = new Starling(SpineboyExample, stage);
_starling.enableErrorChecking = true;
_starling.showStats = true;
_starling.skipUnchangedFrames = false;
_starling.start();
_starling.start();
}
}
}

View File

@ -29,6 +29,7 @@
*****************************************************************************/
package spine.examples {
import starling.display.DisplayObjectContainer;
import spine.atlas.Atlas;
import spine.*;
import spine.attachments.AtlasAttachmentLoader;
@ -53,6 +54,7 @@ package spine.examples {
static public const RaptorAtlasTexture : Class;
private var skeleton : SkeletonAnimation;
private var gunGrabbed : Boolean;
private var gunGrabCount : Number = 0;
public function RaptorExample() {
var attachmentLoader : AttachmentLoader;
@ -77,11 +79,18 @@ package spine.examples {
private function onClick(event : TouchEvent) : void {
var touch : Touch = event.getTouch(this);
if (touch && touch.phase == TouchPhase.BEGAN) {
if (gunGrabbed)
skeleton.skeleton.setToSetupPose();
else
skeleton.state.setAnimationByName(1, "gungrab", false);
gunGrabbed = !gunGrabbed;
if (gunGrabCount < 2) {
if (gunGrabbed)
skeleton.skeleton.setToSetupPose();
else
skeleton.state.setAnimationByName(1, "gungrab", false);
gunGrabbed = !gunGrabbed;
gunGrabCount++;
} else {
var parent: DisplayObjectContainer = this.parent;
this.removeFromParent(true);
parent.addChild(new TankExample());
}
}
}
}

View File

@ -29,6 +29,8 @@
*****************************************************************************/
package spine.examples {
import starling.display.DisplayObjectContainer;
import flash.display.DisplayObject;
import spine.animation.TrackEntry;
import spine.animation.AnimationStateData;
import spine.*;
@ -53,7 +55,7 @@ package spine.examples {
[Embed(source = "/spineboy.png")]
static public const SpineboyAtlasTexture : Class;
private var skeleton : SkeletonAnimation;
private var skeleton : SkeletonAnimation;
public function SpineboyExample() {
var spineAtlas : Atlas = new Atlas(new SpineboyAtlas(), new StarlingTextureLoader(new SpineboyAtlasTexture()));
@ -104,8 +106,9 @@ package spine.examples {
private function onClick(event : TouchEvent) : void {
var touch : Touch = event.getTouch(this);
if (touch && touch.phase == TouchPhase.BEGAN) {
skeleton.state.setAnimationByName(0, "jump", false);
skeleton.state.addAnimationByName(0, "run", true, 0);
var parent: DisplayObjectContainer = this.parent;
this.removeFromParent(true);
parent.addChild(new GoblinsExample());
}
}
}

View File

@ -29,6 +29,10 @@
*****************************************************************************/
package spine.examples {
import starling.display.DisplayObjectContainer;
import starling.events.TouchPhase;
import starling.events.Touch;
import starling.events.TouchEvent;
import spine.*;
import spine.animation.AnimationStateData;
import spine.animation.TrackEntry;
@ -91,6 +95,17 @@ package spine.examples {
addChild(skeleton);
Starling.juggler.add(skeleton);
addEventListener(TouchEvent.TOUCH, onClick);
}
private function onClick(event : TouchEvent) : void {
var touch : Touch = event.getTouch(this);
if (touch && touch.phase == TouchPhase.BEGAN) {
var parent: DisplayObjectContainer = this.parent;
this.removeFromParent(true);
parent.addChild(new SpineboyExample());
}
}
}
}

View File

@ -29,6 +29,10 @@
*****************************************************************************/
package spine.examples {
import starling.events.TouchPhase;
import starling.display.DisplayObjectContainer;
import starling.events.Touch;
import starling.events.TouchEvent;
import spine.atlas.Atlas;
import spine.*;
import spine.attachments.AtlasAttachmentLoader;
@ -66,6 +70,17 @@ package spine.examples {
addChild(skeleton);
Starling.juggler.add(skeleton);
addEventListener(TouchEvent.TOUCH, onClick);
}
private function onClick(event : TouchEvent) : void {
var touch : Touch = event.getTouch(this);
if (touch && touch.phase == TouchPhase.BEGAN) {
var parent: DisplayObjectContainer = this.parent;
this.removeFromParent(true);
parent.addChild(new VineExample());
}
}
}
}

View File

@ -29,6 +29,10 @@
*****************************************************************************/
package spine.examples {
import starling.display.DisplayObjectContainer;
import starling.events.TouchPhase;
import starling.events.Touch;
import starling.events.TouchEvent;
import spine.*;
import spine.atlas.Atlas;
import spine.attachments.AtlasAttachmentLoader;
@ -66,6 +70,16 @@ package spine.examples {
addChild(skeleton);
Starling.juggler.add(skeleton);
addEventListener(TouchEvent.TOUCH, onClick);
}
private function onClick(event : TouchEvent) : void {
var touch : Touch = event.getTouch(this);
if (touch && touch.phase == TouchPhase.BEGAN) {
var parent: DisplayObjectContainer = this.parent;
this.removeFromParent(true);
parent.addChild(new SpineboyExample());
}
}
}
}

View File

@ -29,6 +29,10 @@
*****************************************************************************/
package spine.examples {
import starling.display.DisplayObjectContainer;
import starling.events.TouchPhase;
import starling.events.Touch;
import starling.events.TouchEvent;
import spine.*;
import spine.atlas.Atlas;
import spine.attachments.AtlasAttachmentLoader;
@ -66,6 +70,17 @@ package spine.examples {
addChild(skeleton);
Starling.juggler.add(skeleton);
addEventListener(TouchEvent.TOUCH, onClick);
}
private function onClick(event : TouchEvent) : void {
var touch : Touch = event.getTouch(this);
if (touch && touch.phase == TouchPhase.BEGAN) {
var parent: DisplayObjectContainer = this.parent;
this.removeFromParent(true);
parent.addChild(new StretchymanExample());
}
}
}
}

View File

@ -1,5 +1,5 @@
{
"skeleton": { "hash": "pyNJVWnSVMCkMub+i4imk8DBmBY", "spine": "3.6.12-beta", "width": 470.9, "height": 731.49, "images": "./images/" },
"skeleton": { "hash": "pyNJVWnSVMCkMub+i4imk8DBmBY", "spine": "3.6.14-beta", "width": 470.9, "height": 731.49, "images": "./images/" },
"bones": [
{ "name": "hip", "y": 247.47 },
{ "name": "torso", "parent": "hip", "length": 127.56, "rotation": 103.82, "x": -1.62, "y": 4.9, "color": "e0da19ff" },

Some files were not shown because too many files have changed in this diff Show More