├── .DS_Store ├── assets ├── game_writer.meta └── game_writer │ ├── .DS_Store │ ├── writer.fire │ ├── writer.fire.meta │ ├── writer.meta │ ├── writer │ ├── bishunbeijing.png │ ├── bishunbeijing.png.meta │ ├── hanzi.js │ ├── hanzi.js.meta │ ├── writer.ts │ └── writer.ts.meta │ ├── writerDemo.ts │ └── writerDemo.ts.meta ├── creator.d.ts ├── jsconfig.json ├── library ├── imports │ ├── 11 │ │ └── 115286d1-2e10-49ee-aab4-341583f607e8.json │ ├── 14 │ │ ├── 144c3297-af63-49e8-b8ef-1cfa29b3be28.json │ │ ├── 14c74869-bdb4-4f57-86d8-a7875de2be30.bin │ │ └── 14c74869-bdb4-4f57-86d8-a7875de2be30.json │ ├── 23 │ │ └── 232d2782-c4bd-4bb4-9e01-909f03d6d3b9.json │ ├── 26 │ │ ├── 2609d141-9e45-488b-98e8-cd6b47908f4e.js │ │ └── 2609d141-9e45-488b-98e8-cd6b47908f4e.js.map │ ├── 27 │ │ └── 27756ebb-3d33-44b0-9b96-e858fadd4dd4.json │ ├── 28 │ │ └── 2874f8dd-416c-4440-81b7-555975426e93.json │ ├── 29 │ │ └── 29158224-f8dd-4661-a796-1ffab537140e.json │ ├── 31 │ │ └── 31d8962d-babb-4ec7-be19-8e9f54a4ea99.json │ ├── 32 │ │ └── 32044bd2-481f-4cf1-a656-e2b2fb1594eb.json │ ├── 43 │ │ ├── 4300f941-ba03-4d19-bdb1-959ef40f1852.json │ │ ├── 430eccbf-bf2c-4e6e-8c0c-884bbb487f32.json │ │ └── 432fa09c-cf03-4cff-a186-982604408a07.json │ ├── 46 │ │ └── 466d4f9b-e5f4-4ea8-85d5-3c6e9a65658a.json │ ├── 47 │ │ └── 472df5d3-35e7-4184-9e6c-7f41bee65ee3.json │ ├── 56 │ │ ├── 567dcd80-8bf4-4535-8a5a-313f1caf078a.json │ │ └── 567dcd80-8bf4-4535-8a5a-313f1caf078a.png │ ├── 59 │ │ └── 5965ffac-69da-4b55-bcde-9225d0613c28.json │ ├── 60 │ │ ├── 600301aa-3357-4a10-b086-84f011fa32ba.json │ │ └── 600301aa-3357-4a10-b086-84f011fa32ba.png │ ├── 61 │ │ ├── 617323dd-11f4-4dd3-8eec-0caf6b3b45b9.json │ │ ├── 617323dd-11f4-4dd3-8eec-0caf6b3b45b9.png │ │ ├── 61906da3-7003-4bda-9abc-5769c76faee4.json │ │ └── 61aeb05b-3b32-452b-8eed-2b76deeed554.json │ ├── 62 │ │ └── 620da9a5-3dd7-45dc-88d8-0ee60f386be8.json │ ├── 66 │ │ └── 666d07c3-ec0e-4d82-9ecd-c1a374db16d3.json │ ├── 67 │ │ └── 67e68bc9-dad5-4ad9-a2d8-7e03d458e32f.json │ ├── 68 │ │ └── 6827ca32-0107-4552-bab2-dfb31799bb44.json │ ├── 70 │ │ ├── 70bbeb73-6dc2-4ee4-8faf-76b3a0e34ec4.json │ │ └── 70d7cdb0-04cd-41bb-9480-c06a4785f386.json │ ├── 71 │ │ ├── 71561142-4c83-4933-afca-cb7a17f67053.json │ │ ├── 71561142-4c83-4933-afca-cb7a17f67053.png │ │ └── 7168db62-0edc-42e5-be5d-682cf6c4a165.json │ ├── 73 │ │ ├── 73a0903d-d80e-4e3c-aa67-f999543c08f5.json │ │ └── 73a0903d-d80e-4e3c-aa67-f999543c08f5.png │ ├── 78 │ │ └── 785a442c-3ceb-45be-a46e-7317f625f3b9.json │ ├── 82 │ │ └── 829a282c-b049-4019-bd38-5ace8d8a6417.json │ ├── 83 │ │ ├── 83f5eff8-3385-4f95-9b76-8da0aa1d96cd.bin │ │ └── 83f5eff8-3385-4f95-9b76-8da0aa1d96cd.json │ ├── 88 │ │ └── 88e79fd5-96b4-4a77-a1f4-312467171014.json │ ├── 89 │ │ └── 897ef7a1-4860-4f64-968d-f5924b18668a.json │ ├── 90 │ │ └── 90004ad6-2f6d-40e1-93ef-b714375c6f06.json │ ├── 95 │ │ └── 954fec8b-cd16-4bb9-a3b7-7719660e7558.json │ ├── 96 │ │ └── 96083d03-c332-4a3f-9386-d03e2d19e8ee.json │ ├── 97 │ │ └── 972b9a4d-47ee-4c74-b5c3-61d8a69bc29f.json │ ├── 99 │ │ ├── 99170b0b-d210-46f1-b213-7d9e3f23098a.json │ │ └── 99170b0b-d210-46f1-b213-7d9e3f23098a.png │ ├── 00 │ │ └── 0004d1cf-a0ad-47d8-ab17-34d3db9d35a3.json │ ├── 02 │ │ ├── 0275e94c-56a7-410f-bd1a-fc7483f7d14a.json │ │ ├── 0275e94c-56a7-410f-bd1a-fc7483f7d14a.png │ │ ├── 0291c134-b3da-4098-b7b5-e397edbe947f.json │ │ └── 0291c134-b3da-4098-b7b5-e397edbe947f.png │ ├── 04 │ │ ├── 046f172c-1574-488b-bbb8-6415a9adb96d.bin │ │ └── 046f172c-1574-488b-bbb8-6415a9adb96d.json │ ├── 0c │ │ └── 0cf30284-9073-46bc-9eba-e62b69dbbff3.json │ ├── 0d │ │ └── 0d784963-d024-4ea6-a7db-03be0ad63010.json │ ├── 0e │ │ ├── 0e42ba95-1fa1-46aa-b2cf-143cd1bcee2c.json │ │ └── 0e93aeaa-0b53-4e40-b8e0-6268b4e07bd7.json │ ├── 1a │ │ └── 1a32fc76-f0bd-4f66-980f-56929c0ca0b3.json │ ├── 1c │ │ └── 1c5e4038-953a-44c2-b620-0bbfc6170477.json │ ├── 1f │ │ └── 1f55e3be-b89b-4b79-88de-47fd31018044.json │ ├── 2a │ │ ├── 2a296057-247c-4a1c-bbeb-0548b6c98650.json │ │ └── 2a7c0036-e0b3-4fe1-8998-89a54b8a2bec.json │ ├── 2b │ │ ├── 2be36297-9abb-4fee-8049-9ed5e271da8a.json │ │ └── 2be36297-9abb-4fee-8049-9ed5e271da8a.mp4 │ ├── 2c │ │ └── 2c937608-2562-40ea-b264-7395df6f0cea.json │ ├── 2d │ │ └── 2d9a4b85-b0ab-4c46-84c5-18f393ab2058.json │ ├── 3a │ │ └── 3a7bb79f-32fd-422e-ada2-96f518fed422.json │ ├── 3b │ │ ├── 3bbdb0f6-c5f6-45de-9f33-8b5cbafb4d6d.bin │ │ └── 3bbdb0f6-c5f6-45de-9f33-8b5cbafb4d6d.json │ ├── 3f │ │ └── 3f376125-a699-40ca-ad05-04d662eaa1f2.json │ ├── 4a │ │ └── 4a37dd57-78cd-4cec-aad4-f11a73d12b63.json │ ├── 4b │ │ ├── 4bab67cb-18e6-4099-b840-355f0473f890.json │ │ └── 4bab67cb-18e6-4099-b840-355f0473f890.png │ ├── 4e │ │ ├── 4e4a58af-a4f2-46a9-b7e7-02a7556b3431.js │ │ └── 4e4a58af-a4f2-46a9-b7e7-02a7556b3431.js.map │ ├── 5c │ │ └── 5c3bb932-6c3c-468f-88a9-c8c61d458641.json │ ├── 5f │ │ └── 5fe5dcaa-b513-4dc5-a166-573627b3a159.json │ ├── 6c │ │ ├── 6c5cf6e1-b044-4eac-9431-835644d57381.json │ │ └── 6c9ef10d-b479-420b-bfe6-39cdda6a8ae0.json │ ├── 6d │ │ └── 6d91e591-4ce0-465c-809f-610ec95019c6.json │ ├── 6e │ │ ├── 6e056173-d285-473c-b206-40a7fff5386e.json │ │ └── 6e056173-d285-473c-b206-40a7fff5386e.png │ ├── 6f │ │ └── 6f801092-0c37-4f30-89ef-c8d960825b36.json │ ├── 7a │ │ ├── 7a17de6e-227a-46b1-8009-e7157d4d3acf.bin │ │ ├── 7a17de6e-227a-46b1-8009-e7157d4d3acf.json │ │ └── 7afd064b-113f-480e-b793-8817d19f63c3.json │ ├── 7d │ │ ├── 7d4ffd94-42d6-4045-9db7-a744229adfc4.json │ │ └── 7de03a80-4457-438d-95a7-3e7cdffd6086.json │ ├── 8a │ │ ├── 8a96b965-2dc0-4e03-aa90-3b79cb93b5b4.json │ │ └── 8a96b965-2dc0-4e03-aa90-3b79cb93b5b4.png │ ├── 8c │ │ ├── 8c5001fd-07ee-4a4b-a8a0-63e15195e94d.json │ │ └── 8cdb44ac-a3f6-449f-b354-7cd48cf84061.json │ ├── 9b │ │ └── 9bbda31e-ad49-43c9-aaf2-f7d9896bac69.json │ ├── 9d │ │ ├── 9d60001f-b5f4-4726-a629-2659e3ded0b8.json │ │ └── 9d60001f-b5f4-4726-a629-2659e3ded0b8.png │ ├── a1 │ │ ├── a1ef2fc9-9c57-418a-8f69-6bed9a7a0e7f.bin │ │ └── a1ef2fc9-9c57-418a-8f69-6bed9a7a0e7f.json │ ├── a2 │ │ └── a23235d1-15db-4b95-8439-a2e005bfff91.json │ ├── a5 │ │ ├── a579b610-0aa7-4a8b-b36b-be34cc834dcc.bin │ │ ├── a579b610-0aa7-4a8b-b36b-be34cc834dcc.json │ │ └── a5849239-3ad3-41d1-8ab4-ae9fea11f97f.json │ ├── a8 │ │ └── a87cc147-01b2-43f8-8e42-a7ca90b0c757.json │ ├── ab │ │ ├── ab2fdde9-10c2-44e4-bfe1-fcfcc1a86aa9.json │ │ └── abc2cb62-7852-4525-a90d-d474487b88f2.json │ ├── ae │ │ ├── ae293806-f3c9-4977-8ee4-004a4f2c76ca.json │ │ └── ae293806-f3c9-4977-8ee4-004a4f2c76ca.png │ ├── b1 │ │ ├── b181c1e4-0a72-4a91-bfb0-ae6f36ca60bd.json │ │ └── b181c1e4-0a72-4a91-bfb0-ae6f36ca60bd.png │ ├── b2 │ │ ├── b2687ac4-099e-403c-a192-ff477686f4f5.json │ │ └── b2687ac4-099e-403c-a192-ff477686f4f5.plist │ ├── b4 │ │ ├── b430cea3-6ab3-4106-b073-26c698918edd.bin │ │ ├── b430cea3-6ab3-4106-b073-26c698918edd.json │ │ ├── b43ff3c2-02bb-4874-81f7-f2dea6970f18.json │ │ └── b43ff3c2-02bb-4874-81f7-f2dea6970f18.png │ ├── b5 │ │ └── b5fc2cf2-7942-483d-be1f-bbeadc4714ad.json │ ├── b8 │ │ ├── b8223619-7e38-47c4-841f-9160c232495a.json │ │ └── b8223619-7e38-47c4-841f-9160c232495a.plist │ ├── bb │ │ └── bb42ed8e-0867-4584-ad63-b6f84f83bba8.json │ ├── bf │ │ └── bf0a434c-84dd-4a8e-a08a-7a36f180cc75.json │ ├── c0 │ │ └── c0040c95-c57f-49cd-9cbc-12316b73d0d4.json │ ├── c2 │ │ ├── c25b9d50-c8fc-4d27-beeb-6e7c1f2e5c0f.json │ │ └── c25b9d50-c8fc-4d27-beeb-6e7c1f2e5c0f.png │ ├── c4 │ │ └── c4480a0a-6ac5-443f-8b40-361a14257fc8.json │ ├── c9 │ │ └── c9fa51ff-3f01-4601-8f80-325d1b11dab7.json │ ├── ca │ │ └── ca8401fe-ad6e-41a8-bd46-8e3e4e9945be.json │ ├── cd │ │ └── cd33edea-55f5-46c2-958d-357a01384a36.json │ ├── cf │ │ ├── cf7e0bb8-a81c-44a9-ad79-d28d43991032.json │ │ ├── cfef78f1-c8df-49b7-8ed0-4c953ace2621.json │ │ └── cfef78f1-c8df-49b7-8ed0-4c953ace2621.png │ ├── d0 │ │ ├── d0a82d39-bede-46c4-b698-c81ff0dedfff.json │ │ └── d0a82d39-bede-46c4-b698-c81ff0dedfff.png │ ├── d1 │ │ └── d1b8be49-b0a0-435c-83b7-552bed4bbe35.json │ ├── d2 │ │ ├── d29077ba-1627-4a72-9579-7b56a235340c.json │ │ └── d29077ba-1627-4a72-9579-7b56a235340c.png │ ├── d6 │ │ ├── d6d3ca85-4681-47c1-b5dd-d036a9d39ea2.json │ │ └── d6d3ca85-4681-47c1-b5dd-d036a9d39ea2.png │ ├── d8 │ │ ├── d81ec8ad-247c-4e62-aa3c-d35c4193c7af.json │ │ └── d81ec8ad-247c-4e62-aa3c-d35c4193c7af.png │ ├── dd │ │ └── ddb99b39-7004-47cd-9705-751905c43c46.json │ ├── de │ │ └── de510076-056b-484f-b94c-83bef217d0e1.json │ ├── e2 │ │ └── e2f00085-c597-422d-9759-52c360279106.json │ ├── e7 │ │ └── e7aba14b-f956-4480-b254-8d57832e273f.json │ ├── e8 │ │ ├── e851e89b-faa2-4484-bea6-5c01dd9f06e2.json │ │ └── e851e89b-faa2-4484-bea6-5c01dd9f06e2.png │ ├── e9 │ │ ├── e93d3fa9-8c21-4375-8a21-14ba84066c77.bin │ │ ├── e93d3fa9-8c21-4375-8a21-14ba84066c77.json │ │ └── e9ec654c-97a2-4787-9325-e6a10375219a.json │ ├── ec │ │ └── eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432.json │ ├── ed │ │ ├── ed88f13d-fcad-4848-aa35-65a2cb973584.json │ │ ├── edd215b9-2796-4a05-aaf5-81f96c9281ce.json │ │ └── edd215b9-2796-4a05-aaf5-81f96c9281ce.png │ ├── f0 │ │ └── f0048c10-f03e-4c97-b9d3-3506e1d58952.json │ ├── f5 │ │ └── f5331fd2-bf42-4ee3-a3fd-3e1657600eff.json │ ├── fe │ │ └── fe1417b6-fe6b-46a4-ae7c-9fd331f33a2a.json │ └── ff │ │ └── ff0e91c7-55c6-4086-a39f-cb6e457b8c3b.json └── uuid-to-mtime.json ├── local ├── layout.editor.json ├── local.json ├── logs │ └── project.log ├── node-library.json └── node-tree-state.json ├── project.json ├── settings ├── project.json └── services.json ├── temp ├── BackupAssets │ └── assets │ │ └── game_writer │ │ └── writer.fire ├── gltf │ ├── 8647ff2cb7612fe06b911f31ce00527c.gltf │ └── buffer.bin └── quick-scripts │ ├── dst │ ├── __file_stats__.json │ ├── __qc_bundle__.js │ ├── __qc_index__.js │ ├── __quick_compile__.js │ └── assets │ │ └── game_writer │ │ ├── writer │ │ └── writer.js │ │ └── writerDemo.js │ └── src │ ├── __qc_index__.js │ └── assets │ └── game_writer │ ├── writer │ ├── writer.js │ └── writer.js.map │ ├── writerDemo.js │ └── writerDemo.js.map └── tsconfig.json /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/.DS_Store -------------------------------------------------------------------------------- /assets/game_writer.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "b857602c-d284-4f83-ba6b-4322739f19f3", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/game_writer/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/assets/game_writer/.DS_Store -------------------------------------------------------------------------------- /assets/game_writer/writer.fire.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.2.7", 3 | "uuid": "666d07c3-ec0e-4d82-9ecd-c1a374db16d3", 4 | "asyncLoadAssets": false, 5 | "autoReleaseAssets": false, 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/game_writer/writer.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "651b1783-0b70-41aa-b92b-77d7b025963a", 4 | "isSubpackage": false, 5 | "subpackageName": "", 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/game_writer/writer/bishunbeijing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/assets/game_writer/writer/bishunbeijing.png -------------------------------------------------------------------------------- /assets/game_writer/writer/bishunbeijing.png.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "2.3.4", 3 | "uuid": "ae293806-f3c9-4977-8ee4-004a4f2c76ca", 4 | "type": "sprite", 5 | "wrapMode": "clamp", 6 | "filterMode": "bilinear", 7 | "premultiplyAlpha": false, 8 | "genMipmaps": false, 9 | "packable": true, 10 | "width": 715, 11 | "height": 701, 12 | "platformSettings": {}, 13 | "subMetas": { 14 | "bishunbeijing": { 15 | "ver": "1.0.4", 16 | "uuid": "620da9a5-3dd7-45dc-88d8-0ee60f386be8", 17 | "rawTextureUuid": "ae293806-f3c9-4977-8ee4-004a4f2c76ca", 18 | "trimType": "auto", 19 | "trimThreshold": 1, 20 | "rotated": false, 21 | "offsetX": 0, 22 | "offsetY": 0, 23 | "trimX": 0, 24 | "trimY": 0, 25 | "width": 715, 26 | "height": 701, 27 | "rawWidth": 715, 28 | "rawHeight": 701, 29 | "borderTop": 0, 30 | "borderBottom": 0, 31 | "borderLeft": 0, 32 | "borderRight": 0, 33 | "subMetas": {} 34 | } 35 | } 36 | } -------------------------------------------------------------------------------- /assets/game_writer/writer/hanzi.js.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.8", 3 | "uuid": "75b99bd3-7b6d-4bba-878f-b9db3729312e", 4 | "isPlugin": true, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/game_writer/writer/writer.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.8", 3 | "uuid": "2609d141-9e45-488b-98e8-cd6b47908f4e", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/game_writer/writerDemo.ts: -------------------------------------------------------------------------------- 1 | import Writer from './writer/writer'; 2 | 3 | const { ccclass, property } = cc._decorator; 4 | 5 | @ccclass 6 | export default class Demo extends cc.Component { 7 | private writerNode: cc.Node = null; 8 | start() { 9 | this.writerNode = this.node.getChildByName('writer'); 10 | } 11 | onChangeShowStatusClick(el) { 12 | if (el.currentTarget.children[0].getComponentInChildren(cc.Label).string == '隐藏') { 13 | this.writerNode.active = false; 14 | el.currentTarget.children[0].getComponentInChildren(cc.Label).string = '显示'; 15 | } else if (el.currentTarget.children[0].getComponentInChildren(cc.Label).string == '显示') { 16 | this.writerNode.active = true; 17 | el.currentTarget.children[0].getComponentInChildren(cc.Label).string = '隐藏'; 18 | } 19 | } 20 | 21 | onChangeLabelClick() { 22 | this.writerNode.active = true; 23 | const str = '秦时明月汉时关万里长征人未还但使龙城飞将在不教胡马渡阴山'; 24 | const labelText = str[Math.floor(Math.random() * str.length)]; 25 | this.writerNode.getComponent(cc.Label).string = labelText; 26 | this.writerNode.getComponent(Writer).changeLabel(); 27 | } 28 | 29 | onAnimateClick() { 30 | this.writerNode.getComponent(Writer).animateCharacter(); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /assets/game_writer/writerDemo.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.8", 3 | "uuid": "4e4a58af-a4f2-46a9-b7e7-02a7556b3431", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /jsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es6", 4 | "module": "commonjs", 5 | "experimentalDecorators": true 6 | }, 7 | "exclude": [ 8 | "node_modules", 9 | ".vscode", 10 | "library", 11 | "local", 12 | "settings", 13 | "temp" 14 | ] 15 | } -------------------------------------------------------------------------------- /library/imports/02/0275e94c-56a7-410f-bd1a-fc7483f7d14a.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Texture2D", 3 | "content": "0,9729,9729,33071,33071,0,0,1" 4 | } -------------------------------------------------------------------------------- /library/imports/02/0275e94c-56a7-410f-bd1a-fc7483f7d14a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/02/0275e94c-56a7-410f-bd1a-fc7483f7d14a.png -------------------------------------------------------------------------------- /library/imports/02/0291c134-b3da-4098-b7b5-e397edbe947f.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Texture2D", 3 | "content": "0,9729,9729,33071,33071,0,0,1" 4 | } -------------------------------------------------------------------------------- /library/imports/02/0291c134-b3da-4098-b7b5-e397edbe947f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/02/0291c134-b3da-4098-b7b5-e397edbe947f.png -------------------------------------------------------------------------------- /library/imports/04/046f172c-1574-488b-bbb8-6415a9adb96d.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/04/046f172c-1574-488b-bbb8-6415a9adb96d.bin -------------------------------------------------------------------------------- /library/imports/04/046f172c-1574-488b-bbb8-6415a9adb96d.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Mesh", 4 | "_name": "", 5 | "_objFlags": 0, 6 | "_native": ".bin", 7 | "_vertexBundles": [ 8 | { 9 | "__id__": 1 10 | } 11 | ], 12 | "_primitives": [ 13 | { 14 | "__id__": 6 15 | } 16 | ], 17 | "_minPos": { 18 | "__type__": "cc.Vec3", 19 | "x": -0.5, 20 | "y": -0.5, 21 | "z": -0.5 22 | }, 23 | "_maxPos": { 24 | "__type__": "cc.Vec3", 25 | "x": 0.5, 26 | "y": 0.5, 27 | "z": 0.5 28 | } 29 | }, 30 | { 31 | "__type__": "cc.mesh.VertexBundle", 32 | "data": { 33 | "__id__": 2 34 | }, 35 | "formats": [ 36 | { 37 | "__id__": 3 38 | }, 39 | { 40 | "__id__": 4 41 | }, 42 | { 43 | "__id__": 5 44 | } 45 | ], 46 | "verticesCount": 24 47 | }, 48 | { 49 | "__type__": "cc.BufferRange", 50 | "offset": 0, 51 | "length": 768 52 | }, 53 | { 54 | "__type__": "cc.mesh.VertexFormat", 55 | "name": "a_normal", 56 | "type": 5126, 57 | "num": 3, 58 | "normalize": false 59 | }, 60 | { 61 | "__type__": "cc.mesh.VertexFormat", 62 | "name": "a_position", 63 | "type": 5126, 64 | "num": 3, 65 | "normalize": false 66 | }, 67 | { 68 | "__type__": "cc.mesh.VertexFormat", 69 | "name": "a_uv0", 70 | "type": 5126, 71 | "num": 2, 72 | "normalize": false 73 | }, 74 | { 75 | "__type__": "cc.mesh.Primitive", 76 | "vertexBundleIndices": [ 77 | 0 78 | ], 79 | "data": { 80 | "__id__": 7 81 | }, 82 | "indexUnit": 5123, 83 | "topology": 4 84 | }, 85 | { 86 | "__type__": "cc.BufferRange", 87 | "offset": 768, 88 | "length": 72 89 | } 90 | ] -------------------------------------------------------------------------------- /library/imports/0c/0cf30284-9073-46bc-9eba-e62b69dbbff3.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "point", 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": "light", 17 | "_objFlags": 0, 18 | "_parent": null, 19 | "_children": [], 20 | "_active": true, 21 | "_level": 1, 22 | "_components": [ 23 | { 24 | "__id__": 2 25 | } 26 | ], 27 | "_prefab": { 28 | "__id__": 3 29 | }, 30 | "_opacity": 255, 31 | "_color": { 32 | "__type__": "cc.Color", 33 | "r": 255, 34 | "g": 255, 35 | "b": 255, 36 | "a": 255 37 | }, 38 | "_contentSize": { 39 | "__type__": "cc.Size", 40 | "width": 0, 41 | "height": 0 42 | }, 43 | "_anchorPoint": { 44 | "__type__": "cc.Vec2", 45 | "x": 0.5, 46 | "y": 0.5 47 | }, 48 | "_skewX": 0, 49 | "_skewY": 0, 50 | "_is3DNode": true, 51 | "groupIndex": 0, 52 | "_id": "", 53 | "_eulerAngles": { 54 | "__type__": "cc.Vec3", 55 | "x": 0, 56 | "y": 0, 57 | "z": 0 58 | }, 59 | "_trs": { 60 | "__type__": "TypedArray", 61 | "ctor": "Float64Array", 62 | "array": [ 63 | 0, 64 | 0, 65 | 0, 66 | 0, 67 | 0, 68 | 0, 69 | 0, 70 | 1, 71 | 1, 72 | 1 73 | ] 74 | } 75 | }, 76 | { 77 | "__type__": "cc.Light", 78 | "_name": "", 79 | "_objFlags": 0, 80 | "node": { 81 | "__id__": 1 82 | }, 83 | "_enabled": true, 84 | "_type": 1, 85 | "_color": { 86 | "__type__": "cc.Color", 87 | "r": 255, 88 | "g": 255, 89 | "b": 255, 90 | "a": 255 91 | }, 92 | "_intensity": 1, 93 | "_range": 1000, 94 | "_spotAngle": 60, 95 | "_spotExp": 1, 96 | "_shadowType": 0, 97 | "_shadowResolution": 1024, 98 | "_shadowDarkness": 0.5, 99 | "_shadowMinDepth": 1, 100 | "_shadowMaxDepth": 1000, 101 | "_shadowDepthScale": 250, 102 | "_shadowFrustumSize": 50, 103 | "_shadowBias": 0.0005, 104 | "_id": "" 105 | }, 106 | { 107 | "__type__": "cc.PrefabInfo", 108 | "root": { 109 | "__id__": 1 110 | }, 111 | "asset": { 112 | "__uuid__": "0cf30284-9073-46bc-9eba-e62b69dbbff3" 113 | }, 114 | "fileId": "33zOkteexCqamZ4PXuwJaW", 115 | "sync": false 116 | } 117 | ] -------------------------------------------------------------------------------- /library/imports/0e/0e42ba95-1fa1-46aa-b2cf-143cd1bcee2c.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "tiledtile", 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": "New TiledTile", 17 | "_objFlags": 0, 18 | "_parent": null, 19 | "_children": [], 20 | "_active": true, 21 | "_level": 1, 22 | "_components": [ 23 | { 24 | "__id__": 2 25 | } 26 | ], 27 | "_prefab": { 28 | "__id__": 3 29 | }, 30 | "_opacity": 255, 31 | "_color": { 32 | "__type__": "cc.Color", 33 | "r": 255, 34 | "g": 255, 35 | "b": 255, 36 | "a": 255 37 | }, 38 | "_contentSize": { 39 | "__type__": "cc.Size", 40 | "width": 0, 41 | "height": 0 42 | }, 43 | "_anchorPoint": { 44 | "__type__": "cc.Vec2", 45 | "x": 0.5, 46 | "y": 0.5 47 | }, 48 | "_skewX": 0, 49 | "_skewY": 0, 50 | "_localZOrder": 45, 51 | "groupIndex": 0, 52 | "_id": "", 53 | "_eulerAngles": { 54 | "__type__": "cc.Vec3", 55 | "x": 0, 56 | "y": 0, 57 | "z": 0 58 | }, 59 | "_trs": { 60 | "__type__": "TypedArray", 61 | "ctor": "Float64Array", 62 | "array": [ 63 | 0, 64 | 0, 65 | 0, 66 | 0, 67 | 0, 68 | 0, 69 | 0, 70 | 1, 71 | 1, 72 | 1 73 | ] 74 | } 75 | }, 76 | { 77 | "__type__": "cc.TiledTile", 78 | "_name": "", 79 | "_objFlags": 0, 80 | "node": { 81 | "__id__": 1 82 | }, 83 | "_enabled": true, 84 | "_x": 0, 85 | "_y": 0, 86 | "_gid": 6, 87 | "_layer": null, 88 | "_id": "39h1tJvWtC8oLyzYKulleV" 89 | }, 90 | { 91 | "__type__": "cc.PrefabInfo", 92 | "root": { 93 | "__id__": 1 94 | }, 95 | "asset": { 96 | "__uuid__": "0e42ba95-1fa1-46aa-b2cf-143cd1bcee2c" 97 | }, 98 | "fileId": "fb1JS09SVFapQy1+PoRN4F", 99 | "sync": false 100 | } 101 | ] -------------------------------------------------------------------------------- /library/imports/0e/0e93aeaa-0b53-4e40-b8e0-6268b4e07bd7.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.EffectAsset", 3 | "_name": "builtin-2d-spine", 4 | "_objFlags": 0, 5 | "_native": "", 6 | "properties": null, 7 | "techniques": [ 8 | { 9 | "passes": [ 10 | { 11 | "blendState": { 12 | "targets": [ 13 | { 14 | "blend": true 15 | } 16 | ] 17 | }, 18 | "rasterizerState": { 19 | "cullMode": 0 20 | }, 21 | "properties": { 22 | "texture": { 23 | "value": "white", 24 | "type": 29 25 | }, 26 | "alphaThreshold": { 27 | "value": [ 28 | 0.5 29 | ], 30 | "type": 13 31 | } 32 | }, 33 | "program": "builtin-2d-spine|vs|fs" 34 | } 35 | ] 36 | } 37 | ], 38 | "shaders": [ 39 | { 40 | "hash": 3550530479, 41 | "glsl3": { 42 | "vert": "\nprecision highp float;\nuniform CCGlobal {\n mat4 cc_matView;\n mat4 cc_matViewInv;\n mat4 cc_matProj;\n mat4 cc_matProjInv;\n mat4 cc_matViewProj;\n mat4 cc_matViewProjInv;\n vec4 cc_cameraPos;\n vec4 cc_time;\n mediump vec4 cc_screenSize;\n mediump vec4 cc_screenScale;\n};\nuniform CCLocal {\n mat4 cc_matWorld;\n mat4 cc_matWorldIT;\n};\nin vec3 a_position;\nin vec4 a_color;\n#if USE_TINT\n in vec4 a_color0;\n#endif\nin vec2 a_uv0;\nout vec2 v_uv0;\nout vec4 v_light;\n#if USE_TINT\n out vec4 v_dark;\n#endif\nvoid main () {\n mat4 mvp;\n #if CC_USE_MODEL\n mvp = cc_matViewProj * cc_matWorld;\n #else\n mvp = cc_matViewProj;\n #endif\n v_uv0 = a_uv0;\n v_light = a_color;\n #if USE_TINT\n v_dark = a_color0;\n #endif\n gl_Position = mvp * vec4(a_position, 1);\n}", 43 | "frag": "\nprecision highp float;\nuniform sampler2D texture;\nin vec2 v_uv0;\nin vec4 v_light;\n#if USE_TINT\n in vec4 v_dark;\n#endif\n#if USE_ALPHA_TEST\n uniform ALPHA_TEST {\n float alphaThreshold;\n };\n#endif\nvoid ALPHA_TEST (in vec4 color) {\n #if USE_ALPHA_TEST\n if (color.a < alphaThreshold) discard;\n #endif\n}\nvoid ALPHA_TEST (in float alpha) {\n #if USE_ALPHA_TEST\n if (alpha < alphaThreshold) discard;\n #endif\n}\nvoid main () {\n vec4 texColor = vec4(1.0);\n vec4 texture_tmp = texture(texture, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture\n texture_tmp.a *= texture(texture, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n texColor.rgb *= (texture_tmp.rgb * texture_tmp.rgb);\n texColor.a *= texture_tmp.a;\n #else\n texColor *= texture_tmp;\n #endif\n vec4 finalColor;\n #if USE_TINT\n finalColor.a = v_light.a * texColor.a;\n finalColor.rgb = ((texColor.a - 1.0) * v_dark.a + 1.0 - texColor.rgb) * v_dark.rgb + texColor.rgb * v_light.rgb;\n #else\n finalColor = texColor * v_light;\n #endif\n ALPHA_TEST(finalColor);\n gl_FragColor = finalColor;\n}" 44 | }, 45 | "glsl1": { 46 | "vert": "\nprecision highp float;\nuniform mat4 cc_matViewProj;\nuniform mat4 cc_matWorld;\nattribute vec3 a_position;\nattribute vec4 a_color;\n#if USE_TINT\n attribute vec4 a_color0;\n#endif\nattribute vec2 a_uv0;\nvarying vec2 v_uv0;\nvarying vec4 v_light;\n#if USE_TINT\n varying vec4 v_dark;\n#endif\nvoid main () {\n mat4 mvp;\n #if CC_USE_MODEL\n mvp = cc_matViewProj * cc_matWorld;\n #else\n mvp = cc_matViewProj;\n #endif\n v_uv0 = a_uv0;\n v_light = a_color;\n #if USE_TINT\n v_dark = a_color0;\n #endif\n gl_Position = mvp * vec4(a_position, 1);\n}", 47 | "frag": "\nprecision highp float;\nuniform sampler2D texture;\nvarying vec2 v_uv0;\nvarying vec4 v_light;\n#if USE_TINT\n varying vec4 v_dark;\n#endif\n#if USE_ALPHA_TEST\n uniform float alphaThreshold;\n#endif\nvoid ALPHA_TEST (in vec4 color) {\n #if USE_ALPHA_TEST\n if (color.a < alphaThreshold) discard;\n #endif\n}\nvoid ALPHA_TEST (in float alpha) {\n #if USE_ALPHA_TEST\n if (alpha < alphaThreshold) discard;\n #endif\n}\nvoid main () {\n vec4 texColor = vec4(1.0);\n vec4 texture_tmp = texture2D(texture, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture\n texture_tmp.a *= texture2D(texture, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n texColor.rgb *= (texture_tmp.rgb * texture_tmp.rgb);\n texColor.a *= texture_tmp.a;\n #else\n texColor *= texture_tmp;\n #endif\n vec4 finalColor;\n #if USE_TINT\n finalColor.a = v_light.a * texColor.a;\n finalColor.rgb = ((texColor.a - 1.0) * v_dark.a + 1.0 - texColor.rgb) * v_dark.rgb + texColor.rgb * v_light.rgb;\n #else\n finalColor = texColor * v_light;\n #endif\n ALPHA_TEST(finalColor);\n gl_FragColor = finalColor;\n}" 48 | }, 49 | "builtins": { 50 | "globals": { 51 | "blocks": [ 52 | { 53 | "name": "CCGlobal", 54 | "defines": [] 55 | } 56 | ], 57 | "samplers": [] 58 | }, 59 | "locals": { 60 | "blocks": [ 61 | { 62 | "name": "CCLocal", 63 | "defines": [] 64 | } 65 | ], 66 | "samplers": [] 67 | } 68 | }, 69 | "defines": [ 70 | { 71 | "name": "USE_TINT", 72 | "type": "boolean", 73 | "defines": [] 74 | }, 75 | { 76 | "name": "CC_USE_MODEL", 77 | "type": "boolean", 78 | "defines": [] 79 | }, 80 | { 81 | "name": "USE_ALPHA_TEST", 82 | "type": "boolean", 83 | "defines": [] 84 | }, 85 | { 86 | "name": "CC_USE_ALPHA_ATLAS_texture", 87 | "type": "boolean", 88 | "defines": [] 89 | }, 90 | { 91 | "name": "INPUT_IS_GAMMA", 92 | "type": "boolean", 93 | "defines": [] 94 | } 95 | ], 96 | "blocks": [ 97 | { 98 | "name": "ALPHA_TEST", 99 | "members": [ 100 | { 101 | "name": "alphaThreshold", 102 | "type": 13, 103 | "count": 1 104 | } 105 | ], 106 | "defines": [ 107 | "USE_ALPHA_TEST" 108 | ], 109 | "binding": 0 110 | } 111 | ], 112 | "samplers": [ 113 | { 114 | "name": "texture", 115 | "type": 29, 116 | "count": 1, 117 | "defines": [], 118 | "binding": 30 119 | } 120 | ], 121 | "record": null, 122 | "name": "builtin-2d-spine|vs|fs" 123 | } 124 | ] 125 | } -------------------------------------------------------------------------------- /library/imports/14/144c3297-af63-49e8-b8ef-1cfa29b3be28.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.EffectAsset", 3 | "_name": "builtin-2d-gray-sprite", 4 | "_objFlags": 0, 5 | "_native": "", 6 | "properties": null, 7 | "techniques": [ 8 | { 9 | "passes": [ 10 | { 11 | "blendState": { 12 | "targets": [ 13 | { 14 | "blend": true 15 | } 16 | ] 17 | }, 18 | "rasterizerState": { 19 | "cullMode": 0 20 | }, 21 | "properties": { 22 | "texture": { 23 | "value": "white", 24 | "type": 29 25 | } 26 | }, 27 | "program": "builtin-2d-gray-sprite|vs|fs" 28 | } 29 | ] 30 | } 31 | ], 32 | "shaders": [ 33 | { 34 | "hash": 4278481454, 35 | "glsl3": { 36 | "vert": "\nprecision highp float;\nuniform CCGlobal {\n mat4 cc_matView;\n mat4 cc_matViewInv;\n mat4 cc_matProj;\n mat4 cc_matProjInv;\n mat4 cc_matViewProj;\n mat4 cc_matViewProjInv;\n vec4 cc_cameraPos;\n vec4 cc_time;\n mediump vec4 cc_screenSize;\n mediump vec4 cc_screenScale;\n};\nin vec3 a_position;\nin mediump vec2 a_uv0;\nout mediump vec2 v_uv0;\nin vec4 a_color;\nout vec4 v_color;\nvoid main () {\n gl_Position = cc_matViewProj * vec4(a_position, 1);\n v_uv0 = a_uv0;\n v_color = a_color;\n}", 37 | "frag": "\nprecision highp float;\nuniform sampler2D texture;\nin mediump vec2 v_uv0;\nin vec4 v_color;\nvoid main () {\n vec4 color = v_color;\n vec4 texture_tmp = texture(texture, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture\n texture_tmp.a *= texture(texture, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n color.rgb *= (texture_tmp.rgb * texture_tmp.rgb);\n color.a *= texture_tmp.a;\n #else\n color *= texture_tmp;\n #endif\n float gray = 0.2126*color.r + 0.7152*color.g + 0.0722*color.b;\n gl_FragColor = vec4(gray, gray, gray, color.a);\n}" 38 | }, 39 | "glsl1": { 40 | "vert": "\nprecision highp float;\nuniform mat4 cc_matViewProj;\nattribute vec3 a_position;\nattribute mediump vec2 a_uv0;\nvarying mediump vec2 v_uv0;\nattribute vec4 a_color;\nvarying vec4 v_color;\nvoid main () {\n gl_Position = cc_matViewProj * vec4(a_position, 1);\n v_uv0 = a_uv0;\n v_color = a_color;\n}", 41 | "frag": "\nprecision highp float;\nuniform sampler2D texture;\nvarying mediump vec2 v_uv0;\nvarying vec4 v_color;\nvoid main () {\n vec4 color = v_color;\n vec4 texture_tmp = texture2D(texture, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture\n texture_tmp.a *= texture2D(texture, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n color.rgb *= (texture_tmp.rgb * texture_tmp.rgb);\n color.a *= texture_tmp.a;\n #else\n color *= texture_tmp;\n #endif\n float gray = 0.2126*color.r + 0.7152*color.g + 0.0722*color.b;\n gl_FragColor = vec4(gray, gray, gray, color.a);\n}" 42 | }, 43 | "builtins": { 44 | "globals": { 45 | "blocks": [ 46 | { 47 | "name": "CCGlobal", 48 | "defines": [] 49 | } 50 | ], 51 | "samplers": [] 52 | }, 53 | "locals": { 54 | "blocks": [], 55 | "samplers": [] 56 | } 57 | }, 58 | "defines": [ 59 | { 60 | "name": "CC_USE_ALPHA_ATLAS_texture", 61 | "type": "boolean", 62 | "defines": [] 63 | }, 64 | { 65 | "name": "INPUT_IS_GAMMA", 66 | "type": "boolean", 67 | "defines": [] 68 | } 69 | ], 70 | "blocks": [], 71 | "samplers": [ 72 | { 73 | "name": "texture", 74 | "type": 29, 75 | "count": 1, 76 | "defines": [], 77 | "binding": 30 78 | } 79 | ], 80 | "record": null, 81 | "name": "builtin-2d-gray-sprite|vs|fs" 82 | } 83 | ] 84 | } -------------------------------------------------------------------------------- /library/imports/14/14c74869-bdb4-4f57-86d8-a7875de2be30.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/14/14c74869-bdb4-4f57-86d8-a7875de2be30.bin -------------------------------------------------------------------------------- /library/imports/14/14c74869-bdb4-4f57-86d8-a7875de2be30.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Mesh", 4 | "_name": "", 5 | "_objFlags": 0, 6 | "_native": ".bin", 7 | "_vertexBundles": [ 8 | { 9 | "__id__": 1 10 | } 11 | ], 12 | "_primitives": [ 13 | { 14 | "__id__": 6 15 | } 16 | ], 17 | "_minPos": { 18 | "__type__": "cc.Vec3", 19 | "x": -0.5, 20 | "y": -0.0999999940395355, 21 | "z": -0.5 22 | }, 23 | "_maxPos": { 24 | "__type__": "cc.Vec3", 25 | "x": 0.5, 26 | "y": 0.0999999940395355, 27 | "z": 0.5 28 | } 29 | }, 30 | { 31 | "__type__": "cc.mesh.VertexBundle", 32 | "data": { 33 | "__id__": 2 34 | }, 35 | "formats": [ 36 | { 37 | "__id__": 3 38 | }, 39 | { 40 | "__id__": 4 41 | }, 42 | { 43 | "__id__": 5 44 | } 45 | ], 46 | "verticesCount": 1089 47 | }, 48 | { 49 | "__type__": "cc.BufferRange", 50 | "offset": 0, 51 | "length": 34848 52 | }, 53 | { 54 | "__type__": "cc.mesh.VertexFormat", 55 | "name": "a_normal", 56 | "type": 5126, 57 | "num": 3, 58 | "normalize": false 59 | }, 60 | { 61 | "__type__": "cc.mesh.VertexFormat", 62 | "name": "a_position", 63 | "type": 5126, 64 | "num": 3, 65 | "normalize": false 66 | }, 67 | { 68 | "__type__": "cc.mesh.VertexFormat", 69 | "name": "a_uv0", 70 | "type": 5126, 71 | "num": 2, 72 | "normalize": false 73 | }, 74 | { 75 | "__type__": "cc.mesh.Primitive", 76 | "vertexBundleIndices": [ 77 | 0 78 | ], 79 | "data": { 80 | "__id__": 7 81 | }, 82 | "indexUnit": 5123, 83 | "topology": 4 84 | }, 85 | { 86 | "__type__": "cc.BufferRange", 87 | "offset": 34848, 88 | "length": 12288 89 | } 90 | ] -------------------------------------------------------------------------------- /library/imports/1a/1a32fc76-f0bd-4f66-980f-56929c0ca0b3.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.SpriteFrame", 3 | "content": { 4 | "name": "default_radio_button_on", 5 | "texture": "9d60001f-b5f4-4726-a629-2659e3ded0b8", 6 | "atlas": "", 7 | "rect": [ 8 | 1, 9 | 1, 10 | 30, 11 | 30 12 | ], 13 | "offset": [ 14 | 0, 15 | 0 16 | ], 17 | "originalSize": [ 18 | 32, 19 | 32 20 | ], 21 | "capInsets": [ 22 | 0, 23 | 0, 24 | 0, 25 | 0 26 | ] 27 | } 28 | } -------------------------------------------------------------------------------- /library/imports/1c/1c5e4038-953a-44c2-b620-0bbfc6170477.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "cylinder", 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": "cylinder", 17 | "_objFlags": 0, 18 | "_parent": null, 19 | "_children": [], 20 | "_active": true, 21 | "_components": [ 22 | { 23 | "__id__": 2 24 | } 25 | ], 26 | "_prefab": { 27 | "__id__": 3 28 | }, 29 | "_opacity": 255, 30 | "_color": { 31 | "__type__": "cc.Color", 32 | "r": 255, 33 | "g": 255, 34 | "b": 255, 35 | "a": 255 36 | }, 37 | "_contentSize": { 38 | "__type__": "cc.Size", 39 | "width": 0, 40 | "height": 0 41 | }, 42 | "_anchorPoint": { 43 | "__type__": "cc.Vec2", 44 | "x": 0.5, 45 | "y": 0.5 46 | }, 47 | "_trs": { 48 | "__type__": "TypedArray", 49 | "ctor": "Float64Array", 50 | "array": [ 51 | 0, 52 | 0, 53 | 0, 54 | 0, 55 | 0, 56 | 0, 57 | 1, 58 | 1, 59 | 1, 60 | 1 61 | ] 62 | }, 63 | "_eulerAngles": { 64 | "__type__": "cc.Vec3", 65 | "x": 0, 66 | "y": 0, 67 | "z": 0 68 | }, 69 | "_skewX": 0, 70 | "_skewY": 0, 71 | "_is3DNode": true, 72 | "_groupIndex": 0, 73 | "groupIndex": 0, 74 | "_id": "" 75 | }, 76 | { 77 | "__type__": "cc.MeshRenderer", 78 | "_name": "", 79 | "_objFlags": 0, 80 | "node": { 81 | "__id__": 1 82 | }, 83 | "_enabled": true, 84 | "_materials": [ 85 | { 86 | "__uuid__": "a5849239-3ad3-41d1-8ab4-ae9fea11f97f" 87 | } 88 | ], 89 | "_mesh": { 90 | "__uuid__": "b430cea3-6ab3-4106-b073-26c698918edd" 91 | }, 92 | "_receiveShadows": false, 93 | "_shadowCastingMode": 0, 94 | "_enableAutoBatch": false, 95 | "textures": [], 96 | "_id": "" 97 | }, 98 | { 99 | "__type__": "cc.PrefabInfo", 100 | "root": { 101 | "__id__": 1 102 | }, 103 | "asset": { 104 | "__uuid__": "1c5e4038-953a-44c2-b620-0bbfc6170477" 105 | }, 106 | "fileId": "3dlUtIqQhGCrx5Sishojtq", 107 | "sync": false 108 | } 109 | ] -------------------------------------------------------------------------------- /library/imports/1f/1f55e3be-b89b-4b79-88de-47fd31018044.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "sprite_splash", 5 | "_objFlags": 0, 6 | "data": { 7 | "__id__": 1 8 | }, 9 | "optimizationPolicy": 1, 10 | "asyncLoadAssets": false, 11 | "readonly": false 12 | }, 13 | { 14 | "__type__": "cc.Node", 15 | "_name": "New Sprite (Splash)", 16 | "_objFlags": 0, 17 | "_opacity": 255, 18 | "_color": { 19 | "__type__": "cc.Color", 20 | "r": 255, 21 | "g": 255, 22 | "b": 255, 23 | "a": 255 24 | }, 25 | "_cascadeOpacityEnabled": true, 26 | "_parent": null, 27 | "_anchorPoint": { 28 | "__type__": "cc.Vec2", 29 | "x": 0.5, 30 | "y": 0.5 31 | }, 32 | "_contentSize": { 33 | "__type__": "cc.Size", 34 | "width": 100, 35 | "height": 100 36 | }, 37 | "_children": [], 38 | "_skewX": 0, 39 | "_skewY": 0, 40 | "_localZOrder": 0, 41 | "_globalZOrder": 0, 42 | "_tag": -1, 43 | "_opacityModifyRGB": false, 44 | "_reorderChildDirty": false, 45 | "_id": "", 46 | "_active": true, 47 | "_components": [ 48 | { 49 | "__id__": 2 50 | } 51 | ], 52 | "_prefab": { 53 | "__id__": 3 54 | }, 55 | "_eulerAngles": { 56 | "__type__": "cc.Vec3", 57 | "x": 0, 58 | "y": 0, 59 | "z": 0 60 | }, 61 | "_trs": { 62 | "__type__": "TypedArray", 63 | "ctor": "Float64Array", 64 | "array": [ 65 | 0, 66 | 0, 67 | 0, 68 | 0, 69 | 0, 70 | 0, 71 | 0, 72 | 1, 73 | 1, 74 | 1 75 | ] 76 | } 77 | }, 78 | { 79 | "__type__": "cc.Sprite", 80 | "_name": "", 81 | "_objFlags": 0, 82 | "node": { 83 | "__id__": 1 84 | }, 85 | "_enabled": true, 86 | "_spriteFrame": { 87 | "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91" 88 | }, 89 | "_type": 0, 90 | "_sizeMode": 0, 91 | "_fillType": 0, 92 | "_fillCenter": { 93 | "__type__": "cc.Vec2", 94 | "x": 0, 95 | "y": 0 96 | }, 97 | "_fillStart": 0, 98 | "_fillRange": 0, 99 | "_isTrimmedMode": true, 100 | "_srcBlendFactor": 770, 101 | "_dstBlendFactor": 771, 102 | "_atlas": null 103 | }, 104 | { 105 | "__type__": "cc.PrefabInfo", 106 | "root": { 107 | "__id__": 1 108 | }, 109 | "asset": null, 110 | "fileId": "1a0f4zwu2VOapqEJkWXIF0R" 111 | } 112 | ] -------------------------------------------------------------------------------- /library/imports/23/232d2782-c4bd-4bb4-9e01-909f03d6d3b9.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "videoplayer", 5 | "_objFlags": 0, 6 | "_native": "", 7 | "data": { 8 | "__id__": 1 9 | }, 10 | "optimizationPolicy": 1, 11 | "asyncLoadAssets": false, 12 | "readonly": false 13 | }, 14 | { 15 | "__type__": "cc.Node", 16 | "_name": "videoplayer", 17 | "_objFlags": 0, 18 | "_opacity": 255, 19 | "_color": { 20 | "__type__": "cc.Color", 21 | "r": 255, 22 | "g": 255, 23 | "b": 255, 24 | "a": 255 25 | }, 26 | "_cascadeOpacityEnabled": true, 27 | "_parent": null, 28 | "_anchorPoint": { 29 | "__type__": "cc.Vec2", 30 | "x": 0.5, 31 | "y": 0.5 32 | }, 33 | "_contentSize": { 34 | "__type__": "cc.Size", 35 | "width": 428, 36 | "height": 240 37 | }, 38 | "_children": [], 39 | "_skewX": 0, 40 | "_skewY": 0, 41 | "_localZOrder": 0, 42 | "_globalZOrder": 0, 43 | "_tag": -1, 44 | "_opacityModifyRGB": false, 45 | "_reorderChildDirty": false, 46 | "_id": "", 47 | "_active": true, 48 | "_components": [ 49 | { 50 | "__id__": 2 51 | } 52 | ], 53 | "_prefab": { 54 | "__id__": 3 55 | }, 56 | "groupIndex": 0, 57 | "_eulerAngles": { 58 | "__type__": "cc.Vec3", 59 | "x": 0, 60 | "y": 0, 61 | "z": 0 62 | }, 63 | "_trs": { 64 | "__type__": "TypedArray", 65 | "ctor": "Float64Array", 66 | "array": [ 67 | 0, 68 | 0, 69 | 0, 70 | 0, 71 | 0, 72 | 0, 73 | 0, 74 | 1, 75 | 1, 76 | 1 77 | ] 78 | } 79 | }, 80 | { 81 | "__type__": "cc.VideoPlayer", 82 | "_name": "", 83 | "_objFlags": 0, 84 | "node": { 85 | "__id__": 1 86 | }, 87 | "_enabled": true, 88 | "_resourceType": 1, 89 | "_remoteURL": "", 90 | "_clip": { 91 | "__uuid__": "2be36297-9abb-4fee-8049-9ed5e271da8a" 92 | }, 93 | "_time": 0, 94 | "videoPlayerEvent": [], 95 | "_N$keepAspectRatio": true, 96 | "_N$isFullscreen": false 97 | }, 98 | { 99 | "__type__": "cc.PrefabInfo", 100 | "root": { 101 | "__id__": 1 102 | }, 103 | "asset": { 104 | "__uuid__": "232d2782-c4bd-4bb4-9e01-909f03d6d3b9" 105 | }, 106 | "fileId": "f0e6ehf9IVMI51Egy+e0ZTA" 107 | } 108 | ] -------------------------------------------------------------------------------- /library/imports/27/27756ebb-3d33-44b0-9b96-e858fadd4dd4.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "label", 5 | "_objFlags": 0, 6 | "_native": "", 7 | "data": { 8 | "__id__": 1 9 | }, 10 | "optimizationPolicy": 1, 11 | "asyncLoadAssets": false, 12 | "readonly": false 13 | }, 14 | { 15 | "__type__": "cc.Node", 16 | "_name": "Label", 17 | "_objFlags": 0, 18 | "_opacity": 255, 19 | "_color": { 20 | "__type__": "cc.Color", 21 | "r": 255, 22 | "g": 255, 23 | "b": 255, 24 | "a": 255 25 | }, 26 | "_cascadeOpacityEnabled": true, 27 | "_parent": null, 28 | "_anchorPoint": { 29 | "__type__": "cc.Vec2", 30 | "x": 0.5, 31 | "y": 0.5 32 | }, 33 | "_contentSize": { 34 | "__type__": "cc.Size", 35 | "width": 128, 36 | "height": 50 37 | }, 38 | "_children": [], 39 | "_skewX": 0, 40 | "_skewY": 0, 41 | "_localZOrder": 0, 42 | "_globalZOrder": 0, 43 | "_ignoreAnchorPointForPosition": false, 44 | "_tag": -1, 45 | "_opacityModifyRGB": false, 46 | "_id": "", 47 | "_active": true, 48 | "_components": [ 49 | { 50 | "__id__": 2 51 | } 52 | ], 53 | "_prefab": { 54 | "__id__": 3 55 | }, 56 | "_eulerAngles": { 57 | "__type__": "cc.Vec3", 58 | "x": 0, 59 | "y": 0, 60 | "z": 0 61 | }, 62 | "_trs": { 63 | "__type__": "TypedArray", 64 | "ctor": "Float64Array", 65 | "array": [ 66 | 0, 67 | 0, 68 | 0, 69 | 0, 70 | 0, 71 | 0, 72 | 0, 73 | 1, 74 | 1, 75 | 1 76 | ] 77 | } 78 | }, 79 | { 80 | "__type__": "cc.Label", 81 | "_name": "", 82 | "_objFlags": 0, 83 | "node": { 84 | "__id__": 1 85 | }, 86 | "_enabled": true, 87 | "_useOriginalSize": false, 88 | "_fontSize": 40, 89 | "_lineHeight": 40, 90 | "_enableWrapText": true, 91 | "_isSystemFontUsed": true, 92 | "_N$string": "Label", 93 | "_N$horizontalAlign": 1, 94 | "_N$verticalAlign": 1, 95 | "_N$overflow": 0 96 | }, 97 | { 98 | "__type__": "cc.PrefabInfo", 99 | "root": { 100 | "__id__": 1 101 | }, 102 | "asset": null, 103 | "fileId": "d1cddH/doRNQ4Aodz8556bh" 104 | } 105 | ] -------------------------------------------------------------------------------- /library/imports/28/2874f8dd-416c-4440-81b7-555975426e93.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.EffectAsset", 3 | "_name": "builtin-2d-sprite", 4 | "_objFlags": 0, 5 | "_native": "", 6 | "properties": null, 7 | "techniques": [ 8 | { 9 | "passes": [ 10 | { 11 | "blendState": { 12 | "targets": [ 13 | { 14 | "blend": true 15 | } 16 | ] 17 | }, 18 | "rasterizerState": { 19 | "cullMode": 0 20 | }, 21 | "properties": { 22 | "texture": { 23 | "value": "white", 24 | "type": 29 25 | }, 26 | "alphaThreshold": { 27 | "value": [ 28 | 0.5 29 | ], 30 | "type": 13 31 | } 32 | }, 33 | "program": "builtin-2d-sprite|vs|fs" 34 | } 35 | ] 36 | } 37 | ], 38 | "shaders": [ 39 | { 40 | "hash": 3278106612, 41 | "glsl3": { 42 | "vert": "\nprecision highp float;\nuniform CCGlobal {\n mat4 cc_matView;\n mat4 cc_matViewInv;\n mat4 cc_matProj;\n mat4 cc_matProjInv;\n mat4 cc_matViewProj;\n mat4 cc_matViewProjInv;\n vec4 cc_cameraPos;\n vec4 cc_time;\n mediump vec4 cc_screenSize;\n mediump vec4 cc_screenScale;\n};\nuniform CCLocal {\n mat4 cc_matWorld;\n mat4 cc_matWorldIT;\n};\nin vec3 a_position;\nin vec4 a_color;\nout vec4 v_color;\n#if USE_TEXTURE\nin vec2 a_uv0;\nout vec2 v_uv0;\n#endif\nvoid main () {\n vec4 pos = vec4(a_position, 1);\n #if CC_USE_MODEL\n pos = cc_matViewProj * cc_matWorld * pos;\n #else\n pos = cc_matViewProj * pos;\n #endif\n #if USE_TEXTURE\n v_uv0 = a_uv0;\n #endif\n v_color = a_color;\n gl_Position = pos;\n}", 43 | "frag": "\nprecision highp float;\n#if USE_ALPHA_TEST\n uniform ALPHA_TEST {\n float alphaThreshold;\n };\n#endif\nvoid ALPHA_TEST (in vec4 color) {\n #if USE_ALPHA_TEST\n if (color.a < alphaThreshold) discard;\n #endif\n}\nvoid ALPHA_TEST (in float alpha) {\n #if USE_ALPHA_TEST\n if (alpha < alphaThreshold) discard;\n #endif\n}\nin vec4 v_color;\n#if USE_TEXTURE\nin vec2 v_uv0;\nuniform sampler2D texture;\n#endif\nvoid main () {\n vec4 o = vec4(1, 1, 1, 1);\n #if USE_TEXTURE\n vec4 texture_tmp = texture(texture, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture\n texture_tmp.a *= texture(texture, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture_tmp.rgb * texture_tmp.rgb);\n o.a *= texture_tmp.a;\n #else\n o *= texture_tmp;\n #endif\n #endif\n o *= v_color;\n ALPHA_TEST(o);\n gl_FragColor = o;\n}" 44 | }, 45 | "glsl1": { 46 | "vert": "\nprecision highp float;\nuniform mat4 cc_matViewProj;\nuniform mat4 cc_matWorld;\nattribute vec3 a_position;\nattribute vec4 a_color;\nvarying vec4 v_color;\n#if USE_TEXTURE\nattribute vec2 a_uv0;\nvarying vec2 v_uv0;\n#endif\nvoid main () {\n vec4 pos = vec4(a_position, 1);\n #if CC_USE_MODEL\n pos = cc_matViewProj * cc_matWorld * pos;\n #else\n pos = cc_matViewProj * pos;\n #endif\n #if USE_TEXTURE\n v_uv0 = a_uv0;\n #endif\n v_color = a_color;\n gl_Position = pos;\n}", 47 | "frag": "\nprecision highp float;\n#if USE_ALPHA_TEST\n uniform float alphaThreshold;\n#endif\nvoid ALPHA_TEST (in vec4 color) {\n #if USE_ALPHA_TEST\n if (color.a < alphaThreshold) discard;\n #endif\n}\nvoid ALPHA_TEST (in float alpha) {\n #if USE_ALPHA_TEST\n if (alpha < alphaThreshold) discard;\n #endif\n}\nvarying vec4 v_color;\n#if USE_TEXTURE\nvarying vec2 v_uv0;\nuniform sampler2D texture;\n#endif\nvoid main () {\n vec4 o = vec4(1, 1, 1, 1);\n #if USE_TEXTURE\n vec4 texture_tmp = texture2D(texture, v_uv0);\n #if CC_USE_ALPHA_ATLAS_texture\n texture_tmp.a *= texture2D(texture, v_uv0 + vec2(0, 0.5)).r;\n #endif\n #if INPUT_IS_GAMMA\n o.rgb *= (texture_tmp.rgb * texture_tmp.rgb);\n o.a *= texture_tmp.a;\n #else\n o *= texture_tmp;\n #endif\n #endif\n o *= v_color;\n ALPHA_TEST(o);\n gl_FragColor = o;\n}" 48 | }, 49 | "builtins": { 50 | "globals": { 51 | "blocks": [ 52 | { 53 | "name": "CCGlobal", 54 | "defines": [] 55 | } 56 | ], 57 | "samplers": [] 58 | }, 59 | "locals": { 60 | "blocks": [ 61 | { 62 | "name": "CCLocal", 63 | "defines": [] 64 | } 65 | ], 66 | "samplers": [] 67 | } 68 | }, 69 | "defines": [ 70 | { 71 | "name": "USE_TEXTURE", 72 | "type": "boolean", 73 | "defines": [] 74 | }, 75 | { 76 | "name": "CC_USE_MODEL", 77 | "type": "boolean", 78 | "defines": [] 79 | }, 80 | { 81 | "name": "USE_ALPHA_TEST", 82 | "type": "boolean", 83 | "defines": [] 84 | }, 85 | { 86 | "name": "CC_USE_ALPHA_ATLAS_texture", 87 | "type": "boolean", 88 | "defines": [ 89 | "USE_TEXTURE" 90 | ] 91 | }, 92 | { 93 | "name": "INPUT_IS_GAMMA", 94 | "type": "boolean", 95 | "defines": [ 96 | "USE_TEXTURE" 97 | ] 98 | } 99 | ], 100 | "blocks": [ 101 | { 102 | "name": "ALPHA_TEST", 103 | "members": [ 104 | { 105 | "name": "alphaThreshold", 106 | "type": 13, 107 | "count": 1 108 | } 109 | ], 110 | "defines": [ 111 | "USE_ALPHA_TEST" 112 | ], 113 | "binding": 0 114 | } 115 | ], 116 | "samplers": [ 117 | { 118 | "name": "texture", 119 | "type": 29, 120 | "count": 1, 121 | "defines": [ 122 | "USE_TEXTURE" 123 | ], 124 | "binding": 30 125 | } 126 | ], 127 | "record": null, 128 | "name": "builtin-2d-sprite|vs|fs" 129 | } 130 | ] 131 | } -------------------------------------------------------------------------------- /library/imports/29/29158224-f8dd-4661-a796-1ffab537140e.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.SpriteFrame", 3 | "content": { 4 | "name": "default_btn_disabled", 5 | "texture": "71561142-4c83-4933-afca-cb7a17f67053", 6 | "atlas": "", 7 | "rect": [ 8 | 0, 9 | 0, 10 | 40, 11 | 40 12 | ], 13 | "offset": [ 14 | 0, 15 | 0 16 | ], 17 | "originalSize": [ 18 | 40, 19 | 40 20 | ], 21 | "capInsets": [ 22 | 12, 23 | 12, 24 | 12, 25 | 12 26 | ] 27 | } 28 | } -------------------------------------------------------------------------------- /library/imports/2a/2a296057-247c-4a1c-bbeb-0548b6c98650.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Material", 3 | "_name": "builtin-unlit", 4 | "_objFlags": 0, 5 | "_native": "", 6 | "_effectAsset": { 7 | "__uuid__": "6d91e591-4ce0-465c-809f-610ec95019c6" 8 | }, 9 | "_techniqueData": { 10 | "0": { 11 | "props": { 12 | "diffuseTexture": { 13 | "__uuid__": "0275e94c-56a7-410f-bd1a-fc7483f7d14a" 14 | } 15 | }, 16 | "defines": { 17 | "USE_DIFFUSE_TEXTURE": true 18 | } 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /library/imports/2b/2be36297-9abb-4fee-8049-9ed5e271da8a.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Asset", 3 | "_name": "default_video", 4 | "_objFlags": 0, 5 | "_native": ".mp4" 6 | } -------------------------------------------------------------------------------- /library/imports/2b/2be36297-9abb-4fee-8049-9ed5e271da8a.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/2b/2be36297-9abb-4fee-8049-9ed5e271da8a.mp4 -------------------------------------------------------------------------------- /library/imports/2c/2c937608-2562-40ea-b264-7395df6f0cea.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "canvas", 5 | "_objFlags": 0, 6 | "_native": "", 7 | "data": { 8 | "__id__": 1 9 | }, 10 | "optimizationPolicy": 1, 11 | "asyncLoadAssets": false, 12 | "readonly": false 13 | }, 14 | { 15 | "__type__": "cc.Node", 16 | "_name": "Canvas", 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 | "_prefab": { 34 | "__id__": 7 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": 960, 47 | "height": 640 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 | 480, 59 | 320, 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": "Main Camera", 86 | "_objFlags": 0, 87 | "_parent": { 88 | "__id__": 1 89 | }, 90 | "_children": [], 91 | "_active": true, 92 | "_components": [ 93 | { 94 | "__id__": 3 95 | } 96 | ], 97 | "_prefab": { 98 | "__id__": 4 99 | }, 100 | "_opacity": 255, 101 | "_color": { 102 | "__type__": "cc.Color", 103 | "r": 255, 104 | "g": 255, 105 | "b": 255, 106 | "a": 255 107 | }, 108 | "_contentSize": { 109 | "__type__": "cc.Size", 110 | "width": 0, 111 | "height": 0 112 | }, 113 | "_anchorPoint": { 114 | "__type__": "cc.Vec2", 115 | "x": 0.5, 116 | "y": 0.5 117 | }, 118 | "_trs": { 119 | "__type__": "TypedArray", 120 | "ctor": "Float64Array", 121 | "array": [ 122 | 0, 123 | 0, 124 | 365.46272039703314, 125 | 0, 126 | 0, 127 | 0, 128 | 1, 129 | 1, 130 | 1, 131 | 1 132 | ] 133 | }, 134 | "_eulerAngles": { 135 | "__type__": "cc.Vec3", 136 | "x": 0, 137 | "y": 0, 138 | "z": 0 139 | }, 140 | "_skewX": 0, 141 | "_skewY": 0, 142 | "_is3DNode": false, 143 | "_groupIndex": 0, 144 | "groupIndex": 0, 145 | "_id": "" 146 | }, 147 | { 148 | "__type__": "cc.Camera", 149 | "_name": "", 150 | "_objFlags": 0, 151 | "node": { 152 | "__id__": 2 153 | }, 154 | "_enabled": true, 155 | "_cullingMask": 4294967295, 156 | "_clearFlags": 7, 157 | "_backgroundColor": { 158 | "__type__": "cc.Color", 159 | "r": 0, 160 | "g": 0, 161 | "b": 0, 162 | "a": 255 163 | }, 164 | "_depth": -1, 165 | "_zoomRatio": 1, 166 | "_targetTexture": null, 167 | "_fov": 60, 168 | "_orthoSize": 10, 169 | "_nearClip": 1, 170 | "_farClip": 4096, 171 | "_ortho": true, 172 | "_rect": { 173 | "__type__": "cc.Rect", 174 | "x": 0, 175 | "y": 0, 176 | "width": 1, 177 | "height": 1 178 | }, 179 | "_renderStages": 1, 180 | "_alignWithScreen": true, 181 | "_id": "" 182 | }, 183 | { 184 | "__type__": "cc.PrefabInfo", 185 | "root": { 186 | "__id__": 1 187 | }, 188 | "asset": { 189 | "__uuid__": "2c937608-2562-40ea-b264-7395df6f0cea" 190 | }, 191 | "fileId": "d2xIc1y/ZF6Kn7K3yqwDJm", 192 | "sync": false 193 | }, 194 | { 195 | "__type__": "cc.Canvas", 196 | "_name": "", 197 | "_objFlags": 0, 198 | "node": { 199 | "__id__": 1 200 | }, 201 | "_enabled": true, 202 | "_designResolution": { 203 | "__type__": "cc.Size", 204 | "width": 960, 205 | "height": 640 206 | }, 207 | "_fitWidth": false, 208 | "_fitHeight": true, 209 | "_id": "" 210 | }, 211 | { 212 | "__type__": "cc.Widget", 213 | "_name": "", 214 | "_objFlags": 0, 215 | "node": { 216 | "__id__": 1 217 | }, 218 | "_enabled": true, 219 | "alignMode": 1, 220 | "_target": null, 221 | "_alignFlags": 45, 222 | "_left": 0, 223 | "_right": 0, 224 | "_top": 0, 225 | "_bottom": 0, 226 | "_verticalCenter": 0, 227 | "_horizontalCenter": 0, 228 | "_isAbsLeft": true, 229 | "_isAbsRight": true, 230 | "_isAbsTop": true, 231 | "_isAbsBottom": true, 232 | "_isAbsHorizontalCenter": true, 233 | "_isAbsVerticalCenter": true, 234 | "_originalWidth": 0, 235 | "_originalHeight": 0, 236 | "_id": "" 237 | }, 238 | { 239 | "__type__": "cc.PrefabInfo", 240 | "root": { 241 | "__id__": 1 242 | }, 243 | "asset": { 244 | "__uuid__": "2c937608-2562-40ea-b264-7395df6f0cea" 245 | }, 246 | "fileId": "a6aa1W/pshGFZkMhhqxkZYP", 247 | "sync": false 248 | } 249 | ] -------------------------------------------------------------------------------- /library/imports/2d/2d9a4b85-b0ab-4c46-84c5-18f393ab2058.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "sphere", 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": "sphere", 17 | "_objFlags": 0, 18 | "_parent": null, 19 | "_children": [], 20 | "_active": true, 21 | "_components": [ 22 | { 23 | "__id__": 2 24 | } 25 | ], 26 | "_prefab": { 27 | "__id__": 3 28 | }, 29 | "_opacity": 255, 30 | "_color": { 31 | "__type__": "cc.Color", 32 | "r": 255, 33 | "g": 255, 34 | "b": 255, 35 | "a": 255 36 | }, 37 | "_contentSize": { 38 | "__type__": "cc.Size", 39 | "width": 0, 40 | "height": 0 41 | }, 42 | "_anchorPoint": { 43 | "__type__": "cc.Vec2", 44 | "x": 0.5, 45 | "y": 0.5 46 | }, 47 | "_trs": { 48 | "__type__": "TypedArray", 49 | "ctor": "Float64Array", 50 | "array": [ 51 | 0, 52 | 0, 53 | 0, 54 | 0, 55 | 0, 56 | 0, 57 | 1, 58 | 1, 59 | 1, 60 | 1 61 | ] 62 | }, 63 | "_eulerAngles": { 64 | "__type__": "cc.Vec3", 65 | "x": 0, 66 | "y": 0, 67 | "z": 0 68 | }, 69 | "_skewX": 0, 70 | "_skewY": 0, 71 | "_is3DNode": true, 72 | "_groupIndex": 0, 73 | "groupIndex": 0, 74 | "_id": "" 75 | }, 76 | { 77 | "__type__": "cc.MeshRenderer", 78 | "_name": "", 79 | "_objFlags": 0, 80 | "node": { 81 | "__id__": 1 82 | }, 83 | "_enabled": true, 84 | "_materials": [ 85 | { 86 | "__uuid__": "a5849239-3ad3-41d1-8ab4-ae9fea11f97f" 87 | } 88 | ], 89 | "_mesh": { 90 | "__uuid__": "3bbdb0f6-c5f6-45de-9f33-8b5cbafb4d6d" 91 | }, 92 | "_receiveShadows": false, 93 | "_shadowCastingMode": 0, 94 | "_enableAutoBatch": false, 95 | "textures": [], 96 | "_id": "" 97 | }, 98 | { 99 | "__type__": "cc.PrefabInfo", 100 | "root": { 101 | "__id__": 1 102 | }, 103 | "asset": { 104 | "__uuid__": "2d9a4b85-b0ab-4c46-84c5-18f393ab2058" 105 | }, 106 | "fileId": "e0chObmn1N5q+1kVoqVegu", 107 | "sync": false 108 | } 109 | ] -------------------------------------------------------------------------------- /library/imports/31/31d8962d-babb-4ec7-be19-8e9f54a4ea99.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.SpriteFrame", 3 | "content": { 4 | "name": "default_scrollbar", 5 | "texture": "0291c134-b3da-4098-b7b5-e397edbe947f", 6 | "atlas": "", 7 | "rect": [ 8 | 0, 9 | 0, 10 | 30, 11 | 15 12 | ], 13 | "offset": [ 14 | 0, 15 | 0 16 | ], 17 | "originalSize": [ 18 | 30, 19 | 15 20 | ], 21 | "capInsets": [ 22 | 10, 23 | 4, 24 | 10, 25 | 4 26 | ] 27 | } 28 | } -------------------------------------------------------------------------------- /library/imports/3a/3a7bb79f-32fd-422e-ada2-96f518fed422.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Material", 3 | "_name": "builtin-2d-gray-sprite", 4 | "_objFlags": 0, 5 | "_native": "", 6 | "_effectAsset": { 7 | "__uuid__": "144c3297-af63-49e8-b8ef-1cfa29b3be28" 8 | }, 9 | "_techniqueData": {} 10 | } -------------------------------------------------------------------------------- /library/imports/3b/3bbdb0f6-c5f6-45de-9f33-8b5cbafb4d6d.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/3b/3bbdb0f6-c5f6-45de-9f33-8b5cbafb4d6d.bin -------------------------------------------------------------------------------- /library/imports/3b/3bbdb0f6-c5f6-45de-9f33-8b5cbafb4d6d.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Mesh", 4 | "_name": "", 5 | "_objFlags": 0, 6 | "_native": ".bin", 7 | "_vertexBundles": [ 8 | { 9 | "__id__": 1 10 | } 11 | ], 12 | "_primitives": [ 13 | { 14 | "__id__": 6 15 | } 16 | ], 17 | "_minPos": { 18 | "__type__": "cc.Vec3", 19 | "x": -0.5, 20 | "y": -0.5, 21 | "z": -0.5 22 | }, 23 | "_maxPos": { 24 | "__type__": "cc.Vec3", 25 | "x": 0.5, 26 | "y": 0.5, 27 | "z": 0.5 28 | } 29 | }, 30 | { 31 | "__type__": "cc.mesh.VertexBundle", 32 | "data": { 33 | "__id__": 2 34 | }, 35 | "formats": [ 36 | { 37 | "__id__": 3 38 | }, 39 | { 40 | "__id__": 4 41 | }, 42 | { 43 | "__id__": 5 44 | } 45 | ], 46 | "verticesCount": 1089 47 | }, 48 | { 49 | "__type__": "cc.BufferRange", 50 | "offset": 0, 51 | "length": 34848 52 | }, 53 | { 54 | "__type__": "cc.mesh.VertexFormat", 55 | "name": "a_normal", 56 | "type": 5126, 57 | "num": 3, 58 | "normalize": false 59 | }, 60 | { 61 | "__type__": "cc.mesh.VertexFormat", 62 | "name": "a_position", 63 | "type": 5126, 64 | "num": 3, 65 | "normalize": false 66 | }, 67 | { 68 | "__type__": "cc.mesh.VertexFormat", 69 | "name": "a_uv0", 70 | "type": 5126, 71 | "num": 2, 72 | "normalize": false 73 | }, 74 | { 75 | "__type__": "cc.mesh.Primitive", 76 | "vertexBundleIndices": [ 77 | 0 78 | ], 79 | "data": { 80 | "__id__": 7 81 | }, 82 | "indexUnit": 5123, 83 | "topology": 4 84 | }, 85 | { 86 | "__type__": "cc.BufferRange", 87 | "offset": 34848, 88 | "length": 12288 89 | } 90 | ] -------------------------------------------------------------------------------- /library/imports/3f/3f376125-a699-40ca-ad05-04d662eaa1f2.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "plane", 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": "plane", 17 | "_objFlags": 0, 18 | "_parent": null, 19 | "_children": [], 20 | "_active": true, 21 | "_components": [ 22 | { 23 | "__id__": 2 24 | } 25 | ], 26 | "_prefab": { 27 | "__id__": 3 28 | }, 29 | "_opacity": 255, 30 | "_color": { 31 | "__type__": "cc.Color", 32 | "r": 255, 33 | "g": 255, 34 | "b": 255, 35 | "a": 255 36 | }, 37 | "_contentSize": { 38 | "__type__": "cc.Size", 39 | "width": 0, 40 | "height": 0 41 | }, 42 | "_anchorPoint": { 43 | "__type__": "cc.Vec2", 44 | "x": 0.5, 45 | "y": 0.5 46 | }, 47 | "_trs": { 48 | "__type__": "TypedArray", 49 | "ctor": "Float64Array", 50 | "array": [ 51 | 0, 52 | 0, 53 | 0, 54 | 0, 55 | 0, 56 | 0, 57 | 1, 58 | 1, 59 | 1, 60 | 1 61 | ] 62 | }, 63 | "_eulerAngles": { 64 | "__type__": "cc.Vec3", 65 | "x": 0, 66 | "y": 0, 67 | "z": 0 68 | }, 69 | "_skewX": 0, 70 | "_skewY": 0, 71 | "_is3DNode": true, 72 | "_groupIndex": 0, 73 | "groupIndex": 0, 74 | "_id": "" 75 | }, 76 | { 77 | "__type__": "cc.MeshRenderer", 78 | "_name": "", 79 | "_objFlags": 0, 80 | "node": { 81 | "__id__": 1 82 | }, 83 | "_enabled": true, 84 | "_materials": [ 85 | { 86 | "__uuid__": "a5849239-3ad3-41d1-8ab4-ae9fea11f97f" 87 | } 88 | ], 89 | "_mesh": { 90 | "__uuid__": "a1ef2fc9-9c57-418a-8f69-6bed9a7a0e7f" 91 | }, 92 | "_receiveShadows": false, 93 | "_shadowCastingMode": 0, 94 | "_enableAutoBatch": false, 95 | "textures": [], 96 | "_id": "" 97 | }, 98 | { 99 | "__type__": "cc.PrefabInfo", 100 | "root": { 101 | "__id__": 1 102 | }, 103 | "asset": { 104 | "__uuid__": "3f376125-a699-40ca-ad05-04d662eaa1f2" 105 | }, 106 | "fileId": "9fhEbTXI1IApxjLqbjx+1L", 107 | "sync": false 108 | } 109 | ] -------------------------------------------------------------------------------- /library/imports/43/4300f941-ba03-4d19-bdb1-959ef40f1852.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.SpriteFrame", 3 | "content": { 4 | "name": "default-particle", 5 | "texture": "600301aa-3357-4a10-b086-84f011fa32ba", 6 | "atlas": "", 7 | "rect": [ 8 | 2, 9 | 2, 10 | 61, 11 | 61 12 | ], 13 | "offset": [ 14 | 0.5, 15 | -0.5 16 | ], 17 | "originalSize": [ 18 | 64, 19 | 64 20 | ], 21 | "capInsets": [ 22 | 0, 23 | 0, 24 | 0, 25 | 0 26 | ] 27 | } 28 | } -------------------------------------------------------------------------------- /library/imports/43/430eccbf-bf2c-4e6e-8c0c-884bbb487f32.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.EffectAsset", 3 | "_name": "__builtin-editor-gizmo-line", 4 | "_objFlags": 0, 5 | "_native": "", 6 | "properties": null, 7 | "techniques": [ 8 | { 9 | "passes": [ 10 | { 11 | "stage": "transparent", 12 | "blendState": { 13 | "targets": [ 14 | { 15 | "blend": true, 16 | "blendEq": 32774, 17 | "blendSrc": 770, 18 | "blendDst": 1 19 | } 20 | ] 21 | }, 22 | "rasterizerState": { 23 | "cullMode": 0 24 | }, 25 | "depthStencilState": { 26 | "depthTest": true 27 | }, 28 | "properties": { 29 | "diffuseColor": { 30 | "value": [ 31 | 1, 32 | 1, 33 | 1, 34 | 1 35 | ], 36 | "editor": { 37 | "type": "color" 38 | }, 39 | "type": 16 40 | } 41 | }, 42 | "program": "__builtin-editor-gizmo-line|gizmo-line-vs|gizmo-line-fs:front" 43 | }, 44 | { 45 | "stage": "transparent", 46 | "blendState": { 47 | "targets": [ 48 | { 49 | "blend": true, 50 | "blendEq": 32774, 51 | "blendSrc": 770, 52 | "blendDst": 1 53 | } 54 | ] 55 | }, 56 | "rasterizerState": { 57 | "cullMode": 0 58 | }, 59 | "depthStencilState": { 60 | "depthTest": true, 61 | "depthFunc": 516 62 | }, 63 | "properties": { 64 | "diffuseColor": { 65 | "value": [ 66 | 1, 67 | 1, 68 | 1, 69 | 1 70 | ], 71 | "editor": { 72 | "type": "color" 73 | }, 74 | "type": 16 75 | } 76 | }, 77 | "program": "__builtin-editor-gizmo-line|gizmo-line-vs|gizmo-line-fs:back" 78 | } 79 | ] 80 | } 81 | ], 82 | "shaders": [ 83 | { 84 | "hash": 2579669062, 85 | "glsl3": { 86 | "vert": "\nprecision highp float;\nuniform CCGlobal {\n mat4 cc_matView;\n mat4 cc_matViewInv;\n mat4 cc_matProj;\n mat4 cc_matProjInv;\n mat4 cc_matViewProj;\n mat4 cc_matViewProjInv;\n vec4 cc_cameraPos;\n vec4 cc_time;\n mediump vec4 cc_screenSize;\n mediump vec4 cc_screenScale;\n};\nuniform CCLocal {\n mat4 cc_matWorld;\n mat4 cc_matWorldIT;\n};\nattribute vec3 a_position;\nvoid main () {\n gl_Position = cc_matViewProj * cc_matWorld * vec4(a_position, 1);\n gl_Position.z -= 0.0001;\n}", 87 | "frag": "\nprecision highp float;\nvec4 CCFragOutput (vec4 color) {\n #if OUTPUT_TO_GAMMA\n color.rgb = sqrt(color.rgb);\n #endif\n\treturn color;\n}\nuniform DIFFUSE_COLOR {\n vec4 diffuseColor;\n};\nvec4 front() {\n return CCFragOutput(diffuseColor);\n}\nout vec4 cc_FragColor;\nvoid main() { cc_FragColor = front(); }" 88 | }, 89 | "glsl1": { 90 | "vert": "\nprecision highp float;\nuniform mat4 cc_matViewProj;\nuniform mat4 cc_matWorld;\nattribute vec3 a_position;\nvoid main () {\n gl_Position = cc_matViewProj * cc_matWorld * vec4(a_position, 1);\n gl_Position.z -= 0.0001;\n}", 91 | "frag": "\nprecision highp float;\nvec4 CCFragOutput (vec4 color) {\n #if OUTPUT_TO_GAMMA\n color.rgb = sqrt(color.rgb);\n #endif\n\treturn color;\n}\nuniform vec4 diffuseColor;\nvec4 front() {\n return CCFragOutput(diffuseColor);\n}\nvoid main() { gl_FragColor = front(); }" 92 | }, 93 | "builtins": { 94 | "globals": { 95 | "blocks": [ 96 | { 97 | "name": "CCGlobal", 98 | "defines": [] 99 | } 100 | ], 101 | "samplers": [] 102 | }, 103 | "locals": { 104 | "blocks": [ 105 | { 106 | "name": "CCLocal", 107 | "defines": [] 108 | } 109 | ], 110 | "samplers": [] 111 | } 112 | }, 113 | "defines": [ 114 | { 115 | "name": "OUTPUT_TO_GAMMA", 116 | "type": "boolean", 117 | "defines": [] 118 | } 119 | ], 120 | "blocks": [ 121 | { 122 | "name": "DIFFUSE_COLOR", 123 | "members": [ 124 | { 125 | "name": "diffuseColor", 126 | "type": 16, 127 | "count": 1 128 | } 129 | ], 130 | "defines": [], 131 | "binding": 0 132 | } 133 | ], 134 | "samplers": [], 135 | "record": null, 136 | "name": "__builtin-editor-gizmo-line|gizmo-line-vs|gizmo-line-fs:front" 137 | }, 138 | { 139 | "hash": 2538316070, 140 | "glsl3": { 141 | "vert": "\nprecision highp float;\nuniform CCGlobal {\n mat4 cc_matView;\n mat4 cc_matViewInv;\n mat4 cc_matProj;\n mat4 cc_matProjInv;\n mat4 cc_matViewProj;\n mat4 cc_matViewProjInv;\n vec4 cc_cameraPos;\n vec4 cc_time;\n mediump vec4 cc_screenSize;\n mediump vec4 cc_screenScale;\n};\nuniform CCLocal {\n mat4 cc_matWorld;\n mat4 cc_matWorldIT;\n};\nattribute vec3 a_position;\nvoid main () {\n gl_Position = cc_matViewProj * cc_matWorld * vec4(a_position, 1);\n gl_Position.z -= 0.0001;\n}", 142 | "frag": "\nprecision highp float;\nvec4 CCFragOutput (vec4 color) {\n #if OUTPUT_TO_GAMMA\n color.rgb = sqrt(color.rgb);\n #endif\n\treturn color;\n}\nuniform DIFFUSE_COLOR {\n vec4 diffuseColor;\n};\nvec4 back() {\n return CCFragOutput(vec4(diffuseColor.rgb, diffuseColor.a * 0.2));\n}\nout vec4 cc_FragColor;\nvoid main() { cc_FragColor = back(); }" 143 | }, 144 | "glsl1": { 145 | "vert": "\nprecision highp float;\nuniform mat4 cc_matViewProj;\nuniform mat4 cc_matWorld;\nattribute vec3 a_position;\nvoid main () {\n gl_Position = cc_matViewProj * cc_matWorld * vec4(a_position, 1);\n gl_Position.z -= 0.0001;\n}", 146 | "frag": "\nprecision highp float;\nvec4 CCFragOutput (vec4 color) {\n #if OUTPUT_TO_GAMMA\n color.rgb = sqrt(color.rgb);\n #endif\n\treturn color;\n}\nuniform vec4 diffuseColor;\nvec4 back() {\n return CCFragOutput(vec4(diffuseColor.rgb, diffuseColor.a * 0.2));\n}\nvoid main() { gl_FragColor = back(); }" 147 | }, 148 | "builtins": { 149 | "globals": { 150 | "blocks": [ 151 | { 152 | "name": "CCGlobal", 153 | "defines": [] 154 | } 155 | ], 156 | "samplers": [] 157 | }, 158 | "locals": { 159 | "blocks": [ 160 | { 161 | "name": "CCLocal", 162 | "defines": [] 163 | } 164 | ], 165 | "samplers": [] 166 | } 167 | }, 168 | "defines": [ 169 | { 170 | "name": "OUTPUT_TO_GAMMA", 171 | "type": "boolean", 172 | "defines": [] 173 | } 174 | ], 175 | "blocks": [ 176 | { 177 | "name": "DIFFUSE_COLOR", 178 | "members": [ 179 | { 180 | "name": "diffuseColor", 181 | "type": 16, 182 | "count": 1 183 | } 184 | ], 185 | "defines": [], 186 | "binding": 0 187 | } 188 | ], 189 | "samplers": [], 190 | "record": null, 191 | "name": "__builtin-editor-gizmo-line|gizmo-line-vs|gizmo-line-fs:back" 192 | } 193 | ] 194 | } -------------------------------------------------------------------------------- /library/imports/43/432fa09c-cf03-4cff-a186-982604408a07.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Material", 3 | "_name": "builtin-3d-particle", 4 | "_objFlags": 0, 5 | "_native": "", 6 | "_effectAsset": { 7 | "__uuid__": "829a282c-b049-4019-bd38-5ace8d8a6417" 8 | }, 9 | "_techniqueData": { 10 | "0": { 11 | "props": { 12 | "mainTexture": { 13 | "__uuid__": "600301aa-3357-4a10-b086-84f011fa32ba" 14 | }, 15 | "mainTiling_Offset": { 16 | "__type__": "cc.Vec4", 17 | "x": 1, 18 | "y": 1, 19 | "z": 0, 20 | "w": 0 21 | }, 22 | "tintColor": { 23 | "__type__": "cc.Color", 24 | "r": 172, 25 | "g": 165, 26 | "b": 165, 27 | "a": 127 28 | } 29 | }, 30 | "defines": { 31 | "CC_USE_BILLBOARD": true, 32 | "CC_USE_STRETCHED_BILLBOARD": false, 33 | "CC_USE_HORIZONTAL_BILLBOARD": false, 34 | "CC_USE_VERTICAL_BILLBOARD": false, 35 | "CC_USE_MESH": false 36 | } 37 | } 38 | } 39 | } -------------------------------------------------------------------------------- /library/imports/46/466d4f9b-e5f4-4ea8-85d5-3c6e9a65658a.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Material", 3 | "_name": "builtin-3d-trail", 4 | "_objFlags": 0, 5 | "_native": "", 6 | "_effectAsset": { 7 | "__uuid__": "2a7c0036-e0b3-4fe1-8998-89a54b8a2bec" 8 | }, 9 | "_techniqueData": { 10 | "0": { 11 | "props": { 12 | "mainTexture": { 13 | "__uuid__": "0275e94c-56a7-410f-bd1a-fc7483f7d14a" 14 | } 15 | } 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /library/imports/47/472df5d3-35e7-4184-9e6c-7f41bee65ee3.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.SpriteFrame", 3 | "content": { 4 | "name": "atom", 5 | "texture": "d0a82d39-bede-46c4-b698-c81ff0dedfff", 6 | "atlas": "", 7 | "rect": [ 8 | 0, 9 | 0, 10 | 31, 11 | 31 12 | ], 13 | "offset": [ 14 | 0, 15 | 0 16 | ], 17 | "originalSize": [ 18 | 31, 19 | 31 20 | ], 21 | "capInsets": [ 22 | 0, 23 | 0, 24 | 0, 25 | 0 26 | ] 27 | } 28 | } -------------------------------------------------------------------------------- /library/imports/4a/4a37dd57-78cd-4cec-aad4-f11a73d12b63.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "richtext", 5 | "_objFlags": 0, 6 | "_native": "", 7 | "data": { 8 | "__id__": 1 9 | }, 10 | "optimizationPolicy": 1, 11 | "asyncLoadAssets": false, 12 | "readonly": false 13 | }, 14 | { 15 | "__type__": "cc.Node", 16 | "_name": "richText", 17 | "_objFlags": 0, 18 | "_opacity": 255, 19 | "_color": { 20 | "__type__": "cc.Color", 21 | "r": 255, 22 | "g": 255, 23 | "b": 255, 24 | "a": 255 25 | }, 26 | "_cascadeOpacityEnabled": true, 27 | "_parent": null, 28 | "_anchorPoint": { 29 | "__type__": "cc.Vec2", 30 | "x": 0.5, 31 | "y": 0.5 32 | }, 33 | "_contentSize": { 34 | "__type__": "cc.Size", 35 | "width": 153.38, 36 | "height": 50 37 | }, 38 | "_children": [], 39 | "_skewX": 0, 40 | "_skewY": 0, 41 | "_localZOrder": 0, 42 | "_globalZOrder": 0, 43 | "_tag": -1, 44 | "_opacityModifyRGB": false, 45 | "_id": "", 46 | "_active": true, 47 | "_components": [ 48 | { 49 | "__id__": 2 50 | } 51 | ], 52 | "_prefab": { 53 | "__id__": 3 54 | }, 55 | "groupIndex": 0, 56 | "_eulerAngles": { 57 | "__type__": "cc.Vec3", 58 | "x": 0, 59 | "y": 0, 60 | "z": 0 61 | }, 62 | "_trs": { 63 | "__type__": "TypedArray", 64 | "ctor": "Float64Array", 65 | "array": [ 66 | 0, 67 | 0, 68 | 0, 69 | 0, 70 | 0, 71 | 0, 72 | 0, 73 | 1, 74 | 1, 75 | 1 76 | ] 77 | } 78 | }, 79 | { 80 | "__type__": "cc.RichText", 81 | "_name": "", 82 | "_objFlags": 0, 83 | "node": { 84 | "__id__": 1 85 | }, 86 | "_enabled": true, 87 | "_useOriginalSize": true, 88 | "_N$string": "RichText", 89 | "_N$horizontalAlign": 0, 90 | "_N$fontSize": 40, 91 | "_N$maxWidth": 0, 92 | "_N$lineHeight": 50 93 | }, 94 | { 95 | "__type__": "cc.PrefabInfo", 96 | "root": { 97 | "__id__": 1 98 | }, 99 | "asset": { 100 | "__uuid__": "4a37dd57-78cd-4cec-aad4-f11a73d12b63" 101 | }, 102 | "fileId": "fd4fe1WoCpJK6rVCZ13Z14R" 103 | } 104 | ] -------------------------------------------------------------------------------- /library/imports/4b/4bab67cb-18e6-4099-b840-355f0473f890.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Texture2D", 3 | "content": "0,9729,9729,33071,33071,0,0,1" 4 | } -------------------------------------------------------------------------------- /library/imports/4b/4bab67cb-18e6-4099-b840-355f0473f890.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/4b/4bab67cb-18e6-4099-b840-355f0473f890.png -------------------------------------------------------------------------------- /library/imports/4e/4e4a58af-a4f2-46a9-b7e7-02a7556b3431.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | cc._RF.push(module, '4e4a5ivpPJGqbfnAqdVazQx', 'writerDemo'); 3 | // game_writer/writerDemo.ts 4 | 5 | "use strict"; 6 | var __extends = (this && this.__extends) || (function () { 7 | var extendStatics = function (d, b) { 8 | extendStatics = Object.setPrototypeOf || 9 | ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || 10 | function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; 11 | return extendStatics(d, b); 12 | }; 13 | return function (d, b) { 14 | extendStatics(d, b); 15 | function __() { this.constructor = d; } 16 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); 17 | }; 18 | })(); 19 | var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { 20 | var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; 21 | if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); 22 | else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; 23 | return c > 3 && r && Object.defineProperty(target, key, r), r; 24 | }; 25 | Object.defineProperty(exports, "__esModule", { value: true }); 26 | var writer_1 = require("./writer/writer"); 27 | var _a = cc._decorator, ccclass = _a.ccclass, property = _a.property; 28 | var Demo = /** @class */ (function (_super) { 29 | __extends(Demo, _super); 30 | function Demo() { 31 | var _this = _super !== null && _super.apply(this, arguments) || this; 32 | _this.writerNode = null; 33 | return _this; 34 | } 35 | Demo.prototype.start = function () { 36 | this.writerNode = this.node.getChildByName('writer'); 37 | }; 38 | Demo.prototype.onChangeShowStatusClick = function (el) { 39 | if (el.currentTarget.children[0].getComponentInChildren(cc.Label).string == '隐藏') { 40 | this.writerNode.active = false; 41 | el.currentTarget.children[0].getComponentInChildren(cc.Label).string = '显示'; 42 | } 43 | else if (el.currentTarget.children[0].getComponentInChildren(cc.Label).string == '显示') { 44 | this.writerNode.active = true; 45 | el.currentTarget.children[0].getComponentInChildren(cc.Label).string = '隐藏'; 46 | } 47 | }; 48 | Demo.prototype.onChangeLabelClick = function () { 49 | this.writerNode.active = true; 50 | var str = '秦时明月汉时关万里长征人未还但使龙城飞将在不教胡马渡阴山'; 51 | var labelText = str[Math.floor(Math.random() * str.length)]; 52 | this.writerNode.getComponent(cc.Label).string = labelText; 53 | this.writerNode.getComponent(writer_1.default).changeLabel(); 54 | }; 55 | Demo.prototype.onAnimateClick = function () { 56 | this.writerNode.getComponent(writer_1.default).animateCharacter(); 57 | }; 58 | Demo = __decorate([ 59 | ccclass 60 | ], Demo); 61 | return Demo; 62 | }(cc.Component)); 63 | exports.default = Demo; 64 | 65 | cc._RF.pop(); -------------------------------------------------------------------------------- /library/imports/4e/4e4a58af-a4f2-46a9-b7e7-02a7556b3431.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["assets/game_writer/writerDemo.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0CAAqC;AAE/B,IAAA,kBAAqC,EAAnC,oBAAO,EAAE,sBAA0B,CAAC;AAG5C;IAAkC,wBAAY;IAD9C;QAAA,qEA2BC;QAzBQ,gBAAU,GAAY,IAAI,CAAC;;IAyBpC,CAAC;IAxBA,oBAAK,GAAL;QACC,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;IACtD,CAAC;IACD,sCAAuB,GAAvB,UAAwB,EAAE;QACzB,IAAI,EAAE,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,sBAAsB,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,MAAM,IAAI,IAAI,EAAE;YACxE,IAAI,CAAC,UAAU,CAAC,MAAM,GAAG,KAAK,CAAC;YACxC,EAAE,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,sBAAsB,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,MAAM,GAAG,IAAI,CAAC;SAC5E;aAAM,IAAI,EAAE,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,sBAAsB,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,MAAM,IAAI,IAAI,EAAE;YAC/E,IAAI,CAAC,UAAU,CAAC,MAAM,GAAG,IAAI,CAAC;YACvC,EAAE,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,sBAAsB,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,MAAM,GAAG,IAAI,CAAC;SAC5E;IACF,CAAC;IAED,iCAAkB,GAAlB;QACC,IAAI,CAAC,UAAU,CAAC,MAAM,GAAG,IAAI,CAAC;QAC9B,IAAM,GAAG,GAAG,8BAA8B,CAAC;QAC3C,IAAM,SAAS,GAAG,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC;QAC9D,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,MAAM,GAAG,SAAS,CAAC;QAC1D,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,gBAAM,CAAC,CAAC,WAAW,EAAE,CAAC;IACpD,CAAC;IAED,6BAAc,GAAd;QACC,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,gBAAM,CAAC,CAAC,gBAAgB,EAAE,CAAC;IACzD,CAAC;IAzBmB,IAAI;QADxB,OAAO;OACa,IAAI,CA0BxB;IAAD,WAAC;CA1BD,AA0BC,CA1BiC,EAAE,CAAC,SAAS,GA0B7C;kBA1BoB,IAAI","file":"","sourceRoot":"/","sourcesContent":["import Writer from './writer/writer';\n\nconst { ccclass, property } = cc._decorator;\n\n@ccclass\nexport default class Demo extends cc.Component {\n\tprivate writerNode: cc.Node = null;\n\tstart() {\n\t\tthis.writerNode = this.node.getChildByName('writer');\n\t}\n\tonChangeShowStatusClick(el) {\n\t\tif (el.currentTarget.children[0].getComponentInChildren(cc.Label).string == '隐藏') {\n this.writerNode.active = false;\n\t\t\tel.currentTarget.children[0].getComponentInChildren(cc.Label).string = '显示';\n\t\t} else if (el.currentTarget.children[0].getComponentInChildren(cc.Label).string == '显示') {\n this.writerNode.active = true;\n\t\t\tel.currentTarget.children[0].getComponentInChildren(cc.Label).string = '隐藏';\n\t\t}\n\t}\n\n\tonChangeLabelClick() {\n\t\tthis.writerNode.active = true;\n\t\tconst str = '秦时明月汉时关万里长征人未还但使龙城飞将在不教胡马渡阴山';\n\t\tconst labelText = str[Math.floor(Math.random() * str.length)];\n\t\tthis.writerNode.getComponent(cc.Label).string = labelText;\n\t\tthis.writerNode.getComponent(Writer).changeLabel();\n\t}\n\n\tonAnimateClick() {\n\t\tthis.writerNode.getComponent(Writer).animateCharacter();\n\t}\n}\n"]} -------------------------------------------------------------------------------- /library/imports/56/567dcd80-8bf4-4535-8a5a-313f1caf078a.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Texture2D", 3 | "content": "0,9729,9729,33071,33071,0,0,1" 4 | } -------------------------------------------------------------------------------- /library/imports/56/567dcd80-8bf4-4535-8a5a-313f1caf078a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/56/567dcd80-8bf4-4535-8a5a-313f1caf078a.png -------------------------------------------------------------------------------- /library/imports/59/5965ffac-69da-4b55-bcde-9225d0613c28.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "progressBar", 5 | "_objFlags": 0, 6 | "_native": "", 7 | "data": { 8 | "__id__": 1 9 | }, 10 | "optimizationPolicy": 1, 11 | "asyncLoadAssets": false, 12 | "readonly": false 13 | }, 14 | { 15 | "__type__": "cc.Node", 16 | "_name": "progressBar", 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 | "_prefab": { 34 | "__id__": 7 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": 300, 47 | "height": 15 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": "bar", 86 | "_objFlags": 512, 87 | "_parent": { 88 | "__id__": 1 89 | }, 90 | "_children": [], 91 | "_active": true, 92 | "_components": [ 93 | { 94 | "__id__": 3 95 | } 96 | ], 97 | "_prefab": { 98 | "__id__": 4 99 | }, 100 | "_opacity": 255, 101 | "_color": { 102 | "__type__": "cc.Color", 103 | "r": 255, 104 | "g": 255, 105 | "b": 255, 106 | "a": 255 107 | }, 108 | "_contentSize": { 109 | "__type__": "cc.Size", 110 | "width": 150, 111 | "height": 15 112 | }, 113 | "_anchorPoint": { 114 | "__type__": "cc.Vec2", 115 | "x": 0, 116 | "y": 0.5 117 | }, 118 | "_trs": { 119 | "__type__": "TypedArray", 120 | "ctor": "Float64Array", 121 | "array": [ 122 | -150, 123 | 0, 124 | 0, 125 | 0, 126 | 0, 127 | 0, 128 | 1, 129 | 1, 130 | 1, 131 | 1 132 | ] 133 | }, 134 | "_eulerAngles": { 135 | "__type__": "cc.Vec3", 136 | "x": 0, 137 | "y": 0, 138 | "z": 0 139 | }, 140 | "_skewX": 0, 141 | "_skewY": 0, 142 | "_is3DNode": false, 143 | "_groupIndex": 0, 144 | "groupIndex": 0, 145 | "_id": "" 146 | }, 147 | { 148 | "__type__": "cc.Sprite", 149 | "_name": "", 150 | "_objFlags": 0, 151 | "node": { 152 | "__id__": 2 153 | }, 154 | "_enabled": true, 155 | "_materials": [ 156 | { 157 | "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" 158 | } 159 | ], 160 | "_srcBlendFactor": 770, 161 | "_dstBlendFactor": 771, 162 | "_spriteFrame": { 163 | "__uuid__": "67e68bc9-dad5-4ad9-a2d8-7e03d458e32f" 164 | }, 165 | "_type": 1, 166 | "_sizeMode": 0, 167 | "_fillType": 0, 168 | "_fillCenter": { 169 | "__type__": "cc.Vec2", 170 | "x": 0, 171 | "y": 0 172 | }, 173 | "_fillStart": 0, 174 | "_fillRange": 0, 175 | "_isTrimmedMode": true, 176 | "_atlas": null, 177 | "_id": "" 178 | }, 179 | { 180 | "__type__": "cc.PrefabInfo", 181 | "root": { 182 | "__id__": 1 183 | }, 184 | "asset": { 185 | "__uuid__": "5965ffac-69da-4b55-bcde-9225d0613c28" 186 | }, 187 | "fileId": "38d28QPqAdC1L4aQLAAwhV2", 188 | "sync": false 189 | }, 190 | { 191 | "__type__": "cc.Sprite", 192 | "_name": "", 193 | "_objFlags": 0, 194 | "node": { 195 | "__id__": 1 196 | }, 197 | "_enabled": true, 198 | "_materials": [ 199 | { 200 | "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" 201 | } 202 | ], 203 | "_srcBlendFactor": 770, 204 | "_dstBlendFactor": 771, 205 | "_spriteFrame": { 206 | "__uuid__": "88e79fd5-96b4-4a77-a1f4-312467171014" 207 | }, 208 | "_type": 1, 209 | "_sizeMode": 0, 210 | "_fillType": 0, 211 | "_fillCenter": { 212 | "__type__": "cc.Vec2", 213 | "x": 0, 214 | "y": 0 215 | }, 216 | "_fillStart": 0, 217 | "_fillRange": 0, 218 | "_isTrimmedMode": true, 219 | "_atlas": null, 220 | "_id": "" 221 | }, 222 | { 223 | "__type__": "cc.ProgressBar", 224 | "_name": "", 225 | "_objFlags": 0, 226 | "node": { 227 | "__id__": 1 228 | }, 229 | "_enabled": true, 230 | "_N$totalLength": 300, 231 | "_N$barSprite": { 232 | "__id__": 3 233 | }, 234 | "_N$mode": 0, 235 | "_N$progress": 0.5, 236 | "_N$reverse": false, 237 | "_id": "" 238 | }, 239 | { 240 | "__type__": "cc.PrefabInfo", 241 | "root": { 242 | "__id__": 1 243 | }, 244 | "asset": { 245 | "__uuid__": "5965ffac-69da-4b55-bcde-9225d0613c28" 246 | }, 247 | "fileId": "c8bd6EVT6lD4bVMS1d/i0BC", 248 | "sync": false 249 | } 250 | ] -------------------------------------------------------------------------------- /library/imports/5c/5c3bb932-6c3c-468f-88a9-c8c61d458641.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.SpriteFrame", 3 | "content": { 4 | "name": "default_scrollbar_vertical", 5 | "texture": "d6d3ca85-4681-47c1-b5dd-d036a9d39ea2", 6 | "atlas": "", 7 | "rect": [ 8 | 0, 9 | 0, 10 | 15, 11 | 30 12 | ], 13 | "offset": [ 14 | 0, 15 | 0 16 | ], 17 | "originalSize": [ 18 | 15, 19 | 30 20 | ], 21 | "capInsets": [ 22 | 4, 23 | 10, 24 | 4, 25 | 10 26 | ] 27 | } 28 | } -------------------------------------------------------------------------------- /library/imports/5f/5fe5dcaa-b513-4dc5-a166-573627b3a159.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.SpriteFrame", 3 | "content": { 4 | "name": "default_scrollbar_vertical_bg", 5 | "texture": "617323dd-11f4-4dd3-8eec-0caf6b3b45b9", 6 | "atlas": "", 7 | "rect": [ 8 | 0, 9 | 0, 10 | 15, 11 | 30 12 | ], 13 | "offset": [ 14 | 0, 15 | 0 16 | ], 17 | "originalSize": [ 18 | 15, 19 | 30 20 | ], 21 | "capInsets": [ 22 | 4, 23 | 10, 24 | 4, 25 | 10 26 | ] 27 | } 28 | } -------------------------------------------------------------------------------- /library/imports/60/600301aa-3357-4a10-b086-84f011fa32ba.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Texture2D", 3 | "content": "0,9729,9729,33071,33071,1,0,0" 4 | } -------------------------------------------------------------------------------- /library/imports/60/600301aa-3357-4a10-b086-84f011fa32ba.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/60/600301aa-3357-4a10-b086-84f011fa32ba.png -------------------------------------------------------------------------------- /library/imports/61/617323dd-11f4-4dd3-8eec-0caf6b3b45b9.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Texture2D", 3 | "content": "0,9729,9729,33071,33071,0,0,1" 4 | } -------------------------------------------------------------------------------- /library/imports/61/617323dd-11f4-4dd3-8eec-0caf6b3b45b9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/61/617323dd-11f4-4dd3-8eec-0caf6b3b45b9.png -------------------------------------------------------------------------------- /library/imports/61/61906da3-7003-4bda-9abc-5769c76faee4.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "ambient", 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": "light", 17 | "_objFlags": 0, 18 | "_parent": null, 19 | "_children": [], 20 | "_active": true, 21 | "_level": 1, 22 | "_components": [ 23 | { 24 | "__id__": 2 25 | } 26 | ], 27 | "_prefab": { 28 | "__id__": 3 29 | }, 30 | "_opacity": 255, 31 | "_color": { 32 | "__type__": "cc.Color", 33 | "r": 255, 34 | "g": 255, 35 | "b": 255, 36 | "a": 255 37 | }, 38 | "_contentSize": { 39 | "__type__": "cc.Size", 40 | "width": 0, 41 | "height": 0 42 | }, 43 | "_anchorPoint": { 44 | "__type__": "cc.Vec2", 45 | "x": 0.5, 46 | "y": 0.5 47 | }, 48 | "_skewX": 0, 49 | "_skewY": 0, 50 | "_is3DNode": true, 51 | "groupIndex": 0, 52 | "_id": "", 53 | "_eulerAngles": { 54 | "__type__": "cc.Vec3", 55 | "x": 0, 56 | "y": 0, 57 | "z": 0 58 | }, 59 | "_trs": { 60 | "__type__": "TypedArray", 61 | "ctor": "Float64Array", 62 | "array": [ 63 | 0, 64 | 0, 65 | 0, 66 | 0, 67 | 0, 68 | 0, 69 | 0, 70 | 1, 71 | 1, 72 | 1 73 | ] 74 | } 75 | }, 76 | { 77 | "__type__": "cc.Light", 78 | "_name": "", 79 | "_objFlags": 0, 80 | "node": { 81 | "__id__": 1 82 | }, 83 | "_enabled": true, 84 | "_type": 3, 85 | "_color": { 86 | "__type__": "cc.Color", 87 | "r": 255, 88 | "g": 255, 89 | "b": 255, 90 | "a": 255 91 | }, 92 | "_intensity": 0.25, 93 | "_range": 1, 94 | "_spotAngle": 60, 95 | "_spotExp": 1, 96 | "_shadowType": 0, 97 | "_shadowResolution": 1024, 98 | "_shadowDarkness": 0.5, 99 | "_shadowMinDepth": 1, 100 | "_shadowMaxDepth": 1000, 101 | "_shadowDepthScale": 250, 102 | "_shadowFrustumSize": 50, 103 | "_shadowBias": 0.0005, 104 | "_id": "" 105 | }, 106 | { 107 | "__type__": "cc.PrefabInfo", 108 | "root": { 109 | "__id__": 1 110 | }, 111 | "asset": { 112 | "__uuid__": "61906da3-7003-4bda-9abc-5769c76faee4" 113 | }, 114 | "fileId": "33zOkteexCqamZ4PXuwJaW", 115 | "sync": false 116 | } 117 | ] -------------------------------------------------------------------------------- /library/imports/62/620da9a5-3dd7-45dc-88d8-0ee60f386be8.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.SpriteFrame", 3 | "content": { 4 | "name": "bishunbeijing", 5 | "texture": "ae293806-f3c9-4977-8ee4-004a4f2c76ca", 6 | "atlas": "", 7 | "rect": [ 8 | 0, 9 | 0, 10 | 715, 11 | 701 12 | ], 13 | "offset": [ 14 | 0, 15 | 0 16 | ], 17 | "originalSize": [ 18 | 715, 19 | 701 20 | ], 21 | "capInsets": [ 22 | 0, 23 | 0, 24 | 0, 25 | 0 26 | ] 27 | } 28 | } -------------------------------------------------------------------------------- /library/imports/67/67e68bc9-dad5-4ad9-a2d8-7e03d458e32f.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.SpriteFrame", 3 | "content": { 4 | "name": "default_progressbar", 5 | "texture": "cfef78f1-c8df-49b7-8ed0-4c953ace2621", 6 | "atlas": "", 7 | "rect": [ 8 | 0, 9 | 0, 10 | 30, 11 | 15 12 | ], 13 | "offset": [ 14 | 0, 15 | 0 16 | ], 17 | "originalSize": [ 18 | 30, 19 | 15 20 | ], 21 | "capInsets": [ 22 | 10, 23 | 4, 24 | 10, 25 | 4 26 | ] 27 | } 28 | } -------------------------------------------------------------------------------- /library/imports/68/6827ca32-0107-4552-bab2-dfb31799bb44.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.SpriteFrame", 3 | "content": { 4 | "name": "default_toggle_normal", 5 | "texture": "d29077ba-1627-4a72-9579-7b56a235340c", 6 | "atlas": "", 7 | "rect": [ 8 | 0, 9 | 0, 10 | 28, 11 | 28 12 | ], 13 | "offset": [ 14 | 0, 15 | 0 16 | ], 17 | "originalSize": [ 18 | 28, 19 | 28 20 | ], 21 | "capInsets": [ 22 | 0, 23 | 0, 24 | 0, 25 | 0 26 | ] 27 | } 28 | } -------------------------------------------------------------------------------- /library/imports/6c/6c5cf6e1-b044-4eac-9431-835644d57381.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.EffectAsset", 3 | "_name": "__builtin-editor-gizmo-unlit", 4 | "_objFlags": 0, 5 | "_native": "", 6 | "properties": null, 7 | "techniques": [ 8 | { 9 | "passes": [ 10 | { 11 | "stage": "transparent", 12 | "blendState": { 13 | "targets": [ 14 | { 15 | "blend": true, 16 | "blendEq": 32774 17 | } 18 | ] 19 | }, 20 | "rasterizerState": { 21 | "cullMode": 0 22 | }, 23 | "depthStencilState": { 24 | "depthTest": false, 25 | "depthWrite": false 26 | }, 27 | "properties": { 28 | "diffuseColor": { 29 | "value": [ 30 | 1, 31 | 1, 32 | 1, 33 | 1 34 | ], 35 | "editor": { 36 | "type": "color" 37 | }, 38 | "type": 16 39 | } 40 | }, 41 | "program": "__builtin-editor-gizmo-unlit|gizmo-unlit-vs|gizmo-unlit-fs:front" 42 | } 43 | ] 44 | } 45 | ], 46 | "shaders": [ 47 | { 48 | "hash": 304964736, 49 | "glsl3": { 50 | "vert": "\nprecision highp float;\nattribute vec3 a_position;\nuniform CCGlobal {\n mat4 cc_matView;\n mat4 cc_matViewInv;\n mat4 cc_matProj;\n mat4 cc_matProjInv;\n mat4 cc_matViewProj;\n mat4 cc_matViewProjInv;\n vec4 cc_cameraPos;\n vec4 cc_time;\n mediump vec4 cc_screenSize;\n mediump vec4 cc_screenScale;\n};\nuniform CCLocal {\n mat4 cc_matWorld;\n mat4 cc_matWorldIT;\n};\nvoid main () {\n gl_Position = cc_matViewProj * cc_matWorld * vec4(a_position, 1);\n}", 51 | "frag": "\nprecision highp float;\nvec4 CCFragOutput (vec4 color) {\n #if OUTPUT_TO_GAMMA\n color.rgb = sqrt(color.rgb);\n #endif\n\treturn color;\n}\nuniform DIFFUSE_COLOR {\n vec4 diffuseColor;\n};\nvec4 front() {\n return CCFragOutput(diffuseColor);\n}\nout vec4 cc_FragColor;\nvoid main() { cc_FragColor = front(); }" 52 | }, 53 | "glsl1": { 54 | "vert": "\nprecision highp float;\nattribute vec3 a_position;\nuniform mat4 cc_matViewProj;\nuniform mat4 cc_matWorld;\nvoid main () {\n gl_Position = cc_matViewProj * cc_matWorld * vec4(a_position, 1);\n}", 55 | "frag": "\nprecision highp float;\nvec4 CCFragOutput (vec4 color) {\n #if OUTPUT_TO_GAMMA\n color.rgb = sqrt(color.rgb);\n #endif\n\treturn color;\n}\nuniform vec4 diffuseColor;\nvec4 front() {\n return CCFragOutput(diffuseColor);\n}\nvoid main() { gl_FragColor = front(); }" 56 | }, 57 | "builtins": { 58 | "globals": { 59 | "blocks": [ 60 | { 61 | "name": "CCGlobal", 62 | "defines": [] 63 | } 64 | ], 65 | "samplers": [] 66 | }, 67 | "locals": { 68 | "blocks": [ 69 | { 70 | "name": "CCLocal", 71 | "defines": [] 72 | } 73 | ], 74 | "samplers": [] 75 | } 76 | }, 77 | "defines": [ 78 | { 79 | "name": "OUTPUT_TO_GAMMA", 80 | "type": "boolean", 81 | "defines": [] 82 | } 83 | ], 84 | "blocks": [ 85 | { 86 | "name": "DIFFUSE_COLOR", 87 | "members": [ 88 | { 89 | "name": "diffuseColor", 90 | "type": 16, 91 | "count": 1 92 | } 93 | ], 94 | "defines": [], 95 | "binding": 0 96 | } 97 | ], 98 | "samplers": [], 99 | "record": null, 100 | "name": "__builtin-editor-gizmo-unlit|gizmo-unlit-vs|gizmo-unlit-fs:front" 101 | } 102 | ] 103 | } -------------------------------------------------------------------------------- /library/imports/6c/6c9ef10d-b479-420b-bfe6-39cdda6a8ae0.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "quad", 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": "quad", 17 | "_objFlags": 0, 18 | "_parent": null, 19 | "_children": [], 20 | "_active": true, 21 | "_components": [ 22 | { 23 | "__id__": 2 24 | } 25 | ], 26 | "_prefab": { 27 | "__id__": 3 28 | }, 29 | "_opacity": 255, 30 | "_color": { 31 | "__type__": "cc.Color", 32 | "r": 255, 33 | "g": 255, 34 | "b": 255, 35 | "a": 255 36 | }, 37 | "_contentSize": { 38 | "__type__": "cc.Size", 39 | "width": 0, 40 | "height": 0 41 | }, 42 | "_anchorPoint": { 43 | "__type__": "cc.Vec2", 44 | "x": 0.5, 45 | "y": 0.5 46 | }, 47 | "_trs": { 48 | "__type__": "TypedArray", 49 | "ctor": "Float64Array", 50 | "array": [ 51 | 0, 52 | 0, 53 | 0, 54 | 0, 55 | 0, 56 | 0, 57 | 1, 58 | 1, 59 | 1, 60 | 1 61 | ] 62 | }, 63 | "_eulerAngles": { 64 | "__type__": "cc.Vec3", 65 | "x": 0, 66 | "y": 0, 67 | "z": 0 68 | }, 69 | "_skewX": 0, 70 | "_skewY": 0, 71 | "_is3DNode": true, 72 | "_groupIndex": 0, 73 | "groupIndex": 0, 74 | "_id": "" 75 | }, 76 | { 77 | "__type__": "cc.MeshRenderer", 78 | "_name": "", 79 | "_objFlags": 0, 80 | "node": { 81 | "__id__": 1 82 | }, 83 | "_enabled": true, 84 | "_materials": [ 85 | { 86 | "__uuid__": "a5849239-3ad3-41d1-8ab4-ae9fea11f97f" 87 | } 88 | ], 89 | "_mesh": { 90 | "__uuid__": "e93d3fa9-8c21-4375-8a21-14ba84066c77" 91 | }, 92 | "_receiveShadows": false, 93 | "_shadowCastingMode": 0, 94 | "_enableAutoBatch": false, 95 | "textures": [], 96 | "_id": "" 97 | }, 98 | { 99 | "__type__": "cc.PrefabInfo", 100 | "root": { 101 | "__id__": 1 102 | }, 103 | "asset": { 104 | "__uuid__": "6c9ef10d-b479-420b-bfe6-39cdda6a8ae0" 105 | }, 106 | "fileId": "9b58ZeS0JLyLtsBZ/OlhCu", 107 | "sync": false 108 | } 109 | ] -------------------------------------------------------------------------------- /library/imports/6e/6e056173-d285-473c-b206-40a7fff5386e.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Texture2D", 3 | "content": "0,9729,9729,33071,33071,0,0,1" 4 | } -------------------------------------------------------------------------------- /library/imports/6e/6e056173-d285-473c-b206-40a7fff5386e.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/6e/6e056173-d285-473c-b206-40a7fff5386e.png -------------------------------------------------------------------------------- /library/imports/6f/6f801092-0c37-4f30-89ef-c8d960825b36.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Material", 3 | "_name": "builtin-2d-base", 4 | "_objFlags": 0, 5 | "_native": "", 6 | "_effectAsset": { 7 | "__uuid__": "2874f8dd-416c-4440-81b7-555975426e93" 8 | }, 9 | "_techniqueData": {} 10 | } -------------------------------------------------------------------------------- /library/imports/70/70d7cdb0-04cd-41bb-9480-c06a4785f386.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "3d-camera", 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": "3D Camera", 17 | "_objFlags": 0, 18 | "_parent": null, 19 | "_children": [], 20 | "_active": true, 21 | "_components": [ 22 | { 23 | "__id__": 2 24 | } 25 | ], 26 | "_prefab": { 27 | "__id__": 3 28 | }, 29 | "_opacity": 255, 30 | "_color": { 31 | "__type__": "cc.Color", 32 | "r": 255, 33 | "g": 255, 34 | "b": 255, 35 | "a": 255 36 | }, 37 | "_contentSize": { 38 | "__type__": "cc.Size", 39 | "width": 0, 40 | "height": 0 41 | }, 42 | "_anchorPoint": { 43 | "__type__": "cc.Vec2", 44 | "x": 0.5, 45 | "y": 0.5 46 | }, 47 | "_trs": { 48 | "__type__": "TypedArray", 49 | "ctor": "Float64Array", 50 | "array": [ 51 | 0, 52 | 0, 53 | 10, 54 | 0, 55 | 0, 56 | 0, 57 | 1, 58 | 1, 59 | 1, 60 | 1 61 | ] 62 | }, 63 | "_eulerAngles": { 64 | "__type__": "cc.Vec3", 65 | "x": 0, 66 | "y": 0, 67 | "z": 0 68 | }, 69 | "_skewX": 0, 70 | "_skewY": 0, 71 | "_is3DNode": true, 72 | "_groupIndex": 0, 73 | "groupIndex": 0, 74 | "_id": "" 75 | }, 76 | { 77 | "__type__": "cc.Camera", 78 | "_name": "", 79 | "_objFlags": 0, 80 | "node": { 81 | "__id__": 1 82 | }, 83 | "_enabled": true, 84 | "_cullingMask": 4294967295, 85 | "_clearFlags": 6, 86 | "_backgroundColor": { 87 | "__type__": "cc.Color", 88 | "r": 0, 89 | "g": 0, 90 | "b": 0, 91 | "a": 255 92 | }, 93 | "_depth": 0, 94 | "_zoomRatio": 1, 95 | "_targetTexture": null, 96 | "_fov": 60, 97 | "_orthoSize": 10, 98 | "_nearClip": 1, 99 | "_farClip": 1024, 100 | "_ortho": false, 101 | "_rect": { 102 | "__type__": "cc.Rect", 103 | "x": 0, 104 | "y": 0, 105 | "width": 1, 106 | "height": 1 107 | }, 108 | "_renderStages": 1, 109 | "_alignWithScreen": false, 110 | "_id": "" 111 | }, 112 | { 113 | "__type__": "cc.PrefabInfo", 114 | "root": { 115 | "__id__": 1 116 | }, 117 | "asset": { 118 | "__uuid__": "70d7cdb0-04cd-41bb-9480-c06a4785f386" 119 | }, 120 | "fileId": "abdJ5/jGlPzq+iDQghzEti", 121 | "sync": false 122 | } 123 | ] -------------------------------------------------------------------------------- /library/imports/71/71561142-4c83-4933-afca-cb7a17f67053.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Texture2D", 3 | "content": "0,9729,9729,33071,33071,0,0,1" 4 | } -------------------------------------------------------------------------------- /library/imports/71/71561142-4c83-4933-afca-cb7a17f67053.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/71/71561142-4c83-4933-afca-cb7a17f67053.png -------------------------------------------------------------------------------- /library/imports/71/7168db62-0edc-42e5-be5d-682cf6c4a165.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.SpriteFrame", 3 | "content": { 4 | "name": "default_toggle_disabled", 5 | "texture": "c25b9d50-c8fc-4d27-beeb-6e7c1f2e5c0f", 6 | "atlas": "", 7 | "rect": [ 8 | 0, 9 | 0, 10 | 28, 11 | 28 12 | ], 13 | "offset": [ 14 | 0, 15 | 0 16 | ], 17 | "originalSize": [ 18 | 28, 19 | 28 20 | ], 21 | "capInsets": [ 22 | 0, 23 | 0, 24 | 0, 25 | 0 26 | ] 27 | } 28 | } -------------------------------------------------------------------------------- /library/imports/73/73a0903d-d80e-4e3c-aa67-f999543c08f5.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Texture2D", 3 | "content": "0,9729,9729,33071,33071,0,0,1" 4 | } -------------------------------------------------------------------------------- /library/imports/73/73a0903d-d80e-4e3c-aa67-f999543c08f5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/73/73a0903d-d80e-4e3c-aa67-f999543c08f5.png -------------------------------------------------------------------------------- /library/imports/78/785a442c-3ceb-45be-a46e-7317f625f3b9.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "layout", 5 | "_objFlags": 0, 6 | "_native": "", 7 | "data": { 8 | "__id__": 1 9 | }, 10 | "optimizationPolicy": 1, 11 | "asyncLoadAssets": false, 12 | "readonly": false 13 | }, 14 | { 15 | "__type__": "cc.Node", 16 | "_name": "layout", 17 | "_objFlags": 0, 18 | "_parent": null, 19 | "_children": [], 20 | "_active": true, 21 | "_level": 1, 22 | "_components": [ 23 | { 24 | "__id__": 2 25 | }, 26 | { 27 | "__id__": 3 28 | } 29 | ], 30 | "_prefab": { 31 | "__id__": 4 32 | }, 33 | "_opacity": 255, 34 | "_color": { 35 | "__type__": "cc.Color", 36 | "r": 255, 37 | "g": 255, 38 | "b": 255, 39 | "a": 255 40 | }, 41 | "_contentSize": { 42 | "__type__": "cc.Size", 43 | "width": 200, 44 | "height": 150 45 | }, 46 | "_anchorPoint": { 47 | "__type__": "cc.Vec2", 48 | "x": 0.5, 49 | "y": 0.5 50 | }, 51 | "_skewX": 0, 52 | "_skewY": 0, 53 | "_localZOrder": 23, 54 | "groupIndex": 0, 55 | "_id": "", 56 | "_eulerAngles": { 57 | "__type__": "cc.Vec3", 58 | "x": 0, 59 | "y": 0, 60 | "z": 0 61 | }, 62 | "_trs": { 63 | "__type__": "TypedArray", 64 | "ctor": "Float64Array", 65 | "array": [ 66 | 0, 67 | 0, 68 | 0, 69 | 0, 70 | 0, 71 | 0, 72 | 0, 73 | 1, 74 | 1, 75 | 1 76 | ] 77 | } 78 | }, 79 | { 80 | "__type__": "cc.Sprite", 81 | "_name": "", 82 | "_objFlags": 0, 83 | "node": { 84 | "__id__": 1 85 | }, 86 | "_enabled": true, 87 | "_srcBlendFactor": 770, 88 | "_dstBlendFactor": 771, 89 | "_spriteFrame": { 90 | "__uuid__": "9bbda31e-ad49-43c9-aaf2-f7d9896bac69" 91 | }, 92 | "_type": 1, 93 | "_sizeMode": 0, 94 | "_fillType": 0, 95 | "_fillCenter": { 96 | "__type__": "cc.Vec2", 97 | "x": 0, 98 | "y": 0 99 | }, 100 | "_fillStart": 0, 101 | "_fillRange": 0, 102 | "_isTrimmedMode": true, 103 | "_state": 0, 104 | "_atlas": null, 105 | "_id": "2ahobdsPRNsqLW+QOpm+dP" 106 | }, 107 | { 108 | "__type__": "cc.Layout", 109 | "_name": "", 110 | "_objFlags": 0, 111 | "node": { 112 | "__id__": 1 113 | }, 114 | "_enabled": true, 115 | "_layoutSize": { 116 | "__type__": "cc.Size", 117 | "width": 200, 118 | "height": 150 119 | }, 120 | "_resize": 0, 121 | "_N$layoutType": 0, 122 | "_N$padding": 0, 123 | "_N$cellSize": { 124 | "__type__": "cc.Size", 125 | "width": 40, 126 | "height": 40 127 | }, 128 | "_N$startAxis": 0, 129 | "_N$paddingLeft": 0, 130 | "_N$paddingRight": 0, 131 | "_N$paddingTop": 0, 132 | "_N$paddingBottom": 0, 133 | "_N$spacingX": 0, 134 | "_N$spacingY": 0, 135 | "_N$verticalDirection": 1, 136 | "_N$horizontalDirection": 0, 137 | "_id": "bfIqKhkQ5DR4a9m9sj/AzV" 138 | }, 139 | { 140 | "__type__": "cc.PrefabInfo", 141 | "root": { 142 | "__id__": 1 143 | }, 144 | "asset": { 145 | "__uuid__": "785a442c-3ceb-45be-a46e-7317f625f3b9" 146 | }, 147 | "fileId": "7f8d2O3hcNDT55RjJXZrQyg", 148 | "sync": false 149 | } 150 | ] -------------------------------------------------------------------------------- /library/imports/7a/7a17de6e-227a-46b1-8009-e7157d4d3acf.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/7a/7a17de6e-227a-46b1-8009-e7157d4d3acf.bin -------------------------------------------------------------------------------- /library/imports/7a/7a17de6e-227a-46b1-8009-e7157d4d3acf.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Mesh", 4 | "_name": "", 5 | "_objFlags": 0, 6 | "_native": ".bin", 7 | "_vertexBundles": [ 8 | { 9 | "__id__": 1 10 | } 11 | ], 12 | "_primitives": [ 13 | { 14 | "__id__": 6 15 | } 16 | ], 17 | "_minPos": { 18 | "__type__": "cc.Vec3", 19 | "x": -0.5, 20 | "y": -0.5, 21 | "z": -0.499999940395355 22 | }, 23 | "_maxPos": { 24 | "__type__": "cc.Vec3", 25 | "x": 0.5, 26 | "y": 0.5, 27 | "z": 0.5 28 | } 29 | }, 30 | { 31 | "__type__": "cc.mesh.VertexBundle", 32 | "data": { 33 | "__id__": 2 34 | }, 35 | "formats": [ 36 | { 37 | "__id__": 3 38 | }, 39 | { 40 | "__id__": 4 41 | }, 42 | { 43 | "__id__": 5 44 | } 45 | ], 46 | "verticesCount": 129 47 | }, 48 | { 49 | "__type__": "cc.BufferRange", 50 | "offset": 0, 51 | "length": 4128 52 | }, 53 | { 54 | "__type__": "cc.mesh.VertexFormat", 55 | "name": "a_normal", 56 | "type": 5126, 57 | "num": 3, 58 | "normalize": false 59 | }, 60 | { 61 | "__type__": "cc.mesh.VertexFormat", 62 | "name": "a_position", 63 | "type": 5126, 64 | "num": 3, 65 | "normalize": false 66 | }, 67 | { 68 | "__type__": "cc.mesh.VertexFormat", 69 | "name": "a_uv0", 70 | "type": 5126, 71 | "num": 2, 72 | "normalize": false 73 | }, 74 | { 75 | "__type__": "cc.mesh.Primitive", 76 | "vertexBundleIndices": [ 77 | 0 78 | ], 79 | "data": { 80 | "__id__": 7 81 | }, 82 | "indexUnit": 5123, 83 | "topology": 4 84 | }, 85 | { 86 | "__type__": "cc.BufferRange", 87 | "offset": 4128, 88 | "length": 432 89 | } 90 | ] -------------------------------------------------------------------------------- /library/imports/7a/7afd064b-113f-480e-b793-8817d19f63c3.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Material", 3 | "_name": "builtin-2d-spine", 4 | "_objFlags": 0, 5 | "_native": "", 6 | "_effectAsset": { 7 | "__uuid__": "0e93aeaa-0b53-4e40-b8e0-6268b4e07bd7" 8 | }, 9 | "_techniqueData": {} 10 | } -------------------------------------------------------------------------------- /library/imports/7d/7d4ffd94-42d6-4045-9db7-a744229adfc4.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.SpriteFrame", 3 | "content": { 4 | "name": "default_toggle_pressed", 5 | "texture": "b181c1e4-0a72-4a91-bfb0-ae6f36ca60bd", 6 | "atlas": "", 7 | "rect": [ 8 | 0, 9 | 0, 10 | 28, 11 | 28 12 | ], 13 | "offset": [ 14 | 0, 15 | 0 16 | ], 17 | "originalSize": [ 18 | 28, 19 | 28 20 | ], 21 | "capInsets": [ 22 | 0, 23 | 0, 24 | 0, 25 | 0 26 | ] 27 | } 28 | } -------------------------------------------------------------------------------- /library/imports/7d/7de03a80-4457-438d-95a7-3e7cdffd6086.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "tiledmap", 5 | "_objFlags": 0, 6 | "data": { 7 | "__id__": 1 8 | }, 9 | "optimizationPolicy": 1, 10 | "asyncLoadAssets": false, 11 | "readonly": false 12 | }, 13 | { 14 | "__type__": "cc.Node", 15 | "_name": "New TiledMap", 16 | "_objFlags": 0, 17 | "_opacity": 255, 18 | "_color": { 19 | "__type__": "cc.Color", 20 | "r": 255, 21 | "g": 255, 22 | "b": 255, 23 | "a": 255 24 | }, 25 | "_cascadeOpacityEnabled": true, 26 | "_parent": null, 27 | "_anchorPoint": { 28 | "__type__": "cc.Vec2", 29 | "x": 0.5, 30 | "y": 0.5 31 | }, 32 | "_contentSize": { 33 | "__type__": "cc.Size", 34 | "width": 0, 35 | "height": 0 36 | }, 37 | "_children": [], 38 | "_skewX": 0, 39 | "_skewY": 0, 40 | "_localZOrder": 0, 41 | "_globalZOrder": 0, 42 | "_tag": -1, 43 | "_opacityModifyRGB": false, 44 | "_reorderChildDirty": false, 45 | "_id": "", 46 | "_active": true, 47 | "_components": [ 48 | { 49 | "__id__": 2 50 | } 51 | ], 52 | "_prefab": { 53 | "__id__": 3 54 | }, 55 | "_eulerAngles": { 56 | "__type__": "cc.Vec3", 57 | "x": 0, 58 | "y": 0, 59 | "z": 0 60 | }, 61 | "_trs": { 62 | "__type__": "TypedArray", 63 | "ctor": "Float64Array", 64 | "array": [ 65 | 0, 66 | 0, 67 | 0, 68 | 0, 69 | 0, 70 | 0, 71 | 0, 72 | 1, 73 | 1, 74 | 1 75 | ] 76 | } 77 | }, 78 | { 79 | "__type__": "cc.TiledMap", 80 | "_name": "", 81 | "_objFlags": 0, 82 | "node": { 83 | "__id__": 1 84 | }, 85 | "_enabled": true, 86 | "_tmxFile": null 87 | }, 88 | { 89 | "__type__": "cc.PrefabInfo", 90 | "root": { 91 | "__id__": 1 92 | }, 93 | "asset": null, 94 | "fileId": "6d9cbIJlHhJ/4JAwDJiN9SB" 95 | } 96 | ] -------------------------------------------------------------------------------- /library/imports/83/83f5eff8-3385-4f95-9b76-8da0aa1d96cd.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/83/83f5eff8-3385-4f95-9b76-8da0aa1d96cd.bin -------------------------------------------------------------------------------- /library/imports/83/83f5eff8-3385-4f95-9b76-8da0aa1d96cd.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Mesh", 4 | "_name": "", 5 | "_objFlags": 0, 6 | "_native": ".bin", 7 | "_vertexBundles": [ 8 | { 9 | "__id__": 1 10 | } 11 | ], 12 | "_primitives": [ 13 | { 14 | "__id__": 6 15 | } 16 | ], 17 | "_minPos": { 18 | "__type__": "cc.Vec3", 19 | "x": -0.5, 20 | "y": -1, 21 | "z": -0.5 22 | }, 23 | "_maxPos": { 24 | "__type__": "cc.Vec3", 25 | "x": 0.5, 26 | "y": 1, 27 | "z": 0.5 28 | } 29 | }, 30 | { 31 | "__type__": "cc.mesh.VertexBundle", 32 | "data": { 33 | "__id__": 2 34 | }, 35 | "formats": [ 36 | { 37 | "__id__": 3 38 | }, 39 | { 40 | "__id__": 4 41 | }, 42 | { 43 | "__id__": 5 44 | } 45 | ], 46 | "verticesCount": 1155 47 | }, 48 | { 49 | "__type__": "cc.BufferRange", 50 | "offset": 0, 51 | "length": 36960 52 | }, 53 | { 54 | "__type__": "cc.mesh.VertexFormat", 55 | "name": "a_normal", 56 | "type": 5126, 57 | "num": 3, 58 | "normalize": false 59 | }, 60 | { 61 | "__type__": "cc.mesh.VertexFormat", 62 | "name": "a_position", 63 | "type": 5126, 64 | "num": 3, 65 | "normalize": false 66 | }, 67 | { 68 | "__type__": "cc.mesh.VertexFormat", 69 | "name": "a_uv0", 70 | "type": 5126, 71 | "num": 2, 72 | "normalize": false 73 | }, 74 | { 75 | "__type__": "cc.mesh.Primitive", 76 | "vertexBundleIndices": [ 77 | 0 78 | ], 79 | "data": { 80 | "__id__": 7 81 | }, 82 | "indexUnit": 5123, 83 | "topology": 4 84 | }, 85 | { 86 | "__type__": "cc.BufferRange", 87 | "offset": 36960, 88 | "length": 12288 89 | } 90 | ] -------------------------------------------------------------------------------- /library/imports/88/88e79fd5-96b4-4a77-a1f4-312467171014.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.SpriteFrame", 3 | "content": { 4 | "name": "default_progressbar_bg", 5 | "texture": "99170b0b-d210-46f1-b213-7d9e3f23098a", 6 | "atlas": "", 7 | "rect": [ 8 | 0, 9 | 0, 10 | 60, 11 | 15 12 | ], 13 | "offset": [ 14 | 0, 15 | 0 16 | ], 17 | "originalSize": [ 18 | 60, 19 | 15 20 | ], 21 | "capInsets": [ 22 | 10, 23 | 4, 24 | 10, 25 | 4 26 | ] 27 | } 28 | } -------------------------------------------------------------------------------- /library/imports/89/897ef7a1-4860-4f64-968d-f5924b18668a.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "2d-camera", 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": "2D Camera", 17 | "_objFlags": 0, 18 | "_parent": null, 19 | "_children": [], 20 | "_active": true, 21 | "_components": [ 22 | { 23 | "__id__": 2 24 | } 25 | ], 26 | "_prefab": { 27 | "__id__": 3 28 | }, 29 | "_opacity": 255, 30 | "_color": { 31 | "__type__": "cc.Color", 32 | "r": 255, 33 | "g": 255, 34 | "b": 255, 35 | "a": 255 36 | }, 37 | "_contentSize": { 38 | "__type__": "cc.Size", 39 | "width": 0, 40 | "height": 0 41 | }, 42 | "_anchorPoint": { 43 | "__type__": "cc.Vec2", 44 | "x": 0.5, 45 | "y": 0.5 46 | }, 47 | "_trs": { 48 | "__type__": "TypedArray", 49 | "ctor": "Float64Array", 50 | "array": [ 51 | 0, 52 | 0, 53 | 554.2562584220408, 54 | 0, 55 | 0, 56 | 0, 57 | 1, 58 | 1, 59 | 1, 60 | 1 61 | ] 62 | }, 63 | "_eulerAngles": { 64 | "__type__": "cc.Vec3", 65 | "x": 0, 66 | "y": 0, 67 | "z": 0 68 | }, 69 | "_skewX": 0, 70 | "_skewY": 0, 71 | "_is3DNode": false, 72 | "_groupIndex": 0, 73 | "groupIndex": 0, 74 | "_id": "" 75 | }, 76 | { 77 | "__type__": "cc.Camera", 78 | "_name": "", 79 | "_objFlags": 0, 80 | "node": { 81 | "__id__": 1 82 | }, 83 | "_enabled": true, 84 | "_cullingMask": 4294967295, 85 | "_clearFlags": 6, 86 | "_backgroundColor": { 87 | "__type__": "cc.Color", 88 | "r": 0, 89 | "g": 0, 90 | "b": 0, 91 | "a": 255 92 | }, 93 | "_depth": 0, 94 | "_zoomRatio": 1, 95 | "_targetTexture": null, 96 | "_fov": 60, 97 | "_orthoSize": 10, 98 | "_nearClip": 0.1, 99 | "_farClip": 4096, 100 | "_ortho": true, 101 | "_rect": { 102 | "__type__": "cc.Rect", 103 | "x": 0, 104 | "y": 0, 105 | "width": 1, 106 | "height": 1 107 | }, 108 | "_renderStages": 1, 109 | "_alignWithScreen": true, 110 | "_id": "" 111 | }, 112 | { 113 | "__type__": "cc.PrefabInfo", 114 | "root": { 115 | "__id__": 1 116 | }, 117 | "asset": { 118 | "__uuid__": "897ef7a1-4860-4f64-968d-f5924b18668a" 119 | }, 120 | "fileId": "abdJ5/jGlPzq+iDQghzEti", 121 | "sync": false 122 | } 123 | ] -------------------------------------------------------------------------------- /library/imports/8a/8a96b965-2dc0-4e03-aa90-3b79cb93b5b4.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Texture2D", 3 | "content": "0,9729,9729,33071,33071,0,0,1" 4 | } -------------------------------------------------------------------------------- /library/imports/8a/8a96b965-2dc0-4e03-aa90-3b79cb93b5b4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/8a/8a96b965-2dc0-4e03-aa90-3b79cb93b5b4.png -------------------------------------------------------------------------------- /library/imports/8c/8c5001fd-07ee-4a4b-a8a0-63e15195e94d.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "webview", 5 | "_objFlags": 0, 6 | "_native": "", 7 | "data": { 8 | "__id__": 1 9 | }, 10 | "optimizationPolicy": 1, 11 | "asyncLoadAssets": false, 12 | "readonly": false 13 | }, 14 | { 15 | "__type__": "cc.Node", 16 | "_name": "webview", 17 | "_objFlags": 0, 18 | "_parent": null, 19 | "_children": [], 20 | "_active": true, 21 | "_level": 1, 22 | "_components": [ 23 | { 24 | "__id__": 2 25 | } 26 | ], 27 | "_prefab": { 28 | "__id__": 3 29 | }, 30 | "_opacity": 255, 31 | "_color": { 32 | "__type__": "cc.Color", 33 | "r": 255, 34 | "g": 255, 35 | "b": 255, 36 | "a": 255 37 | }, 38 | "_contentSize": { 39 | "__type__": "cc.Size", 40 | "width": 300, 41 | "height": 200 42 | }, 43 | "_anchorPoint": { 44 | "__type__": "cc.Vec2", 45 | "x": 0.5, 46 | "y": 0.5 47 | }, 48 | "_skewX": 0, 49 | "_skewY": 0, 50 | "_localZOrder": 55, 51 | "groupIndex": 0, 52 | "_id": "", 53 | "_eulerAngles": { 54 | "__type__": "cc.Vec3", 55 | "x": 0, 56 | "y": 0, 57 | "z": 0 58 | }, 59 | "_trs": { 60 | "__type__": "TypedArray", 61 | "ctor": "Float64Array", 62 | "array": [ 63 | 0, 64 | 0, 65 | 0, 66 | 0, 67 | 0, 68 | 0, 69 | 0, 70 | 1, 71 | 1, 72 | 1 73 | ] 74 | } 75 | }, 76 | { 77 | "__type__": "cc.WebView", 78 | "_name": "", 79 | "_objFlags": 0, 80 | "node": { 81 | "__id__": 1 82 | }, 83 | "_enabled": true, 84 | "_useOriginalSize": false, 85 | "_url": "", 86 | "webviewEvents": [], 87 | "_id": "12QHFUfdhF+4w/zU5gB7ZI" 88 | }, 89 | { 90 | "__type__": "cc.PrefabInfo", 91 | "root": { 92 | "__id__": 1 93 | }, 94 | "asset": { 95 | "__uuid__": "8c5001fd-07ee-4a4b-a8a0-63e15195e94d" 96 | }, 97 | "fileId": "2fb356PwclC8L2CbHhqGUVr", 98 | "sync": false 99 | } 100 | ] -------------------------------------------------------------------------------- /library/imports/8c/8cdb44ac-a3f6-449f-b354-7cd48cf84061.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.SpriteFrame", 3 | "content": { 4 | "name": "default_sprite", 5 | "texture": "6e056173-d285-473c-b206-40a7fff5386e", 6 | "atlas": "", 7 | "rect": [ 8 | 0, 9 | 2, 10 | 40, 11 | 36 12 | ], 13 | "offset": [ 14 | 0, 15 | 0 16 | ], 17 | "originalSize": [ 18 | 40, 19 | 40 20 | ], 21 | "capInsets": [ 22 | 0, 23 | 0, 24 | 0, 25 | 0 26 | ] 27 | } 28 | } -------------------------------------------------------------------------------- /library/imports/90/90004ad6-2f6d-40e1-93ef-b714375c6f06.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.SpriteFrame", 3 | "content": { 4 | "name": "default_toggle_checkmark", 5 | "texture": "73a0903d-d80e-4e3c-aa67-f999543c08f5", 6 | "atlas": "", 7 | "rect": [ 8 | 4, 9 | 5, 10 | 20, 11 | 18 12 | ], 13 | "offset": [ 14 | 0, 15 | 0 16 | ], 17 | "originalSize": [ 18 | 28, 19 | 28 20 | ], 21 | "capInsets": [ 22 | 0, 23 | 0, 24 | 0, 25 | 0 26 | ] 27 | } 28 | } -------------------------------------------------------------------------------- /library/imports/95/954fec8b-cd16-4bb9-a3b7-7719660e7558.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Model", 3 | "_name": "primitives", 4 | "_objFlags": 0, 5 | "_native": "", 6 | "_nodes": [ 7 | { 8 | "name": "RootNode", 9 | "scale": [ 10 | 1, 11 | 1, 12 | 1 13 | ], 14 | "children": [ 15 | 1, 16 | 2, 17 | 3, 18 | 4, 19 | 5, 20 | 6, 21 | 7, 22 | 8 23 | ], 24 | "position": [ 25 | 0, 26 | 0, 27 | 0 28 | ], 29 | "quat": [ 30 | 0, 31 | 0, 32 | 0, 33 | 1 34 | ], 35 | "path": "" 36 | }, 37 | { 38 | "name": "capsule", 39 | "scale": [ 40 | 100, 41 | 100, 42 | 100 43 | ], 44 | "mesh": 0, 45 | "parent": null, 46 | "position": [ 47 | 0, 48 | 0, 49 | 0 50 | ], 51 | "quat": [ 52 | 8.14603353660459e-8, 53 | 0, 54 | 0, 55 | 1 56 | ], 57 | "path": "capsule" 58 | }, 59 | { 60 | "name": "plane", 61 | "scale": [ 62 | 100, 63 | 100, 64 | 100 65 | ], 66 | "mesh": 1, 67 | "parent": null, 68 | "position": [ 69 | 0, 70 | 0, 71 | 0 72 | ], 73 | "quat": [ 74 | 8.14603353660459e-8, 75 | 0, 76 | 0, 77 | 1 78 | ], 79 | "path": "plane" 80 | }, 81 | { 82 | "name": "cone", 83 | "scale": [ 84 | 100, 85 | 100, 86 | 100 87 | ], 88 | "mesh": 2, 89 | "parent": null, 90 | "position": [ 91 | 0, 92 | 0, 93 | 0 94 | ], 95 | "quat": [ 96 | -0.707106828689575, 97 | 0, 98 | 0, 99 | 0.707106709480286 100 | ], 101 | "path": "cone" 102 | }, 103 | { 104 | "name": "torus", 105 | "scale": [ 106 | 100, 107 | 100, 108 | 100 109 | ], 110 | "mesh": 3, 111 | "parent": null, 112 | "position": [ 113 | 0, 114 | 0, 115 | 0 116 | ], 117 | "quat": [ 118 | 8.14603353660459e-8, 119 | 0, 120 | 0, 121 | 1 122 | ], 123 | "path": "torus" 124 | }, 125 | { 126 | "name": "sphere", 127 | "scale": [ 128 | 100, 129 | 100, 130 | 100 131 | ], 132 | "mesh": 4, 133 | "parent": null, 134 | "position": [ 135 | 0, 136 | 0, 137 | 0 138 | ], 139 | "quat": [ 140 | 8.14603353660459e-8, 141 | 0, 142 | 0, 143 | 1 144 | ], 145 | "path": "sphere" 146 | }, 147 | { 148 | "name": "quad", 149 | "scale": [ 150 | 100, 151 | 100, 152 | 100 153 | ], 154 | "mesh": 5, 155 | "parent": null, 156 | "position": [ 157 | 0, 158 | 0, 159 | 0 160 | ], 161 | "quat": [ 162 | 8.14603353660459e-8, 163 | 0, 164 | 0, 165 | 1 166 | ], 167 | "path": "quad" 168 | }, 169 | { 170 | "name": "cylinder", 171 | "scale": [ 172 | 100, 173 | 100, 174 | 100 175 | ], 176 | "mesh": 6, 177 | "parent": null, 178 | "position": [ 179 | 0, 180 | 0, 181 | 0 182 | ], 183 | "quat": [ 184 | 8.14603353660459e-8, 185 | 0, 186 | 0, 187 | 1 188 | ], 189 | "path": "cylinder" 190 | }, 191 | { 192 | "name": "box", 193 | "scale": [ 194 | 100, 195 | 100, 196 | 100 197 | ], 198 | "mesh": 7, 199 | "parent": null, 200 | "position": [ 201 | 0, 202 | 0, 203 | 0 204 | ], 205 | "quat": [ 206 | 8.14603353660459e-8, 207 | 0, 208 | 0, 209 | 1 210 | ], 211 | "path": "box" 212 | } 213 | ], 214 | "_precomputeJointMatrix": false 215 | } -------------------------------------------------------------------------------- /library/imports/96/96083d03-c332-4a3f-9386-d03e2d19e8ee.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "sprite", 5 | "_objFlags": 0, 6 | "data": { 7 | "__id__": 1 8 | }, 9 | "optimizationPolicy": 1, 10 | "asyncLoadAssets": false, 11 | "readonly": false 12 | }, 13 | { 14 | "__type__": "cc.Node", 15 | "_name": "Sprite", 16 | "_objFlags": 0, 17 | "_opacity": 255, 18 | "_color": { 19 | "__type__": "cc.Color", 20 | "r": 255, 21 | "g": 255, 22 | "b": 255, 23 | "a": 255 24 | }, 25 | "_cascadeOpacityEnabled": true, 26 | "_parent": null, 27 | "_anchorPoint": { 28 | "__type__": "cc.Vec2", 29 | "x": 0.5, 30 | "y": 0.5 31 | }, 32 | "_contentSize": { 33 | "__type__": "cc.Size", 34 | "width": 40, 35 | "height": 36 36 | }, 37 | "_children": [], 38 | "_skewX": 0, 39 | "_skewY": 0, 40 | "_localZOrder": 0, 41 | "_globalZOrder": 0, 42 | "_tag": -1, 43 | "_opacityModifyRGB": false, 44 | "_reorderChildDirty": false, 45 | "_id": "", 46 | "_active": true, 47 | "_components": [ 48 | { 49 | "__id__": 2 50 | } 51 | ], 52 | "_prefab": { 53 | "__id__": 3 54 | }, 55 | "_eulerAngles": { 56 | "__type__": "cc.Vec3", 57 | "x": 0, 58 | "y": 0, 59 | "z": 0 60 | }, 61 | "_trs": { 62 | "__type__": "TypedArray", 63 | "ctor": "Float64Array", 64 | "array": [ 65 | 0, 66 | 0, 67 | 0, 68 | 0, 69 | 0, 70 | 0, 71 | 0, 72 | 1, 73 | 1, 74 | 1 75 | ] 76 | } 77 | }, 78 | { 79 | "__type__": "cc.Sprite", 80 | "_name": "", 81 | "_objFlags": 0, 82 | "node": { 83 | "__id__": 1 84 | }, 85 | "_enabled": true, 86 | "_spriteFrame": { 87 | "__uuid__": "8cdb44ac-a3f6-449f-b354-7cd48cf84061" 88 | }, 89 | "_type": 0, 90 | "_sizeMode": 1, 91 | "_fillType": 0, 92 | "_fillCenter": { 93 | "__type__": "cc.Vec2", 94 | "x": 0, 95 | "y": 0 96 | }, 97 | "_fillStart": 0, 98 | "_fillRange": 0, 99 | "_isTrimmedMode": true, 100 | "_srcBlendFactor": 770, 101 | "_dstBlendFactor": 771, 102 | "_atlas": null 103 | }, 104 | { 105 | "__type__": "cc.PrefabInfo", 106 | "root": { 107 | "__id__": 1 108 | }, 109 | "asset": null, 110 | "fileId": "d7118yAG5lKybkFOAh8koPL" 111 | } 112 | ] -------------------------------------------------------------------------------- /library/imports/99/99170b0b-d210-46f1-b213-7d9e3f23098a.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Texture2D", 3 | "content": "0,9729,9729,33071,33071,0,0,1" 4 | } -------------------------------------------------------------------------------- /library/imports/99/99170b0b-d210-46f1-b213-7d9e3f23098a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/99/99170b0b-d210-46f1-b213-7d9e3f23098a.png -------------------------------------------------------------------------------- /library/imports/9b/9bbda31e-ad49-43c9-aaf2-f7d9896bac69.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.SpriteFrame", 3 | "content": { 4 | "name": "default_panel", 5 | "texture": "d81ec8ad-247c-4e62-aa3c-d35c4193c7af", 6 | "atlas": "", 7 | "rect": [ 8 | 0, 9 | 0, 10 | 20, 11 | 20 12 | ], 13 | "offset": [ 14 | 0, 15 | 0 16 | ], 17 | "originalSize": [ 18 | 20, 19 | 20 20 | ], 21 | "capInsets": [ 22 | 6, 23 | 6, 24 | 6, 25 | 6 26 | ] 27 | } 28 | } -------------------------------------------------------------------------------- /library/imports/9d/9d60001f-b5f4-4726-a629-2659e3ded0b8.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Texture2D", 3 | "content": "0,9729,9729,33071,33071,0,0,1" 4 | } -------------------------------------------------------------------------------- /library/imports/9d/9d60001f-b5f4-4726-a629-2659e3ded0b8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/9d/9d60001f-b5f4-4726-a629-2659e3ded0b8.png -------------------------------------------------------------------------------- /library/imports/a1/a1ef2fc9-9c57-418a-8f69-6bed9a7a0e7f.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/a1/a1ef2fc9-9c57-418a-8f69-6bed9a7a0e7f.bin -------------------------------------------------------------------------------- /library/imports/a1/a1ef2fc9-9c57-418a-8f69-6bed9a7a0e7f.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Mesh", 4 | "_name": "", 5 | "_objFlags": 0, 6 | "_native": ".bin", 7 | "_vertexBundles": [ 8 | { 9 | "__id__": 1 10 | } 11 | ], 12 | "_primitives": [ 13 | { 14 | "__id__": 6 15 | } 16 | ], 17 | "_minPos": { 18 | "__type__": "cc.Vec3", 19 | "x": -5, 20 | "y": 0, 21 | "z": -5 22 | }, 23 | "_maxPos": { 24 | "__type__": "cc.Vec3", 25 | "x": 5, 26 | "y": 0, 27 | "z": 5 28 | } 29 | }, 30 | { 31 | "__type__": "cc.mesh.VertexBundle", 32 | "data": { 33 | "__id__": 2 34 | }, 35 | "formats": [ 36 | { 37 | "__id__": 3 38 | }, 39 | { 40 | "__id__": 4 41 | }, 42 | { 43 | "__id__": 5 44 | } 45 | ], 46 | "verticesCount": 121 47 | }, 48 | { 49 | "__type__": "cc.BufferRange", 50 | "offset": 0, 51 | "length": 3872 52 | }, 53 | { 54 | "__type__": "cc.mesh.VertexFormat", 55 | "name": "a_normal", 56 | "type": 5126, 57 | "num": 3, 58 | "normalize": false 59 | }, 60 | { 61 | "__type__": "cc.mesh.VertexFormat", 62 | "name": "a_position", 63 | "type": 5126, 64 | "num": 3, 65 | "normalize": false 66 | }, 67 | { 68 | "__type__": "cc.mesh.VertexFormat", 69 | "name": "a_uv0", 70 | "type": 5126, 71 | "num": 2, 72 | "normalize": false 73 | }, 74 | { 75 | "__type__": "cc.mesh.Primitive", 76 | "vertexBundleIndices": [ 77 | 0 78 | ], 79 | "data": { 80 | "__id__": 7 81 | }, 82 | "indexUnit": 5123, 83 | "topology": 4 84 | }, 85 | { 86 | "__type__": "cc.BufferRange", 87 | "offset": 3872, 88 | "length": 1200 89 | } 90 | ] -------------------------------------------------------------------------------- /library/imports/a2/a23235d1-15db-4b95-8439-a2e005bfff91.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.SpriteFrame", 3 | "content": { 4 | "name": "default_sprite_splash", 5 | "texture": "0275e94c-56a7-410f-bd1a-fc7483f7d14a", 6 | "atlas": "", 7 | "rect": [ 8 | 0, 9 | 0, 10 | 2, 11 | 2 12 | ], 13 | "offset": [ 14 | 0, 15 | 0 16 | ], 17 | "originalSize": [ 18 | 2, 19 | 2 20 | ], 21 | "capInsets": [ 22 | 0, 23 | 0, 24 | 0, 25 | 0 26 | ] 27 | } 28 | } -------------------------------------------------------------------------------- /library/imports/a5/a579b610-0aa7-4a8b-b36b-be34cc834dcc.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/a5/a579b610-0aa7-4a8b-b36b-be34cc834dcc.bin -------------------------------------------------------------------------------- /library/imports/a5/a579b610-0aa7-4a8b-b36b-be34cc834dcc.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.BufferAsset", 3 | "_name": "buffer", 4 | "_objFlags": 0, 5 | "_native": ".bin", 6 | "buffer": null 7 | } -------------------------------------------------------------------------------- /library/imports/a5/a5849239-3ad3-41d1-8ab4-ae9fea11f97f.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Material", 3 | "_name": "", 4 | "_objFlags": 0, 5 | "_native": "", 6 | "_effectAsset": { 7 | "__uuid__": "abc2cb62-7852-4525-a90d-d474487b88f2" 8 | }, 9 | "_techniqueIndex": 0, 10 | "_techniqueData": { 11 | "0": { 12 | "props": { 13 | "diffuseColor": { 14 | "__type__": "cc.Color", 15 | "r": 127, 16 | "g": 127, 17 | "b": 127, 18 | "a": 255 19 | } 20 | }, 21 | "defines": {} 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /library/imports/a8/a87cc147-01b2-43f8-8e42-a7ca90b0c757.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "box", 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": "box", 17 | "_objFlags": 0, 18 | "_parent": null, 19 | "_children": [], 20 | "_active": true, 21 | "_components": [ 22 | { 23 | "__id__": 2 24 | } 25 | ], 26 | "_prefab": { 27 | "__id__": 3 28 | }, 29 | "_opacity": 255, 30 | "_color": { 31 | "__type__": "cc.Color", 32 | "r": 255, 33 | "g": 255, 34 | "b": 255, 35 | "a": 255 36 | }, 37 | "_contentSize": { 38 | "__type__": "cc.Size", 39 | "width": 0, 40 | "height": 0 41 | }, 42 | "_anchorPoint": { 43 | "__type__": "cc.Vec2", 44 | "x": 0.5, 45 | "y": 0.5 46 | }, 47 | "_trs": { 48 | "__type__": "TypedArray", 49 | "ctor": "Float64Array", 50 | "array": [ 51 | 0, 52 | 0, 53 | 0, 54 | 0, 55 | 0, 56 | 0, 57 | 1, 58 | 1, 59 | 1, 60 | 1 61 | ] 62 | }, 63 | "_eulerAngles": { 64 | "__type__": "cc.Vec3", 65 | "x": 0, 66 | "y": 0, 67 | "z": 0 68 | }, 69 | "_skewX": 0, 70 | "_skewY": 0, 71 | "_is3DNode": true, 72 | "_groupIndex": 0, 73 | "groupIndex": 0, 74 | "_id": "" 75 | }, 76 | { 77 | "__type__": "cc.MeshRenderer", 78 | "_name": "", 79 | "_objFlags": 0, 80 | "node": { 81 | "__id__": 1 82 | }, 83 | "_enabled": true, 84 | "_materials": [ 85 | { 86 | "__uuid__": "a5849239-3ad3-41d1-8ab4-ae9fea11f97f" 87 | } 88 | ], 89 | "_mesh": { 90 | "__uuid__": "046f172c-1574-488b-bbb8-6415a9adb96d" 91 | }, 92 | "_receiveShadows": false, 93 | "_shadowCastingMode": 0, 94 | "_enableAutoBatch": false, 95 | "textures": [], 96 | "_id": "" 97 | }, 98 | { 99 | "__type__": "cc.PrefabInfo", 100 | "root": { 101 | "__id__": 1 102 | }, 103 | "asset": { 104 | "__uuid__": "a87cc147-01b2-43f8-8e42-a7ca90b0c757" 105 | }, 106 | "fileId": "04A14e1BZJxrPk6zgr35H5", 107 | "sync": false 108 | } 109 | ] -------------------------------------------------------------------------------- /library/imports/ae/ae293806-f3c9-4977-8ee4-004a4f2c76ca.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Texture2D", 3 | "content": "0,9729,9729,33071,33071,0,0,1" 4 | } -------------------------------------------------------------------------------- /library/imports/ae/ae293806-f3c9-4977-8ee4-004a4f2c76ca.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/ae/ae293806-f3c9-4977-8ee4-004a4f2c76ca.png -------------------------------------------------------------------------------- /library/imports/b1/b181c1e4-0a72-4a91-bfb0-ae6f36ca60bd.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Texture2D", 3 | "content": "0,9729,9729,33071,33071,0,0,1" 4 | } -------------------------------------------------------------------------------- /library/imports/b1/b181c1e4-0a72-4a91-bfb0-ae6f36ca60bd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/b1/b181c1e4-0a72-4a91-bfb0-ae6f36ca60bd.png -------------------------------------------------------------------------------- /library/imports/b2/b2687ac4-099e-403c-a192-ff477686f4f5.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.ParticleAsset", 3 | "_name": "atom", 4 | "_objFlags": 0, 5 | "_native": ".plist", 6 | "spriteFrame": { 7 | "__uuid__": "472df5d3-35e7-4184-9e6c-7f41bee65ee3" 8 | } 9 | } -------------------------------------------------------------------------------- /library/imports/b2/b2687ac4-099e-403c-a192-ff477686f4f5.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | angle 6 | 360 7 | angleVariance 8 | 360 9 | blendFuncDestination 10 | 1 11 | blendFuncSource 12 | 770 13 | duration 14 | -1 15 | emitterType 16 | 0 17 | finishColorAlpha 18 | 0.8399999737739563 19 | finishColorBlue 20 | 0.0771484375 21 | finishColorGreen 22 | 0.6349284052848816 23 | finishColorRed 24 | 0.6808268427848816 25 | finishColorVarianceAlpha 26 | 0.7400000095367432 27 | finishColorVarianceBlue 28 | 0.9800000190734863 29 | finishColorVarianceGreen 30 | 0.9800000190734863 31 | finishColorVarianceRed 32 | 0.41999998688697815 33 | finishParticleSize 34 | 30.31999969482422 35 | finishParticleSizeVariance 36 | 0 37 | gravityx 38 | 0.25 39 | gravityy 40 | 0.8600000143051147 41 | maxParticles 42 | 200 43 | maxRadius 44 | 100 45 | maxRadiusVariance 46 | 0 47 | minRadius 48 | 0 49 | particleLifespan 50 | 0.20000000298023224 51 | particleLifespanVariance 52 | 0.5 53 | radialAccelVariance 54 | 65.79000091552734 55 | radialAcceleration 56 | -671.0499877929688 57 | rotatePerSecond 58 | 0 59 | rotatePerSecondVariance 60 | 0 61 | rotationEnd 62 | -47.369998931884766 63 | rotationEndVariance 64 | -142.11000061035156 65 | rotationStart 66 | -47.369998931884766 67 | rotationStartVariance 68 | 0 69 | sourcePositionVariancex 70 | 7 71 | sourcePositionVariancey 72 | 7 73 | sourcePositionx 74 | 373.7277526855469 75 | sourcePositiony 76 | 478.40472412109375 77 | speed 78 | 0 79 | speedVariance 80 | 190.7899932861328 81 | startColorAlpha 82 | 0.6399999856948853 83 | startColorBlue 84 | 0.3375650942325592 85 | startColorGreen 86 | 0.7879231572151184 87 | startColorRed 88 | 0.794921875 89 | startColorVarianceAlpha 90 | 0.7799999713897705 91 | startColorVarianceBlue 92 | 0.6800000071525574 93 | startColorVarianceGreen 94 | 1 95 | startColorVarianceRed 96 | 0.8999999761581421 97 | startParticleSize 98 | 3.369999885559082 99 | startParticleSizeVariance 100 | 50 101 | tangentialAccelVariance 102 | 65.79000091552734 103 | tangentialAcceleration 104 | -92.11000061035156 105 | spriteFrameUuid 106 | 472df5d3-35e7-4184-9e6c-7f41bee65ee3 107 | 108 | -------------------------------------------------------------------------------- /library/imports/b4/b430cea3-6ab3-4106-b073-26c698918edd.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/b4/b430cea3-6ab3-4106-b073-26c698918edd.bin -------------------------------------------------------------------------------- /library/imports/b4/b430cea3-6ab3-4106-b073-26c698918edd.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Mesh", 4 | "_name": "", 5 | "_objFlags": 0, 6 | "_native": ".bin", 7 | "_vertexBundles": [ 8 | { 9 | "__id__": 1 10 | } 11 | ], 12 | "_primitives": [ 13 | { 14 | "__id__": 6 15 | } 16 | ], 17 | "_minPos": { 18 | "__type__": "cc.Vec3", 19 | "x": -0.5, 20 | "y": -1, 21 | "z": -0.5 22 | }, 23 | "_maxPos": { 24 | "__type__": "cc.Vec3", 25 | "x": 0.5, 26 | "y": 1, 27 | "z": 0.5 28 | } 29 | }, 30 | { 31 | "__type__": "cc.mesh.VertexBundle", 32 | "data": { 33 | "__id__": 2 34 | }, 35 | "formats": [ 36 | { 37 | "__id__": 3 38 | }, 39 | { 40 | "__id__": 4 41 | }, 42 | { 43 | "__id__": 5 44 | } 45 | ], 46 | "verticesCount": 193 47 | }, 48 | { 49 | "__type__": "cc.BufferRange", 50 | "offset": 0, 51 | "length": 6176 52 | }, 53 | { 54 | "__type__": "cc.mesh.VertexFormat", 55 | "name": "a_normal", 56 | "type": 5126, 57 | "num": 3, 58 | "normalize": false 59 | }, 60 | { 61 | "__type__": "cc.mesh.VertexFormat", 62 | "name": "a_position", 63 | "type": 5126, 64 | "num": 3, 65 | "normalize": false 66 | }, 67 | { 68 | "__type__": "cc.mesh.VertexFormat", 69 | "name": "a_uv0", 70 | "type": 5126, 71 | "num": 2, 72 | "normalize": false 73 | }, 74 | { 75 | "__type__": "cc.mesh.Primitive", 76 | "vertexBundleIndices": [ 77 | 0 78 | ], 79 | "data": { 80 | "__id__": 7 81 | }, 82 | "indexUnit": 5123, 83 | "topology": 4 84 | }, 85 | { 86 | "__type__": "cc.BufferRange", 87 | "offset": 6176, 88 | "length": 768 89 | } 90 | ] -------------------------------------------------------------------------------- /library/imports/b4/b43ff3c2-02bb-4874-81f7-f2dea6970f18.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Texture2D", 3 | "content": "0,9729,9729,33071,33071,0,0,1" 4 | } -------------------------------------------------------------------------------- /library/imports/b4/b43ff3c2-02bb-4874-81f7-f2dea6970f18.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/b4/b43ff3c2-02bb-4874-81f7-f2dea6970f18.png -------------------------------------------------------------------------------- /library/imports/b5/b5fc2cf2-7942-483d-be1f-bbeadc4714ad.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "cone", 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": "cone", 17 | "_objFlags": 0, 18 | "_parent": null, 19 | "_children": [], 20 | "_active": true, 21 | "_components": [ 22 | { 23 | "__id__": 2 24 | } 25 | ], 26 | "_prefab": { 27 | "__id__": 3 28 | }, 29 | "_opacity": 255, 30 | "_color": { 31 | "__type__": "cc.Color", 32 | "r": 255, 33 | "g": 255, 34 | "b": 255, 35 | "a": 255 36 | }, 37 | "_contentSize": { 38 | "__type__": "cc.Size", 39 | "width": 0, 40 | "height": 0 41 | }, 42 | "_anchorPoint": { 43 | "__type__": "cc.Vec2", 44 | "x": 0.5, 45 | "y": 0.5 46 | }, 47 | "_trs": { 48 | "__type__": "TypedArray", 49 | "ctor": "Float64Array", 50 | "array": [ 51 | 0, 52 | 0, 53 | 0, 54 | -0.7071068286895765, 55 | 0, 56 | 0, 57 | 0.7071067336835153, 58 | 1, 59 | 1, 60 | 1 61 | ] 62 | }, 63 | "_eulerAngles": { 64 | "__type__": "cc.Vec3", 65 | "x": -90.00000769819565, 66 | "y": 0, 67 | "z": 0 68 | }, 69 | "_skewX": 0, 70 | "_skewY": 0, 71 | "_is3DNode": true, 72 | "_groupIndex": 0, 73 | "groupIndex": 0, 74 | "_id": "" 75 | }, 76 | { 77 | "__type__": "cc.MeshRenderer", 78 | "_name": "", 79 | "_objFlags": 0, 80 | "node": { 81 | "__id__": 1 82 | }, 83 | "_enabled": true, 84 | "_materials": [ 85 | { 86 | "__uuid__": "a5849239-3ad3-41d1-8ab4-ae9fea11f97f" 87 | } 88 | ], 89 | "_mesh": { 90 | "__uuid__": "7a17de6e-227a-46b1-8009-e7157d4d3acf" 91 | }, 92 | "_receiveShadows": false, 93 | "_shadowCastingMode": 0, 94 | "_enableAutoBatch": false, 95 | "textures": [], 96 | "_id": "" 97 | }, 98 | { 99 | "__type__": "cc.PrefabInfo", 100 | "root": { 101 | "__id__": 1 102 | }, 103 | "asset": { 104 | "__uuid__": "b5fc2cf2-7942-483d-be1f-bbeadc4714ad" 105 | }, 106 | "fileId": "71bfK5TRVH64FzEUsiCu4S", 107 | "sync": false 108 | } 109 | ] -------------------------------------------------------------------------------- /library/imports/b8/b8223619-7e38-47c4-841f-9160c232495a.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.ParticleAsset", 3 | "_name": "atom", 4 | "_objFlags": 0, 5 | "_native": ".plist", 6 | "spriteFrame": { 7 | "__uuid__": "bb42ed8e-0867-4584-ad63-b6f84f83bba8" 8 | } 9 | } -------------------------------------------------------------------------------- /library/imports/b8/b8223619-7e38-47c4-841f-9160c232495a.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | angle 6 | 360 7 | angleVariance 8 | 360 9 | blendFuncDestination 10 | 1 11 | blendFuncSource 12 | 770 13 | duration 14 | -1 15 | emitterType 16 | 0 17 | finishColorAlpha 18 | 0.8399999737739563 19 | finishColorBlue 20 | 0.0771484375 21 | finishColorGreen 22 | 0.6349284052848816 23 | finishColorRed 24 | 0.6808268427848816 25 | finishColorVarianceAlpha 26 | 0.7400000095367432 27 | finishColorVarianceBlue 28 | 0.9800000190734863 29 | finishColorVarianceGreen 30 | 0.9800000190734863 31 | finishColorVarianceRed 32 | 0.41999998688697815 33 | finishParticleSize 34 | 30.31999969482422 35 | finishParticleSizeVariance 36 | 0 37 | gravityx 38 | 0.25 39 | gravityy 40 | 0.8600000143051147 41 | maxParticles 42 | 200 43 | maxRadius 44 | 100 45 | maxRadiusVariance 46 | 0 47 | minRadius 48 | 0 49 | particleLifespan 50 | 0.20000000298023224 51 | particleLifespanVariance 52 | 0.5 53 | radialAccelVariance 54 | 65.79000091552734 55 | radialAcceleration 56 | -671.0499877929688 57 | rotatePerSecond 58 | 0 59 | rotatePerSecondVariance 60 | 0 61 | rotationEnd 62 | -47.369998931884766 63 | rotationEndVariance 64 | -142.11000061035156 65 | rotationStart 66 | -47.369998931884766 67 | rotationStartVariance 68 | 0 69 | sourcePositionVariancex 70 | 7 71 | sourcePositionVariancey 72 | 7 73 | sourcePositionx 74 | 373.7277526855469 75 | sourcePositiony 76 | 478.40472412109375 77 | speed 78 | 0 79 | speedVariance 80 | 190.7899932861328 81 | startColorAlpha 82 | 0.6399999856948853 83 | startColorBlue 84 | 0.3375650942325592 85 | startColorGreen 86 | 0.7879231572151184 87 | startColorRed 88 | 0.794921875 89 | startColorVarianceAlpha 90 | 0.7799999713897705 91 | startColorVarianceBlue 92 | 0.6800000071525574 93 | startColorVarianceGreen 94 | 1 95 | startColorVarianceRed 96 | 0.8999999761581421 97 | startParticleSize 98 | 3.369999885559082 99 | startParticleSizeVariance 100 | 50 101 | tangentialAccelVariance 102 | 65.79000091552734 103 | tangentialAcceleration 104 | -92.11000061035156 105 | spriteFrameUuid 106 | bb42ed8e-0867-4584-ad63-b6f84f83bba8 107 | 108 | -------------------------------------------------------------------------------- /library/imports/bb/bb42ed8e-0867-4584-ad63-b6f84f83bba8.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.SpriteFrame", 3 | "content": { 4 | "name": "atom", 5 | "texture": "8a96b965-2dc0-4e03-aa90-3b79cb93b5b4", 6 | "atlas": "", 7 | "rect": [ 8 | 0, 9 | 0, 10 | 31, 11 | 31 12 | ], 13 | "offset": [ 14 | 0, 15 | 0 16 | ], 17 | "originalSize": [ 18 | 31, 19 | 31 20 | ], 21 | "capInsets": [ 22 | 0, 23 | 0, 24 | 0, 25 | 0 26 | ] 27 | } 28 | } -------------------------------------------------------------------------------- /library/imports/c0/c0040c95-c57f-49cd-9cbc-12316b73d0d4.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.EffectAsset", 3 | "_name": "builtin-clear-stencil", 4 | "_objFlags": 0, 5 | "_native": "", 6 | "properties": null, 7 | "techniques": [ 8 | { 9 | "passes": [ 10 | { 11 | "blendState": { 12 | "targets": [ 13 | { 14 | "blend": true 15 | } 16 | ] 17 | }, 18 | "rasterizerState": { 19 | "cullMode": 0 20 | }, 21 | "program": "builtin-clear-stencil|vs|fs" 22 | } 23 | ] 24 | } 25 | ], 26 | "shaders": [ 27 | { 28 | "hash": 2075641479, 29 | "glsl3": { 30 | "vert": "\nprecision highp float;\nin vec3 a_position;\nvoid main () {\n gl_Position = vec4(a_position, 1);\n}", 31 | "frag": "\nprecision highp float;\nvoid main () {\n gl_FragColor = vec4(1.0);\n}" 32 | }, 33 | "glsl1": { 34 | "vert": "\nprecision highp float;\nattribute vec3 a_position;\nvoid main () {\n gl_Position = vec4(a_position, 1);\n}", 35 | "frag": "\nprecision highp float;\nvoid main () {\n gl_FragColor = vec4(1.0);\n}" 36 | }, 37 | "builtins": { 38 | "globals": { 39 | "blocks": [], 40 | "samplers": [] 41 | }, 42 | "locals": { 43 | "blocks": [], 44 | "samplers": [] 45 | } 46 | }, 47 | "defines": [], 48 | "blocks": [], 49 | "samplers": [], 50 | "record": null, 51 | "name": "builtin-clear-stencil|vs|fs" 52 | } 53 | ] 54 | } -------------------------------------------------------------------------------- /library/imports/c2/c25b9d50-c8fc-4d27-beeb-6e7c1f2e5c0f.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Texture2D", 3 | "content": "0,9729,9729,33071,33071,0,0,1" 4 | } -------------------------------------------------------------------------------- /library/imports/c2/c25b9d50-c8fc-4d27-beeb-6e7c1f2e5c0f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/c2/c25b9d50-c8fc-4d27-beeb-6e7c1f2e5c0f.png -------------------------------------------------------------------------------- /library/imports/c4/c4480a0a-6ac5-443f-8b40-361a14257fc8.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Material", 3 | "_name": "builtin-phong", 4 | "_objFlags": 0, 5 | "_native": "", 6 | "_effectAsset": { 7 | "__uuid__": "abc2cb62-7852-4525-a90d-d474487b88f2" 8 | }, 9 | "_techniqueData": { 10 | "0": { 11 | "defines": { 12 | "USE_SPECULAR": true 13 | } 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /library/imports/c9/c9fa51ff-3f01-4601-8f80-325d1b11dab7.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.SpriteFrame", 3 | "content": { 4 | "name": "default_scrollbar_bg", 5 | "texture": "4bab67cb-18e6-4099-b840-355f0473f890", 6 | "atlas": "", 7 | "rect": [ 8 | 0, 9 | 0, 10 | 30, 11 | 15 12 | ], 13 | "offset": [ 14 | 0, 15 | 0 16 | ], 17 | "originalSize": [ 18 | 30, 19 | 15 20 | ], 21 | "capInsets": [ 22 | 10, 23 | 4, 24 | 10, 25 | 4 26 | ] 27 | } 28 | } -------------------------------------------------------------------------------- /library/imports/cd/cd33edea-55f5-46c2-958d-357a01384a36.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "particlesystem", 5 | "_objFlags": 0, 6 | "data": { 7 | "__id__": 1 8 | }, 9 | "optimizationPolicy": 1, 10 | "asyncLoadAssets": false, 11 | "readonly": false 12 | }, 13 | { 14 | "__type__": "cc.Node", 15 | "_name": "ParticleSystem", 16 | "_objFlags": 0, 17 | "_opacity": 255, 18 | "_color": { 19 | "__type__": "cc.Color", 20 | "r": 255, 21 | "g": 255, 22 | "b": 255, 23 | "a": 255 24 | }, 25 | "_cascadeOpacityEnabled": true, 26 | "_parent": null, 27 | "_anchorPoint": { 28 | "__type__": "cc.Vec2", 29 | "x": 0.5, 30 | "y": 0.5 31 | }, 32 | "_contentSize": { 33 | "__type__": "cc.Size", 34 | "width": 0, 35 | "height": 0 36 | }, 37 | "_children": [], 38 | "_skewX": 0, 39 | "_skewY": 0, 40 | "_localZOrder": 0, 41 | "_globalZOrder": 0, 42 | "_tag": -1, 43 | "_opacityModifyRGB": false, 44 | "_reorderChildDirty": false, 45 | "_id": "", 46 | "_active": true, 47 | "_components": [ 48 | { 49 | "__id__": 2 50 | } 51 | ], 52 | "_prefab": { 53 | "__id__": 3 54 | }, 55 | "_eulerAngles": { 56 | "__type__": "cc.Vec3", 57 | "x": 0, 58 | "y": 0, 59 | "z": 0 60 | }, 61 | "_trs": { 62 | "__type__": "TypedArray", 63 | "ctor": "Float64Array", 64 | "array": [ 65 | 0, 66 | 0, 67 | 0, 68 | 0, 69 | 0, 70 | 0, 71 | 0, 72 | 1, 73 | 1, 74 | 1 75 | ] 76 | } 77 | }, 78 | { 79 | "__type__": "cc.ParticleSystem", 80 | "_name": "", 81 | "_objFlags": 0, 82 | "node": { 83 | "__id__": 1 84 | }, 85 | "_enabled": true, 86 | "_custom": false, 87 | "_file": { 88 | "__uuid__": "b2687ac4-099e-403c-a192-ff477686f4f5" 89 | }, 90 | "_srcBlendFactor": 770, 91 | "_dstBlendFactor": 771, 92 | "playOnLoad": true, 93 | "_autoRemoveOnFinish": false, 94 | "totalParticles": 150, 95 | "duration": -1, 96 | "emissionRate": 10, 97 | "life": 1, 98 | "lifeVar": 0, 99 | "_startColor": { 100 | "__type__": "cc.Color", 101 | "r": 255, 102 | "g": 255, 103 | "b": 255, 104 | "a": 255 105 | }, 106 | "_startColorVar": { 107 | "__type__": "cc.Color", 108 | "r": 0, 109 | "g": 0, 110 | "b": 0, 111 | "a": 255 112 | }, 113 | "_endColor": { 114 | "__type__": "cc.Color", 115 | "r": 255, 116 | "g": 255, 117 | "b": 255, 118 | "a": 0 119 | }, 120 | "_endColorVar": { 121 | "__type__": "cc.Color", 122 | "r": 0, 123 | "g": 0, 124 | "b": 0, 125 | "a": 0 126 | }, 127 | "angle": 90, 128 | "angleVar": 20, 129 | "startSize": 50, 130 | "startSizeVar": 0, 131 | "endSize": 0, 132 | "endSizeVar": 0, 133 | "startSpin": 0, 134 | "startSpinVar": 0, 135 | "endSpin": 0, 136 | "endSpinVar": 0, 137 | "sourcePos": { 138 | "__type__": "cc.Vec2", 139 | "x": 0, 140 | "y": 0 141 | }, 142 | "posVar": { 143 | "__type__": "cc.Vec2", 144 | "x": 0, 145 | "y": 0 146 | }, 147 | "_positionType": 0, 148 | "_emitterMode": 0, 149 | "gravity": { 150 | "__type__": "cc.Vec2", 151 | "x": 0, 152 | "y": 0 153 | }, 154 | "speed": 180, 155 | "speedVar": 50, 156 | "tangentialAccel": 80, 157 | "tangentialAccelVar": 0, 158 | "radialAccel": 0, 159 | "radialAccelVar": 0, 160 | "rotationIsDir": false, 161 | "startRadius": 0, 162 | "startRadiusVar": 0, 163 | "endRadius": 0, 164 | "endRadiusVar": 0, 165 | "rotatePerS": 0, 166 | "rotatePerSVar": 0, 167 | "_N$preview": true 168 | }, 169 | { 170 | "__type__": "cc.PrefabInfo", 171 | "root": { 172 | "__id__": 1 173 | }, 174 | "asset": null, 175 | "fileId": "868c9k4nqZNHpGMlTm0Yx6q" 176 | } 177 | ] -------------------------------------------------------------------------------- /library/imports/cf/cf7e0bb8-a81c-44a9-ad79-d28d43991032.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Material", 3 | "_name": "builtin-clear-stencil", 4 | "_objFlags": 0, 5 | "_native": "", 6 | "_effectAsset": { 7 | "__uuid__": "c0040c95-c57f-49cd-9cbc-12316b73d0d4" 8 | }, 9 | "_techniqueData": {} 10 | } -------------------------------------------------------------------------------- /library/imports/cf/cfef78f1-c8df-49b7-8ed0-4c953ace2621.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Texture2D", 3 | "content": "0,9729,9729,33071,33071,0,0,1" 4 | } -------------------------------------------------------------------------------- /library/imports/cf/cfef78f1-c8df-49b7-8ed0-4c953ace2621.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/cf/cfef78f1-c8df-49b7-8ed0-4c953ace2621.png -------------------------------------------------------------------------------- /library/imports/d0/d0a82d39-bede-46c4-b698-c81ff0dedfff.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Texture2D", 3 | "content": "0,9729,9729,33071,33071,0,0,1" 4 | } -------------------------------------------------------------------------------- /library/imports/d0/d0a82d39-bede-46c4-b698-c81ff0dedfff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/d0/d0a82d39-bede-46c4-b698-c81ff0dedfff.png -------------------------------------------------------------------------------- /library/imports/d2/d29077ba-1627-4a72-9579-7b56a235340c.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Texture2D", 3 | "content": "0,9729,9729,33071,33071,0,0,1" 4 | } -------------------------------------------------------------------------------- /library/imports/d2/d29077ba-1627-4a72-9579-7b56a235340c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/d2/d29077ba-1627-4a72-9579-7b56a235340c.png -------------------------------------------------------------------------------- /library/imports/d6/d6d3ca85-4681-47c1-b5dd-d036a9d39ea2.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Texture2D", 3 | "content": "0,9729,9729,33071,33071,0,0,1" 4 | } -------------------------------------------------------------------------------- /library/imports/d6/d6d3ca85-4681-47c1-b5dd-d036a9d39ea2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/d6/d6d3ca85-4681-47c1-b5dd-d036a9d39ea2.png -------------------------------------------------------------------------------- /library/imports/d8/d81ec8ad-247c-4e62-aa3c-d35c4193c7af.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Texture2D", 3 | "content": "0,9729,9729,33071,33071,0,0,1" 4 | } -------------------------------------------------------------------------------- /library/imports/d8/d81ec8ad-247c-4e62-aa3c-d35c4193c7af.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/d8/d81ec8ad-247c-4e62-aa3c-d35c4193c7af.png -------------------------------------------------------------------------------- /library/imports/dd/ddb99b39-7004-47cd-9705-751905c43c46.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "directional", 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": "light", 17 | "_objFlags": 0, 18 | "_parent": null, 19 | "_children": [], 20 | "_active": true, 21 | "_level": 1, 22 | "_components": [ 23 | { 24 | "__id__": 2 25 | } 26 | ], 27 | "_prefab": { 28 | "__id__": 3 29 | }, 30 | "_opacity": 255, 31 | "_color": { 32 | "__type__": "cc.Color", 33 | "r": 255, 34 | "g": 255, 35 | "b": 255, 36 | "a": 255 37 | }, 38 | "_contentSize": { 39 | "__type__": "cc.Size", 40 | "width": 0, 41 | "height": 0 42 | }, 43 | "_anchorPoint": { 44 | "__type__": "cc.Vec2", 45 | "x": 0.5, 46 | "y": 0.5 47 | }, 48 | "_skewX": 0, 49 | "_skewY": 0, 50 | "_is3DNode": true, 51 | "groupIndex": 0, 52 | "_id": "", 53 | "_eulerAngles": { 54 | "x": 0, 55 | "y": 0, 56 | "z": 0, 57 | "__type__": "cc.Vec3" 58 | }, 59 | "_trs": { 60 | "__type__": "TypedArray", 61 | "ctor": "Float64Array", 62 | "array": [ 63 | 0, 64 | 0, 65 | 0, 66 | 0, 67 | 0, 68 | 0, 69 | 0, 70 | 1, 71 | 1, 72 | 1 73 | ] 74 | } 75 | }, 76 | { 77 | "__type__": "cc.Light", 78 | "_name": "", 79 | "_objFlags": 0, 80 | "node": { 81 | "__id__": 1 82 | }, 83 | "_enabled": true, 84 | "_type": 0, 85 | "_color": { 86 | "__type__": "cc.Color", 87 | "r": 255, 88 | "g": 255, 89 | "b": 255, 90 | "a": 255 91 | }, 92 | "_intensity": 1, 93 | "_range": 1000, 94 | "_spotAngle": 60, 95 | "_spotExp": 1, 96 | "_shadowType": 0, 97 | "_shadowResolution": 1024, 98 | "_shadowDarkness": 0.5, 99 | "_shadowMinDepth": 1, 100 | "_shadowMaxDepth": 1000, 101 | "_shadowDepthScale": 250, 102 | "_shadowFrustumSize": 50, 103 | "_shadowBias": 0.0005, 104 | "_id": "" 105 | }, 106 | { 107 | "__type__": "cc.PrefabInfo", 108 | "root": { 109 | "__id__": 1 110 | }, 111 | "asset": { 112 | "__uuid__": "ddb99b39-7004-47cd-9705-751905c43c46" 113 | }, 114 | "fileId": "33zOkteexCqamZ4PXuwJaW", 115 | "sync": false 116 | } 117 | ] -------------------------------------------------------------------------------- /library/imports/de/de510076-056b-484f-b94c-83bef217d0e1.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "torus", 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": "torus", 17 | "_objFlags": 0, 18 | "_parent": null, 19 | "_children": [], 20 | "_active": true, 21 | "_components": [ 22 | { 23 | "__id__": 2 24 | } 25 | ], 26 | "_prefab": { 27 | "__id__": 3 28 | }, 29 | "_opacity": 255, 30 | "_color": { 31 | "__type__": "cc.Color", 32 | "r": 255, 33 | "g": 255, 34 | "b": 255, 35 | "a": 255 36 | }, 37 | "_contentSize": { 38 | "__type__": "cc.Size", 39 | "width": 0, 40 | "height": 0 41 | }, 42 | "_anchorPoint": { 43 | "__type__": "cc.Vec2", 44 | "x": 0.5, 45 | "y": 0.5 46 | }, 47 | "_trs": { 48 | "__type__": "TypedArray", 49 | "ctor": "Float64Array", 50 | "array": [ 51 | 0, 52 | 0, 53 | 0, 54 | 0, 55 | 0, 56 | 0, 57 | 1, 58 | 1, 59 | 1, 60 | 1 61 | ] 62 | }, 63 | "_eulerAngles": { 64 | "__type__": "cc.Vec3", 65 | "x": 0, 66 | "y": 0, 67 | "z": 0 68 | }, 69 | "_skewX": 0, 70 | "_skewY": 0, 71 | "_is3DNode": true, 72 | "_groupIndex": 0, 73 | "groupIndex": 0, 74 | "_id": "" 75 | }, 76 | { 77 | "__type__": "cc.MeshRenderer", 78 | "_name": "", 79 | "_objFlags": 0, 80 | "node": { 81 | "__id__": 1 82 | }, 83 | "_enabled": true, 84 | "_materials": [ 85 | { 86 | "__uuid__": "a5849239-3ad3-41d1-8ab4-ae9fea11f97f" 87 | } 88 | ], 89 | "_mesh": { 90 | "__uuid__": "14c74869-bdb4-4f57-86d8-a7875de2be30" 91 | }, 92 | "_receiveShadows": false, 93 | "_shadowCastingMode": 0, 94 | "_enableAutoBatch": false, 95 | "textures": [], 96 | "_id": "" 97 | }, 98 | { 99 | "__type__": "cc.PrefabInfo", 100 | "root": { 101 | "__id__": 1 102 | }, 103 | "asset": { 104 | "__uuid__": "de510076-056b-484f-b94c-83bef217d0e1" 105 | }, 106 | "fileId": "a1gx3/CoNJb6xz1joaf6oM", 107 | "sync": false 108 | } 109 | ] -------------------------------------------------------------------------------- /library/imports/e7/e7aba14b-f956-4480-b254-8d57832e273f.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.SpriteFrame", 3 | "content": { 4 | "name": "default_radio_button_off", 5 | "texture": "567dcd80-8bf4-4535-8a5a-313f1caf078a", 6 | "atlas": "", 7 | "rect": [ 8 | 3, 9 | 3, 10 | 26, 11 | 26 12 | ], 13 | "offset": [ 14 | 0, 15 | 0 16 | ], 17 | "originalSize": [ 18 | 32, 19 | 32 20 | ], 21 | "capInsets": [ 22 | 0, 23 | 0, 24 | 0, 25 | 0 26 | ] 27 | } 28 | } -------------------------------------------------------------------------------- /library/imports/e8/e851e89b-faa2-4484-bea6-5c01dd9f06e2.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Texture2D", 3 | "content": "0,9729,9729,33071,33071,0,0,1" 4 | } -------------------------------------------------------------------------------- /library/imports/e8/e851e89b-faa2-4484-bea6-5c01dd9f06e2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/e8/e851e89b-faa2-4484-bea6-5c01dd9f06e2.png -------------------------------------------------------------------------------- /library/imports/e9/e93d3fa9-8c21-4375-8a21-14ba84066c77.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/e9/e93d3fa9-8c21-4375-8a21-14ba84066c77.bin -------------------------------------------------------------------------------- /library/imports/e9/e93d3fa9-8c21-4375-8a21-14ba84066c77.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Mesh", 4 | "_name": "", 5 | "_objFlags": 0, 6 | "_native": ".bin", 7 | "_vertexBundles": [ 8 | { 9 | "__id__": 1 10 | } 11 | ], 12 | "_primitives": [ 13 | { 14 | "__id__": 6 15 | } 16 | ], 17 | "_minPos": { 18 | "__type__": "cc.Vec3", 19 | "x": -0.5, 20 | "y": -0.5, 21 | "z": 0 22 | }, 23 | "_maxPos": { 24 | "__type__": "cc.Vec3", 25 | "x": 0.5, 26 | "y": 0.5, 27 | "z": 0 28 | } 29 | }, 30 | { 31 | "__type__": "cc.mesh.VertexBundle", 32 | "data": { 33 | "__id__": 2 34 | }, 35 | "formats": [ 36 | { 37 | "__id__": 3 38 | }, 39 | { 40 | "__id__": 4 41 | }, 42 | { 43 | "__id__": 5 44 | } 45 | ], 46 | "verticesCount": 4 47 | }, 48 | { 49 | "__type__": "cc.BufferRange", 50 | "offset": 0, 51 | "length": 128 52 | }, 53 | { 54 | "__type__": "cc.mesh.VertexFormat", 55 | "name": "a_normal", 56 | "type": 5126, 57 | "num": 3, 58 | "normalize": false 59 | }, 60 | { 61 | "__type__": "cc.mesh.VertexFormat", 62 | "name": "a_position", 63 | "type": 5126, 64 | "num": 3, 65 | "normalize": false 66 | }, 67 | { 68 | "__type__": "cc.mesh.VertexFormat", 69 | "name": "a_uv0", 70 | "type": 5126, 71 | "num": 2, 72 | "normalize": false 73 | }, 74 | { 75 | "__type__": "cc.mesh.Primitive", 76 | "vertexBundleIndices": [ 77 | 0 78 | ], 79 | "data": { 80 | "__id__": 7 81 | }, 82 | "indexUnit": 5123, 83 | "topology": 4 84 | }, 85 | { 86 | "__type__": "cc.BufferRange", 87 | "offset": 128, 88 | "length": 12 89 | } 90 | ] -------------------------------------------------------------------------------- /library/imports/e9/e9ec654c-97a2-4787-9325-e6a10375219a.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.SpriteFrame", 3 | "content": { 4 | "name": "default_btn_pressed", 5 | "texture": "b43ff3c2-02bb-4874-81f7-f2dea6970f18", 6 | "atlas": "", 7 | "rect": [ 8 | 0, 9 | 0, 10 | 40, 11 | 40 12 | ], 13 | "offset": [ 14 | 0, 15 | 0 16 | ], 17 | "originalSize": [ 18 | 40, 19 | 40 20 | ], 21 | "capInsets": [ 22 | 12, 23 | 12, 24 | 12, 25 | 12 26 | ] 27 | } 28 | } -------------------------------------------------------------------------------- /library/imports/ec/eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Material", 3 | "_name": "builtin-2d-sprite", 4 | "_objFlags": 0, 5 | "_native": "", 6 | "_effectAsset": { 7 | "__uuid__": "2874f8dd-416c-4440-81b7-555975426e93" 8 | }, 9 | "_techniqueData": { 10 | "0": { 11 | "defines": { 12 | "USE_TEXTURE": true 13 | } 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /library/imports/ed/edd215b9-2796-4a05-aaf5-81f96c9281ce.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.Texture2D", 3 | "content": "0,9729,9729,33071,33071,0,0,1" 4 | } -------------------------------------------------------------------------------- /library/imports/ed/edd215b9-2796-4a05-aaf5-81f96c9281ce.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/library/imports/ed/edd215b9-2796-4a05-aaf5-81f96c9281ce.png -------------------------------------------------------------------------------- /library/imports/f0/f0048c10-f03e-4c97-b9d3-3506e1d58952.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.SpriteFrame", 3 | "content": { 4 | "name": "default_btn_normal", 5 | "texture": "e851e89b-faa2-4484-bea6-5c01dd9f06e2", 6 | "atlas": "", 7 | "rect": [ 8 | 0, 9 | 0, 10 | 40, 11 | 40 12 | ], 13 | "offset": [ 14 | 0, 15 | 0 16 | ], 17 | "originalSize": [ 18 | 40, 19 | 40 20 | ], 21 | "capInsets": [ 22 | 12, 23 | 12, 24 | 12, 25 | 12 26 | ] 27 | } 28 | } -------------------------------------------------------------------------------- /library/imports/f5/f5331fd2-bf42-4ee3-a3fd-3e1657600eff.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "spot", 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": "light", 17 | "_objFlags": 0, 18 | "_parent": null, 19 | "_children": [], 20 | "_active": true, 21 | "_level": 1, 22 | "_components": [ 23 | { 24 | "__id__": 2 25 | } 26 | ], 27 | "_prefab": { 28 | "__id__": 3 29 | }, 30 | "_opacity": 255, 31 | "_color": { 32 | "__type__": "cc.Color", 33 | "r": 255, 34 | "g": 255, 35 | "b": 255, 36 | "a": 255 37 | }, 38 | "_contentSize": { 39 | "__type__": "cc.Size", 40 | "width": 0, 41 | "height": 0 42 | }, 43 | "_anchorPoint": { 44 | "__type__": "cc.Vec2", 45 | "x": 0.5, 46 | "y": 0.5 47 | }, 48 | "_skewX": 0, 49 | "_skewY": 0, 50 | "_is3DNode": true, 51 | "groupIndex": 0, 52 | "_id": "", 53 | "_eulerAngles": { 54 | "__type__": "cc.Vec3", 55 | "x": 0, 56 | "y": 0, 57 | "z": 0 58 | }, 59 | "_trs": { 60 | "__type__": "TypedArray", 61 | "ctor": "Float64Array", 62 | "array": [ 63 | 0, 64 | 0, 65 | 0, 66 | 0, 67 | 0, 68 | 0, 69 | 0, 70 | 1, 71 | 1, 72 | 1 73 | ] 74 | } 75 | }, 76 | { 77 | "__type__": "cc.Light", 78 | "_name": "", 79 | "_objFlags": 0, 80 | "node": { 81 | "__id__": 1 82 | }, 83 | "_enabled": true, 84 | "_type": 2, 85 | "_color": { 86 | "__type__": "cc.Color", 87 | "r": 255, 88 | "g": 255, 89 | "b": 255, 90 | "a": 255 91 | }, 92 | "_intensity": 1, 93 | "_range": 1000, 94 | "_spotAngle": 60, 95 | "_spotExp": 1, 96 | "_shadowType": 0, 97 | "_shadowResolution": 1024, 98 | "_shadowDarkness": 0.5, 99 | "_shadowMinDepth": 1, 100 | "_shadowMaxDepth": 1000, 101 | "_shadowDepthScale": 250, 102 | "_shadowFrustumSize": 50, 103 | "_shadowBias": 0.0005, 104 | "_id": "" 105 | }, 106 | { 107 | "__type__": "cc.PrefabInfo", 108 | "root": { 109 | "__id__": 1 110 | }, 111 | "asset": { 112 | "__uuid__": "f5331fd2-bf42-4ee3-a3fd-3e1657600eff" 113 | }, 114 | "fileId": "33zOkteexCqamZ4PXuwJaW", 115 | "sync": false 116 | } 117 | ] -------------------------------------------------------------------------------- /library/imports/fe/fe1417b6-fe6b-46a4-ae7c-9fd331f33a2a.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "capsule", 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": "capsule", 17 | "_objFlags": 0, 18 | "_parent": null, 19 | "_children": [], 20 | "_active": true, 21 | "_components": [ 22 | { 23 | "__id__": 2 24 | } 25 | ], 26 | "_prefab": { 27 | "__id__": 3 28 | }, 29 | "_opacity": 255, 30 | "_color": { 31 | "__type__": "cc.Color", 32 | "r": 255, 33 | "g": 255, 34 | "b": 255, 35 | "a": 255 36 | }, 37 | "_contentSize": { 38 | "__type__": "cc.Size", 39 | "width": 0, 40 | "height": 0 41 | }, 42 | "_anchorPoint": { 43 | "__type__": "cc.Vec2", 44 | "x": 0.5, 45 | "y": 0.5 46 | }, 47 | "_trs": { 48 | "__type__": "TypedArray", 49 | "ctor": "Float64Array", 50 | "array": [ 51 | 0, 52 | 0, 53 | 0, 54 | 0, 55 | 0, 56 | 0, 57 | 1, 58 | 1, 59 | 1, 60 | 1 61 | ] 62 | }, 63 | "_eulerAngles": { 64 | "__type__": "cc.Vec3", 65 | "x": 0, 66 | "y": 0, 67 | "z": 0 68 | }, 69 | "_skewX": 0, 70 | "_skewY": 0, 71 | "_is3DNode": true, 72 | "_groupIndex": 0, 73 | "groupIndex": 0, 74 | "_id": "" 75 | }, 76 | { 77 | "__type__": "cc.MeshRenderer", 78 | "_name": "", 79 | "_objFlags": 0, 80 | "node": { 81 | "__id__": 1 82 | }, 83 | "_enabled": true, 84 | "_materials": [ 85 | { 86 | "__uuid__": "a5849239-3ad3-41d1-8ab4-ae9fea11f97f" 87 | } 88 | ], 89 | "_mesh": { 90 | "__uuid__": "83f5eff8-3385-4f95-9b76-8da0aa1d96cd" 91 | }, 92 | "_receiveShadows": false, 93 | "_shadowCastingMode": 0, 94 | "_enableAutoBatch": false, 95 | "textures": [], 96 | "_id": "" 97 | }, 98 | { 99 | "__type__": "cc.PrefabInfo", 100 | "root": { 101 | "__id__": 1 102 | }, 103 | "asset": { 104 | "__uuid__": "fe1417b6-fe6b-46a4-ae7c-9fd331f33a2a" 105 | }, 106 | "fileId": "03MuJmYVpF+Kz929rGKeef", 107 | "sync": false 108 | } 109 | ] -------------------------------------------------------------------------------- /library/imports/ff/ff0e91c7-55c6-4086-a39f-cb6e457b8c3b.json: -------------------------------------------------------------------------------- 1 | { 2 | "__type__": "cc.SpriteFrame", 3 | "content": { 4 | "name": "default_editbox_bg", 5 | "texture": "edd215b9-2796-4a05-aaf5-81f96c9281ce", 6 | "atlas": "", 7 | "rect": [ 8 | 0, 9 | 0, 10 | 40, 11 | 40 12 | ], 13 | "offset": [ 14 | 0, 15 | 0 16 | ], 17 | "originalSize": [ 18 | 40, 19 | 40 20 | ], 21 | "capInsets": [ 22 | 12, 23 | 12, 24 | 12, 25 | 12 26 | ] 27 | } 28 | } -------------------------------------------------------------------------------- /local/layout.editor.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.1.1", 3 | "windows": { 4 | "main": { 5 | "main": true, 6 | "url": "app://editor/index.html", 7 | "windowType": "dockable", 8 | "x": -208, 9 | "y": -869, 10 | "width": 1280, 11 | "height": 720, 12 | "layout": { 13 | "children": [ 14 | { 15 | "children": [ 16 | { 17 | "active": 0, 18 | "children": [ 19 | "hierarchy" 20 | ], 21 | "height": 300, 22 | "type": "panel", 23 | "width": 204 24 | }, 25 | { 26 | "active": 0, 27 | "children": [ 28 | "assets" 29 | ], 30 | "height": 336, 31 | "type": "panel", 32 | "width": 204 33 | } 34 | ], 35 | "height": 639, 36 | "type": "dock-v", 37 | "width": 204 38 | }, 39 | { 40 | "children": [ 41 | { 42 | "children": [ 43 | { 44 | "active": 0, 45 | "children": [ 46 | "scene" 47 | ], 48 | "height": 336, 49 | "type": "panel", 50 | "width": 498.984375 51 | }, 52 | { 53 | "active": 0, 54 | "children": [ 55 | "node-library" 56 | ], 57 | "height": 336, 58 | "type": "panel", 59 | "width": 264 60 | } 61 | ], 62 | "height": 336, 63 | "type": "dock-h", 64 | "width": 766 65 | }, 66 | { 67 | "active": 0, 68 | "children": [ 69 | "console", 70 | "timeline", 71 | "game-window" 72 | ], 73 | "height": 300, 74 | "type": "panel", 75 | "width": 766 76 | } 77 | ], 78 | "height": 639, 79 | "type": "dock-v", 80 | "width": 766 81 | }, 82 | { 83 | "active": 0, 84 | "children": [ 85 | "inspector", 86 | "cocos-services" 87 | ], 88 | "height": 639, 89 | "type": "panel", 90 | "width": 304 91 | } 92 | ], 93 | "type": "dock-h" 94 | }, 95 | "panels": [ 96 | "hierarchy", 97 | "assets", 98 | "scene", 99 | "node-library", 100 | "console", 101 | "timeline", 102 | "game-window", 103 | "inspector", 104 | "cocos-services" 105 | ] 106 | } 107 | }, 108 | "panels": {}, 109 | "panelLabelWidth": { 110 | "inspector": null 111 | }, 112 | "panelLabelWidth.inspector": null 113 | } 114 | -------------------------------------------------------------------------------- /local/local.json: -------------------------------------------------------------------------------- 1 | { 2 | "last-edit": "666d07c3-ec0e-4d82-9ecd-c1a374db16d3", 3 | "recent-items": [ 4 | "1124102a-a310-4545-ada1-588412dbded5", 5 | "666d07c3-ec0e-4d82-9ecd-c1a374db16d3" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /local/logs/project.log: -------------------------------------------------------------------------------- 1 | 2021-02-03T03:03:58.270Z - normal: Load ~/.CocosCreator/settings.json 2 | 2021-02-03T03:03:58.304Z - normal: Initializing Asset Database 3 | 2021-02-03T03:03:58.308Z - normal: checking language setting... 4 | 2021-02-03T03:03:58.308Z - normal: Language: zh 5 | 2021-02-03T03:03:59.236Z - success: preview server running at http://localhost:7456 6 | 2021-02-03T03:03:59.254Z - success: protocol editor-framework registered 7 | 2021-02-03T03:03:59.254Z - success: protocol app registered 8 | 2021-02-03T03:03:59.254Z - success: protocol theme registered 9 | 2021-02-03T03:03:59.254Z - success: protocol packages registered 10 | 2021-02-03T03:03:59.254Z - success: protocol uuid registerred 11 | 2021-02-03T03:03:59.254Z - success: protocol db registerred 12 | 2021-02-03T03:03:59.254Z - success: protocol thumbnail registerred 13 | 2021-02-03T03:03:59.255Z - success: protocol unpack registerred 14 | 2021-02-03T03:03:59.255Z - success: protocol disable-commonjs registerred 15 | 2021-02-03T03:03:59.688Z - normal: connected! 16 | 2021-02-03T03:03:59.690Z - normal: Check project /Users/zhaoruobing/Desktop/kejian/writerDemo 17 | 2021-02-03T03:03:59.692Z - normal: Initializing project /Users/zhaoruobing/Desktop/kejian/writerDemo 18 | 2021-02-03T03:03:59.723Z - success: adapters loaded 19 | 2021-02-03T03:03:59.730Z - success: asset-db-debugger loaded 20 | 2021-02-03T03:03:59.800Z - success: fb-audience-network loaded 21 | 2021-02-03T03:03:59.831Z - success: fb-live-stream loaded 22 | 2021-02-03T03:03:59.833Z - success: google-play-instant loaded 23 | 2021-02-03T03:03:59.834Z - success: huawei-adapter loaded 24 | 2021-02-03T03:03:59.835Z - success: jkw-adapter loaded 25 | 2021-02-03T03:03:59.837Z - success: jsb-adapter loaded 26 | 2021-02-03T03:03:59.838Z - success: oppo-adapter loaded 27 | 2021-02-03T03:03:59.842Z - success: package-manager loaded 28 | 2021-02-03T03:03:59.843Z - success: qtt-adapter loaded 29 | 2021-02-03T03:03:59.846Z - success: runtime-dev-tools loaded 30 | 2021-02-03T03:03:59.858Z - success: sdkbox loaded 31 | 2021-02-03T03:03:59.861Z - success: ui-kit-preview-extra loaded 32 | 2021-02-03T03:03:59.865Z - success: ui-kit-preview loaded 33 | 2021-02-03T03:03:59.866Z - success: vivo-adapter loaded 34 | 2021-02-03T03:03:59.922Z - success: alipay-minigame loaded 35 | 2021-02-03T03:03:59.974Z - success: assets loaded 36 | 2021-02-03T03:03:59.979Z - success: baidugame-opendata loaded 37 | 2021-02-03T03:03:59.981Z - success: baidugame loaded 38 | 2021-02-03T03:03:59.984Z - success: builder loaded 39 | 2021-02-03T03:04:00.150Z - success: cocos-services loaded 40 | 2021-02-03T03:04:00.154Z - success: console loaded 41 | 2021-02-03T03:04:00.155Z - success: curve-editor loaded 42 | 2021-02-03T03:04:00.164Z - success: fb-instant-games loaded 43 | 2021-02-03T03:04:00.168Z - success: game-window loaded 44 | 2021-02-03T03:04:00.168Z - success: google-instant-games loaded 45 | 2021-02-03T03:04:00.173Z - success: hierarchy loaded 46 | 2021-02-03T03:04:00.175Z - success: huawei-runtime loaded 47 | 2021-02-03T03:04:00.179Z - success: inspector loaded 48 | 2021-02-03T03:04:00.252Z - success: cpk-publish loaded 49 | 2021-02-03T03:04:00.253Z - success: keystore loaded 50 | 2021-02-03T03:04:00.265Z - success: node-library loaded 51 | 2021-02-03T03:04:00.265Z - success: open-recent-items loaded 52 | 2021-02-03T03:04:00.268Z - success: oppo-runtime loaded 53 | 2021-02-03T03:04:00.269Z - success: package-asset loaded 54 | 2021-02-03T03:04:00.271Z - success: preferences loaded 55 | 2021-02-03T03:04:00.275Z - success: project-importer loaded 56 | 2021-02-03T03:04:00.277Z - success: project-settings loaded 57 | 2021-02-03T03:04:00.289Z - success: qtt-runtime loaded 58 | 2021-02-03T03:04:00.296Z - success: scene loaded 59 | 2021-02-03T03:04:00.297Z - success: simulator-debugger loaded 60 | 2021-02-03T03:04:00.298Z - success: sprite-editor loaded 61 | 2021-02-03T03:04:00.343Z - success: store loaded 62 | 2021-02-03T03:04:00.347Z - success: timeline loaded 63 | 2021-02-03T03:04:00.350Z - success: vivo-runtime loaded 64 | 2021-02-03T03:04:00.352Z - success: wechatgame-opendata loaded 65 | 2021-02-03T03:04:00.356Z - success: wechatgame loaded 66 | 2021-02-03T03:04:00.359Z - success: xiaomi-runtime loaded 67 | 2021-02-03T03:04:00.364Z - success: cocos-particle2d loaded 68 | 2021-02-03T03:04:00.524Z - success: im-plugin loaded 69 | 2021-02-03T03:04:02.148Z - normal: Initializing Cocos2d 70 | 2021-02-03T03:04:02.427Z - normal: Initializing engine extends 71 | 2021-02-03T03:04:03.038Z - normal: Loading packages 72 | 2021-02-03T03:04:03.041Z - normal: Watching packages 73 | 2021-02-03T03:04:03.105Z - normal: Run Application 74 | 2021-02-03T03:04:03.130Z - info: Cocos Service load base data! 75 | -------------------------------------------------------------------------------- /local/node-library.json: -------------------------------------------------------------------------------- 1 | { 2 | "user": { 3 | "name": "User", 4 | "prefab": [] 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /local/node-tree-state.json: -------------------------------------------------------------------------------- 1 | { 2 | "nodeFoldStates": [ 3 | "93vsc5iqxGuo95QPNYfHBo", 4 | "deSkxaAmpDQqAxKqI1L2j+", 5 | "7awuxZjXpOf7c1XcD/0otR", 6 | "9bipFidJ5GsrBIpl/a6q84", 7 | "11jispET9JC5IngcqmGuvS", 8 | "47UpQeZLtIX5Mk2jukS1eC", 9 | "0cD/LDaw5An5elc9YiWDIo", 10 | "aet3qwmyBKBLaFoQIpWAIm", 11 | "f3mxKBMg5NTrhumtdnf+MA", 12 | "7355VA60RKRKB2n1ue80KL", 13 | "2f2vmAMfNPub9GshLniAWF", 14 | "44dkgQtyJAFK7a6pKgtsrB", 15 | "d8dBz75VpMZpCDpWjJy/67", 16 | "72Zdz/XLRCIJjn7URIYfoN", 17 | "6eNhaj529MY7UgmDqiqHh7" 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /project.json: -------------------------------------------------------------------------------- 1 | { 2 | "engine": "cocos-creator-js", 3 | "packages": "packages", 4 | "version": "2.3.3", 5 | "id": "3eef4328-4d1d-4511-9c0b-79203b08e4ff", 6 | "isNew": false 7 | } -------------------------------------------------------------------------------- /settings/project.json: -------------------------------------------------------------------------------- 1 | { 2 | "start-scene": "current", 3 | "group-list": [ 4 | "default" 5 | ], 6 | "collision-matrix": [ 7 | [ 8 | true 9 | ] 10 | ], 11 | "excluded-modules": [ 12 | "3D Physics/Builtin" 13 | ], 14 | "last-module-event-record-time": 0, 15 | "design-resolution-width": 960, 16 | "design-resolution-height": 640, 17 | "fit-width": false, 18 | "fit-height": true, 19 | "use-project-simulator-setting": false, 20 | "simulator-orientation": false, 21 | "use-customize-simulator": false, 22 | "simulator-resolution": { 23 | "width": 960, 24 | "height": 640 25 | }, 26 | "assets-sort-type": "name", 27 | "facebook": { 28 | "enable": false, 29 | "appID": "", 30 | "live": { 31 | "enable": false 32 | }, 33 | "audience": { 34 | "enable": false 35 | } 36 | }, 37 | "migrate-history": [] 38 | } 39 | -------------------------------------------------------------------------------- /settings/services.json: -------------------------------------------------------------------------------- 1 | { 2 | "game": { 3 | "name": "未知游戏", 4 | "appid": "UNKNOW" 5 | } 6 | } -------------------------------------------------------------------------------- /temp/gltf/buffer.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Amterasu/writerDemo/7abf6247adfef282dae24b3ddd76d3f2d3ab3dd1/temp/gltf/buffer.bin -------------------------------------------------------------------------------- /temp/quick-scripts/dst/__file_stats__.json: -------------------------------------------------------------------------------- 1 | {"version":"1.0.8","stats":{"/Users/zhaoruobing/Desktop/kejian/writerDemo/temp/quick-scripts/src/__qc_index__.js":"2021-02-03T03:04:02.948Z","/Users/zhaoruobing/Desktop/kejian/writerDemo/temp/quick-scripts/src/assets/game_writer/writerDemo.js":"2021-02-03T03:04:02.935Z","/Users/zhaoruobing/Desktop/kejian/writerDemo/temp/quick-scripts/src/assets/game_writer/writer/writer.js":"2021-02-03T03:04:02.933Z"}} 2 | -------------------------------------------------------------------------------- /temp/quick-scripts/dst/__qc_index__.js: -------------------------------------------------------------------------------- 1 | 2 | (function() { 3 | var nodeEnv = typeof require !== 'undefined' && typeof process !== 'undefined'; 4 | var __module = nodeEnv ? module : {exports:{}}; 5 | var __filename = 'preview-scripts/__qc_index__.js'; 6 | var __require = nodeEnv ? function (request) { 7 | return cc.require(request); 8 | } : function (request) { 9 | return __quick_compile_project__.require(request, __filename); 10 | }; 11 | function __define (exports, require, module) { 12 | if (!nodeEnv) {__quick_compile_project__.registerModule(__filename, module);} 13 | require('./assets/game_writer/writer/writer'); 14 | require('./assets/game_writer/writerDemo'); 15 | 16 | } 17 | if (nodeEnv) { 18 | __define(__module.exports, __require, __module); 19 | } 20 | else { 21 | __quick_compile_project__.registerModuleFunc(__filename, function () { 22 | __define(__module.exports, __require, __module); 23 | }); 24 | } 25 | })(); -------------------------------------------------------------------------------- /temp/quick-scripts/dst/__quick_compile__.js: -------------------------------------------------------------------------------- 1 | 2 | (function () { 3 | var scripts = [{"deps":{"./assets/game_writer/writer/writer":2,"./assets/game_writer/writerDemo":1},"path":"preview-scripts/__qc_index__.js"},{"deps":{"./writer/writer":2},"path":"preview-scripts/assets/game_writer/writerDemo.js"},{"deps":{},"path":"preview-scripts/assets/game_writer/writer/writer.js"}]; 4 | var entries = ["preview-scripts/__qc_index__.js"]; 5 | var bundleScript = 'preview-scripts/__qc_bundle__.js'; 6 | 7 | /** 8 | * Notice: This file can not use ES6 (for IE 11) 9 | */ 10 | var modules = {}; 11 | var name2path = {}; 12 | 13 | // Will generated by module.js plugin 14 | // var scripts = ${scripts}; 15 | // var entries = ${entries}; 16 | // var bundleScript = ${bundleScript}; 17 | 18 | if (typeof global === 'undefined') { 19 | window.global = window; 20 | } 21 | 22 | var isJSB = typeof jsb !== 'undefined'; 23 | 24 | function getXMLHttpRequest () { 25 | return window.XMLHttpRequest ? new window.XMLHttpRequest() : new ActiveXObject('MSXML2.XMLHTTP'); 26 | } 27 | 28 | function downloadText(url, callback) { 29 | if (isJSB) { 30 | var result = jsb.fileUtils.getStringFromFile(url); 31 | callback(null, result); 32 | return; 33 | } 34 | 35 | var xhr = getXMLHttpRequest(), 36 | errInfo = 'Load text file failed: ' + url; 37 | xhr.open('GET', url, true); 38 | if (xhr.overrideMimeType) xhr.overrideMimeType('text\/plain; charset=utf-8'); 39 | xhr.onload = function () { 40 | if (xhr.readyState === 4) { 41 | if (xhr.status === 200 || xhr.status === 0) { 42 | callback(null, xhr.responseText); 43 | } 44 | else { 45 | callback({status:xhr.status, errorMessage:errInfo + ', status: ' + xhr.status}); 46 | } 47 | } 48 | else { 49 | callback({status:xhr.status, errorMessage:errInfo + '(wrong readyState)'}); 50 | } 51 | }; 52 | xhr.onerror = function(){ 53 | callback({status:xhr.status, errorMessage:errInfo + '(error)'}); 54 | }; 55 | xhr.ontimeout = function(){ 56 | callback({status:xhr.status, errorMessage:errInfo + '(time out)'}); 57 | }; 58 | xhr.send(null); 59 | }; 60 | 61 | function loadScript (src, cb) { 62 | if (typeof require !== 'undefined') { 63 | require(src); 64 | return cb(); 65 | } 66 | 67 | // var timer = 'load ' + src; 68 | // console.time(timer); 69 | 70 | var scriptElement = document.createElement('script'); 71 | 72 | function done() { 73 | // console.timeEnd(timer); 74 | // deallocation immediate whatever 75 | scriptElement.remove(); 76 | } 77 | 78 | scriptElement.onload = function () { 79 | done(); 80 | cb(); 81 | }; 82 | scriptElement.onerror = function () { 83 | done(); 84 | var error = 'Failed to load ' + src; 85 | console.error(error); 86 | cb(new Error(error)); 87 | }; 88 | scriptElement.setAttribute('type','text/javascript'); 89 | scriptElement.setAttribute('charset', 'utf-8'); 90 | scriptElement.setAttribute('src', src); 91 | 92 | document.head.appendChild(scriptElement); 93 | } 94 | 95 | function loadScripts (srcs, cb) { 96 | var n = srcs.length; 97 | 98 | srcs.forEach(function (src) { 99 | loadScript(src, function () { 100 | n--; 101 | if (n === 0) { 102 | cb(); 103 | } 104 | }); 105 | }) 106 | } 107 | 108 | function formatPath (path) { 109 | let destPath = window.__quick_compile_project__.destPath; 110 | if (destPath) { 111 | let prefix = 'preview-scripts'; 112 | if (destPath[destPath.length - 1] === '/') { 113 | prefix += '/'; 114 | } 115 | path = path.replace(prefix, destPath); 116 | } 117 | return path; 118 | } 119 | 120 | window.__quick_compile_project__ = { 121 | destPath: '', 122 | 123 | registerModule: function (path, module) { 124 | path = formatPath(path); 125 | modules[path].module = module; 126 | }, 127 | 128 | registerModuleFunc: function (path, func) { 129 | path = formatPath(path); 130 | modules[path].func = func; 131 | 132 | var sections = path.split('/'); 133 | var name = sections[sections.length - 1]; 134 | name = name.replace(/\.(?:js|ts|json)$/i, ''); 135 | name2path[name] = path; 136 | }, 137 | 138 | require: function (request, path) { 139 | var m, requestScript; 140 | 141 | path = formatPath(path); 142 | if (path) { 143 | m = modules[path]; 144 | if (!m) { 145 | console.warn('Can not find module for path : ' + path); 146 | return null; 147 | } 148 | } 149 | 150 | if (m) { 151 | requestScript = scripts[ m.deps[request] ]; 152 | } 153 | 154 | path = ''; 155 | if (!requestScript) { 156 | // search from name2path when request is a dynamic module name 157 | if (/^[\w- .]*$/.test(request)) { 158 | path = name2path[request]; 159 | } 160 | 161 | if (!path) { 162 | if (CC_JSB) { 163 | return require(request); 164 | } 165 | else { 166 | console.warn('Can not find deps [' + request + '] for path : ' + path); 167 | return null; 168 | } 169 | } 170 | } 171 | else { 172 | path = formatPath(requestScript.path); 173 | } 174 | 175 | m = modules[path]; 176 | 177 | if (!m) { 178 | console.warn('Can not find module for path : ' + path); 179 | return null; 180 | } 181 | 182 | if (!m.module && m.func) { 183 | m.func(); 184 | } 185 | 186 | if (!m.module) { 187 | console.warn('Can not find module.module for path : ' + path); 188 | return null; 189 | } 190 | 191 | return m.module.exports; 192 | }, 193 | 194 | run: function () { 195 | entries.forEach(function (entry) { 196 | entry = formatPath(entry); 197 | var module = modules[entry]; 198 | if (!module.module) { 199 | module.func(); 200 | } 201 | }); 202 | }, 203 | 204 | load: function (cb) { 205 | var self = this; 206 | 207 | var srcs = scripts.map(function (script) { 208 | var path = formatPath(script.path); 209 | modules[path] = script; 210 | 211 | if (script.mtime) { 212 | path += ("?mtime=" + script.mtime); 213 | } 214 | return path; 215 | }); 216 | 217 | console.time && console.time('load __quick_compile_project__'); 218 | // jsb can not analysis sourcemap, so keep separate files. 219 | if (bundleScript && !isJSB) { 220 | downloadText(formatPath(bundleScript), function (err, bundleSource) { 221 | console.timeEnd && console.timeEnd('load __quick_compile_project__'); 222 | if (err) { 223 | console.error(err); 224 | return; 225 | } 226 | console.time && console.time('eval __quick_compile_project__'); 227 | var sources = bundleSource.split('\n//------QC-SOURCE-SPLIT------\n'); 228 | for (var i = 0; i < sources.length; i++) { 229 | if (sources[i]) { 230 | window.eval(sources[i]); 231 | // not sure why new Function cannot set breakpoints precisely 232 | // new Function(sources[i])() 233 | } 234 | } 235 | self.run(); 236 | console.timeEnd && console.timeEnd('eval __quick_compile_project__'); 237 | cb(); 238 | }) 239 | } 240 | else { 241 | loadScripts(srcs, function () { 242 | self.run(); 243 | console.timeEnd && console.timeEnd('load __quick_compile_project__'); 244 | cb(); 245 | }); 246 | } 247 | } 248 | }; 249 | 250 | // Polyfill for IE 11 251 | if (!('remove' in Element.prototype)) { 252 | Element.prototype.remove = function () { 253 | if (this.parentNode) { 254 | this.parentNode.removeChild(this); 255 | } 256 | }; 257 | } 258 | })(); 259 | -------------------------------------------------------------------------------- /temp/quick-scripts/dst/assets/game_writer/writerDemo.js: -------------------------------------------------------------------------------- 1 | 2 | (function() { 3 | var nodeEnv = typeof require !== 'undefined' && typeof process !== 'undefined'; 4 | var __module = nodeEnv ? module : {exports:{}}; 5 | var __filename = 'preview-scripts/assets/game_writer/writerDemo.js'; 6 | var __require = nodeEnv ? function (request) { 7 | return cc.require(request); 8 | } : function (request) { 9 | return __quick_compile_project__.require(request, __filename); 10 | }; 11 | function __define (exports, require, module) { 12 | if (!nodeEnv) {__quick_compile_project__.registerModule(__filename, module);}"use strict"; 13 | cc._RF.push(module, '4e4a5ivpPJGqbfnAqdVazQx', 'writerDemo'); 14 | // game_writer/writerDemo.ts 15 | 16 | "use strict"; 17 | var __extends = (this && this.__extends) || (function () { 18 | var extendStatics = function (d, b) { 19 | extendStatics = Object.setPrototypeOf || 20 | ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || 21 | function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; 22 | return extendStatics(d, b); 23 | }; 24 | return function (d, b) { 25 | extendStatics(d, b); 26 | function __() { this.constructor = d; } 27 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); 28 | }; 29 | })(); 30 | var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { 31 | var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; 32 | if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); 33 | else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; 34 | return c > 3 && r && Object.defineProperty(target, key, r), r; 35 | }; 36 | Object.defineProperty(exports, "__esModule", { value: true }); 37 | var writer_1 = require("./writer/writer"); 38 | var _a = cc._decorator, ccclass = _a.ccclass, property = _a.property; 39 | var Demo = /** @class */ (function (_super) { 40 | __extends(Demo, _super); 41 | function Demo() { 42 | var _this = _super !== null && _super.apply(this, arguments) || this; 43 | _this.writerNode = null; 44 | return _this; 45 | } 46 | Demo.prototype.start = function () { 47 | this.writerNode = this.node.getChildByName('writer'); 48 | }; 49 | Demo.prototype.onChangeShowStatusClick = function (el) { 50 | if (el.currentTarget.children[0].getComponentInChildren(cc.Label).string == '隐藏') { 51 | this.writerNode.active = false; 52 | el.currentTarget.children[0].getComponentInChildren(cc.Label).string = '显示'; 53 | } 54 | else if (el.currentTarget.children[0].getComponentInChildren(cc.Label).string == '显示') { 55 | this.writerNode.active = true; 56 | el.currentTarget.children[0].getComponentInChildren(cc.Label).string = '隐藏'; 57 | } 58 | }; 59 | Demo.prototype.onChangeLabelClick = function () { 60 | this.writerNode.active = true; 61 | var str = '秦时明月汉时关万里长征人未还但使龙城飞将在不教胡马渡阴山'; 62 | var labelText = str[Math.floor(Math.random() * str.length)]; 63 | this.writerNode.getComponent(cc.Label).string = labelText; 64 | this.writerNode.getComponent(writer_1.default).changeLabel(); 65 | }; 66 | Demo.prototype.onAnimateClick = function () { 67 | this.writerNode.getComponent(writer_1.default).animateCharacter(); 68 | }; 69 | Demo = __decorate([ 70 | ccclass 71 | ], Demo); 72 | return Demo; 73 | }(cc.Component)); 74 | exports.default = Demo; 75 | 76 | cc._RF.pop(); 77 | } 78 | if (nodeEnv) { 79 | __define(__module.exports, __require, __module); 80 | } 81 | else { 82 | __quick_compile_project__.registerModuleFunc(__filename, function () { 83 | __define(__module.exports, __require, __module); 84 | }); 85 | } 86 | })(); 87 | //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFzc2V0cy9nYW1lX3dyaXRlci93cml0ZXJEZW1vLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLDBDQUFxQztBQUUvQixJQUFBLGtCQUFxQyxFQUFuQyxvQkFBTyxFQUFFLHNCQUEwQixDQUFDO0FBRzVDO0lBQWtDLHdCQUFZO0lBRDlDO1FBQUEscUVBMkJDO1FBekJRLGdCQUFVLEdBQVksSUFBSSxDQUFDOztJQXlCcEMsQ0FBQztJQXhCQSxvQkFBSyxHQUFMO1FBQ0MsSUFBSSxDQUFDLFVBQVUsR0FBRyxJQUFJLENBQUMsSUFBSSxDQUFDLGNBQWMsQ0FBQyxRQUFRLENBQUMsQ0FBQztJQUN0RCxDQUFDO0lBQ0Qsc0NBQXVCLEdBQXZCLFVBQXdCLEVBQUU7UUFDekIsSUFBSSxFQUFFLENBQUMsYUFBYSxDQUFDLFFBQVEsQ0FBQyxDQUFDLENBQUMsQ0FBQyxzQkFBc0IsQ0FBQyxFQUFFLENBQUMsS0FBSyxDQUFDLENBQUMsTUFBTSxJQUFJLElBQUksRUFBRTtZQUN4RSxJQUFJLENBQUMsVUFBVSxDQUFDLE1BQU0sR0FBRyxLQUFLLENBQUM7WUFDeEMsRUFBRSxDQUFDLGFBQWEsQ0FBQyxRQUFRLENBQUMsQ0FBQyxDQUFDLENBQUMsc0JBQXNCLENBQUMsRUFBRSxDQUFDLEtBQUssQ0FBQyxDQUFDLE1BQU0sR0FBRyxJQUFJLENBQUM7U0FDNUU7YUFBTSxJQUFJLEVBQUUsQ0FBQyxhQUFhLENBQUMsUUFBUSxDQUFDLENBQUMsQ0FBQyxDQUFDLHNCQUFzQixDQUFDLEVBQUUsQ0FBQyxLQUFLLENBQUMsQ0FBQyxNQUFNLElBQUksSUFBSSxFQUFFO1lBQy9FLElBQUksQ0FBQyxVQUFVLENBQUMsTUFBTSxHQUFHLElBQUksQ0FBQztZQUN2QyxFQUFFLENBQUMsYUFBYSxDQUFDLFFBQVEsQ0FBQyxDQUFDLENBQUMsQ0FBQyxzQkFBc0IsQ0FBQyxFQUFFLENBQUMsS0FBSyxDQUFDLENBQUMsTUFBTSxHQUFHLElBQUksQ0FBQztTQUM1RTtJQUNGLENBQUM7SUFFRCxpQ0FBa0IsR0FBbEI7UUFDQyxJQUFJLENBQUMsVUFBVSxDQUFDLE1BQU0sR0FBRyxJQUFJLENBQUM7UUFDOUIsSUFBTSxHQUFHLEdBQUcsOEJBQThCLENBQUM7UUFDM0MsSUFBTSxTQUFTLEdBQUcsR0FBRyxDQUFDLElBQUksQ0FBQyxLQUFLLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxHQUFHLEdBQUcsQ0FBQyxNQUFNLENBQUMsQ0FBQyxDQUFDO1FBQzlELElBQUksQ0FBQyxVQUFVLENBQUMsWUFBWSxDQUFDLEVBQUUsQ0FBQyxLQUFLLENBQUMsQ0FBQyxNQUFNLEdBQUcsU0FBUyxDQUFDO1FBQzFELElBQUksQ0FBQyxVQUFVLENBQUMsWUFBWSxDQUFDLGdCQUFNLENBQUMsQ0FBQyxXQUFXLEVBQUUsQ0FBQztJQUNwRCxDQUFDO0lBRUQsNkJBQWMsR0FBZDtRQUNDLElBQUksQ0FBQyxVQUFVLENBQUMsWUFBWSxDQUFDLGdCQUFNLENBQUMsQ0FBQyxnQkFBZ0IsRUFBRSxDQUFDO0lBQ3pELENBQUM7SUF6Qm1CLElBQUk7UUFEeEIsT0FBTztPQUNhLElBQUksQ0EwQnhCO0lBQUQsV0FBQztDQTFCRCxBQTBCQyxDQTFCaUMsRUFBRSxDQUFDLFNBQVMsR0EwQjdDO2tCQTFCb0IsSUFBSSIsImZpbGUiOiIiLCJzb3VyY2VSb290IjoiLyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBXcml0ZXIgZnJvbSAnLi93cml0ZXIvd3JpdGVyJztcblxuY29uc3QgeyBjY2NsYXNzLCBwcm9wZXJ0eSB9ID0gY2MuX2RlY29yYXRvcjtcblxuQGNjY2xhc3NcbmV4cG9ydCBkZWZhdWx0IGNsYXNzIERlbW8gZXh0ZW5kcyBjYy5Db21wb25lbnQge1xuXHRwcml2YXRlIHdyaXRlck5vZGU6IGNjLk5vZGUgPSBudWxsO1xuXHRzdGFydCgpIHtcblx0XHR0aGlzLndyaXRlck5vZGUgPSB0aGlzLm5vZGUuZ2V0Q2hpbGRCeU5hbWUoJ3dyaXRlcicpO1xuXHR9XG5cdG9uQ2hhbmdlU2hvd1N0YXR1c0NsaWNrKGVsKSB7XG5cdFx0aWYgKGVsLmN1cnJlbnRUYXJnZXQuY2hpbGRyZW5bMF0uZ2V0Q29tcG9uZW50SW5DaGlsZHJlbihjYy5MYWJlbCkuc3RyaW5nID09ICfpmpDol48nKSB7XG4gICAgICAgICAgICB0aGlzLndyaXRlck5vZGUuYWN0aXZlID0gZmFsc2U7XG5cdFx0XHRlbC5jdXJyZW50VGFyZ2V0LmNoaWxkcmVuWzBdLmdldENvbXBvbmVudEluQ2hpbGRyZW4oY2MuTGFiZWwpLnN0cmluZyA9ICfmmL7npLonO1xuXHRcdH0gZWxzZSBpZiAoZWwuY3VycmVudFRhcmdldC5jaGlsZHJlblswXS5nZXRDb21wb25lbnRJbkNoaWxkcmVuKGNjLkxhYmVsKS5zdHJpbmcgPT0gJ+aYvuekuicpIHtcbiAgICAgICAgICAgIHRoaXMud3JpdGVyTm9kZS5hY3RpdmUgPSB0cnVlO1xuXHRcdFx0ZWwuY3VycmVudFRhcmdldC5jaGlsZHJlblswXS5nZXRDb21wb25lbnRJbkNoaWxkcmVuKGNjLkxhYmVsKS5zdHJpbmcgPSAn6ZqQ6JePJztcblx0XHR9XG5cdH1cblxuXHRvbkNoYW5nZUxhYmVsQ2xpY2soKSB7XG5cdFx0dGhpcy53cml0ZXJOb2RlLmFjdGl2ZSA9IHRydWU7XG5cdFx0Y29uc3Qgc3RyID0gJ+enpuaXtuaYjuaciOaxieaXtuWFs+S4h+mHjOmVv+W+geS6uuacqui/mOS9huS9v+m+meWfjumjnuWwhuWcqOS4jeaVmeiDoemprOa4oemYtOWxsSc7XG5cdFx0Y29uc3QgbGFiZWxUZXh0ID0gc3RyW01hdGguZmxvb3IoTWF0aC5yYW5kb20oKSAqIHN0ci5sZW5ndGgpXTtcblx0XHR0aGlzLndyaXRlck5vZGUuZ2V0Q29tcG9uZW50KGNjLkxhYmVsKS5zdHJpbmcgPSBsYWJlbFRleHQ7XG5cdFx0dGhpcy53cml0ZXJOb2RlLmdldENvbXBvbmVudChXcml0ZXIpLmNoYW5nZUxhYmVsKCk7XG5cdH1cblxuXHRvbkFuaW1hdGVDbGljaygpIHtcblx0XHR0aGlzLndyaXRlck5vZGUuZ2V0Q29tcG9uZW50KFdyaXRlcikuYW5pbWF0ZUNoYXJhY3RlcigpO1xuXHR9XG59XG4iXX0= -------------------------------------------------------------------------------- /temp/quick-scripts/src/__qc_index__.js: -------------------------------------------------------------------------------- 1 | 2 | require('./assets/game_writer/writer/writer'); 3 | require('./assets/game_writer/writerDemo'); 4 | -------------------------------------------------------------------------------- /temp/quick-scripts/src/assets/game_writer/writerDemo.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | cc._RF.push(module, '4e4a5ivpPJGqbfnAqdVazQx', 'writerDemo'); 3 | // game_writer/writerDemo.ts 4 | 5 | "use strict"; 6 | var __extends = (this && this.__extends) || (function () { 7 | var extendStatics = function (d, b) { 8 | extendStatics = Object.setPrototypeOf || 9 | ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || 10 | function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; 11 | return extendStatics(d, b); 12 | }; 13 | return function (d, b) { 14 | extendStatics(d, b); 15 | function __() { this.constructor = d; } 16 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); 17 | }; 18 | })(); 19 | var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { 20 | var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; 21 | if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); 22 | else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; 23 | return c > 3 && r && Object.defineProperty(target, key, r), r; 24 | }; 25 | Object.defineProperty(exports, "__esModule", { value: true }); 26 | var writer_1 = require("./writer/writer"); 27 | var _a = cc._decorator, ccclass = _a.ccclass, property = _a.property; 28 | var Demo = /** @class */ (function (_super) { 29 | __extends(Demo, _super); 30 | function Demo() { 31 | var _this = _super !== null && _super.apply(this, arguments) || this; 32 | _this.writerNode = null; 33 | return _this; 34 | } 35 | Demo.prototype.start = function () { 36 | this.writerNode = this.node.getChildByName('writer'); 37 | }; 38 | Demo.prototype.onChangeShowStatusClick = function (el) { 39 | if (el.currentTarget.children[0].getComponentInChildren(cc.Label).string == '隐藏') { 40 | this.writerNode.active = false; 41 | el.currentTarget.children[0].getComponentInChildren(cc.Label).string = '显示'; 42 | } 43 | else if (el.currentTarget.children[0].getComponentInChildren(cc.Label).string == '显示') { 44 | this.writerNode.active = true; 45 | el.currentTarget.children[0].getComponentInChildren(cc.Label).string = '隐藏'; 46 | } 47 | }; 48 | Demo.prototype.onChangeLabelClick = function () { 49 | this.writerNode.active = true; 50 | var str = '秦时明月汉时关万里长征人未还但使龙城飞将在不教胡马渡阴山'; 51 | var labelText = str[Math.floor(Math.random() * str.length)]; 52 | this.writerNode.getComponent(cc.Label).string = labelText; 53 | this.writerNode.getComponent(writer_1.default).changeLabel(); 54 | }; 55 | Demo.prototype.onAnimateClick = function () { 56 | this.writerNode.getComponent(writer_1.default).animateCharacter(); 57 | }; 58 | Demo = __decorate([ 59 | ccclass 60 | ], Demo); 61 | return Demo; 62 | }(cc.Component)); 63 | exports.default = Demo; 64 | 65 | cc._RF.pop(); -------------------------------------------------------------------------------- /temp/quick-scripts/src/assets/game_writer/writerDemo.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["assets/game_writer/writerDemo.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0CAAqC;AAE/B,IAAA,kBAAqC,EAAnC,oBAAO,EAAE,sBAA0B,CAAC;AAG5C;IAAkC,wBAAY;IAD9C;QAAA,qEA2BC;QAzBQ,gBAAU,GAAY,IAAI,CAAC;;IAyBpC,CAAC;IAxBA,oBAAK,GAAL;QACC,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;IACtD,CAAC;IACD,sCAAuB,GAAvB,UAAwB,EAAE;QACzB,IAAI,EAAE,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,sBAAsB,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,MAAM,IAAI,IAAI,EAAE;YACxE,IAAI,CAAC,UAAU,CAAC,MAAM,GAAG,KAAK,CAAC;YACxC,EAAE,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,sBAAsB,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,MAAM,GAAG,IAAI,CAAC;SAC5E;aAAM,IAAI,EAAE,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,sBAAsB,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,MAAM,IAAI,IAAI,EAAE;YAC/E,IAAI,CAAC,UAAU,CAAC,MAAM,GAAG,IAAI,CAAC;YACvC,EAAE,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,sBAAsB,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,MAAM,GAAG,IAAI,CAAC;SAC5E;IACF,CAAC;IAED,iCAAkB,GAAlB;QACC,IAAI,CAAC,UAAU,CAAC,MAAM,GAAG,IAAI,CAAC;QAC9B,IAAM,GAAG,GAAG,8BAA8B,CAAC;QAC3C,IAAM,SAAS,GAAG,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC;QAC9D,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,MAAM,GAAG,SAAS,CAAC;QAC1D,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,gBAAM,CAAC,CAAC,WAAW,EAAE,CAAC;IACpD,CAAC;IAED,6BAAc,GAAd;QACC,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,gBAAM,CAAC,CAAC,gBAAgB,EAAE,CAAC;IACzD,CAAC;IAzBmB,IAAI;QADxB,OAAO;OACa,IAAI,CA0BxB;IAAD,WAAC;CA1BD,AA0BC,CA1BiC,EAAE,CAAC,SAAS,GA0B7C;kBA1BoB,IAAI","file":"","sourceRoot":"/","sourcesContent":["import Writer from './writer/writer';\n\nconst { ccclass, property } = cc._decorator;\n\n@ccclass\nexport default class Demo extends cc.Component {\n\tprivate writerNode: cc.Node = null;\n\tstart() {\n\t\tthis.writerNode = this.node.getChildByName('writer');\n\t}\n\tonChangeShowStatusClick(el) {\n\t\tif (el.currentTarget.children[0].getComponentInChildren(cc.Label).string == '隐藏') {\n this.writerNode.active = false;\n\t\t\tel.currentTarget.children[0].getComponentInChildren(cc.Label).string = '显示';\n\t\t} else if (el.currentTarget.children[0].getComponentInChildren(cc.Label).string == '显示') {\n this.writerNode.active = true;\n\t\t\tel.currentTarget.children[0].getComponentInChildren(cc.Label).string = '隐藏';\n\t\t}\n\t}\n\n\tonChangeLabelClick() {\n\t\tthis.writerNode.active = true;\n\t\tconst str = '秦时明月汉时关万里长征人未还但使龙城飞将在不教胡马渡阴山';\n\t\tconst labelText = str[Math.floor(Math.random() * str.length)];\n\t\tthis.writerNode.getComponent(cc.Label).string = labelText;\n\t\tthis.writerNode.getComponent(Writer).changeLabel();\n\t}\n\n\tonAnimateClick() {\n\t\tthis.writerNode.getComponent(Writer).animateCharacter();\n\t}\n}\n"]} -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "lib": [ "es2015", "es2017", "dom" ], 5 | "target": "es5", 6 | "experimentalDecorators": true, 7 | "skipLibCheck": true, 8 | "outDir": "temp/vscode-dist", 9 | "forceConsistentCasingInFileNames": true 10 | }, 11 | "exclude": [ 12 | "node_modules", 13 | "library", 14 | "local", 15 | "temp", 16 | "build", 17 | "settings" 18 | ] 19 | } --------------------------------------------------------------------------------