Browse Source

Merge branch '3.7-beta' into 3.7-beta-cpp

badlogic 6 years ago
parent
commit
691cb23218
100 changed files with 194 additions and 55 deletions
  1. BIN
      examples/alien/alien-ess.spine
  2. BIN
      examples/alien/alien-pro.spine
  3. 0 0
      examples/alien/export/alien-ess.json
  4. BIN
      examples/alien/export/alien-ess.skel
  5. 0 0
      examples/alien/export/alien-pro.json
  6. BIN
      examples/alien/export/alien-pro.skel
  7. BIN
      examples/coin/coin-pro.spine
  8. 38 10
      examples/coin/export/coin-pma.atlas
  9. BIN
      examples/coin/export/coin-pma.png
  10. 0 0
      examples/coin/export/coin-pro.json
  11. BIN
      examples/coin/export/coin-pro.skel
  12. 38 10
      examples/coin/export/coin.atlas
  13. BIN
      examples/coin/export/coin.png
  14. BIN
      examples/coin/images/coin-front-logo.png
  15. BIN
      examples/coin/images/coin-front-shine-logo.png
  16. BIN
      examples/coin/images/coin-front-shine-spineboy.png
  17. BIN
      examples/coin/images/coin-front-spineboy.png
  18. BIN
      examples/coin/images/coin-invert.png
  19. BIN
      examples/coin/images/coin-side-round.png
  20. BIN
      examples/coin/images/coin-side-straight.png
  21. BIN
      examples/coin/images/coin.png
  22. BIN
      examples/dragon/dragon-ess.spine
  23. 0 0
      examples/dragon/export/dragon-ess.json
  24. BIN
      examples/dragon/export/dragon-ess.skel
  25. 0 0
      examples/goblins/export/goblins-ess.json
  26. BIN
      examples/goblins/export/goblins-ess.skel
  27. 0 0
      examples/goblins/export/goblins-pro.json
  28. BIN
      examples/goblins/export/goblins-pro.skel
  29. BIN
      examples/goblins/goblins-ess.spine
  30. BIN
      examples/goblins/goblins-pro.spine
  31. 0 0
      examples/hero/export/hero-ess.json
  32. BIN
      examples/hero/export/hero-ess.skel
  33. 0 0
      examples/hero/export/hero-pro.json
  34. BIN
      examples/hero/export/hero-pro.skel
  35. BIN
      examples/hero/hero-ess.spine
  36. BIN
      examples/hero/hero-pro.spine
  37. 0 0
      examples/owl/export/owl-pro.json
  38. BIN
      examples/owl/export/owl-pro.skel
  39. BIN
      examples/owl/owl-pro.spine
  40. 0 0
      examples/powerup/export/powerup-ess.json
  41. BIN
      examples/powerup/export/powerup-ess.skel
  42. 0 0
      examples/powerup/export/powerup-pro.json
  43. BIN
      examples/powerup/export/powerup-pro.skel
  44. BIN
      examples/powerup/powerup-ess.spine
  45. BIN
      examples/powerup/powerup-pro.spine
  46. 0 0
      examples/raptor/export/raptor-pro.json
  47. BIN
      examples/raptor/export/raptor-pro.skel
  48. BIN
      examples/raptor/raptor-pro.spine
  49. 0 0
      examples/speedy/export/speedy-ess.json
  50. BIN
      examples/speedy/export/speedy-ess.skel
  51. BIN
      examples/speedy/speedy-ess.spine
  52. 0 0
      examples/spineboy/export/spineboy-ess.json
  53. BIN
      examples/spineboy/export/spineboy-ess.skel
  54. 0 0
      examples/spineboy/export/spineboy-pro.json
  55. BIN
      examples/spineboy/export/spineboy-pro.skel
  56. BIN
      examples/spineboy/spineboy-ess.spine
  57. BIN
      examples/spineboy/spineboy-pro.spine
  58. 0 0
      examples/spinosaurus/export/spinosaurus-ess.json
  59. BIN
      examples/spinosaurus/export/spinosaurus-ess.skel
  60. BIN
      examples/spinosaurus/spinosaurus-ess.spine
  61. 0 0
      examples/stretchyman/export/stretchyman-pro.json
  62. BIN
      examples/stretchyman/export/stretchyman-pro.skel
  63. 0 0
      examples/stretchyman/export/stretchyman-stretchy-ik-pro.json
  64. BIN
      examples/stretchyman/export/stretchyman-stretchy-ik-pro.skel
  65. BIN
      examples/stretchyman/stretchyman-pro.spine
  66. BIN
      examples/stretchyman/stretchyman-stretchy-ik-pro.spine
  67. 0 0
      examples/tank/export/tank-pro.json
  68. BIN
      examples/tank/export/tank-pro.skel
  69. BIN
      examples/tank/tank-pro.spine
  70. 0 0
      examples/vine/export/vine-pro.json
  71. BIN
      examples/vine/export/vine-pro.skel
  72. BIN
      examples/vine/vine-pro.spine
  73. 0 0
      examples/windmill/export/windmill-ess.json
  74. BIN
      examples/windmill/export/windmill-ess.skel
  75. BIN
      examples/windmill/windmill-ess.spine
  76. 0 0
      spine-as3/spine-as3-example/src/spineboy-ess.json
  77. 0 0
      spine-cocos2d-objc/Resources/coin-pro.json
  78. 38 10
      spine-cocos2d-objc/Resources/coin.atlas
  79. BIN
      spine-cocos2d-objc/Resources/coin.png
  80. 0 0
      spine-cocos2d-objc/Resources/goblins-pro.json
  81. 0 0
      spine-cocos2d-objc/Resources/raptor-pro.json
  82. 0 0
      spine-cocos2d-objc/Resources/spineboy-ess.json
  83. 0 0
      spine-cocos2d-objc/Resources/tank-pro.json
  84. 1 1
      spine-cocos2dx/example/Classes/BatchingExample.cpp
  85. 2 3
      spine-cocos2dx/example/Classes/CoinExample.cpp
  86. 1 1
      spine-cocos2dx/example/Classes/SkeletonRendererSeparatorExample.cpp
  87. BIN
      spine-cocos2dx/example/Resources/common/coin-pro.skel
  88. 38 10
      spine-cocos2dx/example/Resources/common/coin.atlas
  89. BIN
      spine-cocos2dx/example/Resources/common/coin.png
  90. 0 0
      spine-cocos2dx/example/Resources/common/goblins-pro.json
  91. 0 0
      spine-cocos2dx/example/Resources/common/raptor-pro.json
  92. 0 0
      spine-cocos2dx/example/Resources/common/spineboy-pro.json
  93. BIN
      spine-cocos2dx/example/Resources/common/tank-pro.skel
  94. 0 0
      spine-corona/data/coin-pro.json
  95. 38 10
      spine-corona/data/coin.atlas
  96. BIN
      spine-corona/data/coin.png
  97. 0 0
      spine-corona/data/goblins-pro.json
  98. 0 0
      spine-corona/data/owl-pro.json
  99. 0 0
      spine-corona/data/raptor-pro.json
  100. 0 0
      spine-corona/data/spineboy-pro.json

