joystick.prefab 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747
  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": "joystick",
  17. "_objFlags": 0,
  18. "_parent": null,
  19. "_children": [
  20. {
  21. "__id__": 2
  22. },
  23. {
  24. "__id__": 16
  25. }
  26. ],
  27. "_active": true,
  28. "_components": [
  29. {
  30. "__id__": 19
  31. }
  32. ],
  33. "_prefab": {
  34. "__id__": 20
  35. },
  36. "_opacity": 255,
  37. "_color": {
  38. "__type__": "cc.Color",
  39. "r": 255,
  40. "g": 255,
  41. "b": 255,
  42. "a": 255
  43. },
  44. "_contentSize": {
  45. "__type__": "cc.Size",
  46. "width": 1280,
  47. "height": 720
  48. },
  49. "_anchorPoint": {
  50. "__type__": "cc.Vec2",
  51. "x": 0.5,
  52. "y": 0.5
  53. },
  54. "_trs": {
  55. "__type__": "TypedArray",
  56. "ctor": "Float64Array",
  57. "array": [
  58. 0,
  59. 0,
  60. 0,
  61. 0,
  62. 0,
  63. 0,
  64. 1,
  65. 1,
  66. 1,
  67. 1
  68. ]
  69. },
  70. "_eulerAngles": {
  71. "__type__": "cc.Vec3",
  72. "x": 0,
  73. "y": 0,
  74. "z": 0
  75. },
  76. "_skewX": 0,
  77. "_skewY": 0,
  78. "_is3DNode": false,
  79. "_groupIndex": 0,
  80. "groupIndex": 0,
  81. "_id": ""
  82. },
  83. {
  84. "__type__": "cc.Node",
  85. "_name": "center",
  86. "_objFlags": 0,
  87. "_parent": {
  88. "__id__": 1
  89. },
  90. "_children": [
  91. {
  92. "__id__": 3
  93. },
  94. {
  95. "__id__": 6
  96. },
  97. {
  98. "__id__": 9
  99. },
  100. {
  101. "__id__": 12
  102. }
  103. ],
  104. "_active": true,
  105. "_components": [],
  106. "_prefab": {
  107. "__id__": 15
  108. },
  109. "_opacity": 255,
  110. "_color": {
  111. "__type__": "cc.Color",
  112. "r": 255,
  113. "g": 255,
  114. "b": 255,
  115. "a": 255
  116. },
  117. "_contentSize": {
  118. "__type__": "cc.Size",
  119. "width": 0,
  120. "height": 0
  121. },
  122. "_anchorPoint": {
  123. "__type__": "cc.Vec2",
  124. "x": 0.5,
  125. "y": 0.5
  126. },
  127. "_trs": {
  128. "__type__": "TypedArray",
  129. "ctor": "Float64Array",
  130. "array": [
  131. -449.856,
  132. -165.606,
  133. 0,
  134. 0,
  135. 0,
  136. 0,
  137. 1,
  138. 3,
  139. 3,
  140. 1
  141. ]
  142. },
  143. "_eulerAngles": {
  144. "__type__": "cc.Vec3",
  145. "x": 0,
  146. "y": 0,
  147. "z": 0
  148. },
  149. "_skewX": 0,
  150. "_skewY": 0,
  151. "_is3DNode": false,
  152. "_groupIndex": 0,
  153. "groupIndex": 0,
  154. "_id": ""
  155. },
  156. {
  157. "__type__": "cc.Node",
  158. "_name": "up",
  159. "_objFlags": 0,
  160. "_parent": {
  161. "__id__": 2
  162. },
  163. "_children": [],
  164. "_active": true,
  165. "_components": [
  166. {
  167. "__id__": 4
  168. }
  169. ],
  170. "_prefab": {
  171. "__id__": 5
  172. },
  173. "_opacity": 255,
  174. "_color": {
  175. "__type__": "cc.Color",
  176. "r": 255,
  177. "g": 255,
  178. "b": 255,
  179. "a": 255
  180. },
  181. "_contentSize": {
  182. "__type__": "cc.Size",
  183. "width": 31,
  184. "height": 21
  185. },
  186. "_anchorPoint": {
  187. "__type__": "cc.Vec2",
  188. "x": 0.5,
  189. "y": 0.5
  190. },
  191. "_trs": {
  192. "__type__": "TypedArray",
  193. "ctor": "Float64Array",
  194. "array": [
  195. 0,
  196. 20,
  197. 0,
  198. 0,
  199. 0,
  200. 0.7071067811865476,
  201. -0.7071067811865475,
  202. 1,
  203. 1,
  204. 1
  205. ]
  206. },
  207. "_eulerAngles": {
  208. "__type__": "cc.Vec3",
  209. "x": 0,
  210. "y": 0,
  211. "z": 270
  212. },
  213. "_skewX": 0,
  214. "_skewY": 0,
  215. "_is3DNode": false,
  216. "_groupIndex": 0,
  217. "groupIndex": 0,
  218. "_id": ""
  219. },
  220. {
  221. "__type__": "cc.Sprite",
  222. "_name": "",
  223. "_objFlags": 0,
  224. "node": {
  225. "__id__": 3
  226. },
  227. "_enabled": true,
  228. "_materials": [
  229. {
  230. "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
  231. }
  232. ],
  233. "_srcBlendFactor": 770,
  234. "_dstBlendFactor": 771,
  235. "_spriteFrame": {
  236. "__uuid__": "bdcf8d51-55a7-4487-9c1f-fef79c0d4cdc"
  237. },
  238. "_type": 0,
  239. "_sizeMode": 1,
  240. "_fillType": 0,
  241. "_fillCenter": {
  242. "__type__": "cc.Vec2",
  243. "x": 0,
  244. "y": 0
  245. },
  246. "_fillStart": 0,
  247. "_fillRange": 0,
  248. "_isTrimmedMode": true,
  249. "_atlas": null,
  250. "_id": ""
  251. },
  252. {
  253. "__type__": "cc.PrefabInfo",
  254. "root": {
  255. "__id__": 1
  256. },
  257. "asset": {
  258. "__id__": 0
  259. },
  260. "fileId": "deuwCeJ/5GjYMXxrfG0DuI",
  261. "sync": false
  262. },
  263. {
  264. "__type__": "cc.Node",
  265. "_name": "down",
  266. "_objFlags": 0,
  267. "_parent": {
  268. "__id__": 2
  269. },
  270. "_children": [],
  271. "_active": true,
  272. "_components": [
  273. {
  274. "__id__": 7
  275. }
  276. ],
  277. "_prefab": {
  278. "__id__": 8
  279. },
  280. "_opacity": 255,
  281. "_color": {
  282. "__type__": "cc.Color",
  283. "r": 255,
  284. "g": 255,
  285. "b": 255,
  286. "a": 255
  287. },
  288. "_contentSize": {
  289. "__type__": "cc.Size",
  290. "width": 31,
  291. "height": 21
  292. },
  293. "_anchorPoint": {
  294. "__type__": "cc.Vec2",
  295. "x": 0.5,
  296. "y": 0.5
  297. },
  298. "_trs": {
  299. "__type__": "TypedArray",
  300. "ctor": "Float64Array",
  301. "array": [
  302. 0,
  303. -20,
  304. 0,
  305. 0,
  306. 0,
  307. 0.7071067811865475,
  308. 0.7071067811865476,
  309. 1,
  310. 1,
  311. 1
  312. ]
  313. },
  314. "_eulerAngles": {
  315. "__type__": "cc.Vec3",
  316. "x": 0,
  317. "y": 0,
  318. "z": 90
  319. },
  320. "_skewX": 0,
  321. "_skewY": 0,
  322. "_is3DNode": false,
  323. "_groupIndex": 0,
  324. "groupIndex": 0,
  325. "_id": ""
  326. },
  327. {
  328. "__type__": "cc.Sprite",
  329. "_name": "",
  330. "_objFlags": 0,
  331. "node": {
  332. "__id__": 6
  333. },
  334. "_enabled": true,
  335. "_materials": [
  336. {
  337. "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
  338. }
  339. ],
  340. "_srcBlendFactor": 770,
  341. "_dstBlendFactor": 771,
  342. "_spriteFrame": {
  343. "__uuid__": "bdcf8d51-55a7-4487-9c1f-fef79c0d4cdc"
  344. },
  345. "_type": 0,
  346. "_sizeMode": 1,
  347. "_fillType": 0,
  348. "_fillCenter": {
  349. "__type__": "cc.Vec2",
  350. "x": 0,
  351. "y": 0
  352. },
  353. "_fillStart": 0,
  354. "_fillRange": 0,
  355. "_isTrimmedMode": true,
  356. "_atlas": null,
  357. "_id": ""
  358. },
  359. {
  360. "__type__": "cc.PrefabInfo",
  361. "root": {
  362. "__id__": 1
  363. },
  364. "asset": {
  365. "__id__": 0
  366. },
  367. "fileId": "8dYHb5OjFKo7qTzGIUMLkG",
  368. "sync": false
  369. },
  370. {
  371. "__type__": "cc.Node",
  372. "_name": "left",
  373. "_objFlags": 0,
  374. "_parent": {
  375. "__id__": 2
  376. },
  377. "_children": [],
  378. "_active": true,
  379. "_components": [
  380. {
  381. "__id__": 10
  382. }
  383. ],
  384. "_prefab": {
  385. "__id__": 11
  386. },
  387. "_opacity": 255,
  388. "_color": {
  389. "__type__": "cc.Color",
  390. "r": 255,
  391. "g": 255,
  392. "b": 255,
  393. "a": 255
  394. },
  395. "_contentSize": {
  396. "__type__": "cc.Size",
  397. "width": 31,
  398. "height": 21
  399. },
  400. "_anchorPoint": {
  401. "__type__": "cc.Vec2",
  402. "x": 0.5,
  403. "y": 0.5
  404. },
  405. "_trs": {
  406. "__type__": "TypedArray",
  407. "ctor": "Float64Array",
  408. "array": [
  409. -20,
  410. 0,
  411. 0,
  412. 0,
  413. 0,
  414. 0,
  415. 1,
  416. 1,
  417. 1,
  418. 1
  419. ]
  420. },
  421. "_eulerAngles": {
  422. "__type__": "cc.Vec3",
  423. "x": 0,
  424. "y": 0,
  425. "z": 0
  426. },
  427. "_skewX": 0,
  428. "_skewY": 0,
  429. "_is3DNode": false,
  430. "_groupIndex": 0,
  431. "groupIndex": 0,
  432. "_id": ""
  433. },
  434. {
  435. "__type__": "cc.Sprite",
  436. "_name": "",
  437. "_objFlags": 0,
  438. "node": {
  439. "__id__": 9
  440. },
  441. "_enabled": true,
  442. "_materials": [
  443. {
  444. "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
  445. }
  446. ],
  447. "_srcBlendFactor": 770,
  448. "_dstBlendFactor": 771,
  449. "_spriteFrame": {
  450. "__uuid__": "bdcf8d51-55a7-4487-9c1f-fef79c0d4cdc"
  451. },
  452. "_type": 0,
  453. "_sizeMode": 1,
  454. "_fillType": 0,
  455. "_fillCenter": {
  456. "__type__": "cc.Vec2",
  457. "x": 0,
  458. "y": 0
  459. },
  460. "_fillStart": 0,
  461. "_fillRange": 0,
  462. "_isTrimmedMode": true,
  463. "_atlas": null,
  464. "_id": ""
  465. },
  466. {
  467. "__type__": "cc.PrefabInfo",
  468. "root": {
  469. "__id__": 1
  470. },
  471. "asset": {
  472. "__id__": 0
  473. },
  474. "fileId": "032ca3oBFMrLhqjd2I9a7s",
  475. "sync": false
  476. },
  477. {
  478. "__type__": "cc.Node",
  479. "_name": "right",
  480. "_objFlags": 0,
  481. "_parent": {
  482. "__id__": 2
  483. },
  484. "_children": [],
  485. "_active": true,
  486. "_components": [
  487. {
  488. "__id__": 13
  489. }
  490. ],
  491. "_prefab": {
  492. "__id__": 14
  493. },
  494. "_opacity": 255,
  495. "_color": {
  496. "__type__": "cc.Color",
  497. "r": 255,
  498. "g": 255,
  499. "b": 255,
  500. "a": 255
  501. },
  502. "_contentSize": {
  503. "__type__": "cc.Size",
  504. "width": 31,
  505. "height": 21
  506. },
  507. "_anchorPoint": {
  508. "__type__": "cc.Vec2",
  509. "x": 0.5,
  510. "y": 0.5
  511. },
  512. "_trs": {
  513. "__type__": "TypedArray",
  514. "ctor": "Float64Array",
  515. "array": [
  516. 20,
  517. 0,
  518. 0,
  519. 0,
  520. 0,
  521. 1,
  522. 6.123233995736766e-17,
  523. 1,
  524. 1,
  525. 1
  526. ]
  527. },
  528. "_eulerAngles": {
  529. "__type__": "cc.Vec3",
  530. "x": 0,
  531. "y": 0,
  532. "z": 180
  533. },
  534. "_skewX": 0,
  535. "_skewY": 0,
  536. "_is3DNode": false,
  537. "_groupIndex": 0,
  538. "groupIndex": 0,
  539. "_id": ""
  540. },
  541. {
  542. "__type__": "cc.Sprite",
  543. "_name": "",
  544. "_objFlags": 0,
  545. "node": {
  546. "__id__": 12
  547. },
  548. "_enabled": true,
  549. "_materials": [
  550. {
  551. "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
  552. }
  553. ],
  554. "_srcBlendFactor": 770,
  555. "_dstBlendFactor": 771,
  556. "_spriteFrame": {
  557. "__uuid__": "bdcf8d51-55a7-4487-9c1f-fef79c0d4cdc"
  558. },
  559. "_type": 0,
  560. "_sizeMode": 1,
  561. "_fillType": 0,
  562. "_fillCenter": {
  563. "__type__": "cc.Vec2",
  564. "x": 0,
  565. "y": 0
  566. },
  567. "_fillStart": 0,
  568. "_fillRange": 0,
  569. "_isTrimmedMode": true,
  570. "_atlas": null,
  571. "_id": ""
  572. },
  573. {
  574. "__type__": "cc.PrefabInfo",
  575. "root": {
  576. "__id__": 1
  577. },
  578. "asset": {
  579. "__id__": 0
  580. },
  581. "fileId": "a7wyIXsRRMG4kgxlehHHI+",
  582. "sync": false
  583. },
  584. {
  585. "__type__": "cc.PrefabInfo",
  586. "root": {
  587. "__id__": 1
  588. },
  589. "asset": {
  590. "__id__": 0
  591. },
  592. "fileId": "d7jqa5x+VDy5I57U19fU+c",
  593. "sync": false
  594. },
  595. {
  596. "__type__": "cc.Node",
  597. "_name": "touch",
  598. "_objFlags": 0,
  599. "_parent": {
  600. "__id__": 1
  601. },
  602. "_children": [],
  603. "_active": true,
  604. "_components": [
  605. {
  606. "__id__": 17
  607. }
  608. ],
  609. "_prefab": {
  610. "__id__": 18
  611. },
  612. "_opacity": 255,
  613. "_color": {
  614. "__type__": "cc.Color",
  615. "r": 255,
  616. "g": 255,
  617. "b": 255,
  618. "a": 255
  619. },
  620. "_contentSize": {
  621. "__type__": "cc.Size",
  622. "width": 194,
  623. "height": 196
  624. },
  625. "_anchorPoint": {
  626. "__type__": "cc.Vec2",
  627. "x": 0.5,
  628. "y": 0.5
  629. },
  630. "_trs": {
  631. "__type__": "TypedArray",
  632. "ctor": "Float64Array",
  633. "array": [
  634. -447.384,
  635. -165.606,
  636. 0,
  637. 0,
  638. 0,
  639. 0,
  640. 1,
  641. 0.99999,
  642. 0.99999,
  643. 0.99999
  644. ]
  645. },
  646. "_eulerAngles": {
  647. "__type__": "cc.Vec3",
  648. "x": 0,
  649. "y": 0,
  650. "z": 0
  651. },
  652. "_skewX": 0,
  653. "_skewY": 0,
  654. "_is3DNode": false,
  655. "_groupIndex": 0,
  656. "groupIndex": 0,
  657. "_id": ""
  658. },
  659. {
  660. "__type__": "cc.Sprite",
  661. "_name": "",
  662. "_objFlags": 0,
  663. "node": {
  664. "__id__": 16
  665. },
  666. "_enabled": true,
  667. "_materials": [
  668. {
  669. "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
  670. }
  671. ],
  672. "_srcBlendFactor": 770,
  673. "_dstBlendFactor": 771,
  674. "_spriteFrame": {
  675. "__uuid__": "b99646ee-ec5d-4b34-89c2-e7a73c89b621"
  676. },
  677. "_type": 0,
  678. "_sizeMode": 1,
  679. "_fillType": 0,
  680. "_fillCenter": {
  681. "__type__": "cc.Vec2",
  682. "x": 0,
  683. "y": 0
  684. },
  685. "_fillStart": 0,
  686. "_fillRange": 0,
  687. "_isTrimmedMode": true,
  688. "_atlas": null,
  689. "_id": ""
  690. },
  691. {
  692. "__type__": "cc.PrefabInfo",
  693. "root": {
  694. "__id__": 1
  695. },
  696. "asset": {
  697. "__id__": 0
  698. },
  699. "fileId": "9div36anJBLq8HG8jDgoUc",
  700. "sync": false
  701. },
  702. {
  703. "__type__": "e5edbNtToxGSrmf7gwyJcdY",
  704. "_name": "",
  705. "_objFlags": 0,
  706. "node": {
  707. "__id__": 1
  708. },
  709. "_enabled": true,
  710. "mTouchView": {
  711. "__id__": 16
  712. },
  713. "mCneter": {
  714. "__id__": 2
  715. },
  716. "mUp": {
  717. "__id__": 4
  718. },
  719. "mDown": {
  720. "__id__": 7
  721. },
  722. "mLeft": {
  723. "__id__": 10
  724. },
  725. "mRight": {
  726. "__id__": 13
  727. },
  728. "mTouchOn": {
  729. "__uuid__": "17eff059-f013-481e-8e55-2a1ba6baa4c5"
  730. },
  731. "mTouchOff": {
  732. "__uuid__": "bdcf8d51-55a7-4487-9c1f-fef79c0d4cdc"
  733. },
  734. "_id": ""
  735. },
  736. {
  737. "__type__": "cc.PrefabInfo",
  738. "root": {
  739. "__id__": 1
  740. },
  741. "asset": {
  742. "__id__": 0
  743. },
  744. "fileId": "21JEEEWf5ILK8Z/y+U2S03",
  745. "sync": false
  746. }
  747. ]