Example scenes: Updated Hero example character project. Merged spine-unity/Hero and ./Hero to a single new Hero project by Soren. The new project provides separate skins for morning star and sword. Updated other spine-unity example project versions.

This commit is contained in:
Harald Csaszar 2019-11-20 13:49:40 +01:00
parent fa712fc325
commit 915273d458
46 changed files with 2605 additions and 1753 deletions

View File

@ -159,11 +159,6 @@ if [ -d "$UNITY_BASE_DIR" ]; then
-i $UNITY_BASE_DIR/gauge/images -o $UNITY_BASE_DIR/gauge/export -n gauge -p atlas-1.0.json \
-i $UNITY_BASE_DIR/gauge/images -o $UNITY_BASE_DIR/gauge/export -n gauge-pma -p atlas-1.0-pma.json \
\
-i $UNITY_BASE_DIR/hero/hero-pro.spine -o $UNITY_BASE_DIR/hero/export -e json.json \
-i $UNITY_BASE_DIR/hero/hero-pro.spine -o $UNITY_BASE_DIR/hero/export -e binary.json \
-i $UNITY_BASE_DIR/hero/images -o $UNITY_BASE_DIR/hero/export -n hero -p atlas-1.0.json \
-i $UNITY_BASE_DIR/hero/images -o $UNITY_BASE_DIR/hero/export -n hero-pma -p atlas-1.0-pma.json \
\
-i $UNITY_BASE_DIR/raggedyspineboy/raggedyspineboy.spine -o $UNITY_BASE_DIR/raggedyspineboy/export -e json.json \
-i $UNITY_BASE_DIR/raggedyspineboy/raggedyspineboy.spine -o $UNITY_BASE_DIR/raggedyspineboy/export -e binary.json \
-i $UNITY_BASE_DIR/raggedyspineboy/images -o $UNITY_BASE_DIR/raggedyspineboy/export -n raggedyspineboy -p atlas-1.0.json \

View File

@ -425,10 +425,10 @@ sed -i 's/goblins-pma.png/goblins.png/g' "$UNITY_TARGET_DIR/goblins.atlas.txt"
cp -f ../goblins/export/goblins-pma.png "$UNITY_TARGET_DIR/goblins.png"
UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/Hero"
cp -f ../spine-unity/hero/export/hero-pro.json "$UNITY_TARGET_DIR/"
cp -f ../spine-unity/hero/export/hero-pma.atlas "$UNITY_TARGET_DIR/hero-pro.atlas.txt"
cp -f ../hero/export/hero-pro.json "$UNITY_TARGET_DIR/"
cp -f ../hero/export/hero-pma.atlas "$UNITY_TARGET_DIR/hero-pro.atlas.txt"
sed -i 's/hero-pma.png/hero-pro.png/g' "$UNITY_TARGET_DIR/hero-pro.atlas.txt"
cp -f ../spine-unity/hero/export/hero-pma.png "$UNITY_TARGET_DIR/hero-pro.png"
cp -f ../hero/export/hero-pma.png "$UNITY_TARGET_DIR/hero-pro.png"
UNITY_TARGET_DIR="$ROOT/spine-unity/Assets/Spine Examples/Spine Skeletons/Raptor"
cp -f ../raptor/export/raptor-pro.json "$UNITY_TARGET_DIR/raptor.json"

View File

