bullet.prefab 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  1. [
  2. {
  3. "__type__": "cc.Prefab",
  4. "_name": "",
  5. "_objFlags": 0,
  6. "_native": "",
  7. "data": {
  8. "__id__": 1
  9. },
  10. "optimizationPolicy": 0,
  11. "asyncLoadAssets": false,
  12. "readonly": false
  13. },
  14. {
  15. "__type__": "cc.Node",
  16. "_name": "bullet",
  17. "_objFlags": 0,
  18. "_parent": null,
  19. "_children": [
  20. {
  21. "__id__": 2
  22. }
  23. ],
  24. "_active": true,
  25. "_components": [
  26. {
  27. "__id__": 5
  28. },
  29. {
  30. "__id__": 6
  31. },
  32. {
  33. "__id__": 7
  34. }
  35. ],
  36. "_prefab": {
  37. "__id__": 8
  38. },
  39. "_opacity": 255,
  40. "_color": {
  41. "__type__": "cc.Color",
  42. "r": 255,
  43. "g": 255,
  44. "b": 255,
  45. "a": 255
  46. },
  47. "_contentSize": {
  48. "__type__": "cc.Size",
  49. "width": 12,
  50. "height": 12
  51. },
  52. "_anchorPoint": {
  53. "__type__": "cc.Vec2",
  54. "x": 0.5,
  55. "y": 0.5
  56. },
  57. "_trs": {
  58. "__type__": "TypedArray",
  59. "ctor": "Float64Array",
  60. "array": [
  61. 0,
  62. 0,
  63. 0,
  64. 0,
  65. 0,
  66. 0,
  67. 1,
  68. 1,
  69. 1,
  70. 1
  71. ]
  72. },
  73. "_eulerAngles": {
  74. "__type__": "cc.Vec3",
  75. "x": 0,
  76. "y": 0,
  77. "z": 0
  78. },
  79. "_skewX": 0,
  80. "_skewY": 0,
  81. "_is3DNode": false,
  82. "_groupIndex": 0,
  83. "groupIndex": 0,
  84. "_id": ""
  85. },
  86. {
  87. "__type__": "cc.Node",
  88. "_name": "New Sprite",
  89. "_objFlags": 0,
  90. "_parent": {
  91. "__id__": 1
  92. },
  93. "_children": [],
  94. "_active": true,
  95. "_components": [
  96. {
  97. "__id__": 3
  98. }
  99. ],
  100. "_prefab": {
  101. "__id__": 4
  102. },
  103. "_opacity": 255,
  104. "_color": {
  105. "__type__": "cc.Color",
  106. "r": 255,
  107. "g": 255,
  108. "b": 255,
  109. "a": 255
  110. },
  111. "_contentSize": {
  112. "__type__": "cc.Size",
  113. "width": 37,
  114. "height": 32
  115. },
  116. "_anchorPoint": {
  117. "__type__": "cc.Vec2",
  118. "x": 0.5,
  119. "y": 0.5
  120. },
  121. "_trs": {
  122. "__type__": "TypedArray",
  123. "ctor": "Float64Array",
  124. "array": [
  125. 0,
  126. 0,
  127. 0,
  128. 0,
  129. 0,
  130. 0,
  131. 1,
  132. 1,
  133. 1,
  134. 1
  135. ]
  136. },
  137. "_eulerAngles": {
  138. "__type__": "cc.Vec3",
  139. "x": 0,
  140. "y": 0,
  141. "z": 0
  142. },
  143. "_skewX": 0,
  144. "_skewY": 0,
  145. "_is3DNode": false,
  146. "_groupIndex": 0,
  147. "groupIndex": 0,
  148. "_id": ""
  149. },
  150. {
  151. "__type__": "cc.Sprite",
  152. "_name": "",
  153. "_objFlags": 0,
  154. "node": {
  155. "__id__": 2
  156. },
  157. "_enabled": true,
  158. "_materials": [
  159. {
  160. "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
  161. }
  162. ],
  163. "_srcBlendFactor": 770,
  164. "_dstBlendFactor": 771,
  165. "_spriteFrame": {
  166. "__uuid__": "42fdb3ee-daec-4ee1-a84e-bc34a8c692f0"
  167. },
  168. "_type": 0,
  169. "_sizeMode": 1,
  170. "_fillType": 0,
  171. "_fillCenter": {
  172. "__type__": "cc.Vec2",
  173. "x": 0,
  174. "y": 0
  175. },
  176. "_fillStart": 0,
  177. "_fillRange": 0,
  178. "_isTrimmedMode": true,
  179. "_atlas": null,
  180. "_id": ""
  181. },
  182. {
  183. "__type__": "cc.PrefabInfo",
  184. "root": {
  185. "__id__": 1
  186. },
  187. "asset": {
  188. "__uuid__": "9675a6cd-fe38-47a3-9445-038542c1d94d"
  189. },
  190. "fileId": "71eDEBETZE1rT7jF9HsKWw",
  191. "sync": false
  192. },
  193. {
  194. "__type__": "cc.RigidBody",
  195. "_name": "",
  196. "_objFlags": 0,
  197. "node": {
  198. "__id__": 1
  199. },
  200. "_enabled": true,
  201. "_type": 2,
  202. "_allowSleep": true,
  203. "_gravityScale": 0,
  204. "_linearDamping": 0,
  205. "_angularDamping": 0,
  206. "_linearVelocity": {
  207. "__type__": "cc.Vec2",
  208. "x": 0,
  209. "y": 0
  210. },
  211. "_angularVelocity": 0,
  212. "_fixedRotation": true,
  213. "enabledContactListener": true,
  214. "bullet": true,
  215. "awakeOnLoad": true,
  216. "_id": ""
  217. },
  218. {
  219. "__type__": "cc.PhysicsBoxCollider",
  220. "_name": "",
  221. "_objFlags": 0,
  222. "node": {
  223. "__id__": 1
  224. },
  225. "_enabled": true,
  226. "tag": 0,
  227. "_density": 0,
  228. "_sensor": true,
  229. "_friction": 0,
  230. "_restitution": 0,
  231. "body": null,
  232. "_offset": {
  233. "__type__": "cc.Vec2",
  234. "x": 0,
  235. "y": 0
  236. },
  237. "_size": {
  238. "__type__": "cc.Size",
  239. "width": 12,
  240. "height": 12
  241. },
  242. "_id": ""
  243. },
  244. {
  245. "__type__": "bafd5c2oApEG68YzTvq5kF1",
  246. "_name": "",
  247. "_objFlags": 0,
  248. "node": {
  249. "__id__": 1
  250. },
  251. "_enabled": true,
  252. "speed": 3000,
  253. "distance": 1000,
  254. "mStartEffect": {
  255. "__uuid__": "728e4c1c-ce50-44a9-a710-10a22bc60313"
  256. },
  257. "mHitEffect": {
  258. "__uuid__": "6424e8bc-0516-4fc0-9f04-0f7f72f7b091"
  259. },
  260. "_id": ""
  261. },
  262. {
  263. "__type__": "cc.PrefabInfo",
  264. "root": {
  265. "__id__": 1
  266. },
  267. "asset": {
  268. "__uuid__": "9675a6cd-fe38-47a3-9445-038542c1d94d"
  269. },
  270. "fileId": "",
  271. "sync": false
  272. }
  273. ]