TwoColorTest.json 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. {
  2. "skeleton": { "hash": "5Oji/z9A5lQ/crlH60repeTNBg8", "spine": "3.6.07-beta", "width": 1588, "height": 732, "images": "" },
  3. "bones": [
  4. { "name": "root" },
  5. { "name": "singleColorTint", "parent": "root", "x": -400 },
  6. { "name": "singleColorTint2", "parent": "root", "x": -400, "y": -383 },
  7. { "name": "twoColorTint", "parent": "root", "x": 800 },
  8. { "name": "twoColorTint2", "parent": "root", "x": 800, "y": -382 },
  9. { "name": "twoColorTint (blackOnly)", "parent": "root" },
  10. { "name": "twoColorTint (blackOnly)2", "parent": "root", "y": -391 },
  11. { "name": "twoColorTint (colorOnly)", "parent": "root", "x": 400 },
  12. { "name": "twoColorTint (colorOnly)2", "parent": "root", "x": 400, "y": -382 }
  13. ],
  14. "slots": [
  15. { "name": "squareWithBorder", "bone": "singleColorTint", "attachment": "squareWithBorder" },
  16. { "name": "squareWithBorder7", "bone": "singleColorTint2", "attachment": "squareWithBorder" },
  17. { "name": "squareWithBorder2", "bone": "twoColorTint (blackOnly)", "dark": "000000", "attachment": "squareWithBorder" },
  18. { "name": "squareWithBorder8", "bone": "twoColorTint (blackOnly)2", "dark": "000000", "attachment": "squareWithBorder" },
  19. { "name": "squareWithBorder4", "bone": "twoColorTint (colorOnly)", "dark": "000000", "attachment": "squareWithBorder" },
  20. { "name": "squareWithBorder5", "bone": "twoColorTint (colorOnly)2", "dark": "000000", "attachment": "squareWithBorder" },
  21. { "name": "squareWithBorder3", "bone": "twoColorTint", "dark": "000000", "attachment": "squareWithBorder" },
  22. { "name": "squareWithBorder6", "bone": "twoColorTint2", "dark": "000000", "attachment": "squareWithBorder" }
  23. ],
  24. "skins": {
  25. "default": {
  26. "squareWithBorder": {
  27. "squareWithBorder": { "width": 300, "height": 300 }
  28. },
  29. "squareWithBorder2": {
  30. "squareWithBorder": { "width": 300, "height": 300 }
  31. },
  32. "squareWithBorder3": {
  33. "squareWithBorder": { "width": 300, "height": 300 }
  34. },
  35. "squareWithBorder4": {
  36. "squareWithBorder": { "width": 300, "height": 300 }
  37. },
  38. "squareWithBorder5": {
  39. "squareWithBorder": {
  40. "type": "mesh",
  41. "uvs": [ 1, 1, 0, 1, 0, 0, 1, 0 ],
  42. "triangles": [ 1, 2, 3, 1, 3, 0 ],
  43. "vertices": [ 150, -150, -150, -150, -197, 99, 183, 155 ],
  44. "hull": 4,
  45. "edges": [ 0, 2, 2, 4, 4, 6, 0, 6 ],
  46. "width": 300,
  47. "height": 300
  48. }
  49. },
  50. "squareWithBorder6": {
  51. "squareWithBorder": {
  52. "type": "mesh",
  53. "uvs": [ 1, 1, 0, 1, 0, 0, 1, 0 ],
  54. "triangles": [ 1, 2, 3, 1, 3, 0 ],
  55. "vertices": [ 238, -200, -191, -60, -150, 150, 119, 111 ],
  56. "hull": 4,
  57. "edges": [ 0, 2, 2, 4, 4, 6, 0, 6 ],
  58. "width": 300,
  59. "height": 300
  60. }
  61. },
  62. "squareWithBorder7": {
  63. "squareWithBorder": {
  64. "type": "mesh",
  65. "uvs": [ 1, 1, 0, 1, 0, 0, 1, 0 ],
  66. "triangles": [ 1, 2, 3, 1, 3, 0 ],
  67. "vertices": [ 210, -132, -150, -150, -150, 150, 124, 119 ],
  68. "hull": 4,
  69. "edges": [ 0, 2, 2, 4, 4, 6, 0, 6 ],
  70. "width": 300,
  71. "height": 300
  72. }
  73. },
  74. "squareWithBorder8": {
  75. "squareWithBorder": {
  76. "type": "mesh",
  77. "uvs": [ 1, 1, 0, 1, 0, 0, 1, 0 ],
  78. "triangles": [ 1, 2, 3, 1, 3, 0 ],
  79. "vertices": [ 150, -150, -150, -150, -97, 58, 86, 62 ],
  80. "hull": 4,
  81. "edges": [ 0, 2, 2, 4, 4, 6, 0, 6 ],
  82. "width": 300,
  83. "height": 300
  84. }
  85. }
  86. }
  87. },
  88. "animations": {
  89. "animation": {
  90. "slots": {
  91. "squareWithBorder": {
  92. "color": [
  93. { "time": 0, "color": "fffffffe" },
  94. { "time": 1, "color": "9e17b3fe" },
  95. { "time": 2, "color": "fffffffe" }
  96. ]
  97. },
  98. "squareWithBorder2": {
  99. "twoColor": [
  100. { "time": 0, "light": "fffffffe", "dark": "000000" },
  101. { "time": 1, "light": "fffffffe", "dark": "ff0000" },
  102. { "time": 2, "light": "fffffffe", "dark": "000000" }
  103. ]
  104. },
  105. "squareWithBorder3": {
  106. "twoColor": [
  107. { "time": 0, "light": "fffffffe", "dark": "000000" },
  108. { "time": 1, "light": "80ff00fe", "dark": "001cff" },
  109. { "time": 2, "light": "fffffffe", "dark": "000000" }
  110. ]
  111. },
  112. "squareWithBorder4": {
  113. "twoColor": [
  114. { "time": 0, "light": "fffffffe", "dark": "000000" },
  115. { "time": 1, "light": "ffd300fe", "dark": "000000" },
  116. { "time": 2, "light": "fffffffe", "dark": "000000" }
  117. ]
  118. },
  119. "squareWithBorder5": {
  120. "twoColor": [
  121. { "time": 0, "light": "fffffffe", "dark": "000000" },
  122. { "time": 1, "light": "ffd300fe", "dark": "000000" },
  123. { "time": 2, "light": "fffffffe", "dark": "000000" }
  124. ]
  125. },
  126. "squareWithBorder6": {
  127. "twoColor": [
  128. { "time": 0, "light": "fffffffe", "dark": "000000" },
  129. { "time": 1, "light": "80ff00fe", "dark": "001cff" },
  130. { "time": 2, "light": "fffffffe", "dark": "000000" }
  131. ]
  132. },
  133. "squareWithBorder7": {
  134. "color": [
  135. { "time": 0, "color": "fffffffe" },
  136. { "time": 1, "color": "9e17b3fe" },
  137. { "time": 2, "color": "fffffffe" }
  138. ]
  139. },
  140. "squareWithBorder8": {
  141. "twoColor": [
  142. { "time": 0, "light": "fffffffe", "dark": "000000" },
  143. { "time": 1, "light": "fffffffe", "dark": "ff0000" },
  144. { "time": 2, "light": "fffffffe", "dark": "000000" }
  145. ]
  146. }
  147. }
  148. }
  149. }
  150. }