Enemy.prefab 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631
  1. [
  2. {
  3. "__type__": "cc.Prefab",
  4. "_name": "Enemy",
  5. "_objFlags": 0,
  6. "__editorExtras__": {},
  7. "_native": "",
  8. "data": {
  9. "__id__": 1
  10. },
  11. "optimizationPolicy": 0,
  12. "persistent": false
  13. },
  14. {
  15. "__type__": "cc.Node",
  16. "_name": "Enemy",
  17. "_objFlags": 0,
  18. "__editorExtras__": {},
  19. "_parent": null,
  20. "_children": [
  21. {
  22. "__id__": 2
  23. }
  24. ],
  25. "_active": true,
  26. "_components": [
  27. {
  28. "__id__": 18
  29. },
  30. {
  31. "__id__": 20
  32. },
  33. {
  34. "__id__": 22
  35. },
  36. {
  37. "__id__": 24
  38. },
  39. {
  40. "__id__": 26
  41. },
  42. {
  43. "__id__": 28
  44. },
  45. {
  46. "__id__": 30
  47. }
  48. ],
  49. "_prefab": {
  50. "__id__": 32
  51. },
  52. "_lpos": {
  53. "__type__": "cc.Vec3",
  54. "x": 0,
  55. "y": 0,
  56. "z": 0
  57. },
  58. "_lrot": {
  59. "__type__": "cc.Quat",
  60. "x": 0,
  61. "y": 0,
  62. "z": 0,
  63. "w": 1
  64. },
  65. "_lscale": {
  66. "__type__": "cc.Vec3",
  67. "x": -1,
  68. "y": 1,
  69. "z": 1
  70. },
  71. "_mobility": 0,
  72. "_layer": 33554432,
  73. "_euler": {
  74. "__type__": "cc.Vec3",
  75. "x": 0,
  76. "y": 0,
  77. "z": 0
  78. },
  79. "_id": ""
  80. },
  81. {
  82. "__type__": "cc.Node",
  83. "_name": "ProgressBar",
  84. "_objFlags": 0,
  85. "__editorExtras__": {},
  86. "_parent": {
  87. "__id__": 1
  88. },
  89. "_children": [
  90. {
  91. "__id__": 3
  92. }
  93. ],
  94. "_active": true,
  95. "_components": [
  96. {
  97. "__id__": 9
  98. },
  99. {
  100. "__id__": 11
  101. },
  102. {
  103. "__id__": 13
  104. },
  105. {
  106. "__id__": 15
  107. }
  108. ],
  109. "_prefab": {
  110. "__id__": 17
  111. },
  112. "_lpos": {
  113. "__type__": "cc.Vec3",
  114. "x": 0,
  115. "y": 36.25,
  116. "z": 0
  117. },
  118. "_lrot": {
  119. "__type__": "cc.Quat",
  120. "x": 0,
  121. "y": 0,
  122. "z": 0,
  123. "w": 1
  124. },
  125. "_lscale": {
  126. "__type__": "cc.Vec3",
  127. "x": -1,
  128. "y": 1,
  129. "z": 1
  130. },
  131. "_mobility": 0,
  132. "_layer": 33554432,
  133. "_euler": {
  134. "__type__": "cc.Vec3",
  135. "x": 0,
  136. "y": 0,
  137. "z": 0
  138. },
  139. "_id": ""
  140. },
  141. {
  142. "__type__": "cc.Node",
  143. "_name": "Bar",
  144. "_objFlags": 0,
  145. "__editorExtras__": {},
  146. "_parent": {
  147. "__id__": 2
  148. },
  149. "_children": [],
  150. "_active": true,
  151. "_components": [
  152. {
  153. "__id__": 4
  154. },
  155. {
  156. "__id__": 6
  157. }
  158. ],
  159. "_prefab": {
  160. "__id__": 8
  161. },
  162. "_lpos": {
  163. "__type__": "cc.Vec3",
  164. "x": -25,
  165. "y": 0,
  166. "z": 0
  167. },
  168. "_lrot": {
  169. "__type__": "cc.Quat",
  170. "x": 0,
  171. "y": 0,
  172. "z": 0,
  173. "w": 1
  174. },
  175. "_lscale": {
  176. "__type__": "cc.Vec3",
  177. "x": 1,
  178. "y": 1,
  179. "z": 1
  180. },
  181. "_mobility": 0,
  182. "_layer": 33554432,
  183. "_euler": {
  184. "__type__": "cc.Vec3",
  185. "x": 0,
  186. "y": 0,
  187. "z": 0
  188. },
  189. "_id": ""
  190. },
  191. {
  192. "__type__": "cc.UITransform",
  193. "_name": "",
  194. "_objFlags": 0,
  195. "__editorExtras__": {},
  196. "node": {
  197. "__id__": 3
  198. },
  199. "_enabled": true,
  200. "__prefab": {
  201. "__id__": 5
  202. },
  203. "_contentSize": {
  204. "__type__": "cc.Size",
  205. "width": 30,
  206. "height": 7.5
  207. },
  208. "_anchorPoint": {
  209. "__type__": "cc.Vec2",
  210. "x": 0,
  211. "y": 0.5
  212. },
  213. "_id": ""
  214. },
  215. {
  216. "__type__": "cc.CompPrefabInfo",
  217. "fileId": "01qQH1go9OQJ5E7GUKW+C0"
  218. },
  219. {
  220. "__type__": "cc.Sprite",
  221. "_name": "",
  222. "_objFlags": 0,
  223. "__editorExtras__": {},
  224. "node": {
  225. "__id__": 3
  226. },
  227. "_enabled": true,
  228. "__prefab": {
  229. "__id__": 7
  230. },
  231. "_customMaterial": null,
  232. "_srcBlendFactor": 2,
  233. "_dstBlendFactor": 4,
  234. "_color": {
  235. "__type__": "cc.Color",
  236. "r": 255,
  237. "g": 255,
  238. "b": 255,
  239. "a": 255
  240. },
  241. "_spriteFrame": {
  242. "__uuid__": "f6c61a49-14c8-45bb-ab84-c48a212b74bb@f9941",
  243. "__expectedType__": "cc.SpriteFrame"
  244. },
  245. "_type": 1,
  246. "_fillType": 0,
  247. "_sizeMode": 0,
  248. "_fillCenter": {
  249. "__type__": "cc.Vec2",
  250. "x": 0,
  251. "y": 0
  252. },
  253. "_fillStart": 0,
  254. "_fillRange": 0,
  255. "_isTrimmedMode": true,
  256. "_useGrayscale": false,
  257. "_atlas": null,
  258. "_id": ""
  259. },
  260. {
  261. "__type__": "cc.CompPrefabInfo",
  262. "fileId": "aeTlX8oLpO2b6+By4J1Xef"
  263. },
  264. {
  265. "__type__": "cc.PrefabInfo",
  266. "root": {
  267. "__id__": 1
  268. },
  269. "asset": {
  270. "__id__": 0
  271. },
  272. "fileId": "f0lW301kVBvpvCTA2e2Zym",
  273. "instance": null,
  274. "targetOverrides": null,
  275. "nestedPrefabInstanceRoots": null
  276. },
  277. {
  278. "__type__": "cc.UITransform",
  279. "_name": "",
  280. "_objFlags": 0,
  281. "__editorExtras__": {},
  282. "node": {
  283. "__id__": 2
  284. },
  285. "_enabled": true,
  286. "__prefab": {
  287. "__id__": 10
  288. },
  289. "_contentSize": {
  290. "__type__": "cc.Size",
  291. "width": 50,
  292. "height": 7.5
  293. },
  294. "_anchorPoint": {
  295. "__type__": "cc.Vec2",
  296. "x": 0.5,
  297. "y": 0.5
  298. },
  299. "_id": ""
  300. },
  301. {
  302. "__type__": "cc.CompPrefabInfo",
  303. "fileId": "5aW4j7rTpHRbYlDIc8JCB0"
  304. },
  305. {
  306. "__type__": "cc.Sprite",
  307. "_name": "",
  308. "_objFlags": 0,
  309. "__editorExtras__": {},
  310. "node": {
  311. "__id__": 2
  312. },
  313. "_enabled": true,
  314. "__prefab": {
  315. "__id__": 12
  316. },
  317. "_customMaterial": null,
  318. "_srcBlendFactor": 2,
  319. "_dstBlendFactor": 4,
  320. "_color": {
  321. "__type__": "cc.Color",
  322. "r": 255,
  323. "g": 255,
  324. "b": 255,
  325. "a": 255
  326. },
  327. "_spriteFrame": {
  328. "__uuid__": "983a5c63-0c12-48e4-b5fa-628084fb7c80@f9941",
  329. "__expectedType__": "cc.SpriteFrame"
  330. },
  331. "_type": 1,
  332. "_fillType": 0,
  333. "_sizeMode": 0,
  334. "_fillCenter": {
  335. "__type__": "cc.Vec2",
  336. "x": 0,
  337. "y": 0
  338. },
  339. "_fillStart": 0,
  340. "_fillRange": 0,
  341. "_isTrimmedMode": true,
  342. "_useGrayscale": false,
  343. "_atlas": null,
  344. "_id": ""
  345. },
  346. {
  347. "__type__": "cc.CompPrefabInfo",
  348. "fileId": "d0kLMEUSFAf5RY+ExcyVtu"
  349. },
  350. {
  351. "__type__": "cc.ProgressBar",
  352. "_name": "",
  353. "_objFlags": 0,
  354. "__editorExtras__": {},
  355. "node": {
  356. "__id__": 2
  357. },
  358. "_enabled": true,
  359. "__prefab": {
  360. "__id__": 14
  361. },
  362. "_barSprite": {
  363. "__id__": 6
  364. },
  365. "_mode": 0,
  366. "_totalLength": 50,
  367. "_progress": 0.6,
  368. "_reverse": false,
  369. "_id": ""
  370. },
  371. {
  372. "__type__": "cc.CompPrefabInfo",
  373. "fileId": "5dmvtdGaJAoos+1O5sBlzr"
  374. },
  375. {
  376. "__type__": "cc.Widget",
  377. "_name": "",
  378. "_objFlags": 0,
  379. "__editorExtras__": {},
  380. "node": {
  381. "__id__": 2
  382. },
  383. "_enabled": true,
  384. "__prefab": {
  385. "__id__": 16
  386. },
  387. "_alignFlags": 1,
  388. "_target": null,
  389. "_left": 0,
  390. "_right": 0,
  391. "_top": -10,
  392. "_bottom": 0,
  393. "_horizontalCenter": 0,
  394. "_verticalCenter": 0,
  395. "_isAbsLeft": true,
  396. "_isAbsRight": true,
  397. "_isAbsTop": true,
  398. "_isAbsBottom": true,
  399. "_isAbsHorizontalCenter": true,
  400. "_isAbsVerticalCenter": true,
  401. "_originalWidth": 0,
  402. "_originalHeight": 0,
  403. "_alignMode": 2,
  404. "_lockFlags": 0,
  405. "_id": ""
  406. },
  407. {
  408. "__type__": "cc.CompPrefabInfo",
  409. "fileId": "10Jl5VNYFM+p7+I0trZsSt"
  410. },
  411. {
  412. "__type__": "cc.PrefabInfo",
  413. "root": {
  414. "__id__": 1
  415. },
  416. "asset": {
  417. "__id__": 0
  418. },
  419. "fileId": "07Qnffb5lP2Y4An+XgiD43",
  420. "instance": null,
  421. "targetOverrides": null,
  422. "nestedPrefabInstanceRoots": null
  423. },
  424. {
  425. "__type__": "cc.UITransform",
  426. "_name": "",
  427. "_objFlags": 0,
  428. "__editorExtras__": {},
  429. "node": {
  430. "__id__": 1
  431. },
  432. "_enabled": true,
  433. "__prefab": {
  434. "__id__": 19
  435. },
  436. "_contentSize": {
  437. "__type__": "cc.Size",
  438. "width": 60,
  439. "height": 60
  440. },
  441. "_anchorPoint": {
  442. "__type__": "cc.Vec2",
  443. "x": 0.5,
  444. "y": 0.5
  445. },
  446. "_id": ""
  447. },
  448. {
  449. "__type__": "cc.CompPrefabInfo",
  450. "fileId": "30GLe29nRFW4yoBxEEMxuH"
  451. },
  452. {
  453. "__type__": "cc.Sprite",
  454. "_name": "",
  455. "_objFlags": 0,
  456. "__editorExtras__": {},
  457. "node": {
  458. "__id__": 1
  459. },
  460. "_enabled": true,
  461. "__prefab": {
  462. "__id__": 21
  463. },
  464. "_customMaterial": null,
  465. "_srcBlendFactor": 2,
  466. "_dstBlendFactor": 4,
  467. "_color": {
  468. "__type__": "cc.Color",
  469. "r": 255,
  470. "g": 255,
  471. "b": 255,
  472. "a": 255
  473. },
  474. "_spriteFrame": {
  475. "__uuid__": "53a94fc7-86c1-46e6-88d1-979398a0184a@91655",
  476. "__expectedType__": "cc.SpriteFrame"
  477. },
  478. "_type": 0,
  479. "_fillType": 0,
  480. "_sizeMode": 0,
  481. "_fillCenter": {
  482. "__type__": "cc.Vec2",
  483. "x": 0,
  484. "y": 0
  485. },
  486. "_fillStart": 0,
  487. "_fillRange": 0,
  488. "_isTrimmedMode": true,
  489. "_useGrayscale": false,
  490. "_atlas": null,
  491. "_id": ""
  492. },
  493. {
  494. "__type__": "cc.CompPrefabInfo",
  495. "fileId": "72/QFamJlOCpVWywywWstV"
  496. },
  497. {
  498. "__type__": "ad43dEbYAhMxo3MLuUnyyA0",
  499. "_name": "",
  500. "_objFlags": 0,
  501. "__editorExtras__": {},
  502. "node": {
  503. "__id__": 1
  504. },
  505. "_enabled": true,
  506. "__prefab": {
  507. "__id__": 23
  508. },
  509. "_id": ""
  510. },
  511. {
  512. "__type__": "cc.CompPrefabInfo",
  513. "fileId": "48hN24lhtJQbypws0gXhrR"
  514. },
  515. {
  516. "__type__": "388871Di4pOt6xbxmukt88Z",
  517. "_name": "",
  518. "_objFlags": 0,
  519. "__editorExtras__": {},
  520. "node": {
  521. "__id__": 1
  522. },
  523. "_enabled": true,
  524. "__prefab": {
  525. "__id__": 25
  526. },
  527. "_id": ""
  528. },
  529. {
  530. "__type__": "cc.CompPrefabInfo",
  531. "fileId": "e1hUYVYkFKVb4mz15p8viv"
  532. },
  533. {
  534. "__type__": "cc.BoxCollider2D",
  535. "_name": "",
  536. "_objFlags": 0,
  537. "__editorExtras__": {},
  538. "node": {
  539. "__id__": 1
  540. },
  541. "_enabled": true,
  542. "__prefab": {
  543. "__id__": 27
  544. },
  545. "tag": 0,
  546. "_group": 2,
  547. "_density": 1,
  548. "_sensor": false,
  549. "_friction": 0.2,
  550. "_restitution": 0,
  551. "_offset": {
  552. "__type__": "cc.Vec2",
  553. "x": 0,
  554. "y": 0
  555. },
  556. "_size": {
  557. "__type__": "cc.Size",
  558. "width": 25,
  559. "height": 50
  560. },
  561. "_id": ""
  562. },
  563. {
  564. "__type__": "cc.CompPrefabInfo",
  565. "fileId": "64W1+iVDlCLK4UAAKP6xOs"
  566. },
  567. {
  568. "__type__": "cc.RigidBody2D",
  569. "_name": "",
  570. "_objFlags": 0,
  571. "__editorExtras__": {},
  572. "node": {
  573. "__id__": 1
  574. },
  575. "_enabled": true,
  576. "__prefab": {
  577. "__id__": 29
  578. },
  579. "enabledContactListener": true,
  580. "bullet": false,
  581. "awakeOnLoad": true,
  582. "_group": 2,
  583. "_type": 1,
  584. "_allowSleep": true,
  585. "_gravityScale": 1,
  586. "_linearDamping": 0,
  587. "_angularDamping": 0,
  588. "_linearVelocity": {
  589. "__type__": "cc.Vec2",
  590. "x": 0,
  591. "y": 0
  592. },
  593. "_angularVelocity": 0,
  594. "_fixedRotation": false,
  595. "_id": ""
  596. },
  597. {
  598. "__type__": "cc.CompPrefabInfo",
  599. "fileId": "e11Et9fGtLXLhecJRlqS0a"
  600. },
  601. {
  602. "__type__": "8f090OO4LJMJoL732uK4OzV",
  603. "_name": "",
  604. "_objFlags": 0,
  605. "__editorExtras__": {},
  606. "node": {
  607. "__id__": 1
  608. },
  609. "_enabled": true,
  610. "__prefab": {
  611. "__id__": 31
  612. },
  613. "_id": ""
  614. },
  615. {
  616. "__type__": "cc.CompPrefabInfo",
  617. "fileId": "47V0WVpUdJ5Z5bXnSOlSeK"
  618. },
  619. {
  620. "__type__": "cc.PrefabInfo",
  621. "root": {
  622. "__id__": 1
  623. },
  624. "asset": {
  625. "__id__": 0
  626. },
  627. "fileId": "c98q9WwcVJ3rIiTMivJJ/W",
  628. "instance": null,
  629. "targetOverrides": null
  630. }
  631. ]