BIN
examples/alien/alien-ess.spine


BIN
examples/alien/alien-pro.spine


File diff suppressed because it is too large
+ 0 - 0
examples/alien/export/alien-ess.json


BIN
examples/alien/export/alien-ess.skel


File diff suppressed because it is too large
+ 0 - 0
examples/alien/export/alien-pro.json


BIN
examples/alien/export/alien-pro.skel


BIN
examples/coin/coin-pro.spine


+ 38 - 10
examples/coin/export/coin-pma.atlas

@@ -1,26 +1,54 @@
 
 coin-pma.png
-size: 1024,256
+size: 1024,1024
 format: RGBA8888
 filter: Linear,Linear
 repeat: none
-coin
+coin-front-logo
   rotate: false
-  xy: 2, 2
-  size: 259, 245
-  orig: 259, 245
+  xy: 2, 609
+  size: 305, 302
+  orig: 305, 302
+  offset: 0, 0
+  index: -1
+coin-front-shine-logo
+  rotate: false
+  xy: 309, 629
+  size: 282, 282
+  orig: 282, 282
+  offset: 0, 0
+  index: -1
+coin-front-shine-spineboy
+  rotate: false
+  xy: 2, 21
+  size: 282, 282
+  orig: 282, 282
   offset: 0, 0
   index: -1
