tut_hand.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. {
  2. "skeleton": {
  3. "hash": "tut_hand",
  4. "spine": "3.8.95",
  5. "x": -40,
  6. "y": -60,
  7. "width": 80,
  8. "height": 120
  9. },
  10. "bones": [
  11. {
  12. "name": "root"
  13. },
  14. {
  15. "name": "hand",
  16. "parent": "root",
  17. "length": 50,
  18. "x": 0,
  19. "y": 0
  20. }
  21. ],
  22. "slots": [
  23. {
  24. "name": "hand_slot",
  25. "bone": "hand",
  26. "attachment": "hand_tut"
  27. }
  28. ],
  29. "skins": [
  30. {
  31. "name": "default",
  32. "attachments": {
  33. "hand_slot": {
  34. "hand_tut": {
  35. "x": 0,
  36. "y": 0,
  37. "width": 80,
  38. "height": 120
  39. }
  40. }
  41. }
  42. }
  43. ],
  44. "animations": {
  45. "idle": {
  46. "slots": {
  47. "hand_slot": {
  48. "color": [
  49. {
  50. "color": "ffffffff"
  51. }
  52. ]
  53. }
  54. }
  55. },
  56. "tap": {
  57. "bones": {
  58. "hand": {
  59. "scale": [
  60. {
  61. "x": 1,
  62. "y": 1
  63. },
  64. {
  65. "time": 0.5,
  66. "x": 1.2,
  67. "y": 1.2
  68. },
  69. {
  70. "time": 1,
  71. "x": 1,
  72. "y": 1
  73. }
  74. ]
  75. }
  76. },
  77. "slots": {
  78. "hand_slot": {
  79. "color": [
  80. {
  81. "color": "ffffffff"
  82. },
  83. {
  84. "time": 0.25,
  85. "color": "ffffff80"
  86. },
  87. {
  88. "time": 0.5,
  89. "color": "ffffffff"
  90. }
  91. ]
  92. }
  93. }
  94. },
  95. "drag": {
  96. "bones": {
  97. "hand": {
  98. "translate": [
  99. {
  100. "x": 0,
  101. "y": 0
  102. },
  103. {
  104. "time": 1,
  105. "x": 100,
  106. "y": 0
  107. },
  108. {
  109. "time": 1.5,
  110. "x": 0,
  111. "y": 0
  112. }
  113. ]
  114. }
  115. }
  116. }
  117. }
  118. }