Dialog_GameOver.scene 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571
  1. {
  2. "x":0,
  3. "type":"Dialog",
  4. "selectedBox":31,
  5. "selecteID":60,
  6. "searchKey":"Dialog",
  7. "props":{"width":720,"sceneColor":"#000000","height":1280},
  8. "nodeParent":-1,
  9. "maxID":66,
  10. "label":"Dialog",
  11. "isOpen":true,
  12. "isDirectory":true,
  13. "isAniNode":true,
  14. "hasChild":true,
  15. "compId":2,
  16. "child":[
  17. {
  18. "x":15,
  19. "type":"Sprite",
  20. "searchKey":"Sprite",
  21. "props":{"y":-140,"x":0,"width":720,"texture":"texture/Public/mask.jpg","height":1560,"alpha":0.8},
  22. "nodeParent":2,
  23. "label":"Sprite",
  24. "isDirectory":false,
  25. "isAniNode":true,
  26. "hasChild":false,
  27. "compId":57,
  28. "child":[
  29. ]
  30. },
  31. {
  32. "x":15,
  33. "type":"Box",
  34. "searchKey":"Box,defeatTopUI,defeatTopUI",
  35. "props":{"y":220,"x":124,"var":"defeatTopUI","name":"defeatTopUI"},
  36. "nodeParent":2,
  37. "label":"defeatTopUI",
  38. "isOpen":false,
  39. "isDirectory":true,
  40. "isAniNode":true,
  41. "hasChild":true,
  42. "compId":30,
  43. "child":[
  44. {
  45. "type":"Sprite",
  46. "searchKey":"Sprite,light",
  47. "props":{"x":23,"texture":"texture/Dialog_LevelOver/light_defeat.png","name":"light"},
  48. "nodeParent":30,
  49. "label":"light",
  50. "isOpen":true,
  51. "isDirectory":true,
  52. "isAniNode":true,
  53. "hasChild":true,
  54. "compId":9,
  55. "child":[
  56. {
  57. "type":"Sprite",
  58. "searchKey":"Sprite,title",
  59. "props":{"y":185,"x":94,"texture":"texture/Dialog_LevelOver/title_defeat.png","name":"title"},
  60. "nodeParent":9,
  61. "label":"title",
  62. "isDirectory":false,
  63. "isAniNode":true,
  64. "hasChild":false,
  65. "compId":8,
  66. "child":[
  67. ]
  68. }]
  69. },
  70. {
  71. "type":"Box",
  72. "searchKey":"Box,blood",
  73. "props":{"y":366,"scaleY":0.8,"scaleX":0.8,"name":"blood"},
  74. "nodeParent":30,
  75. "label":"blood",
  76. "isOpen":true,
  77. "isDirectory":true,
  78. "isAniNode":true,
  79. "hasChild":true,
  80. "compId":20,
  81. "child":[
  82. {
  83. "type":"Sprite",
  84. "searchKey":"Sprite,bloodBG",
  85. "props":{"texture":"texture/GameScene/progressBG_blood.png","name":"bloodBG"},
  86. "nodeParent":20,
  87. "label":"bloodBG",
  88. "isDirectory":false,
  89. "isAniNode":true,
  90. "hasChild":false,
  91. "compId":62,
  92. "child":[
  93. ]
  94. },
  95. {
  96. "type":"Sprite",
  97. "searchKey":"Sprite,bloodProgressBar,bloodProgressBar",
  98. "props":{"y":6,"x":7,"width":576,"var":"bloodProgressBar","value":0.01,"texture":"texture/GameScene/progressBar_blood.png","name":"bloodProgressBar","height":20},
  99. "nodeParent":20,
  100. "label":"bloodProgressBar",
  101. "isOpen":true,
  102. "isDirectory":true,
  103. "isAniNode":true,
  104. "hasChild":true,
  105. "compId":63,
  106. "child":[
  107. {
  108. "type":"Panel",
  109. "searchKey":"Panel,bloodBarMask,bloodBarMask",
  110. "props":{"y":0,"x":0,"width":576,"var":"bloodBarMask","renderType":"mask","name":"bloodBarMask","height":20,"bgColor":"#000000"},
  111. "nodeParent":63,
  112. "label":"bloodBarMask",
  113. "isDirectory":false,
  114. "isAniNode":true,
  115. "hasChild":false,
  116. "compId":64,
  117. "child":[
  118. ]
  119. }]
  120. }]
  121. },
  122. {
  123. "type":"Box",
  124. "searchKey":"Box,coinAndBlood",
  125. "props":{"y":422,"x":-124,"width":720,"name":"coinAndBlood"},
  126. "nodeParent":30,
  127. "label":"coinAndBlood",
  128. "isOpen":true,
  129. "isDirectory":true,
  130. "isAniNode":true,
  131. "hasChild":true,
  132. "compId":26,
  133. "child":[
  134. {
  135. "type":"Text",
  136. "searchKey":"Text,text_bloodNum,text_bloodNum",
  137. "props":{"y":6,"x":581,"width":91,"var":"text_bloodNum","text":"11.44k","strokeColor":"#e1a030","stroke":2,"pivotX":91,"name":"text_bloodNum","height":30,"fontSize":30,"color":"#ffffff","bold":true,"align":"right"},
  138. "nodeParent":26,
  139. "label":"text_bloodNum",
  140. "isOpen":true,
  141. "isDirectory":true,
  142. "isAniNode":true,
  143. "hasChild":true,
  144. "compId":21,
  145. "child":[
  146. {
  147. "type":"Panel",
  148. "searchKey":"Panel",
  149. "props":{"y":15,"x":0,"width":170,"right":91,"pivotY":20,"pivotX":170,"height":40},
  150. "nodeParent":21,
  151. "label":"Panel",
  152. "isOpen":true,
  153. "isDirectory":true,
  154. "isAniNode":true,
  155. "hasChild":true,
  156. "compId":24,
  157. "child":[
  158. {
  159. "type":"Sprite",
  160. "searchKey":"Sprite",
  161. "props":{"y":0,"x":0,"texture":"texture/GameScene/icon_blood.png"},
  162. "nodeParent":24,
  163. "label":"Sprite",
  164. "isDirectory":false,
  165. "isAniNode":true,
  166. "hasChild":false,
  167. "compId":65,
  168. "child":[
  169. ]
  170. },
  171. {
  172. "type":"Text",
  173. "searchKey":"Text",
  174. "props":{"y":8,"x":55,"text":"剩余血量:","fontSize":24,"color":"#ffffff"},
  175. "nodeParent":24,
  176. "label":"Text",
  177. "isDirectory":false,
  178. "isAniNode":true,
  179. "hasChild":false,
  180. "compId":25,
  181. "child":[
  182. ]
  183. }]
  184. }]
  185. },
  186. {
  187. "type":"Sprite",
  188. "searchKey":"Sprite,coinIcon,coinIcon",
  189. "props":{"y":0,"x":135,"var":"coinIcon","texture":"texture/MainScene/TAB/icon_Coin.png","scaleY":0.28,"scaleX":0.28,"name":"coinIcon"},
  190. "nodeParent":26,
  191. "label":"coinIcon",
  192. "isOpen":true,
  193. "isDirectory":false,
  194. "isAniNode":true,
  195. "hasChild":false,
  196. "compId":22,
  197. "child":[
  198. ]
  199. },
  200. {
  201. "type":"Text",
  202. "searchKey":"Text,text_coinNumFromCurLevel,text_coinNumFromCurLevel",
  203. "props":{"y":6,"x":185,"var":"text_coinNumFromCurLevel","text":"9999","strokeColor":"#e1a030","stroke":2,"name":"text_coinNumFromCurLevel","fontSize":30,"color":"#ffffff","bold":true,"align":"left"},
  204. "nodeParent":26,
  205. "label":"text_coinNumFromCurLevel",
  206. "isOpen":true,
  207. "isDirectory":false,
  208. "isAniNode":true,
  209. "hasChild":false,
  210. "compId":23,
  211. "child":[
  212. ]
  213. }]
  214. },
  215. {
  216. "type":"Text",
  217. "searchKey":"Text,defeatReason,defeatReason",
  218. "props":{"y":483,"x":-124.5,"width":720,"var":"defeatReason","text":"失败原因:碰到障碍物","name":"defeatReason","fontSize":28,"color":"#ff0000","bold":true,"align":"center"},
  219. "nodeParent":30,
  220. "label":"defeatReason",
  221. "isDirectory":false,
  222. "isAniNode":true,
  223. "hasChild":false,
  224. "compId":56,
  225. "child":[
  226. ]
  227. }]
  228. },
  229. {
  230. "x":15,
  231. "type":"Box",
  232. "searchKey":"Box,defeat_hasReviveChanceUI,defeat_hasReviveChanceUI",
  233. "props":{"y":0,"x":0,"width":720,"visible":false,"var":"defeat_hasReviveChanceUI","name":"defeat_hasReviveChanceUI","height":1280},
  234. "nodeParent":2,
  235. "label":"defeat_hasReviveChanceUI",
  236. "isOpen":false,
  237. "isDirectory":true,
  238. "isAniNode":true,
  239. "hasChild":true,
  240. "compId":3,
  241. "child":[
  242. {
  243. "type":"Text",
  244. "searchKey":"Text,tip",
  245. "props":{"y":626,"x":0,"width":720,"text":"复活后太阳血量减半并获得7个无敌火箭。","name":"tip","fontSize":28,"color":"#ffffff","bold":true,"align":"center"},
  246. "nodeParent":3,
  247. "label":"tip",
  248. "isOpen":true,
  249. "isDirectory":true,
  250. "isAniNode":true,
  251. "hasChild":true,
  252. "compId":16,
  253. "child":[
  254. {
  255. "type":"Text",
  256. "searchKey":"Text,tip",
  257. "props":{"y":35,"x":0,"width":720,"text":"还有机会减少太阳上的禁牌和火箭。","name":"tip","fontSize":28,"color":"#ffffff","bold":true,"align":"center"},
  258. "nodeParent":16,
  259. "label":"tip",
  260. "isDirectory":false,
  261. "isAniNode":true,
  262. "hasChild":false,
  263. "compId":17,
  264. "child":[
  265. ]
  266. },
  267. {
  268. "type":"Text",
  269. "searchKey":"Text,tip",
  270. "props":{"y":-35,"x":0,"width":720,"text":"您获得一次复活机会,","name":"tip","fontSize":28,"color":"#ffffff","bold":true,"align":"center"},
  271. "nodeParent":16,
  272. "label":"tip",
  273. "isOpen":true,
  274. "isDirectory":false,
  275. "isAniNode":true,
  276. "hasChild":false,
  277. "compId":15,
  278. "child":[
  279. ]
  280. }]
  281. },
  282. {
  283. "type":"Button",
  284. "searchKey":"Button,btn_revive,btn_revive",
  285. "props":{"y":837,"x":360,"width":328,"var":"btn_revive","stateNum":"1","skin":"texture/Dialog_LevelOver/btn_revive.png","pivotY":64,"pivotX":164,"name":"btn_revive","height":128},
  286. "nodeParent":3,
  287. "label":"btn_revive",
  288. "isOpen":null,
  289. "isDirectory":true,
  290. "isAniNode":true,
  291. "hasChild":true,
  292. "compId":27,
  293. "child":[
  294. {
  295. "type":"Script",
  296. "switchAble":true,
  297. "source":"src/game/BtnEffectControl.ts",
  298. "searchKey":"Script,BtnEffectControl",
  299. "removeAble":true,
  300. "props":{},
  301. "nodeParent":27,
  302. "label":"BtnEffectControl",
  303. "isDirectory":false,
  304. "isAniNode":true,
  305. "hasChild":false,
  306. "compId":58,
  307. "child":[
  308. ]
  309. }]
  310. },
  311. {
  312. "type":"Button",
  313. "searchKey":"Button,btn_giveUp,btn_giveUp",
  314. "props":{"y":935,"x":360,"width":64,"var":"btn_giveUp","stateNum":"1","skin":"texture/Dialog_LevelOver/btn_giveUp.png","pivotY":16,"pivotX":32,"name":"btn_giveUp","height":32},
  315. "nodeParent":3,
  316. "label":"btn_giveUp",
  317. "isOpen":null,
  318. "isDirectory":true,
  319. "isAniNode":true,
  320. "hasChild":true,
  321. "compId":28,
  322. "child":[
  323. {
  324. "type":"Script",
  325. "switchAble":true,
  326. "source":"src/game/BtnEffectControl.ts",
  327. "searchKey":"Script,BtnEffectControl",
  328. "removeAble":true,
  329. "props":{},
  330. "nodeParent":28,
  331. "label":"BtnEffectControl",
  332. "isDirectory":false,
  333. "isAniNode":true,
  334. "hasChild":false,
  335. "compId":59,
  336. "child":[
  337. ]
  338. }]
  339. }],
  340. "$HIDDEN":true
  341. },
  342. {
  343. "x":15,
  344. "type":"Box",
  345. "searchKey":"Box,receiveCoinUI,receiveCoinUI",
  346. "props":{"y":757,"x":166,"var":"receiveCoinUI","name":"receiveCoinUI"},
  347. "nodeParent":2,
  348. "label":"receiveCoinUI",
  349. "isOpen":true,
  350. "isDirectory":true,
  351. "isAniNode":true,
  352. "hasChild":true,
  353. "compId":34,
  354. "child":[
  355. {
  356. "x":30,
  357. "type":"Text",
  358. "searchKey":"Text,tip",
  359. "props":{"x":128,"text":"您赚到了","name":"tip","fontSize":32,"color":"#ffd972","bold":true},
  360. "nodeParent":34,
  361. "label":"tip",
  362. "isDirectory":false,
  363. "isAniNode":true,
  364. "hasChild":false,
  365. "compId":33,
  366. "child":[
  367. ]
  368. },
  369. {
  370. "x":30,
  371. "type":"Button",
  372. "searchKey":"Button,btn_threeTimesReceiving,btn_threeTimesReceiving",
  373. "props":{"y":252,"x":157,"visible":false,"var":"btn_threeTimesReceiving","stateNum":"1","skin":"texture/Dialog_LevelOver/btn_threeTimesReceiving.png","pivotY":64,"pivotX":194,"name":"btn_threeTimesReceiving","labelStrokeColor":"#996100","labelStroke":2,"labelSize":38,"labelPadding":"5,70,20,50","labelColors":"#ffffff","labelBold":true},
  374. "nodeParent":34,
  375. "label":"btn_threeTimesReceiving",
  376. "isOpen":null,
  377. "isDirectory":true,
  378. "isAniNode":true,
  379. "hasChild":true,
  380. "compId":32,
  381. "child":[
  382. {
  383. "type":"Script",
  384. "switchAble":true,
  385. "source":"src/game/BtnEffectControl.ts",
  386. "searchKey":"Script,BtnEffectControl",
  387. "removeAble":true,
  388. "props":{},
  389. "nodeParent":32,
  390. "label":"BtnEffectControl",
  391. "isDirectory":false,
  392. "isAniNode":true,
  393. "hasChild":false,
  394. "compId":61,
  395. "child":[
  396. ]
  397. }],
  398. "$HIDDEN":true
  399. },
  400. {
  401. "x":30,
  402. "type":"Button",
  403. "searchKey":"Button,btn_receiveRightNow,btn_receiveRightNow",
  404. "props":{"y":177.5,"x":157,"var":"btn_receiveRightNow","stateNum":"1","skin":"texture/Dialog_LevelOver/btn_receiveRightNow.png","pivotY":69,"pivotX":194,"name":"btn_receiveRightNow","labelStrokeColor":"#996100","labelStroke":2,"labelSize":38,"labelPadding":"7,70,20,50","labelColors":"#ffffff","labelBold":true,"label":"213.02K"},
  405. "nodeParent":34,
  406. "label":"btn_receiveRightNow",
  407. "isOpen":true,
  408. "isDirectory":false,
  409. "isAniNode":true,
  410. "hasChild":false,
  411. "compId":31,
  412. "child":[
  413. ]
  414. }]
  415. },
  416. {
  417. "x":15,
  418. "type":"Box",
  419. "searchKey":"Box,victoryTopUI,victoryTopUI",
  420. "props":{"y":220,"x":124,"var":"victoryTopUI","name":"victoryTopUI"},
  421. "nodeParent":2,
  422. "label":"victoryTopUI",
  423. "isOpen":false,
  424. "isDirectory":true,
  425. "isAniNode":true,
  426. "hasChild":true,
  427. "compId":35,
  428. "child":[
  429. {
  430. "type":"Sprite",
  431. "searchKey":"Sprite,light",
  432. "props":{"x":23,"texture":"texture/Dialog_LevelOver/light_victory.png","name":"light"},
  433. "nodeParent":35,
  434. "label":"light",
  435. "isOpen":true,
  436. "isDirectory":true,
  437. "isAniNode":true,
  438. "hasChild":true,
  439. "compId":36,
  440. "child":[
  441. {
  442. "type":"Sprite",
  443. "searchKey":"Sprite,title",
  444. "props":{"y":185,"x":94,"texture":"texture/Dialog_LevelOver/title_victory.png","name":"title"},
  445. "nodeParent":36,
  446. "label":"title",
  447. "isDirectory":false,
  448. "isAniNode":true,
  449. "hasChild":false,
  450. "compId":37,
  451. "child":[
  452. ]
  453. }]
  454. },
  455. {
  456. "type":"Sprite",
  457. "searchKey":"Sprite,icon_strength",
  458. "props":{"y":319,"x":121,"visible":false,"texture":"texture/MainScene/icon_strength.png","name":"icon_strength"},
  459. "nodeParent":35,
  460. "label":"icon_strength",
  461. "isOpen":true,
  462. "isDirectory":true,
  463. "isAniNode":true,
  464. "hasChild":true,
  465. "compId":52,
  466. "child":[
  467. {
  468. "type":"Text",
  469. "searchKey":"Text,text_strengthNum,text_strengthNum",
  470. "props":{"y":114,"x":142,"var":"text_strengthNum","text":"+5","strokeColor":"#e1a030","stroke":2,"name":"text_strengthNum","fontSize":50,"color":"#ffffff","bold":true},
  471. "nodeParent":52,
  472. "label":"text_strengthNum",
  473. "isDirectory":false,
  474. "isAniNode":true,
  475. "hasChild":false,
  476. "compId":53,
  477. "child":[
  478. ]
  479. }]
  480. }]
  481. },
  482. {
  483. "x":15,
  484. "type":"Box",
  485. "searchKey":"Box,publicUI,publicUI",
  486. "props":{"y":166,"x":0,"var":"publicUI","name":"publicUI"},
  487. "nodeParent":2,
  488. "label":"publicUI",
  489. "isOpen":false,
  490. "isDirectory":true,
  491. "isAniNode":true,
  492. "hasChild":true,
  493. "compId":54,
  494. "child":[
  495. {
  496. "type":"Text",
  497. "searchKey":"Text,text_levelNum,text_levelNum",
  498. "props":{"y":343,"x":360,"width":60,"var":"text_levelNum","text":"100","strokeColor":"#e1a030","stroke":2,"pivotX":30,"name":"text_levelNum","height":36,"fontSize":36,"color":"#ffffff","bold":true,"align":"center"},
  499. "nodeParent":54,
  500. "label":"text_levelNum",
  501. "isOpen":true,
  502. "isDirectory":true,
  503. "isAniNode":true,
  504. "hasChild":true,
  505. "compId":10,
  506. "child":[
  507. {
  508. "type":"Panel",
  509. "searchKey":"Panel,levelNum_left,levelNum_left",
  510. "props":{"y":0,"x":-50,"width":35,"var":"levelNum_left","name":"levelNum_left","height":36},
  511. "nodeParent":10,
  512. "label":"levelNum_left",
  513. "isOpen":true,
  514. "isDirectory":true,
  515. "isAniNode":true,
  516. "hasChild":true,
  517. "compId":11,
  518. "child":[
  519. {
  520. "type":"Text",
  521. "searchKey":"Text",
  522. "props":{"y":4,"x":3,"text":"第","fontSize":28,"color":"#ffd972","bold":true},
  523. "nodeParent":11,
  524. "label":"Text",
  525. "isDirectory":false,
  526. "isAniNode":true,
  527. "hasChild":false,
  528. "compId":12,
  529. "child":[
  530. ]
  531. }]
  532. },
  533. {
  534. "type":"Panel",
  535. "searchKey":"Panel,levelNum_right,levelNum_right",
  536. "props":{"y":0,"x":70,"width":35,"var":"levelNum_right","name":"levelNum_right","height":36},
  537. "nodeParent":10,
  538. "label":"levelNum_right",
  539. "isOpen":true,
  540. "isDirectory":true,
  541. "isAniNode":true,
  542. "hasChild":true,
  543. "compId":13,
  544. "child":[
  545. {
  546. "type":"Text",
  547. "searchKey":"Text",
  548. "props":{"y":4,"x":3,"text":"关","fontSize":28,"color":"#ffd972","bold":true},
  549. "nodeParent":13,
  550. "label":"Text",
  551. "isDirectory":false,
  552. "isAniNode":true,
  553. "hasChild":false,
  554. "compId":14,
  555. "child":[
  556. ]
  557. }]
  558. }]
  559. }],
  560. "$HIDDEN":false
  561. }],
  562. "animations":[
  563. {
  564. "nodes":[
  565. ],
  566. "name":"ani1",
  567. "id":1,
  568. "frameRate":24,
  569. "action":0
  570. }]
  571. }