-coin-invert
+coin-front-spineboy
   rotate: false
-  xy: 263, 2
-  size: 259, 245
-  orig: 259, 245
+  xy: 2, 305
+  size: 305, 302
+  orig: 305, 302
+  offset: 0, 0
+  index: -1
+coin-side-round
+  rotate: false
+  xy: 309, 345
+  size: 144, 282
+  orig: 144, 282
+  offset: 0, 0
+  index: -1
+coin-side-straight
+  rotate: true
+  xy: 2, 2
+  size: 17, 282
+  orig: 17, 282
   offset: 0, 0
   index: -1
 shine
   rotate: false
-  xy: 524, 2
+  xy: 593, 666
   size: 72, 245
   orig: 72, 245
   offset: 0, 0

BIN
examples/coin/export/coin-pma.png


File diff suppressed because it is too large
+ 0 - 0
examples/coin/export/coin-pro.json


BIN
examples/coin/export/coin-pro.skel


+ 38 - 10
examples/coin/export/coin.atlas

@@ -1,26 +1,54 @@
 
 coin.png
-size: 1024,256
+size: 1024,1024
 format: RGBA8888
 filter: Linear,Linear
 repeat: none
-coin
+coin-front-logo
   rotate: false
-  xy: 2, 2
-  size: 259, 245
-  orig: 259, 245
+  xy: 2, 609
+  size: 305, 302
+  orig: 305, 302
+  offset: 0, 0
+  index: -1
+coin-front-shine-logo
+  rotate: false
+  xy: 309, 629
+  size: 282, 282
+  orig: 282, 282
+  offset: 0, 0
+  index: -1
+coin-front-shine-spineboy
+  rotate: false
+  xy: 2, 21
+  size: 282, 282
+  orig: 282, 282
   offset: 0, 0
   index: -1
-coin-invert
+coin-front-spineboy
   rotate: false
-  xy: 263, 2
-  size: 259, 245
-  orig: 259, 245
+  xy: 2, 305
+  size: 305, 302
+  orig: 305, 302
+  offset: 0, 0
+  index: -1
+coin-side-round
+  rotate: false
+  xy: 309, 345
+  size: 144, 282
+  orig: 144, 282
+  offset: 0, 0
+  index: -1
+coin-side-straight
+  rotate: true
+  xy: 2, 2
+  size: 17, 282
+  orig: 17, 282
   offset: 0, 0
   index: -1
 shine
   rotate: false
-  xy: 524, 2
+  xy: 593, 666
   size: 72, 245
   orig: 72, 245
   offset: 0, 0

BIN
examples/coin/export/coin.png


BIN
examples/coin/images/coin-front-logo.png


BIN
examples/coin/images/coin-front-shine-logo.png


BIN
examples/coin/images/coin-front-shine-spineboy.png


BIN
examples/coin/images/coin-front-spineboy.png


BIN
examples/coin/images/coin-invert.png


BIN
examples/coin/images/coin-side-round.png


BIN
examples/coin/images/coin-side-straight.png


BIN
examples/coin/images/coin.png


BIN
examples/dragon/dragon-ess.spine


File diff suppressed because it is too large
+ 0 - 0
examples/dragon/export/dragon-ess.json


BIN
examples/dragon/export/dragon-ess.skel


File diff suppressed because it is too large
+ 0 - 0
examples/goblins/export/goblins-ess.json


BIN
examples/goblins/export/goblins-ess.skel


File diff suppressed because it is too large
+ 0 - 0
examples/goblins/export/goblins-pro.json


BIN
examples/goblins/export/goblins-pro.skel


BIN
examples/goblins/goblins-ess.spine


BIN
examples/goblins/goblins-pro.spine


File diff suppressed because it is too large
+ 0 - 0
examples/hero/export/hero-ess.json


BIN
examples/hero/export/hero-ess.skel


