Game.scene 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. {
  2. "x":0,
  3. "type":"Scene",
  4. "selectedBox":2,
  5. "selecteID":21,
  6. "searchKey":"Scene",
  7. "props":{"width":720,"sceneColor":"#000000","height":1280},
  8. "nodeParent":-1,
  9. "maxID":37,
  10. "label":"Scene",
  11. "isOpen":true,
  12. "isDirectory":true,
  13. "isAniNode":true,
  14. "hasChild":true,
  15. "compId":2,
  16. "child":[
  17. {
  18. "x":15,
  19. "type":"Image",
  20. "searchKey":"Image,bg",
  21. "props":{"y":0,"x":0,"visible":false,"var":"bg","top":0,"skin":"Main/bga.png","right":0,"left":0,"bottom":0},
  22. "nodeParent":2,
  23. "label":"bg",
  24. "isOpen":true,
  25. "isDirectory":false,
  26. "isAniNode":true,
  27. "hasChild":false,
  28. "compId":17,
  29. "child":[
  30. ]
  31. },
  32. {
  33. "x":15,
  34. "type":"Image",
  35. "searchKey":"Image,cursor",
  36. "props":{"y":504,"x":229,"var":"cursor","skin":"Main/zhunxin.png","scaleY":0.8,"scaleX":0.8},
  37. "nodeParent":2,
  38. "label":"cursor",
  39. "isDirectory":false,
  40. "isAniNode":true,
  41. "hasChild":false,
  42. "compId":34,
  43. "child":[
  44. ]
  45. },
  46. {
  47. "x":15,
  48. "type":"Image",
  49. "searchKey":"Image,scope",
  50. "props":{"y":302,"x":22,"width":677,"visible":false,"var":"scope","skin":"Main/jujijing-1.png","height":676,"centerY":0,"centerX":0},
  51. "nodeParent":2,
  52. "label":"scope",
  53. "isDirectory":false,
  54. "isAniNode":true,
  55. "hasChild":false,
  56. "compId":18,
  57. "child":[
  58. ]
  59. },
  60. {
  61. "x":15,
  62. "type":"Image",
  63. "searchKey":"Image,cartridge",
  64. "props":{"var":"cartridge","skin":"Main/danjia-1-1.png","left":0,"bottom":1170},
  65. "nodeParent":2,
  66. "label":"cartridge",
  67. "isOpen":false,
  68. "isDirectory":true,
  69. "isAniNode":true,
  70. "hasChild":true,
  71. "compId":7,
  72. "child":[
  73. {
  74. "type":"Image",
  75. "searchKey":"Image",
  76. "props":{"x":20,"width":13,"skin":"Main/danjia-1-2.png","height":62,"centerY":0},
  77. "nodeParent":7,
  78. "label":"Image",
  79. "isDirectory":false,
  80. "isAniNode":true,
  81. "hasChild":false,
  82. "compId":8,
  83. "child":[
  84. ],
  85. "$HIDDEN":false
  86. }],
  87. "$HIDDEN":false
  88. },
  89. {
  90. "x":15,
  91. "type":"Button",
  92. "searchKey":"Button,btnGoal",
  93. "props":{"y":110,"var":"btnGoal","stateNum":"1","skin":"Main/ingame-1.png","right":0,"mouseEnabled":false,"left":0,"labelSize":40,"labelFont":"SimHei","labelColors":"#ffffff","labelAlign":"center","label":"目标:一二三四五六七八九十","height":70},
  94. "nodeParent":2,
  95. "label":"btnGoal",
  96. "isDirectory":false,
  97. "isAniNode":true,
  98. "hasChild":false,
  99. "compId":21,
  100. "child":[
  101. ]
  102. },
  103. {
  104. "x":15,
  105. "type":"Button",
  106. "searchKey":"Button,btnQuit",
  107. "props":{"y":34,"x":640,"var":"btnQuit","stateNum":"1","skin":"Main/tuichu-1-3.png"},
  108. "nodeParent":2,
  109. "label":"btnQuit",
  110. "isDirectory":false,
  111. "isAniNode":true,
  112. "hasChild":false,
  113. "compId":24,
  114. "child":[
  115. ]
  116. },
  117. {
  118. "x":15,
  119. "type":"Button",
  120. "searchKey":"Button,btnHint",
  121. "props":{"y":240,"x":662,"var":"btnHint","stateNum":"1","skin":"Main/hint.png","anchorY":0.5,"anchorX":0.5},
  122. "nodeParent":2,
  123. "label":"btnHint",
  124. "isOpen":null,
  125. "isDirectory":true,
  126. "isAniNode":true,
  127. "hasChild":true,
  128. "compId":25,
  129. "child":[
  130. {
  131. "type":"Script",
  132. "switchAble":true,
  133. "source":"src/views/comp/ScaleScript.ts",
  134. "searchKey":"Script,ScaleScript",
  135. "removeAble":true,
  136. "props":{},
  137. "nodeParent":25,
  138. "label":"ScaleScript",
  139. "isDirectory":false,
  140. "isAniNode":true,
  141. "hasChild":false,
  142. "compId":35,
  143. "child":[
  144. ]
  145. },
  146. {
  147. "type":"Script",
  148. "switchAble":true,
  149. "source":"src/views/comp/ButtonScript.ts",
  150. "searchKey":"Script,ButtonScript",
  151. "removeAble":true,
  152. "props":{},
  153. "nodeParent":25,
  154. "label":"ButtonScript",
  155. "isDirectory":false,
  156. "isAniNode":true,
  157. "hasChild":false,
  158. "compId":36,
  159. "child":[
  160. ]
  161. }]
  162. },
  163. {
  164. "x":15,
  165. "type":"Image",
  166. "searchKey":"Image,imgScopeBg",
  167. "props":{"y":1021,"x":269,"visible":false,"var":"imgScopeBg","skin":"Main/caokong-1-1.png"},
  168. "nodeParent":2,
  169. "label":"imgScopeBg",
  170. "isOpen":false,
  171. "isDirectory":true,
  172. "isAniNode":true,
  173. "hasChild":true,
  174. "compId":28,
  175. "child":[
  176. {
  177. "type":"Image",
  178. "searchKey":"Image,imgCursor1",
  179. "props":{"y":32,"x":32,"var":"imgCursor1","skin":"Main/caokong-1-2.png"},
  180. "nodeParent":28,
  181. "label":"imgCursor1",
  182. "isDirectory":false,
  183. "isAniNode":true,
  184. "hasChild":false,
  185. "compId":29,
  186. "child":[
  187. ]
  188. },
  189. {
  190. "type":"Image",
  191. "searchKey":"Image,imgCursor2",
  192. "props":{"y":91,"x":91,"width":93,"var":"imgCursor2","height":93,"anchorY":0.5,"anchorX":0.5},
  193. "nodeParent":28,
  194. "label":"imgCursor2",
  195. "isOpen":false,
  196. "isDirectory":true,
  197. "isAniNode":true,
  198. "hasChild":true,
  199. "compId":30,
  200. "child":[
  201. {
  202. "type":"Image",
  203. "searchKey":"Image",
  204. "props":{"y":46,"x":46,"width":93,"skin":"Main/caokong-1-3.png","rotation":45,"height":93,"anchorY":0.5,"anchorX":0.5},
  205. "nodeParent":30,
  206. "label":"Image",
  207. "isDirectory":false,
  208. "isAniNode":true,
  209. "hasChild":false,
  210. "compId":31,
  211. "child":[
  212. ]
  213. }]
  214. }],
  215. "$HIDDEN":true
  216. },
  217. {
  218. "x":15,
  219. "type":"Button",
  220. "searchKey":"Button,btnScope",
  221. "props":{"y":830,"x":269,"width":182,"var":"btnScope","stateNum":"1","skin":"Main/caokong-1-1.png","height":182},
  222. "nodeParent":2,
  223. "label":"btnScope",
  224. "isOpen":false,
  225. "isDirectory":true,
  226. "isAniNode":true,
  227. "hasChild":true,
  228. "compId":32,
  229. "child":[
  230. {
  231. "type":"Sprite",
  232. "searchKey":"Sprite",
  233. "props":{"y":32,"x":32,"texture":"Main/caokong-1-2.png"},
  234. "nodeParent":32,
  235. "label":"Sprite",
  236. "isDirectory":false,
  237. "isAniNode":true,
  238. "hasChild":false,
  239. "compId":33,
  240. "child":[
  241. ]
  242. }]
  243. }],
  244. "animations":[
  245. {
  246. "nodes":[
  247. ],
  248. "name":"ani1",
  249. "id":1,
  250. "frameRate":24,
  251. "action":0
  252. }]
  253. }