Joystick_magTest.fire 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624
  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": "3d7d738c-b844-40b1-a4e6-6f5daef5f8e3"
  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__": 15
  82. },
  83. {
  84. "__id__": 16
  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": 1280,
  99. "height": 720
  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. 640,
  111. 360,
  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": 0,
  161. "height": 0
  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. 360.2665679743265,
  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": 0,
  210. "g": 0,
  211. "b": 0,
  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": "joystick_mag",
  236. "_objFlags": 0,
  237. "_parent": {
  238. "__id__": 2
  239. },
  240. "_children": [
  241. {
  242. "__id__": 6
  243. },
  244. {
  245. "__id__": 9
  246. }
  247. ],
  248. "_active": true,
  249. "_components": [
  250. {
  251. "__id__": 12
  252. },
  253. {
  254. "__id__": 13
  255. }
  256. ],
  257. "_prefab": {
  258. "__id__": 14
  259. },
  260. "_opacity": 255,
  261. "_color": {
  262. "__type__": "cc.Color",
  263. "r": 255,
  264. "g": 255,
  265. "b": 255,
  266. "a": 255
  267. },
  268. "_contentSize": {
  269. "__type__": "cc.Size",
  270. "width": 750,
  271. "height": 720
  272. },
  273. "_anchorPoint": {
  274. "__type__": "cc.Vec2",
  275. "x": 0,
  276. "y": 0
  277. },
  278. "_trs": {
  279. "__type__": "TypedArray",
  280. "ctor": "Float64Array",
  281. "array": [
  282. -640,
  283. -360,
  284. 360.26657,
  285. 0,
  286. 0,
  287. 0,
  288. 1,
  289. 1,
  290. 1,
  291. 1
  292. ]
  293. },
  294. "_eulerAngles": {
  295. "__type__": "cc.Vec3",
  296. "x": 0,
  297. "y": 0,
  298. "z": 0
  299. },
  300. "_skewX": 0,
  301. "_skewY": 0,
  302. "_is3DNode": false,
  303. "_groupIndex": 0,
  304. "groupIndex": 0,
  305. "_id": "8cmMdu35hN5LTmjv9Coy25"
  306. },
  307. {
  308. "__type__": "cc.Node",
  309. "_name": "Joystick_ring",
  310. "_objFlags": 0,
  311. "_parent": {
  312. "__id__": 5
  313. },
  314. "_children": [],
  315. "_active": true,
  316. "_components": [
  317. {
  318. "__id__": 7
  319. }
  320. ],
  321. "_prefab": {
  322. "__id__": 8
  323. },
  324. "_opacity": 255,
  325. "_color": {
  326. "__type__": "cc.Color",
  327. "r": 255,
  328. "g": 255,
  329. "b": 255,
  330. "a": 255
  331. },
  332. "_contentSize": {
  333. "__type__": "cc.Size",
  334. "width": 212,
  335. "height": 212
  336. },
  337. "_anchorPoint": {
  338. "__type__": "cc.Vec2",
  339. "x": 0.5,
  340. "y": 0.5
  341. },
  342. "_trs": {
  343. "__type__": "TypedArray",
  344. "ctor": "Float64Array",
  345. "array": [
  346. 207.634,
  347. 210.904,
  348. 0,
  349. 0,
  350. 0,
  351. 0,
  352. 1,
  353. 1,
  354. 1,
  355. 1
  356. ]
  357. },
  358. "_eulerAngles": {
  359. "__type__": "cc.Vec3",
  360. "x": 0,
  361. "y": 0,
  362. "z": 0
  363. },
  364. "_skewX": 0,
  365. "_skewY": 0,
  366. "_is3DNode": false,
  367. "_groupIndex": 0,
  368. "groupIndex": 0,
  369. "_id": "b03NGwIylBZ6wgePgHmUWo"
  370. },
  371. {
  372. "__type__": "cc.Sprite",
  373. "_name": "",
  374. "_objFlags": 0,
  375. "node": {
  376. "__id__": 6
  377. },
  378. "_enabled": true,
  379. "_materials": [
  380. {
  381. "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
  382. }
  383. ],
  384. "_srcBlendFactor": 770,
  385. "_dstBlendFactor": 771,
  386. "_spriteFrame": {
  387. "__uuid__": "23053071-9e17-4e0b-9026-da115348c32d"
  388. },
  389. "_type": 0,
  390. "_sizeMode": 1,
  391. "_fillType": 0,
  392. "_fillCenter": {
  393. "__type__": "cc.Vec2",
  394. "x": 0,
  395. "y": 0
  396. },
  397. "_fillStart": 0,
  398. "_fillRange": 0,
  399. "_isTrimmedMode": true,
  400. "_atlas": null,
  401. "_id": "2exqCWhExPopNLgbrreQme"
  402. },
  403. {
  404. "__type__": "cc.PrefabInfo",
  405. "root": {
  406. "__id__": 5
  407. },
  408. "asset": {
  409. "__uuid__": "ef3f21d5-c5af-4c15-a238-67a3bd06db4f"
  410. },
  411. "fileId": "72U+jyOTBCyakhWSBzlznv",
  412. "sync": false
  413. },
  414. {
  415. "__type__": "cc.Node",
  416. "_name": "Joystick_dot",
  417. "_objFlags": 0,
  418. "_parent": {
  419. "__id__": 5
  420. },
  421. "_children": [],
  422. "_active": true,
  423. "_components": [
  424. {
  425. "__id__": 10
  426. }
  427. ],
  428. "_prefab": {
  429. "__id__": 11
  430. },
  431. "_opacity": 255,
  432. "_color": {
  433. "__type__": "cc.Color",
  434. "r": 255,
  435. "g": 255,
  436. "b": 255,
  437. "a": 255
  438. },
  439. "_contentSize": {
  440. "__type__": "cc.Size",
  441. "width": 62,
  442. "height": 68
  443. },
  444. "_anchorPoint": {
  445. "__type__": "cc.Vec2",
  446. "x": 0.5,
  447. "y": 0.5
  448. },
  449. "_trs": {
  450. "__type__": "TypedArray",
  451. "ctor": "Float64Array",
  452. "array": [
  453. 207.634,
  454. 210.904,
  455. 0,
  456. 0,
  457. 0,
  458. 0,
  459. 1,
  460. 1,
  461. 1,
  462. 1
  463. ]
  464. },
  465. "_eulerAngles": {
  466. "__type__": "cc.Vec3",
  467. "x": 0,
  468. "y": 0,
  469. "z": 0
  470. },
  471. "_skewX": 0,
  472. "_skewY": 0,
  473. "_is3DNode": false,
  474. "_groupIndex": 0,
  475. "groupIndex": 0,
  476. "_id": "5dU0BqXMhJ+KMlrYCcHhr/"
  477. },
  478. {
  479. "__type__": "cc.Sprite",
  480. "_name": "",
  481. "_objFlags": 0,
  482. "node": {
  483. "__id__": 9
  484. },
  485. "_enabled": true,
  486. "_materials": [
  487. {
  488. "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
  489. }
  490. ],
  491. "_srcBlendFactor": 770,
  492. "_dstBlendFactor": 771,
  493. "_spriteFrame": {
  494. "__uuid__": "bdf3ff23-dc52-4e6f-9ce3-9e544bd7a22a"
  495. },
  496. "_type": 0,
  497. "_sizeMode": 1,
  498. "_fillType": 0,
  499. "_fillCenter": {
  500. "__type__": "cc.Vec2",
  501. "x": 0,
  502. "y": 0
  503. },
  504. "_fillStart": 0,
  505. "_fillRange": 0,
  506. "_isTrimmedMode": true,
  507. "_atlas": null,
  508. "_id": "f7dwAh92FEO5CQ1NCDJef8"
  509. },
  510. {
  511. "__type__": "cc.PrefabInfo",
  512. "root": {
  513. "__id__": 5
  514. },
  515. "asset": {
  516. "__uuid__": "ef3f21d5-c5af-4c15-a238-67a3bd06db4f"
  517. },
  518. "fileId": "c9n9asJaRNBYrSW88lDUsI",
  519. "sync": false
  520. },
  521. {
  522. "__type__": "cc.Widget",
  523. "_name": "",
  524. "_objFlags": 0,
  525. "node": {
  526. "__id__": 5
  527. },
  528. "_enabled": true,
  529. "alignMode": 1,
  530. "_target": null,
  531. "_alignFlags": 13,
  532. "_left": 0,
  533. "_right": 694,
  534. "_top": 0,
  535. "_bottom": 0,
  536. "_verticalCenter": 0,
  537. "_horizontalCenter": 0,
  538. "_isAbsLeft": true,
  539. "_isAbsRight": true,
  540. "_isAbsTop": true,
  541. "_isAbsBottom": true,
  542. "_isAbsHorizontalCenter": true,
  543. "_isAbsVerticalCenter": true,
  544. "_originalWidth": 640,
  545. "_originalHeight": 750,
  546. "_id": "3e1BCn/NZLQI7FXCTN0xjO"
  547. },
  548. {
  549. "__type__": "8ee3azo+vlAFYSvcAwwU7uv",
  550. "_name": "",
  551. "_objFlags": 0,
  552. "node": {
  553. "__id__": 5
  554. },
  555. "_enabled": true,
  556. "dot": {
  557. "__id__": 9
  558. },
  559. "ring": {
  560. "__id__": 6
  561. },
  562. "joystickType": 1,
  563. "directionType": 2,
  564. "_stickPos": null,
  565. "_touchLocation": null,
  566. "_radius": 0,
  567. "_id": "a3mqsg8chHe7lpn/5+IbPp"
  568. },
  569. {
  570. "__type__": "cc.PrefabInfo",
  571. "root": {
  572. "__id__": 5
  573. },
  574. "asset": {
  575. "__uuid__": "ef3f21d5-c5af-4c15-a238-67a3bd06db4f"
  576. },
  577. "fileId": "",
  578. "sync": false
  579. },
  580. {
  581. "__type__": "cc.Canvas",
  582. "_name": "",
  583. "_objFlags": 0,
  584. "node": {
  585. "__id__": 2
  586. },
  587. "_enabled": true,
  588. "_designResolution": {
  589. "__type__": "cc.Size",
  590. "width": 1280,
  591. "height": 720
  592. },
  593. "_fitWidth": false,
  594. "_fitHeight": true,
  595. "_id": "59Cd0ovbdF4byw5sbjJDx7"
  596. },
  597. {
  598. "__type__": "cc.Widget",
  599. "_name": "",
  600. "_objFlags": 0,
  601. "node": {
  602. "__id__": 2
  603. },
  604. "_enabled": true,
  605. "alignMode": 1,
  606. "_target": null,
  607. "_alignFlags": 45,
  608. "_left": 0,
  609. "_right": 0,
  610. "_top": 0,
  611. "_bottom": 0,
  612. "_verticalCenter": 0,
  613. "_horizontalCenter": 0,
  614. "_isAbsLeft": true,
  615. "_isAbsRight": true,
  616. "_isAbsTop": true,
  617. "_isAbsBottom": true,
  618. "_isAbsHorizontalCenter": true,
  619. "_isAbsVerticalCenter": true,
  620. "_originalWidth": 0,
  621. "_originalHeight": 0,
  622. "_id": "29zXboiXFBKoIV4PQ2liTe"
  623. }
  624. ]