File diff suppressed because it is too large
+ 0 - 0
examples/hero/export/hero-pro.json


BIN
examples/hero/export/hero-pro.skel


BIN
examples/hero/hero-ess.spine


BIN
examples/hero/hero-pro.spine


File diff suppressed because it is too large
+ 0 - 0
examples/owl/export/owl-pro.json


BIN
examples/owl/export/owl-pro.skel


BIN
examples/owl/owl-pro.spine


File diff suppressed because it is too large
+ 0 - 0
examples/powerup/export/powerup-ess.json


BIN
examples/powerup/export/powerup-ess.skel


File diff suppressed because it is too large
+ 0 - 0
examples/powerup/export/powerup-pro.json


BIN
examples/powerup/export/powerup-pro.skel


BIN
examples/powerup/powerup-ess.spine


BIN
examples/powerup/powerup-pro.spine


File diff suppressed because it is too large
+ 0 - 0
examples/raptor/export/raptor-pro.json


BIN
examples/raptor/export/raptor-pro.skel


BIN
examples/raptor/raptor-pro.spine


File diff suppressed because it is too large
+ 0 - 0
examples/speedy/export/speedy-ess.json


BIN
examples/speedy/export/speedy-ess.skel


BIN
examples/speedy/speedy-ess.spine


File diff suppressed because it is too large
+ 0 - 0
examples/spineboy/export/spineboy-ess.json


BIN
examples/spineboy/export/spineboy-ess.skel


File diff suppressed because it is too large
+ 0 - 0
examples/spineboy/export/spineboy-pro.json


BIN
examples/spineboy/export/spineboy-pro.skel


BIN
examples/spineboy/spineboy-ess.spine


BIN
examples/spineboy/spineboy-pro.spine


File diff suppressed because it is too large
+ 0 - 0
examples/spinosaurus/export/spinosaurus-ess.json


BIN
examples/spinosaurus/export/spinosaurus-ess.skel


BIN
examples/spinosaurus/spinosaurus-ess.spine


File diff suppressed because it is too large
+ 0 - 0
examples/stretchyman/export/stretchyman-pro.json


BIN
examples/stretchyman/export/stretchyman-pro.skel


File diff suppressed because it is too large
+ 0 - 0
examples/stretchyman/export/stretchyman-stretchy-ik-pro.json


BIN
examples/stretchyman/export/stretchyman-stretchy-ik-pro.skel


BIN
examples/stretchyman/stretchyman-pro.spine


BIN
examples/stretchyman/stretchyman-stretchy-ik-pro.spine


File diff suppressed because it is too large
+ 0 - 0
examples/tank/export/tank-pro.json


BIN
examples/tank/export/tank-pro.skel


BIN
examples/tank/tank-pro.spine


File diff suppressed because it is too large
+ 0 - 0
examples/vine/export/vine-pro.json


BIN
examples/vine/export/vine-pro.skel


BIN
examples/vine/vine-pro.spine


File diff suppressed because it is too large
+ 0 - 0
examples/windmill/export/windmill-ess.json


BIN
examples/windmill/export/windmill-ess.skel


BIN
examples/windmill/windmill-ess.spine


File diff suppressed because it is too large
+ 0 - 0
spine-as3/spine-as3-example/src/spineboy-ess.json


File diff suppressed because it is too large
+ 0 - 0
spine-cocos2d-objc/Resources/coin-pro.json


+ 38 - 10
spine-cocos2d-objc/Resources/coin.atlas

@@ -1,26 +1,54 @@
 
 coin.png
-size: 1024,256
+size: 1024,1024
 format: RGBA8888
 filter: Linear,Linear
 repeat: none
-coin
+coin-front-logo
   rotate: false
-  xy: 2, 2
-  size: 259, 245
-  orig: 259, 245
+  xy: 2, 609
+  size: 305, 302
+  orig: 305, 302
+  offset: 0, 0
+  index: -1
+coin-front-shine-logo
+  rotate: false
+  xy: 309, 629
+  size: 282, 282
+  orig: 282, 282
+  offset: 0, 0
+  index: -1
+coin-front-shine-spineboy
+  rotate: false
+  xy: 2, 21
+  size: 282, 282
+  orig: 282, 282
   offset: 0, 0
   index: -1
