Example2.fire 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  1. [
  2. {
  3. "__type__": "cc.SceneAsset",
  4. "_name": "",
  5. "_objFlags": 0,
  6. "_native": "",
  7. "scene": {
  8. "__id__": 1
  9. }
  10. },
  11. {
  12. "__type__": "cc.Scene",
  13. "_objFlags": 0,
  14. "_parent": null,
  15. "_children": [
  16. {
  17. "__id__": 2
  18. }
  19. ],
  20. "_active": true,
  21. "_components": [],
  22. "_prefab": null,
  23. "_opacity": 255,
  24. "_color": {
  25. "__type__": "cc.Color",
  26. "r": 255,
  27. "g": 255,
  28. "b": 255,
  29. "a": 255
  30. },
  31. "_contentSize": {
  32. "__type__": "cc.Size",
  33. "width": 0,
  34. "height": 0
  35. },
  36. "_anchorPoint": {
  37. "__type__": "cc.Vec2",
  38. "x": 0,
  39. "y": 0
  40. },
  41. "_trs": {
  42. "__type__": "TypedArray",
  43. "ctor": "Float64Array",
  44. "array": [
  45. 0,
  46. 0,
  47. 0,
  48. 0,
  49. 0,
  50. 0,
  51. 1,
  52. 1,
  53. 1,
  54. 1
  55. ]
  56. },
  57. "_is3DNode": true,
  58. "_groupIndex": 0,
  59. "groupIndex": 0,
  60. "autoReleaseAssets": false,
  61. "_id": "cc19f004-4e41-47f5-8a70-7c2fd57583fe"
  62. },
  63. {
  64. "__type__": "cc.Node",
  65. "_name": "Canvas",
  66. "_objFlags": 0,
  67. "_parent": {
  68. "__id__": 1
  69. },
  70. "_children": [
  71. {
  72. "__id__": 3
  73. },
  74. {
  75. "__id__": 5
  76. }
  77. ],
  78. "_active": true,
  79. "_components": [
  80. {
  81. "__id__": 7
  82. },
  83. {
  84. "__id__": 8
  85. }
  86. ],
  87. "_prefab": null,
  88. "_opacity": 255,
  89. "_color": {
  90. "__type__": "cc.Color",
  91. "r": 255,
  92. "g": 255,
  93. "b": 255,
  94. "a": 255
  95. },
  96. "_contentSize": {
  97. "__type__": "cc.Size",
  98. "width": 960,
  99. "height": 640
  100. },
  101. "_anchorPoint": {
  102. "__type__": "cc.Vec2",
  103. "x": 0.5,
  104. "y": 0.5
  105. },
  106. "_trs": {
  107. "__type__": "TypedArray",
  108. "ctor": "Float64Array",
  109. "array": [
  110. 480,
  111. 320,
  112. 0,
  113. 0,
  114. 0,
  115. 0,
  116. 1,
  117. 1,
  118. 1,
  119. 1
  120. ]
  121. },
  122. "_eulerAngles": {
  123. "__type__": "cc.Vec3",
  124. "x": 0,
  125. "y": 0,
  126. "z": 0
  127. },
  128. "_skewX": 0,
  129. "_skewY": 0,
  130. "_is3DNode": false,
  131. "_groupIndex": 0,
  132. "groupIndex": 0,
  133. "_id": "a5esZu+45LA5mBpvttspPD"
  134. },
  135. {
  136. "__type__": "cc.Node",
  137. "_name": "Main Camera",
  138. "_objFlags": 0,
  139. "_parent": {
  140. "__id__": 2
  141. },
  142. "_children": [],
  143. "_active": true,
  144. "_components": [
  145. {
  146. "__id__": 4
  147. }
  148. ],
  149. "_prefab": null,
  150. "_opacity": 255,
  151. "_color": {
  152. "__type__": "cc.Color",
  153. "r": 255,
  154. "g": 255,
  155. "b": 255,
  156. "a": 255
  157. },
  158. "_contentSize": {
  159. "__type__": "cc.Size",
  160. "width": 960,
  161. "height": 640
  162. },
  163. "_anchorPoint": {
  164. "__type__": "cc.Vec2",
  165. "x": 0.5,
  166. "y": 0.5
  167. },
  168. "_trs": {
  169. "__type__": "TypedArray",
  170. "ctor": "Float64Array",
  171. "array": [
  172. 0,
  173. 0,
  174. 0,
  175. 0,
  176. 0,
  177. 0,
  178. 1,
  179. 1,
  180. 1,
  181. 1
  182. ]
  183. },
  184. "_eulerAngles": {
  185. "__type__": "cc.Vec3",
  186. "x": 0,
  187. "y": 0,
  188. "z": 0
  189. },
  190. "_skewX": 0,
  191. "_skewY": 0,
  192. "_is3DNode": false,
  193. "_groupIndex": 0,
  194. "groupIndex": 0,
  195. "_id": "e1WoFrQ79G7r4ZuQE3HlNb"
  196. },
  197. {
  198. "__type__": "cc.Camera",
  199. "_name": "",
  200. "_objFlags": 0,
  201. "node": {
  202. "__id__": 3
  203. },
  204. "_enabled": true,
  205. "_cullingMask": 4294967295,
  206. "_clearFlags": 7,
  207. "_backgroundColor": {
  208. "__type__": "cc.Color",
  209. "r": 61,
  210. "g": 71,
  211. "b": 105,
  212. "a": 255
  213. },
  214. "_depth": -1,
  215. "_zoomRatio": 1,
  216. "_targetTexture": null,
  217. "_fov": 60,
  218. "_orthoSize": 10,
  219. "_nearClip": 1,
  220. "_farClip": 4096,
  221. "_ortho": true,
  222. "_rect": {
  223. "__type__": "cc.Rect",
  224. "x": 0,
  225. "y": 0,
  226. "width": 1,
  227. "height": 1
  228. },
  229. "_renderStages": 1,
  230. "_alignWithScreen": true,
  231. "_id": "81GN3uXINKVLeW4+iKSlim"
  232. },
  233. {
  234. "__type__": "cc.Node",
  235. "_name": "tmprichtext",
  236. "_objFlags": 0,
  237. "_parent": {
  238. "__id__": 2
  239. },
  240. "_children": [],
  241. "_active": true,
  242. "_components": [
  243. {
  244. "__id__": 6
  245. }
  246. ],
  247. "_prefab": null,
  248. "_opacity": 255,
  249. "_color": {
  250. "__type__": "cc.Color",
  251. "r": 255,
  252. "g": 255,
  253. "b": 255,
  254. "a": 255
  255. },
  256. "_contentSize": {
  257. "__type__": "cc.Size",
  258. "width": 400,
  259. "height": 348.48
  260. },
  261. "_anchorPoint": {
  262. "__type__": "cc.Vec2",
  263. "x": 0.5,
  264. "y": 0.5
  265. },
  266. "_trs": {
  267. "__type__": "TypedArray",
  268. "ctor": "Float64Array",
  269. "array": [
  270. 0,
  271. 0,
  272. 0,
  273. 0,
  274. 0,
  275. 0,
  276. 1,
  277. 1,
  278. 1,
  279. 1
  280. ]
  281. },
  282. "_eulerAngles": {
  283. "__type__": "cc.Vec3",
  284. "x": 0,
  285. "y": 0,
  286. "z": 0
  287. },
  288. "_skewX": 0,
  289. "_skewY": 0,
  290. "_is3DNode": false,
  291. "_groupIndex": 0,
  292. "groupIndex": 0,
  293. "_id": "5bk6MF4e1HP57XzD0SePSS"
  294. },
  295. {
  296. "__type__": "c4f1avKus9MM6INFfM10YV9",
  297. "_name": "",
  298. "_objFlags": 0,
  299. "node": {
  300. "__id__": 5
  301. },
  302. "_enabled": true,
  303. "_string": "富文本测试:\n<size=64>enlarge me</size> <color=#ff0000>Red Text</color> <cg lb=#f90000 rb=#f90000 lt=#0019f7 ​rt=#0019f7>color gradient</cg> <u=8><outline color=green thickness=0.15><face color=#00000000 dilate=0.5 softness=0.01>outline underline strikethrough face</face></outline></u> <s=6>strikethrough</s> <i>This text will be rendered as italic</i> <underlay color=#000000 x=0.001 y=-0.001 dilate=0.5 softness=0.3>underlay</underlay> <glow color=#0ff0ff inner=0.2 outer=0.4><color=#000000>glow</color></glow><img src='question' click='handler' height=40 width=40 align= center/>2222<img src='cancel' click='handler' height=40 width=40 align= center/>",
  304. "_font": {
  305. "__uuid__": "92cf9a17-f18f-4ed2-8ddc-d57bb8a76cea"
  306. },
  307. "_horizontalAlign": 0,
  308. "_verticalAlign": 1,
  309. "_fontSize": 32,
  310. "_maxWidth": 400,
  311. "_lineHeight": 48,
  312. "_imageAtlas": {
  313. "__uuid__": "e5c2754c-b547-42b4-8ad1-1fce72aabc45"
  314. },
  315. "_handleTouchEvent": true,
  316. "material": {
  317. "__uuid__": "f46f28fb-c4a1-4d2b-adb8-9c8df8ca9091"
  318. },
  319. "textures": [
  320. {
  321. "__uuid__": "ba300c75-fc13-4828-8a53-4a3d2a6cfb55"
  322. },
  323. {
  324. "__uuid__": "01be313a-5cb8-43e9-9c25-981cb5920a4e"
  325. },
  326. {
  327. "__uuid__": "55c0536c-12aa-4d12-90ff-eb467b4d503a"
  328. },
  329. {
  330. "__uuid__": "50e3e98d-3cd7-4215-a633-dd8edcd23c25"
  331. }
  332. ],
  333. "_id": "7dWqleA7xFirAIQQPQ+eHR"
  334. },
  335. {
  336. "__type__": "cc.Canvas",
  337. "_name": "",
  338. "_objFlags": 0,
  339. "node": {
  340. "__id__": 2
  341. },
  342. "_enabled": true,
  343. "_designResolution": {
  344. "__type__": "cc.Size",
  345. "width": 960,
  346. "height": 640
  347. },
  348. "_fitWidth": false,
  349. "_fitHeight": true,
  350. "_id": "59Cd0ovbdF4byw5sbjJDx7"
  351. },
  352. {
  353. "__type__": "cc.Widget",
  354. "_name": "",
  355. "_objFlags": 0,
  356. "node": {
  357. "__id__": 2
  358. },
  359. "_enabled": true,
  360. "alignMode": 1,
  361. "_target": null,
  362. "_alignFlags": 45,
  363. "_left": 0,
  364. "_right": 0,
  365. "_top": 0,
  366. "_bottom": 0,
  367. "_verticalCenter": 0,
  368. "_horizontalCenter": 0,
  369. "_isAbsLeft": true,
  370. "_isAbsRight": true,
  371. "_isAbsTop": true,
  372. "_isAbsBottom": true,
  373. "_isAbsHorizontalCenter": true,
  374. "_isAbsVerticalCenter": true,
  375. "_originalWidth": 0,
  376. "_originalHeight": 0,
  377. "_id": "29zXboiXFBKoIV4PQ2liTe"
  378. }
  379. ]