@ -1,7 +1,7 @@
{
"skeleton": {
"hash": "GKlLtUkXkXrplEF0opVpUHvO7E4",
"spine": "3.8.55",
"spine": "3.8.76",
"x": -87.83,
"y": -0.03,
"width": 319.3,
@ -71,62 +71,62 @@
{
"name": "default",
"attachments": {
"thigh2": {
"thigh2": { "x": 15.71, "y": -4.62, "rotation": 85.46, "width": 57, "height": 64 }
},
"foot1": {
"foot1": { "x": 12.55, "y": 0.12, "rotation": 90.96, "width": 50, "height": 42 }
},
"foot2": {
"foot2": { "x": 8.83, "y": 2.92, "rotation": 90.42, "width": 53, "height": 38 }
},
"mouth": {
"mouth": { "x": 12.07, "y": 10.76, "rotation": 0.12, "width": 61, "height": 13 }
},
"forearm1": {
"forearm1": { "x": 11.88, "y": -5.04, "rotation": 106.62, "width": 41, "height": 49 }
},
"forearm2": {
"forearm2": { "x": 13.09, "y": -0.64, "rotation": 83.72, "width": 31, "height": 32 }
},
"upperarm1": {
"upper-arm1": { "x": 6.6, "y": 0.06, "rotation": 137.18, "width": 50, "height": 56 }
},
"hand1": {
"hand1": { "x": 11.93, "y": -0.7, "rotation": 90.37, "width": 37, "height": 48 }
},
"thigh1": {
"thigh1": { "x": 11.99, "y": -1.02, "rotation": 107.07, "width": 60, "height": 63 }
},
"weapon": {
"sword": { "x": 71.39, "y": 0.2, "rotation": 0.2, "width": 216, "height": 69 }
},
"shin2": {
"shin2": { "x": 2.25, "y": -2.94, "rotation": 87.72, "width": 51, "height": 54 }
},
"head": {
"head": { "x": 7.8, "y": 71.88, "rotation": 0.12, "width": 172, "height": 173 }
},
"body": {
"body": { "x": 33.82, "y": 2.6, "rotation": -92.7, "width": 97, "height": 95 }
},
"hand2": {
"hand2": { "x": 14.24, "y": 1.64, "rotation": 82.36, "width": 31, "height": 37 }
},
"eyes": {
"eyes": { "x": 6.48, "y": 50.75, "rotation": 0.12, "width": 82, "height": 31 }
},
"fingers": {
"fingers": { "x": 16.22, "y": 1.37, "rotation": 82.36, "width": 31, "height": 33 }
},
"foot1": {
"foot1": { "x": 12.55, "y": 0.12, "rotation": 90.96, "width": 50, "height": 42 }
},
"foot2": {
"foot2": { "x": 8.83, "y": 2.92, "rotation": 90.42, "width": 53, "height": 38 }
},
"forearm1": {
"forearm1": { "x": 11.88, "y": -5.04, "rotation": 106.62, "width": 41, "height": 49 }
},
"forearm2": {
"forearm2": { "x": 13.09, "y": -0.64, "rotation": 83.72, "width": 31, "height": 32 }
},
"hand1": {
"hand1": { "x": 11.93, "y": -0.7, "rotation": 90.37, "width": 37, "height": 48 }
},
"hand2": {
"hand2": { "x": 14.24, "y": 1.64, "rotation": 82.36, "width": 31, "height": 37 }
},
"head": {
"head": { "x": 7.8, "y": 71.88, "rotation": 0.12, "width": 172, "height": 173 }
},
"mantles": {
"mantles": { "x": 15.58, "y": 11.76, "rotation": -90.45, "width": 136, "height": 55 }
},
"mouth": {
"mouth": { "x": 12.07, "y": 10.76, "rotation": 0.12, "width": 61, "height": 13 }
},
"shin1": {
"shin1": { "x": 8.96, "y": 0.67, "rotation": 96.81, "width": 53, "height": 57 }
},
"shin2": {
"shin2": { "x": 2.25, "y": -2.94, "rotation": 87.72, "width": 51, "height": 54 }
},
"thigh1": {
"thigh1": { "x": 11.99, "y": -1.02, "rotation": 107.07, "width": 60, "height": 63 }
},
"thigh2": {
"thigh2": { "x": 15.71, "y": -4.62, "rotation": 85.46, "width": 57, "height": 64 }
},
"upperarm1": {
"upper-arm1": { "x": 6.6, "y": 0.06, "rotation": 137.18, "width": 50, "height": 56 }
},
"upperarm2": {
"upper-arm2": { "x": 13.33, "y": -2.22, "rotation": 90.45, "width": 39, "height": 59 }
},
"weapon": {
"sword": { "x": 71.39, "y": 0.2, "rotation": 0.2, "width": 216, "height": 69 }
}
}
}

Binary file not shown.

View File

@ -5,141 +5,169 @@ format: RGBA8888
filter: Linear,Linear
repeat: none
body
rotate: false
xy: 324, 81
rotate: true
xy: 452, 157
size: 97, 95
orig: 97, 95
offset: 0, 0
index: -1
cape
rotate: false
xy: 176, 88
xy: 247, 95
size: 146, 159
orig: 146, 159
offset: 0, 0
index: -1
chain-ball
rotate: false
xy: 241, 11
size: 64, 68
orig: 64, 68
offset: 0, 0
index: -1
chain-flat
rotate: false
xy: 241, 4
size: 16, 5
orig: 16, 5
offset: 0, 0
index: -1
chain-round
rotate: true
xy: 307, 10
size: 17, 14
orig: 17, 14
offset: 0, 0
index: -1
eyes
rotate: false
xy: 604, 216
xy: 68, 5
size: 82, 31
orig: 82, 31
offset: 0, 0
index: -1
fingers
rotate: true
xy: 643, 183
rotate: false
xy: 2, 3
size: 31, 33
orig: 31, 33
offset: 0, 0
index: -1
foot1
rotate: false
xy: 863, 205
xy: 483, 2
size: 50, 42
orig: 50, 42
offset: 0, 0
index: -1
foot2
rotate: false
xy: 915, 209
xy: 185, 41
size: 53, 38
orig: 53, 38
offset: 0, 0
index: -1
forearm1
rotate: true
xy: 970, 206
xy: 73, 38
size: 41, 49
orig: 41, 49
offset: 0, 0
index: -1
forearm2
rotate: true
xy: 423, 79
rotate: false
xy: 35, 4
size: 31, 32
orig: 31, 32
offset: 0, 0
index: -1
hand1
rotate: false
xy: 140, 24
rotate: true
xy: 191, 2
size: 37, 48
orig: 37, 48
offset: 0, 0
index: -1
hand2
rotate: true
xy: 604, 183
xy: 152, 7
size: 31, 37
orig: 31, 37
offset: 0, 0
index: -1
handle
rotate: false
xy: 323, 13
size: 134, 14
orig: 134, 14
offset: 0, 0
index: -1
head
rotate: false
xy: 2, 74
xy: 73, 81
size: 172, 173
orig: 172, 173
offset: 0, 0
index: -1
mantles
rotate: false
xy: 2, 17
rotate: true
xy: 395, 118
size: 136, 55
orig: 136, 55
offset: 0, 0
index: -1
mouth
rotate: false
xy: 2, 2
xy: 395, 103
size: 61, 13
orig: 61, 13
offset: 0, 0
index: -1
shin1
rotate: false
xy: 482, 119
xy: 428, 44
size: 53, 57
orig: 53, 57
offset: 0, 0
index: -1
shin2
rotate: true
xy: 807, 196
xy: 458, 104
size: 51, 54
orig: 51, 54
offset: 0, 0
index: -1
sword
rotate: false
xy: 324, 178
rotate: true
xy: 2, 38
size: 216, 69
orig: 216, 69
offset: 0, 0
index: -1
thigh1
rotate: false
xy: 542, 184
xy: 366, 30
size: 60, 63
orig: 60, 63
offset: 0, 0
index: -1
thigh2
rotate: false
xy: 423, 112
xy: 307, 29
size: 57, 64
orig: 57, 64
offset: 0, 0
index: -1
upper-arm1
rotate: true
xy: 749, 197
rotate: false
xy: 483, 46
size: 50, 56
orig: 50, 56
offset: 0, 0
index: -1
upper-arm2
rotate: true
xy: 688, 208
xy: 124, 40
size: 39, 59
orig: 39, 59
offset: 0, 0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 129 KiB

After

Width:  |  Height:  |  Size: 93 KiB

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -5,141 +5,169 @@ format: RGBA8888
filter: Linear,Linear
repeat: none
body
rotate: false
xy: 324, 81
rotate: true
xy: 452, 157
size: 97, 95
orig: 97, 95
offset: 0, 0
index: -1
cape
rotate: false
xy: 176, 88
xy: 247, 95
size: 146, 159
orig: 146, 159
offset: 0, 0
index: -1
chain-ball
rotate: false
xy: 241, 11
size: 64, 68
orig: 64, 68
offset: 0, 0
index: -1
chain-flat
rotate: false
xy: 241, 4
size: 16, 5
orig: 16, 5
offset: 0, 0
index: -1
chain-round
rotate: true
xy: 307, 10
size: 17, 14
orig: 17, 14
offset: 0, 0
index: -1
eyes
rotate: false
xy: 604, 216
xy: 68, 5
size: 82, 31
orig: 82, 31
offset: 0, 0
index: -1
fingers
rotate: true
xy: 643, 183
rotate: false
xy: 2, 3
size: 31, 33
orig: 31, 33
offset: 0, 0
index: -1
foot1
rotate: false
xy: 863, 205
xy: 483, 2
size: 50, 42
orig: 50, 42
offset: 0, 0
index: -1
foot2
rotate: false
xy: 915, 209
xy: 185, 41
size: 53, 38
orig: 53, 38
offset: 0, 0
index: -1
forearm1
rotate: true
xy: 970, 206
xy: 73, 38
size: 41, 49
orig: 41, 49
offset: 0, 0
index: -1
forearm2
rotate: true
xy: 423, 79
rotate: false
xy: 35, 4
size: 31, 32
orig: 31, 32
offset: 0, 0
index: -1
hand1
rotate: false
xy: 140, 24
rotate: true
xy: 191, 2
size: 37, 48
orig: 37, 48
offset: 0, 0
index: -1
hand2
rotate: true
xy: 604, 183
xy: 152, 7
size: 31, 37
orig: 31, 37
offset: 0, 0
index: -1
handle
rotate: false
xy: 323, 13
size: 134, 14
orig: 134, 14
offset: 0, 0
index: -1
head
rotate: false
xy: 2, 74
xy: 73, 81
size: 172, 173
orig: 172, 173
offset: 0, 0
index: -1
mantles
rotate: false
xy: 2, 17
rotate: true
xy: 395, 118
size: 136, 55
orig: 136, 55
offset: 0, 0
index: -1
mouth
rotate: false
xy: 2, 2
xy: 395, 103
size: 61, 13
orig: 61, 13
offset: 0, 0
index: -1
shin1
rotate: false
xy: 482, 119
xy: 428, 44
size: 53, 57
orig: 53, 57
offset: 0, 0
index: -1
shin2
rotate: true
xy: 807, 196
xy: 458, 104
size: 51, 54
orig: 51, 54
offset: 0, 0
index: -1
sword
rotate: false
xy: 324, 178
rotate: true
xy: 2, 38
size: 216, 69
orig: 216, 69
offset: 0, 0
index: -1
thigh1
rotate: false
xy: 542, 184
xy: 366, 30
size: 60, 63
orig: 60, 63
offset: 0, 0
index: -1
thigh2
rotate: false
xy: 423, 112
xy: 307, 29
size: 57, 64
orig: 57, 64
offset: 0, 0
index: -1
upper-arm1
rotate: true
xy: 749, 197
rotate: false
xy: 483, 46
size: 50, 56
orig: 50, 56
offset: 0, 0
index: -1
upper-arm2
rotate: true
xy: 688, 208
xy: 124, 40
size: 39, 59
orig: 39, 59
offset: 0, 0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 135 KiB

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

View File

@ -5,141 +5,169 @@ format: RGBA8888
filter: Linear,Linear
repeat: none
body
rotate: false
xy: 324, 81
rotate: true
xy: 452, 157
size: 97, 95
orig: 97, 95
offset: 0, 0
index: -1
cape
rotate: false
xy: 176, 88
xy: 247, 95
size: 146, 159
orig: 146, 159
offset: 0, 0
index: -1
chain-ball
rotate: false
xy: 241, 11
size: 64, 68
orig: 64, 68
offset: 0, 0
index: -1
chain-flat
rotate: false
xy: 241, 4
size: 16, 5
orig: 16, 5
offset: 0, 0
index: -1
chain-round
rotate: true
xy: 307, 10
size: 17, 14
orig: 17, 14
offset: 0, 0
index: -1
eyes
rotate: false
xy: 604, 216
xy: 68, 5
size: 82, 31
orig: 82, 31
offset: 0, 0
index: -1
fingers
rotate: true
xy: 643, 183
rotate: false
xy: 2, 3
size: 31, 33
orig: 31, 33
offset: 0, 0
index: -1
foot1
rotate: false
xy: 863, 205
xy: 483, 2
size: 50, 42
orig: 50, 42
offset: 0, 0
index: -1
foot2
rotate: false
xy: 915, 209
xy: 185, 41
size: 53, 38
orig: 53, 38
offset: 0, 0
index: -1
forearm1
rotate: true
xy: 970, 206
xy: 73, 38
size: 41, 49
orig: 41, 49
offset: 0, 0
index: -1
forearm2
rotate: true
xy: 423, 79
rotate: false
xy: 35, 4
size: 31, 32
orig: 31, 32
offset: 0, 0
index: -1
hand1
rotate: false
xy: 140, 24
rotate: true
xy: 191, 2
size: 37, 48
orig: 37, 48
offset: 0, 0
index: -1
hand2
rotate: true
xy: 604, 183
xy: 152, 7
size: 31, 37
orig: 31, 37
offset: 0, 0
index: -1
handle
rotate: false
xy: 323, 13
size: 134, 14
orig: 134, 14
offset: 0, 0
index: -1
head
rotate: false
xy: 2, 74
xy: 73, 81
size: 172, 173
orig: 172, 173
offset: 0, 0
index: -1
mantles
rotate: false
xy: 2, 17
rotate: true
xy: 395, 118
size: 136, 55
orig: 136, 55
offset: 0, 0
index: -1
mouth
rotate: false
xy: 2, 2
xy: 395, 103
size: 61, 13
orig: 61, 13
offset: 0, 0
index: -1
shin1
rotate: false
xy: 482, 119
xy: 428, 44
size: 53, 57
orig: 53, 57
offset: 0, 0
index: -1
shin2
rotate: true
xy: 807, 196
xy: 458, 104
size: 51, 54
orig: 51, 54
offset: 0, 0
index: -1
sword
rotate: false
xy: 324, 178
rotate: true
xy: 2, 38
size: 216, 69
orig: 216, 69
offset: 0, 0
index: -1
thigh1
rotate: false
xy: 542, 184
xy: 366, 30
size: 60, 63
orig: 60, 63
offset: 0, 0
index: -1
thigh2
rotate: false
xy: 423, 112
xy: 307, 29
size: 57, 64
orig: 57, 64
offset: 0, 0
index: -1
upper-arm1
rotate: true
xy: 749, 197
rotate: false
xy: 483, 46
size: 50, 56
orig: 50, 56
offset: 0, 0
index: -1
upper-arm2
rotate: true
xy: 688, 208
xy: 124, 40
size: 39, 59
orig: 39, 59
offset: 0, 0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 129 KiB

After

Width:  |  Height:  |  Size: 93 KiB