-coin-invert
+coin-front-spineboy
   rotate: false
-  xy: 263, 2
-  size: 259, 245
-  orig: 259, 245
+  xy: 2, 305
+  size: 305, 302
+  orig: 305, 302
+  offset: 0, 0
+  index: -1
+coin-side-round
+  rotate: false
+  xy: 309, 345
+  size: 144, 282
+  orig: 144, 282
+  offset: 0, 0
+  index: -1
+coin-side-straight
+  rotate: true
+  xy: 2, 2
+  size: 17, 282
+  orig: 17, 282
   offset: 0, 0
   index: -1
 shine
   rotate: false
-  xy: 524, 2
+  xy: 593, 666
   size: 72, 245
   orig: 72, 245
   offset: 0, 0

BIN
spine-cocos2d-objc/Resources/coin.png


File diff suppressed because it is too large
+ 0 - 0
spine-cocos2d-objc/Resources/goblins-pro.json


File diff suppressed because it is too large
+ 0 - 0
spine-cocos2d-objc/Resources/raptor-pro.json


File diff suppressed because it is too large
+ 0 - 0
spine-cocos2d-objc/Resources/spineboy-ess.json


File diff suppressed because it is too large
+ 0 - 0
spine-cocos2d-objc/Resources/tank-pro.json


+ 1 - 1
spine-cocos2dx/example/Classes/BatchingExample.cpp

