Enemy.prefab 11 KB

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