@@ -59,7 +59,7 @@ bool BatchingExample::init () {
 	// Load the skeleton data.
 	SkeletonJson* json = new (__FILE__, __LINE__) SkeletonJson(_attachmentLoader);
 	json->setScale(0.6f); // Resizes skeleton data to 60% of the size it was in Spine.
-	_skeletonData = json->readSkeletonDataFile("spineboy-ess.json");
+	_skeletonData = json->readSkeletonDataFile("spineboy-pro.json");
 	CCASSERT(_skeletonData, json->getError().isEmpty() ? json->getError().buffer() : "Error reading skeleton data file.");
 	delete json;
 

+ 2 - 3
spine-cocos2dx/example/Classes/CoinExample.cpp

@@ -44,10 +44,9 @@ bool CoinExample::init () {
 	if (!LayerColor::initWithColor(Color4B(128, 128, 128, 255))) return false;
 
 	skeletonNode = SkeletonAnimation::createWithBinaryFile("coin-pro.skel", "coin.atlas", 1);
-	skeletonNode->setAnimation(0, "rotate", true);
-	// skeletonNode->setTwoColorTint(true);
+	skeletonNode->setAnimation(0, "animation", true);
 
-	skeletonNode->setPosition(Vec2(_contentSize.width / 2, 100));
+	skeletonNode->setPosition(Vec2(_contentSize.width / 2, _contentSize.height / 2));
 	addChild(skeletonNode);
 
 	scheduleUpdate();

+ 1 - 1
spine-cocos2dx/example/Classes/SkeletonRendererSeparatorExample.cpp

@@ -45,7 +45,7 @@ bool SkeletonRendererSeparatorExample::init () {
 
 	// Spineboy's back, which will manage the animation and GPU resources
 	// will render only the front slots of Spineboy
-	backNode = SkeletonAnimation::createWithJsonFile("spineboy-ess.json", "spineboy.atlas", 0.6f);
+	backNode = SkeletonAnimation::createWithJsonFile("spineboy-pro.json", "spineboy.atlas", 0.6f);
 	backNode->setMix("walk", "jump", 0.4);
 	backNode->setAnimation(0, "walk", true);
 	backNode->setSlotsRange(backNode->findSlot("rear-upper-arm")->getData().getIndex(), backNode->findSlot("rear-shin")->getData().getIndex());

BIN
spine-cocos2dx/example/Resources/common/coin-pro.skel


+ 38 - 10
spine-cocos2dx/example/Resources/common/coin.atlas

@@ -1,26 +1,54 @@
 
 coin.png
-size: 1024,256
+size: 1024,1024
 format: RGBA8888
 filter: Linear,Linear
 repeat: none
-coin
+coin-front-logo
   rotate: false
-  xy: 2, 2
-  size: 259, 245
-  orig: 259, 245
+  xy: 2, 609
+  size: 305, 302
+  orig: 305, 302
+  offset: 0, 0
+  index: -1
+coin-front-shine-logo
+  rotate: false
+  xy: 309, 629
+  size: 282, 282
+  orig: 282, 282
+  offset: 0, 0
+  index: -1
+coin-front-shine-spineboy
+  rotate: false
+  xy: 2, 21
+  size: 282, 282
+  orig: 282, 282
   offset: 0, 0
   index: -1
-coin-invert
+coin-front-spineboy
   rotate: false
-  xy: 263, 2
-  size: 259, 245
-  orig: 259, 245
+  xy: 2, 305
+  size: 305, 302
+  orig: 305, 302
+  offset: 0, 0
+  index: -1
+coin-side-round
+  rotate: false
+  xy: 309, 345
+  size: 144, 282
+  orig: 144, 282
+  offset: 0, 0
+  index: -1
+coin-side-straight
+  rotate: true
+  xy: 2, 2
+  size: 17, 282
+  orig: 17, 282
   offset: 0, 0
   index: -1
 shine
   rotate: false
-  xy: 524, 2
+  xy: 593, 666
   size: 72, 245
   orig: 72, 245
   offset: 0, 0

BIN
spine-cocos2dx/example/Resources/common/coin.png


File diff suppressed because it is too large
+ 0 - 0
spine-cocos2dx/example/Resources/common/goblins-pro.json


File diff suppressed because it is too large
+ 0 - 0
spine-cocos2dx/example/Resources/common/raptor-pro.json


File diff suppressed because it is too large
+ 0 - 0
spine-cocos2dx/example/Resources/common/spineboy-pro.json


BIN
spine-cocos2dx/example/Resources/common/tank-pro.skel


File diff suppressed because it is too large
+ 0 - 0
spine-corona/data/coin-pro.json


+ 38 - 10
spine-corona/data/coin.atlas

@@ -1,26 +1,54 @@
 
 coin.png
-size: 1024,256
+size: 1024,1024
 format: RGBA8888
 filter: Linear,Linear
 repeat: none
-coin
+coin-front-logo
   rotate: false
-  xy: 2, 2
-  size: 259, 245
-  orig: 259, 245
+  xy: 2, 609
+  size: 305, 302
+  orig: 305, 302
+  offset: 0, 0
+  index: -1
+coin-front-shine-logo
+  rotate: false
+  xy: 309, 629
+  size: 282, 282
+  orig: 282, 282
+  offset: 0, 0
+  index: -1
+coin-front-shine-spineboy
+  rotate: false
+  xy: 2, 21
+  size: 282, 282
+  orig: 282, 282
   offset: 0, 0
   index: -1
-coin-invert
+coin-front-spineboy
   rotate: false
-  xy: 263, 2
-  size: 259, 245
-  orig: 259, 245
+  xy: 2, 305
+  size: 305, 302
+  orig: 305, 302
+  offset: 0, 0
+  index: -1
+coin-side-round
+  rotate: false
+  xy: 309, 345
+  size: 144, 282
+  orig: 144, 282
+  offset: 0, 0
+  index: -1
+coin-side-straight
+  rotate: true
+  xy: 2, 2
+  size: 17, 282
+  orig: 17, 282
   offset: 0, 0
   index: -1
 shine
   rotate: false
-  xy: 524, 2
+  xy: 593, 666
   size: 72, 245
   orig: 72, 245
   offset: 0, 0

BIN
spine-corona/data/coin.png


File diff suppressed because it is too large
+ 0 - 0
spine-corona/data/goblins-pro.json


File diff suppressed because it is too large
+ 0 - 0
spine-corona/data/owl-pro.json


File diff suppressed because it is too large
+ 0 - 0
spine-corona/data/raptor-pro.json


File diff suppressed because it is too large
+ 0 - 0
spine-corona/data/spineboy-pro.json


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