├── LICENSE ├── README.md ├── assets ├── Anm.meta ├── Anm │ ├── animation.anim │ └── animation.anim.meta ├── Scripts.meta ├── Scripts │ ├── AnimatorTest.ts │ ├── AnimatorTest.ts.meta │ ├── SpAnimator.ts │ └── SpAnimator.ts.meta ├── scene.scene ├── scene.scene.meta ├── sprite.meta └── sprite │ ├── doge.png │ ├── doge.png.meta │ ├── example.png │ ├── example.png.meta │ ├── hero.meta │ └── hero │ ├── Warrior_Sheet-Effect.png │ ├── Warrior_Sheet-Effect.png.meta │ ├── btn.png │ └── btn.png.meta ├── package.json ├── settings └── v2 │ └── packages │ ├── builder.json │ ├── cocos-service.json │ ├── device.json │ ├── engine.json │ ├── program.json │ └── project.json └── tsconfig.json /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Cocos-SpriteSheet-Animator 2 | Sprite Sheet Animator for Cocos Creator 3.5.2 3 | 4 | **Sprite Sheet Animator** is an animator for sprite sheet animation in cocos, it simply changes the UVs of the spriteframe, which is fast and light. 5 | 6 | 7 | ![anm1](https://user-images.githubusercontent.com/26038745/179398482-61167772-759d-465e-b437-c4e26d6ad458.gif) 8 | 9 | Currently it does not support **auto-atlas** yet, if you want to combine sprite sheet animations ,which can be done with photoshop. 10 | 11 | Please do not use auto-atlas ,or disable packable in spriteframe config. 12 | 13 | ![image](https://user-images.githubusercontent.com/26038745/179398559-6dab6f85-24d0-45fc-8f66-388985197a32.png) 14 | -------------------------------------------------------------------------------- /assets/Anm.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.1.0", 3 | "importer": "directory", 4 | "imported": true, 5 | "uuid": "16f436cb-5355-404b-b4e8-c3f68c8da736", 6 | "files": [], 7 | "subMetas": {}, 8 | "userData": { 9 | "compressionType": {}, 10 | "isRemoteBundle": {} 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /assets/Anm/animation.anim: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.AnimationClip", 4 | "_name": "animation", 5 | "_objFlags": 0, 6 | "_native": "", 7 | "sample": 30, 8 | "speed": 1, 9 | "wrapMode": 2, 10 | "enableTrsBlending": false, 11 | "_duration": 1, 12 | "_hash": 500763545, 13 | "_tracks": [ 14 | { 15 | "__id__": 1 16 | } 17 | ], 18 | "_exoticAnimation": null, 19 | "_events": [] 20 | }, 21 | { 22 | "__type__": "cc.animation.VectorTrack", 23 | "_binding": { 24 | "__type__": "cc.animation.TrackBinding", 25 | "path": { 26 | "__id__": 2 27 | } 28 | }, 29 | "_channels": [ 30 | { 31 | "__id__": 3 32 | }, 33 | { 34 | "__id__": 5 35 | }, 36 | { 37 | "__id__": 7 38 | }, 39 | { 40 | "__id__": 9 41 | } 42 | ], 43 | "_nComponents": 3 44 | }, 45 | { 46 | "__type__": "cc.animation.TrackPath", 47 | "_paths": [ 48 | "eulerAngles" 49 | ] 50 | }, 51 | { 52 | "__type__": "cc.animation.Channel", 53 | "_curve": { 54 | "__id__": 4 55 | } 56 | }, 57 | { 58 | "__type__": "cc.RealCurve", 59 | "_times": [ 60 | 0, 61 | 1 62 | ], 63 | "_values": [ 64 | { 65 | "__type__": "cc.RealKeyframeValue", 66 | "interpolationMode": 0, 67 | "tangentWeightMode": 0, 68 | "value": 0, 69 | "rightTangent": 0, 70 | "rightTangentWeight": 1, 71 | "leftTangent": 0, 72 | "leftTangentWeight": 1, 73 | "easingMethod": 0, 74 | "__editorExtras__": {} 75 | }, 76 | { 77 | "__type__": "cc.RealKeyframeValue", 78 | "interpolationMode": 0, 79 | "tangentWeightMode": 0, 80 | "value": 0, 81 | "rightTangent": 0, 82 | "rightTangentWeight": 1, 83 | "leftTangent": 0, 84 | "leftTangentWeight": 1, 85 | "easingMethod": 0, 86 | "__editorExtras__": {} 87 | } 88 | ], 89 | "preExtrapolation": 1, 90 | "postExtrapolation": 1 91 | }, 92 | { 93 | "__type__": "cc.animation.Channel", 94 | "_curve": { 95 | "__id__": 6 96 | } 97 | }, 98 | { 99 | "__type__": "cc.RealCurve", 100 | "_times": [ 101 | 0, 102 | 1 103 | ], 104 | "_values": [ 105 | { 106 | "__type__": "cc.RealKeyframeValue", 107 | "interpolationMode": 0, 108 | "tangentWeightMode": 0, 109 | "value": 0, 110 | "rightTangent": 0, 111 | "rightTangentWeight": 1, 112 | "leftTangent": 0, 113 | "leftTangentWeight": 1, 114 | "easingMethod": 0, 115 | "__editorExtras__": {} 116 | }, 117 | { 118 | "__type__": "cc.RealKeyframeValue", 119 | "interpolationMode": 0, 120 | "tangentWeightMode": 0, 121 | "value": 0, 122 | "rightTangent": 0, 123 | "rightTangentWeight": 1, 124 | "leftTangent": 0, 125 | "leftTangentWeight": 1, 126 | "easingMethod": 0, 127 | "__editorExtras__": {} 128 | } 129 | ], 130 | "preExtrapolation": 1, 131 | "postExtrapolation": 1 132 | }, 133 | { 134 | "__type__": "cc.animation.Channel", 135 | "_curve": { 136 | "__id__": 8 137 | } 138 | }, 139 | { 140 | "__type__": "cc.RealCurve", 141 | "_times": [ 142 | 0, 143 | 1 144 | ], 145 | "_values": [ 146 | { 147 | "__type__": "cc.RealKeyframeValue", 148 | "interpolationMode": 0, 149 | "tangentWeightMode": 0, 150 | "value": 0, 151 | "rightTangent": 0, 152 | "rightTangentWeight": 1, 153 | "leftTangent": 0, 154 | "leftTangentWeight": 1, 155 | "easingMethod": 0, 156 | "__editorExtras__": {} 157 | }, 158 | { 159 | "__type__": "cc.RealKeyframeValue", 160 | "interpolationMode": 0, 161 | "tangentWeightMode": 0, 162 | "value": 360, 163 | "rightTangent": 0, 164 | "rightTangentWeight": 1, 165 | "leftTangent": 0, 166 | "leftTangentWeight": 1, 167 | "easingMethod": 0, 168 | "__editorExtras__": {} 169 | } 170 | ], 171 | "preExtrapolation": 1, 172 | "postExtrapolation": 1 173 | }, 174 | { 175 | "__type__": "cc.animation.Channel", 176 | "_curve": { 177 | "__id__": 10 178 | } 179 | }, 180 | { 181 | "__type__": "cc.RealCurve", 182 | "_times": [], 183 | "_values": [], 184 | "preExtrapolation": 1, 185 | "postExtrapolation": 1 186 | } 187 | ] -------------------------------------------------------------------------------- /assets/Anm/animation.anim.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "2.0.3", 3 | "importer": "animation-clip", 4 | "imported": true, 5 | "uuid": "856b7d5b-e52e-4097-a55b-8097acbd0a52", 6 | "files": [ 7 | ".cconb" 8 | ], 9 | "subMetas": {}, 10 | "userData": { 11 | "name": "animation" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /assets/Scripts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.1.0", 3 | "importer": "directory", 4 | "imported": true, 5 | "uuid": "b0d7862a-c750-4ffb-8537-a73ed9367210", 6 | "files": [], 7 | "subMetas": {}, 8 | "userData": { 9 | "compressionType": {}, 10 | "isRemoteBundle": {} 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /assets/Scripts/AnimatorTest.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * @Descripttion: 3 | * @version: 4 | * @Author: iwae 5 | * @Date: 2022-07-16 23:01:49 6 | * @LastEditors: iwae 7 | * @LastEditTime: 2022-07-16 23:59:21 8 | */ 9 | import { _decorator, Component, Node, LabelComponent } from 'cc'; 10 | import { SpAnimator } from './SpAnimator'; 11 | const { ccclass, property } = _decorator; 12 | 13 | @ccclass('AnimatorTest') 14 | export class AnimatorTest extends Component { 15 | 16 | @property(SpAnimator) 17 | anm: SpAnimator = null; 18 | @property(LabelComponent) 19 | text: LabelComponent = null; 20 | 21 | onEnable(){ 22 | this.showAnmState(); 23 | 24 | } 25 | 26 | playAnm(event: Event, customEventData: string) { 27 | 28 | this.anm.Anmimation = Number(customEventData); 29 | 30 | this.showAnmState(); 31 | 32 | } 33 | 34 | showAnmState(){ 35 | const duration = Math.floor(this.anm.duration*1000)/1000; 36 | this.text.string = "Anm:" + this.anm.Anmimation + " Duration:" + duration; 37 | 38 | } 39 | 40 | 41 | } 42 | 43 | -------------------------------------------------------------------------------- /assets/Scripts/AnimatorTest.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "4.0.23", 3 | "importer": "typescript", 4 | "imported": true, 5 | "uuid": "2a2a8d72-a026-49dc-98cf-f7b856a32fed", 6 | "files": [], 7 | "subMetas": {}, 8 | "userData": {} 9 | } 10 | -------------------------------------------------------------------------------- /assets/Scripts/SpAnimator.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * @Descripttion: 3 | * @version: 4 | * @Author: iwae 5 | * @Date: 2022-07-16 20:48:08 6 | * @LastEditors: iwae 7 | * @LastEditTime: 2022-07-17 20:23:09 8 | */ 9 | 10 | import { _decorator, Sprite, SpriteFrame, CCInteger, Vec2, UITransform } from 'cc'; 11 | import { EDITOR } from 'cc/env'; 12 | const { ccclass, property, executeInEditMode, menu, disallowMultiple, executionOrder } = _decorator; 13 | 14 | @ccclass('anm') 15 | export class anm { 16 | @property({ type: CCInteger, displayOrder: 0, displayName: "Start Frame" }) 17 | start: number = 0; 18 | @property({ type: CCInteger, displayOrder: 0, displayName: "End Frame" }) 19 | end: number = 10; 20 | @property({ type: CCInteger, min: 1, displayOrder: 1, displayName: "Num Tiles X" }) 21 | x: number = 1; 22 | @property({ type: CCInteger, min: 1, displayOrder: 1, displayName: "Num Tiles Y" }) 23 | y: number = 1; 24 | @property({ min: 0.001, displayName: "Frame time" }) 25 | frame: number = 0.05; 26 | @property({ type: SpriteFrame }) 27 | sp: SpriteFrame = null; 28 | @property({ displayName: "Loop Play" }) 29 | loop: boolean = true; 30 | } 31 | 32 | @ccclass('Sprite Sheet Animator') 33 | @menu("2D/Sprite Sheet Animator") 34 | @disallowMultiple(true) 35 | @executionOrder(109) 36 | @executeInEditMode 37 | export class SpAnimator extends Sprite { 38 | 39 | 40 | @property({ type: anm }) 41 | anms: anm[] = []; 42 | 43 | /** 44 | * @EN get current animation state 45 | */ 46 | @property({ type: CCInteger, serializable: true, override: true }) 47 | get defaultAnm() { 48 | return this._currentAnm; 49 | } 50 | set defaultAnm(v) { 51 | this._currentAnm = v; 52 | this.setAnmSize(v); 53 | if (this._editorPlaying) { 54 | this.playNewAnm(); 55 | } 56 | } 57 | 58 | @property({ serializable: true, visible: false }) 59 | private _currentAnm = 0; 60 | 61 | /** 62 | * @EN set if play on load in runtime 63 | */ 64 | @property 65 | playOnLoad: boolean = true; 66 | 67 | @property 68 | get playInEditor() { 69 | return this._editorPlaying 70 | } 71 | 72 | set playInEditor(v) { 73 | this._editorPlaying = v; 74 | if (this._editorPlaying) { 75 | this.playNewAnm(); 76 | } else { 77 | this.stop() 78 | } 79 | } 80 | 81 | @property({ serializable: true, visible: false }) 82 | private _editorPlaying = false; 83 | 84 | 85 | private anmFrame = 0.05 86 | 87 | private startFrame = 0; 88 | 89 | private endFrame = 10; 90 | 91 | private frame = 0; 92 | 93 | private _offset = 0; 94 | 95 | private _size = new Vec2(); 96 | 97 | 98 | /** 99 | * @EN get the state of current animation 100 | */ 101 | get Anmimation(): number { 102 | return this._currentAnm; 103 | } 104 | /** 105 | * @EN set the state of current animation 106 | */ 107 | set Anmimation(v: number) { 108 | this._currentAnm = v; 109 | this.playNewAnm(); 110 | } 111 | /** 112 | * @EN get the duration of current animation's length 113 | */ 114 | get duration(): number { 115 | const anm = this.anms[this._currentAnm]; 116 | const time = anm.frame * (anm.end - anm.start); 117 | return time; 118 | 119 | } 120 | 121 | 122 | onEnable() { 123 | 124 | this.trim = true; 125 | this.setAnmSize(0); 126 | if (!EDITOR) { 127 | this._offset = 0; 128 | } 129 | if (this.playOnLoad || this.playInEditor) { 130 | this.playNewAnm(); 131 | } 132 | 133 | } 134 | /** 135 | * @EN it can be used to resume animaton's play as well; 136 | */ 137 | public play() { 138 | this.schedule(this.playAnm, this.anmFrame) 139 | } 140 | 141 | public stop() { 142 | this.unschedule(this.playAnm) 143 | } 144 | 145 | private playAnm() { 146 | if (this.frame > this.endFrame) { 147 | /* stop the anm if it is not loop play */ 148 | if (!this.anms[this._currentAnm].loop) { 149 | this.stop(); 150 | return; 151 | } 152 | 153 | this.frame = this.startFrame; 154 | }; 155 | this.updateRect(this.frame); 156 | this.frame++; 157 | 158 | } 159 | 160 | private playNewAnm() { 161 | this.stop(); 162 | this.setAnmSize(this._currentAnm); 163 | } 164 | 165 | private setAnmSize(index: number) { 166 | const anm = this.anms[index]; 167 | if (!anm) { 168 | this.stop(); 169 | console.error("animation_" + index + " not exist") 170 | return; 171 | } 172 | if (!anm.sp) { 173 | this.stop(); 174 | console.error("animation_" + index + " has not spriteframe") 175 | return; 176 | } 177 | 178 | if (anm.end < anm.start) { 179 | this.stop(); 180 | console.error("animation_" + index + " end frame should be greater than start frame") 181 | return; 182 | } 183 | 184 | this.startFrame = this.frame = anm.start; 185 | this.endFrame = anm.end; 186 | this.anmFrame = anm.frame; 187 | if (this.spriteFrame != anm.sp) this.spriteFrame = anm.sp; 188 | this._size.x = anm.sp.texture.width / anm.x; 189 | this._size.y = anm.sp.texture.height / anm.y; 190 | this.spriteFrame.rect.width = this._size.x; 191 | this.spriteFrame.rect.height = this._size.y; 192 | this.node.getComponent(UITransform).setContentSize(this._size.x, this._size.y); 193 | this.recalculateUV(); 194 | this._assembler.updateUVs(this) 195 | this.playAnm(); 196 | this.play(); 197 | } 198 | 199 | 200 | /** 201 | * @EN update spriteframe's rect 202 | */ 203 | protected updateRect(frame: number) { 204 | const tileX = this.anms[this._currentAnm].x; 205 | this.spriteFrame.rect.x = this._offset + (frame % tileX) * this._size.x; 206 | this.spriteFrame.rect.y = 0 + Math.floor(frame / tileX) * this._size.y; 207 | /* _calculateUV can be used as well, if you dont want to hack */ 208 | // this.spriteFrame._calculateUV(); 209 | this.recalculateUV(); 210 | /* inform assembler update UVs */ 211 | this._assembler.updateUVs(this); 212 | } 213 | /** 214 | * @EN calculate spriteframe's uv 215 | */ 216 | private recalculateUV() { 217 | const sf: any = this.spriteFrame 218 | const rect = sf.rect; 219 | const uv = sf.uv; 220 | const tex = sf.texture; 221 | const texw = tex.width; 222 | const texh = tex.height; 223 | 224 | if (sf._rotated) { 225 | const l = texw === 0 ? 0 : rect.x / texw; 226 | const r = texw === 0 ? 1 : (rect.x + rect.height) / texw; 227 | const t = texh === 0 ? 0 : rect.y / texh; 228 | const b = texh === 0 ? 1 : (rect.y + rect.width) / texh; 229 | 230 | if (sf._isFlipUVX && sf._isFlipUVY) { 231 | /* 232 | 3 - 1 233 | | | 234 | 2 - 0 235 | */ 236 | uv[0] = r; 237 | uv[1] = b; 238 | uv[2] = r; 239 | uv[3] = t; 240 | uv[4] = l; 241 | uv[5] = b; 242 | uv[6] = l; 243 | uv[7] = t; 244 | } else if (sf._isFlipUVX) { 245 | /* 246 | 2 - 0 247 | | | 248 | 3 - 1 249 | */ 250 | uv[0] = r; 251 | uv[1] = t; 252 | uv[2] = r; 253 | uv[3] = b; 254 | uv[4] = l; 255 | uv[5] = t; 256 | uv[6] = l; 257 | uv[7] = b; 258 | } else if (sf._isFlipUVY) { 259 | /* 260 | 1 - 3 261 | | | 262 | 0 - 2 263 | */ 264 | uv[0] = l; 265 | uv[1] = b; 266 | uv[2] = l; 267 | uv[3] = t; 268 | uv[4] = r; 269 | uv[5] = b; 270 | uv[6] = r; 271 | uv[7] = t; 272 | } else { 273 | /* 274 | 0 - 2 275 | | | 276 | 1 - 3 277 | */ 278 | uv[0] = l; 279 | uv[1] = t; 280 | uv[2] = l; 281 | uv[3] = b; 282 | uv[4] = r; 283 | uv[5] = t; 284 | uv[6] = r; 285 | uv[7] = b; 286 | } 287 | 288 | } else { 289 | const l = texw === 0 ? 0 : rect.x / texw; 290 | const r = texw === 0 ? 1 : (rect.x + rect.width) / texw; 291 | const b = texh === 0 ? 1 : (rect.y + rect.height) / texh; 292 | const t = texh === 0 ? 0 : rect.y / texh; 293 | if (sf._isFlipUVX && sf._isFlipUVY) { 294 | /* 295 | 1 - 0 296 | | | 297 | 3 - 2 298 | */ 299 | uv[0] = r; 300 | uv[1] = t; 301 | uv[2] = l; 302 | uv[3] = t; 303 | uv[4] = r; 304 | uv[5] = b; 305 | uv[6] = l; 306 | uv[7] = b; 307 | } else if (sf._isFlipUVX) { 308 | /* 309 | 3 - 2 310 | | | 311 | 1 - 0 312 | */ 313 | uv[0] = r; 314 | uv[1] = b; 315 | uv[2] = l; 316 | uv[3] = b; 317 | uv[4] = r; 318 | uv[5] = t; 319 | uv[6] = l; 320 | uv[7] = t; 321 | } else if (sf._isFlipUVY) { 322 | /* 323 | 0 - 1 324 | | | 325 | 2 - 3 326 | */ 327 | uv[0] = l; 328 | uv[1] = t; 329 | uv[2] = r; 330 | uv[3] = t; 331 | uv[4] = l; 332 | uv[5] = b; 333 | uv[6] = r; 334 | uv[7] = b; 335 | } else { 336 | /* 337 | 2 - 3 338 | | | 339 | 0 - 1 340 | */ 341 | uv[0] = l; 342 | uv[1] = b; 343 | uv[2] = r; 344 | uv[3] = b; 345 | uv[4] = l; 346 | uv[5] = t; 347 | uv[6] = r; 348 | uv[7] = t; 349 | } 350 | 351 | } 352 | 353 | } 354 | } 355 | -------------------------------------------------------------------------------- /assets/Scripts/SpAnimator.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "4.0.23", 3 | "importer": "typescript", 4 | "imported": true, 5 | "uuid": "9538441a-db5b-4e6d-97ad-e5a4382de670", 6 | "files": [], 7 | "subMetas": {}, 8 | "userData": {} 9 | } 10 | -------------------------------------------------------------------------------- /assets/scene.scene: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.SceneAsset", 4 | "_name": "", 5 | "_objFlags": 0, 6 | "_native": "", 7 | "scene": { 8 | "__id__": 1 9 | } 10 | }, 11 | { 12 | "__type__": "cc.Scene", 13 | "_name": "scene", 14 | "_objFlags": 0, 15 | "_parent": null, 16 | "_children": [ 17 | { 18 | "__id__": 2 19 | } 20 | ], 21 | "_active": true, 22 | "_components": [], 23 | "_prefab": null, 24 | "autoReleaseAssets": false, 25 | "_globals": { 26 | "__id__": 139 27 | }, 28 | "_id": "a8629d03-36ec-4a48-a209-08eb99dd9f48" 29 | }, 30 | { 31 | "__type__": "cc.Node", 32 | "_name": "Canvas", 33 | "_objFlags": 0, 34 | "_parent": { 35 | "__id__": 1 36 | }, 37 | "_children": [ 38 | { 39 | "__id__": 3 40 | }, 41 | { 42 | "__id__": 5 43 | }, 44 | { 45 | "__id__": 9 46 | }, 47 | { 48 | "__id__": 15 49 | }, 50 | { 51 | "__id__": 26 52 | }, 53 | { 54 | "__id__": 36 55 | }, 56 | { 57 | "__id__": 47 58 | }, 59 | { 60 | "__id__": 58 61 | }, 62 | { 63 | "__id__": 70 64 | }, 65 | { 66 | "__id__": 80 67 | } 68 | ], 69 | "_active": true, 70 | "_components": [ 71 | { 72 | "__id__": 136 73 | }, 74 | { 75 | "__id__": 137 76 | }, 77 | { 78 | "__id__": 138 79 | } 80 | ], 81 | "_prefab": null, 82 | "_lpos": { 83 | "__type__": "cc.Vec3", 84 | "x": 640, 85 | "y": 360, 86 | "z": 0 87 | }, 88 | "_lrot": { 89 | "__type__": "cc.Quat", 90 | "x": 0, 91 | "y": 0, 92 | "z": 0, 93 | "w": 1 94 | }, 95 | "_lscale": { 96 | "__type__": "cc.Vec3", 97 | "x": 1, 98 | "y": 1, 99 | "z": 1 100 | }, 101 | "_layer": 33554432, 102 | "_euler": { 103 | "__type__": "cc.Vec3", 104 | "x": 0, 105 | "y": 0, 106 | "z": 0 107 | }, 108 | "_id": "8bBIAmkhFB871ooKo1uKl2" 109 | }, 110 | { 111 | "__type__": "cc.Node", 112 | "_name": "Camera", 113 | "_objFlags": 0, 114 | "_parent": { 115 | "__id__": 2 116 | }, 117 | "_children": [], 118 | "_active": true, 119 | "_components": [ 120 | { 121 | "__id__": 4 122 | } 123 | ], 124 | "_prefab": null, 125 | "_lpos": { 126 | "__type__": "cc.Vec3", 127 | "x": 0, 128 | "y": 0, 129 | "z": 1000 130 | }, 131 | "_lrot": { 132 | "__type__": "cc.Quat", 133 | "x": 0, 134 | "y": 0, 135 | "z": 0, 136 | "w": 1 137 | }, 138 | "_lscale": { 139 | "__type__": "cc.Vec3", 140 | "x": 1, 141 | "y": 1, 142 | "z": 1 143 | }, 144 | "_layer": 1073741824, 145 | "_euler": { 146 | "__type__": "cc.Vec3", 147 | "x": 0, 148 | "y": 0, 149 | "z": 0 150 | }, 151 | "_id": "ecS1NpaVlOPZnHLKGjiLwe" 152 | }, 153 | { 154 | "__type__": "cc.Camera", 155 | "_name": "", 156 | "_objFlags": 0, 157 | "node": { 158 | "__id__": 3 159 | }, 160 | "_enabled": true, 161 | "__prefab": null, 162 | "_projection": 0, 163 | "_priority": 1073741824, 164 | "_fov": 45, 165 | "_fovAxis": 0, 166 | "_orthoHeight": 422.44224422442244, 167 | "_near": 1, 168 | "_far": 2000, 169 | "_color": { 170 | "__type__": "cc.Color", 171 | "r": 255, 172 | "g": 255, 173 | "b": 255, 174 | "a": 255 175 | }, 176 | "_depth": 1, 177 | "_stencil": 0, 178 | "_clearFlags": 6, 179 | "_rect": { 180 | "__type__": "cc.Rect", 181 | "x": 0, 182 | "y": 0, 183 | "width": 1, 184 | "height": 1 185 | }, 186 | "_aperture": 19, 187 | "_shutter": 7, 188 | "_iso": 0, 189 | "_screenScale": 1, 190 | "_visibility": 41943040, 191 | "_targetTexture": null, 192 | "_id": "adsXqlXNZES6eMyxr3wmRO" 193 | }, 194 | { 195 | "__type__": "cc.Node", 196 | "_name": "BG", 197 | "_objFlags": 0, 198 | "_parent": { 199 | "__id__": 2 200 | }, 201 | "_children": [], 202 | "_active": true, 203 | "_components": [ 204 | { 205 | "__id__": 6 206 | }, 207 | { 208 | "__id__": 7 209 | }, 210 | { 211 | "__id__": 8 212 | } 213 | ], 214 | "_prefab": null, 215 | "_lpos": { 216 | "__type__": "cc.Vec3", 217 | "x": 10, 218 | "y": 0, 219 | "z": 0 220 | }, 221 | "_lrot": { 222 | "__type__": "cc.Quat", 223 | "x": 0, 224 | "y": 0, 225 | "z": 0, 226 | "w": 1 227 | }, 228 | "_lscale": { 229 | "__type__": "cc.Vec3", 230 | "x": 1, 231 | "y": 1, 232 | "z": 1 233 | }, 234 | "_layer": 33554432, 235 | "_euler": { 236 | "__type__": "cc.Vec3", 237 | "x": 0, 238 | "y": 0, 239 | "z": 0 240 | }, 241 | "_id": "71NzZaQk1JZ4NA8+Q3QGc/" 242 | }, 243 | { 244 | "__type__": "cc.UITransform", 245 | "_name": "", 246 | "_objFlags": 0, 247 | "node": { 248 | "__id__": 5 249 | }, 250 | "_enabled": true, 251 | "__prefab": null, 252 | "_contentSize": { 253 | "__type__": "cc.Size", 254 | "width": 1400, 255 | "height": 720 256 | }, 257 | "_anchorPoint": { 258 | "__type__": "cc.Vec2", 259 | "x": 0.5, 260 | "y": 0.5 261 | }, 262 | "_id": "15W5O95fVPVJw/S3Y/iUUQ" 263 | }, 264 | { 265 | "__type__": "cc.Sprite", 266 | "_name": "", 267 | "_objFlags": 0, 268 | "node": { 269 | "__id__": 5 270 | }, 271 | "_enabled": true, 272 | "__prefab": null, 273 | "_visFlags": 0, 274 | "_customMaterial": null, 275 | "_srcBlendFactor": 2, 276 | "_dstBlendFactor": 4, 277 | "_color": { 278 | "__type__": "cc.Color", 279 | "r": 255, 280 | "g": 255, 281 | "b": 255, 282 | "a": 255 283 | }, 284 | "_spriteFrame": { 285 | "__uuid__": "ff674d7f-8ef0-46d9-bc34-8f355be3b22f@f9941", 286 | "__expectedType__": "cc.SpriteFrame" 287 | }, 288 | "_type": 0, 289 | "_fillType": 0, 290 | "_sizeMode": 0, 291 | "_fillCenter": { 292 | "__type__": "cc.Vec2", 293 | "x": 0, 294 | "y": 0 295 | }, 296 | "_fillStart": 0, 297 | "_fillRange": 0, 298 | "_isTrimmedMode": true, 299 | "_useGrayscale": false, 300 | "_atlas": null, 301 | "_id": "22kRZqMhBN14hSLiWm9Mqr" 302 | }, 303 | { 304 | "__type__": "cc.Widget", 305 | "_name": "", 306 | "_objFlags": 0, 307 | "node": { 308 | "__id__": 5 309 | }, 310 | "_enabled": true, 311 | "__prefab": null, 312 | "_alignFlags": 12, 313 | "_target": null, 314 | "_left": -50, 315 | "_right": -119.47500000000002, 316 | "_top": 0, 317 | "_bottom": 0, 318 | "_horizontalCenter": 0, 319 | "_verticalCenter": 0, 320 | "_isAbsLeft": true, 321 | "_isAbsRight": true, 322 | "_isAbsTop": true, 323 | "_isAbsBottom": true, 324 | "_isAbsHorizontalCenter": true, 325 | "_isAbsVerticalCenter": true, 326 | "_originalWidth": 1400, 327 | "_originalHeight": 0, 328 | "_alignMode": 2, 329 | "_lockFlags": 0, 330 | "_id": "76B3tNmKJHzrGCX6HP9WY2" 331 | }, 332 | { 333 | "__type__": "cc.Node", 334 | "_name": "ColorBg", 335 | "_objFlags": 0, 336 | "_parent": { 337 | "__id__": 2 338 | }, 339 | "_children": [], 340 | "_active": true, 341 | "_components": [ 342 | { 343 | "__id__": 10 344 | }, 345 | { 346 | "__id__": 11 347 | }, 348 | { 349 | "__id__": 12 350 | }, 351 | { 352 | "__id__": 13 353 | } 354 | ], 355 | "_prefab": null, 356 | "_lpos": { 357 | "__type__": "cc.Vec3", 358 | "x": 520, 359 | "y": 0, 360 | "z": 0 361 | }, 362 | "_lrot": { 363 | "__type__": "cc.Quat", 364 | "x": 0, 365 | "y": 0, 366 | "z": 0, 367 | "w": 1 368 | }, 369 | "_lscale": { 370 | "__type__": "cc.Vec3", 371 | "x": 1, 372 | "y": 1, 373 | "z": 1 374 | }, 375 | "_layer": 33554432, 376 | "_euler": { 377 | "__type__": "cc.Vec3", 378 | "x": 0, 379 | "y": 0, 380 | "z": 0 381 | }, 382 | "_id": "53q2/KFhlLwL5HZOgqt5ZE" 383 | }, 384 | { 385 | "__type__": "cc.UITransform", 386 | "_name": "", 387 | "_objFlags": 0, 388 | "node": { 389 | "__id__": 9 390 | }, 391 | "_enabled": true, 392 | "__prefab": null, 393 | "_contentSize": { 394 | "__type__": "cc.Size", 395 | "width": 240, 396 | "height": 720 397 | }, 398 | "_anchorPoint": { 399 | "__type__": "cc.Vec2", 400 | "x": 0.5, 401 | "y": 0.5 402 | }, 403 | "_id": "7e41edkLdM3bwpRpcEF4bW" 404 | }, 405 | { 406 | "__type__": "cc.Sprite", 407 | "_name": "", 408 | "_objFlags": 0, 409 | "node": { 410 | "__id__": 9 411 | }, 412 | "_enabled": true, 413 | "__prefab": null, 414 | "_visFlags": 0, 415 | "_customMaterial": null, 416 | "_srcBlendFactor": 2, 417 | "_dstBlendFactor": 4, 418 | "_color": { 419 | "__type__": "cc.Color", 420 | "r": 96, 421 | "g": 88, 422 | "b": 122, 423 | "a": 255 424 | }, 425 | "_spriteFrame": { 426 | "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", 427 | "__expectedType__": "cc.SpriteFrame" 428 | }, 429 | "_type": 0, 430 | "_fillType": 0, 431 | "_sizeMode": 0, 432 | "_fillCenter": { 433 | "__type__": "cc.Vec2", 434 | "x": 0, 435 | "y": 0 436 | }, 437 | "_fillStart": 0, 438 | "_fillRange": 0, 439 | "_isTrimmedMode": true, 440 | "_useGrayscale": false, 441 | "_atlas": null, 442 | "_id": "8fxDGTqopFK4cHHKMihN/e" 443 | }, 444 | { 445 | "__type__": "cc.Widget", 446 | "_name": "", 447 | "_objFlags": 0, 448 | "node": { 449 | "__id__": 9 450 | }, 451 | "_enabled": true, 452 | "__prefab": null, 453 | "_alignFlags": 37, 454 | "_target": null, 455 | "_left": 590, 456 | "_right": 0, 457 | "_top": 0, 458 | "_bottom": 0, 459 | "_horizontalCenter": 0, 460 | "_verticalCenter": 0, 461 | "_isAbsLeft": true, 462 | "_isAbsRight": true, 463 | "_isAbsTop": true, 464 | "_isAbsBottom": true, 465 | "_isAbsHorizontalCenter": true, 466 | "_isAbsVerticalCenter": true, 467 | "_originalWidth": 100, 468 | "_originalHeight": 100, 469 | "_alignMode": 2, 470 | "_lockFlags": 0, 471 | "_id": "89eQjjkWdJeKaxJ2/wcWrz" 472 | }, 473 | { 474 | "__type__": "2a2a81yoCZJ3JjP97hWoy/t", 475 | "_name": "", 476 | "_objFlags": 0, 477 | "node": { 478 | "__id__": 9 479 | }, 480 | "_enabled": true, 481 | "__prefab": null, 482 | "anm": { 483 | "__id__": 14 484 | }, 485 | "text": { 486 | "__id__": 25 487 | }, 488 | "_id": "14/tpd3LlL040fznJq49gQ" 489 | }, 490 | { 491 | "__type__": "95384Qa21tObZet5aQ4LeZw", 492 | "_name": "", 493 | "_objFlags": 0, 494 | "node": { 495 | "__id__": 15 496 | }, 497 | "_enabled": true, 498 | "__prefab": null, 499 | "_visFlags": 0, 500 | "_customMaterial": null, 501 | "_srcBlendFactor": 2, 502 | "_dstBlendFactor": 4, 503 | "_color": { 504 | "__type__": "cc.Color", 505 | "r": 255, 506 | "g": 255, 507 | "b": 255, 508 | "a": 255 509 | }, 510 | "_spriteFrame": { 511 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 512 | "__expectedType__": "cc.SpriteFrame" 513 | }, 514 | "_type": 0, 515 | "_fillType": 0, 516 | "_sizeMode": 0, 517 | "_fillCenter": { 518 | "__type__": "cc.Vec2", 519 | "x": 0, 520 | "y": 0 521 | }, 522 | "_fillStart": 0, 523 | "_fillRange": 0, 524 | "_isTrimmedMode": true, 525 | "_useGrayscale": false, 526 | "_atlas": null, 527 | "anms": [ 528 | { 529 | "__id__": 18 530 | }, 531 | { 532 | "__id__": 19 533 | }, 534 | { 535 | "__id__": 20 536 | }, 537 | { 538 | "__id__": 21 539 | }, 540 | { 541 | "__id__": 22 542 | }, 543 | { 544 | "__id__": 23 545 | }, 546 | { 547 | "__id__": 24 548 | } 549 | ], 550 | "_currentAnm": 0, 551 | "playOnLoad": true, 552 | "_editorPlaying": true, 553 | "_id": "95dF+qgeVIRaMIRkjUIMvX" 554 | }, 555 | { 556 | "__type__": "cc.Node", 557 | "_name": "Hero", 558 | "_objFlags": 0, 559 | "_parent": { 560 | "__id__": 2 561 | }, 562 | "_children": [], 563 | "_active": true, 564 | "_components": [ 565 | { 566 | "__id__": 16 567 | }, 568 | { 569 | "__id__": 14 570 | }, 571 | { 572 | "__id__": 17 573 | } 574 | ], 575 | "_prefab": null, 576 | "_lpos": { 577 | "__type__": "cc.Vec3", 578 | "x": -389.976, 579 | "y": -25.765, 580 | "z": 0 581 | }, 582 | "_lrot": { 583 | "__type__": "cc.Quat", 584 | "x": 0, 585 | "y": 0, 586 | "z": 0, 587 | "w": 1 588 | }, 589 | "_lscale": { 590 | "__type__": "cc.Vec3", 591 | "x": 3, 592 | "y": 3, 593 | "z": 2 594 | }, 595 | "_layer": 33554432, 596 | "_euler": { 597 | "__type__": "cc.Vec3", 598 | "x": 0, 599 | "y": 0, 600 | "z": 0 601 | }, 602 | "_id": "acGGDHzxNEtr3HI6UskxbG" 603 | }, 604 | { 605 | "__type__": "cc.UITransform", 606 | "_name": "", 607 | "_objFlags": 0, 608 | "node": { 609 | "__id__": 15 610 | }, 611 | "_enabled": true, 612 | "__prefab": null, 613 | "_contentSize": { 614 | "__type__": "cc.Size", 615 | "width": 69, 616 | "height": 44 617 | }, 618 | "_anchorPoint": { 619 | "__type__": "cc.Vec2", 620 | "x": 0.5, 621 | "y": 0.5 622 | }, 623 | "_id": "16eNIe8zNH9KFkqLfuCOPr" 624 | }, 625 | { 626 | "__type__": "cc.Widget", 627 | "_name": "", 628 | "_objFlags": 0, 629 | "node": { 630 | "__id__": 15 631 | }, 632 | "_enabled": true, 633 | "__prefab": null, 634 | "_alignFlags": 8, 635 | "_target": null, 636 | "_left": 146.524, 637 | "_right": 809.087, 638 | "_top": 0, 639 | "_bottom": 0, 640 | "_horizontalCenter": 0, 641 | "_verticalCenter": 0, 642 | "_isAbsLeft": true, 643 | "_isAbsRight": true, 644 | "_isAbsTop": true, 645 | "_isAbsBottom": true, 646 | "_isAbsHorizontalCenter": true, 647 | "_isAbsVerticalCenter": true, 648 | "_originalWidth": 69, 649 | "_originalHeight": 0, 650 | "_alignMode": 2, 651 | "_lockFlags": 0, 652 | "_id": "cfTwcOq0xA+oy2smRdqBhO" 653 | }, 654 | { 655 | "__type__": "anm", 656 | "start": 0, 657 | "end": 5, 658 | "x": 6, 659 | "y": 17, 660 | "frame": 0.15, 661 | "sp": { 662 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 663 | "__expectedType__": "cc.SpriteFrame" 664 | }, 665 | "loop": true 666 | }, 667 | { 668 | "__type__": "anm", 669 | "start": 6, 670 | "end": 13, 671 | "x": 6, 672 | "y": 17, 673 | "frame": 0.1, 674 | "sp": { 675 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 676 | "__expectedType__": "cc.SpriteFrame" 677 | }, 678 | "loop": true 679 | }, 680 | { 681 | "__type__": "anm", 682 | "start": 14, 683 | "end": 25, 684 | "x": 6, 685 | "y": 17, 686 | "frame": 0.08, 687 | "sp": { 688 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 689 | "__expectedType__": "cc.SpriteFrame" 690 | }, 691 | "loop": true 692 | }, 693 | { 694 | "__type__": "anm", 695 | "start": 26, 696 | "end": 36, 697 | "x": 6, 698 | "y": 17, 699 | "frame": 0.15, 700 | "sp": { 701 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 702 | "__expectedType__": "cc.SpriteFrame" 703 | }, 704 | "loop": false 705 | }, 706 | { 707 | "__type__": "anm", 708 | "start": 77, 709 | "end": 84, 710 | "x": 6, 711 | "y": 17, 712 | "frame": 0.1, 713 | "sp": { 714 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 715 | "__expectedType__": "cc.SpriteFrame" 716 | }, 717 | "loop": true 718 | }, 719 | { 720 | "__type__": "anm", 721 | "start": 37, 722 | "end": 41, 723 | "x": 6, 724 | "y": 17, 725 | "frame": 0.13, 726 | "sp": { 727 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 728 | "__expectedType__": "cc.SpriteFrame" 729 | }, 730 | "loop": true 731 | }, 732 | { 733 | "__type__": "anm", 734 | "start": 54, 735 | "end": 64, 736 | "x": 6, 737 | "y": 17, 738 | "frame": 0.13, 739 | "sp": { 740 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 741 | "__expectedType__": "cc.SpriteFrame" 742 | }, 743 | "loop": true 744 | }, 745 | { 746 | "__type__": "cc.Label", 747 | "_name": "", 748 | "_objFlags": 0, 749 | "node": null, 750 | "_enabled": true, 751 | "__prefab": null, 752 | "_visFlags": 0, 753 | "_customMaterial": null, 754 | "_srcBlendFactor": 2, 755 | "_dstBlendFactor": 4, 756 | "_color": { 757 | "__type__": "cc.Color", 758 | "r": 255, 759 | "g": 255, 760 | "b": 255, 761 | "a": 255 762 | }, 763 | "_string": "Anm:1 Duration:1", 764 | "_horizontalAlign": 1, 765 | "_verticalAlign": 1, 766 | "_actualFontSize": 24, 767 | "_fontSize": 24, 768 | "_fontFamily": "Arial", 769 | "_lineHeight": 36, 770 | "_overflow": 0, 771 | "_enableWrapText": true, 772 | "_font": null, 773 | "_isSystemFontUsed": true, 774 | "_spacingX": 0, 775 | "_isItalic": false, 776 | "_isBold": false, 777 | "_isUnderline": false, 778 | "_underlineHeight": 2, 779 | "_cacheMode": 1, 780 | "_id": "1cBDGNBbhI7KFgu3ygeJXx" 781 | }, 782 | { 783 | "__type__": "cc.Node", 784 | "_name": "Hero-001", 785 | "_objFlags": 0, 786 | "_parent": { 787 | "__id__": 2 788 | }, 789 | "_children": [], 790 | "_active": true, 791 | "_components": [ 792 | { 793 | "__id__": 27 794 | }, 795 | { 796 | "__id__": 28 797 | }, 798 | { 799 | "__id__": 35 800 | } 801 | ], 802 | "_prefab": null, 803 | "_lpos": { 804 | "__type__": "cc.Vec3", 805 | "x": -202, 806 | "y": 230.548, 807 | "z": 0 808 | }, 809 | "_lrot": { 810 | "__type__": "cc.Quat", 811 | "x": 0, 812 | "y": 0, 813 | "z": 0, 814 | "w": 1 815 | }, 816 | "_lscale": { 817 | "__type__": "cc.Vec3", 818 | "x": -3, 819 | "y": 3, 820 | "z": 2 821 | }, 822 | "_layer": 33554432, 823 | "_euler": { 824 | "__type__": "cc.Vec3", 825 | "x": 0, 826 | "y": 0, 827 | "z": 0 828 | }, 829 | "_id": "32ck27JhJLuKgPUOdW/RUR" 830 | }, 831 | { 832 | "__type__": "cc.UITransform", 833 | "_name": "", 834 | "_objFlags": 0, 835 | "node": { 836 | "__id__": 26 837 | }, 838 | "_enabled": true, 839 | "__prefab": null, 840 | "_contentSize": { 841 | "__type__": "cc.Size", 842 | "width": 69, 843 | "height": 44 844 | }, 845 | "_anchorPoint": { 846 | "__type__": "cc.Vec2", 847 | "x": 0.5, 848 | "y": 0.5 849 | }, 850 | "_id": "b6a3mhIztPKZYjRVWQZqQj" 851 | }, 852 | { 853 | "__type__": "95384Qa21tObZet5aQ4LeZw", 854 | "_name": "", 855 | "_objFlags": 0, 856 | "node": { 857 | "__id__": 26 858 | }, 859 | "_enabled": true, 860 | "__prefab": null, 861 | "_visFlags": 0, 862 | "_customMaterial": null, 863 | "_srcBlendFactor": 2, 864 | "_dstBlendFactor": 4, 865 | "_color": { 866 | "__type__": "cc.Color", 867 | "r": 255, 868 | "g": 255, 869 | "b": 255, 870 | "a": 255 871 | }, 872 | "_spriteFrame": { 873 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 874 | "__expectedType__": "cc.SpriteFrame" 875 | }, 876 | "_type": 0, 877 | "_fillType": 0, 878 | "_sizeMode": 0, 879 | "_fillCenter": { 880 | "__type__": "cc.Vec2", 881 | "x": 0, 882 | "y": 0 883 | }, 884 | "_fillStart": 0, 885 | "_fillRange": 0, 886 | "_isTrimmedMode": true, 887 | "_useGrayscale": false, 888 | "_atlas": null, 889 | "anms": [ 890 | { 891 | "__id__": 29 892 | }, 893 | { 894 | "__id__": 30 895 | }, 896 | { 897 | "__id__": 31 898 | }, 899 | { 900 | "__id__": 32 901 | }, 902 | { 903 | "__id__": 33 904 | }, 905 | { 906 | "__id__": 34 907 | } 908 | ], 909 | "_currentAnm": 2, 910 | "playOnLoad": true, 911 | "_editorPlaying": true, 912 | "_id": "52BidBrWNFWKuxT0sTq9kZ" 913 | }, 914 | { 915 | "__type__": "anm", 916 | "start": 0, 917 | "end": 5, 918 | "x": 6, 919 | "y": 17, 920 | "frame": 0.15, 921 | "sp": { 922 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 923 | "__expectedType__": "cc.SpriteFrame" 924 | }, 925 | "loop": true 926 | }, 927 | { 928 | "__type__": "anm", 929 | "start": 6, 930 | "end": 13, 931 | "x": 6, 932 | "y": 17, 933 | "frame": 0.15, 934 | "sp": { 935 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 936 | "__expectedType__": "cc.SpriteFrame" 937 | }, 938 | "loop": true 939 | }, 940 | { 941 | "__type__": "anm", 942 | "start": 14, 943 | "end": 25, 944 | "x": 6, 945 | "y": 17, 946 | "frame": 0.05, 947 | "sp": { 948 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 949 | "__expectedType__": "cc.SpriteFrame" 950 | }, 951 | "loop": true 952 | }, 953 | { 954 | "__type__": "anm", 955 | "start": 26, 956 | "end": 36, 957 | "x": 6, 958 | "y": 17, 959 | "frame": 0.15, 960 | "sp": { 961 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 962 | "__expectedType__": "cc.SpriteFrame" 963 | }, 964 | "loop": false 965 | }, 966 | { 967 | "__type__": "anm", 968 | "start": 77, 969 | "end": 84, 970 | "x": 6, 971 | "y": 17, 972 | "frame": 0.1, 973 | "sp": { 974 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 975 | "__expectedType__": "cc.SpriteFrame" 976 | }, 977 | "loop": true 978 | }, 979 | { 980 | "__type__": "anm", 981 | "start": 37, 982 | "end": 41, 983 | "x": 6, 984 | "y": 17, 985 | "frame": 0.13, 986 | "sp": { 987 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 988 | "__expectedType__": "cc.SpriteFrame" 989 | }, 990 | "loop": true 991 | }, 992 | { 993 | "__type__": "cc.Widget", 994 | "_name": "", 995 | "_objFlags": 0, 996 | "node": { 997 | "__id__": 26 998 | }, 999 | "_enabled": true, 1000 | "__prefab": null, 1001 | "_alignFlags": 8, 1002 | "_target": null, 1003 | "_left": 334.5, 1004 | "_right": 809.087, 1005 | "_top": 0, 1006 | "_bottom": 0, 1007 | "_horizontalCenter": 0, 1008 | "_verticalCenter": 0, 1009 | "_isAbsLeft": true, 1010 | "_isAbsRight": true, 1011 | "_isAbsTop": true, 1012 | "_isAbsBottom": true, 1013 | "_isAbsHorizontalCenter": true, 1014 | "_isAbsVerticalCenter": true, 1015 | "_originalWidth": 69, 1016 | "_originalHeight": 0, 1017 | "_alignMode": 2, 1018 | "_lockFlags": 0, 1019 | "_id": "5d8v9I/j9AnoJc5rNA2V8L" 1020 | }, 1021 | { 1022 | "__type__": "cc.Node", 1023 | "_name": "Hero-002", 1024 | "_objFlags": 0, 1025 | "_parent": { 1026 | "__id__": 2 1027 | }, 1028 | "_children": [], 1029 | "_active": true, 1030 | "_components": [ 1031 | { 1032 | "__id__": 37 1033 | }, 1034 | { 1035 | "__id__": 38 1036 | }, 1037 | { 1038 | "__id__": 46 1039 | } 1040 | ], 1041 | "_prefab": null, 1042 | "_lpos": { 1043 | "__type__": "cc.Vec3", 1044 | "x": 301.00299999999993, 1045 | "y": -168.979, 1046 | "z": 0 1047 | }, 1048 | "_lrot": { 1049 | "__type__": "cc.Quat", 1050 | "x": 0, 1051 | "y": 0, 1052 | "z": 0, 1053 | "w": 1 1054 | }, 1055 | "_lscale": { 1056 | "__type__": "cc.Vec3", 1057 | "x": 3, 1058 | "y": 3, 1059 | "z": 2 1060 | }, 1061 | "_layer": 33554432, 1062 | "_euler": { 1063 | "__type__": "cc.Vec3", 1064 | "x": 0, 1065 | "y": 0, 1066 | "z": 0 1067 | }, 1068 | "_id": "7abIq+IVBFuJJDLYqV5OXA" 1069 | }, 1070 | { 1071 | "__type__": "cc.UITransform", 1072 | "_name": "", 1073 | "_objFlags": 0, 1074 | "node": { 1075 | "__id__": 36 1076 | }, 1077 | "_enabled": true, 1078 | "__prefab": null, 1079 | "_contentSize": { 1080 | "__type__": "cc.Size", 1081 | "width": 69, 1082 | "height": 44 1083 | }, 1084 | "_anchorPoint": { 1085 | "__type__": "cc.Vec2", 1086 | "x": 0.5, 1087 | "y": 0.5 1088 | }, 1089 | "_id": "c7zaZSbvBCMot3MN3cK6Ui" 1090 | }, 1091 | { 1092 | "__type__": "95384Qa21tObZet5aQ4LeZw", 1093 | "_name": "", 1094 | "_objFlags": 0, 1095 | "node": { 1096 | "__id__": 36 1097 | }, 1098 | "_enabled": true, 1099 | "__prefab": null, 1100 | "_visFlags": 0, 1101 | "_customMaterial": null, 1102 | "_srcBlendFactor": 2, 1103 | "_dstBlendFactor": 4, 1104 | "_color": { 1105 | "__type__": "cc.Color", 1106 | "r": 255, 1107 | "g": 255, 1108 | "b": 255, 1109 | "a": 255 1110 | }, 1111 | "_spriteFrame": { 1112 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 1113 | "__expectedType__": "cc.SpriteFrame" 1114 | }, 1115 | "_type": 0, 1116 | "_fillType": 0, 1117 | "_sizeMode": 0, 1118 | "_fillCenter": { 1119 | "__type__": "cc.Vec2", 1120 | "x": 0, 1121 | "y": 0 1122 | }, 1123 | "_fillStart": 0, 1124 | "_fillRange": 0, 1125 | "_isTrimmedMode": true, 1126 | "_useGrayscale": false, 1127 | "_atlas": null, 1128 | "anms": [ 1129 | { 1130 | "__id__": 39 1131 | }, 1132 | { 1133 | "__id__": 40 1134 | }, 1135 | { 1136 | "__id__": 41 1137 | }, 1138 | { 1139 | "__id__": 42 1140 | }, 1141 | { 1142 | "__id__": 43 1143 | }, 1144 | { 1145 | "__id__": 44 1146 | }, 1147 | { 1148 | "__id__": 45 1149 | } 1150 | ], 1151 | "_currentAnm": 6, 1152 | "playOnLoad": true, 1153 | "_editorPlaying": true, 1154 | "_id": "82SgzQ6zBBuoPfpt6PDKYH" 1155 | }, 1156 | { 1157 | "__type__": "anm", 1158 | "start": 0, 1159 | "end": 5, 1160 | "x": 6, 1161 | "y": 17, 1162 | "frame": 0.15, 1163 | "sp": { 1164 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 1165 | "__expectedType__": "cc.SpriteFrame" 1166 | }, 1167 | "loop": true 1168 | }, 1169 | { 1170 | "__type__": "anm", 1171 | "start": 6, 1172 | "end": 13, 1173 | "x": 6, 1174 | "y": 17, 1175 | "frame": 0.15, 1176 | "sp": { 1177 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 1178 | "__expectedType__": "cc.SpriteFrame" 1179 | }, 1180 | "loop": true 1181 | }, 1182 | { 1183 | "__type__": "anm", 1184 | "start": 14, 1185 | "end": 25, 1186 | "x": 6, 1187 | "y": 17, 1188 | "frame": 0.1, 1189 | "sp": { 1190 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 1191 | "__expectedType__": "cc.SpriteFrame" 1192 | }, 1193 | "loop": true 1194 | }, 1195 | { 1196 | "__type__": "anm", 1197 | "start": 26, 1198 | "end": 36, 1199 | "x": 6, 1200 | "y": 17, 1201 | "frame": 0.15, 1202 | "sp": { 1203 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 1204 | "__expectedType__": "cc.SpriteFrame" 1205 | }, 1206 | "loop": false 1207 | }, 1208 | { 1209 | "__type__": "anm", 1210 | "start": 77, 1211 | "end": 84, 1212 | "x": 6, 1213 | "y": 17, 1214 | "frame": 0.1, 1215 | "sp": { 1216 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 1217 | "__expectedType__": "cc.SpriteFrame" 1218 | }, 1219 | "loop": true 1220 | }, 1221 | { 1222 | "__type__": "anm", 1223 | "start": 37, 1224 | "end": 41, 1225 | "x": 6, 1226 | "y": 17, 1227 | "frame": 0.13, 1228 | "sp": { 1229 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 1230 | "__expectedType__": "cc.SpriteFrame" 1231 | }, 1232 | "loop": true 1233 | }, 1234 | { 1235 | "__type__": "anm", 1236 | "start": 55, 1237 | "end": 59, 1238 | "x": 6, 1239 | "y": 17, 1240 | "frame": 0.15, 1241 | "sp": { 1242 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 1243 | "__expectedType__": "cc.SpriteFrame" 1244 | }, 1245 | "loop": true 1246 | }, 1247 | { 1248 | "__type__": "cc.Widget", 1249 | "_name": "", 1250 | "_objFlags": 0, 1251 | "node": { 1252 | "__id__": 36 1253 | }, 1254 | "_enabled": true, 1255 | "__prefab": null, 1256 | "_alignFlags": 8, 1257 | "_target": null, 1258 | "_left": 837.5029999999999, 1259 | "_right": 809.087, 1260 | "_top": 0, 1261 | "_bottom": 0, 1262 | "_horizontalCenter": 0, 1263 | "_verticalCenter": 0, 1264 | "_isAbsLeft": true, 1265 | "_isAbsRight": true, 1266 | "_isAbsTop": true, 1267 | "_isAbsBottom": true, 1268 | "_isAbsHorizontalCenter": true, 1269 | "_isAbsVerticalCenter": true, 1270 | "_originalWidth": 69, 1271 | "_originalHeight": 0, 1272 | "_alignMode": 2, 1273 | "_lockFlags": 0, 1274 | "_id": "16x302zUFBwbibbsWO4bCC" 1275 | }, 1276 | { 1277 | "__type__": "cc.Node", 1278 | "_name": "Hero-003", 1279 | "_objFlags": 0, 1280 | "_parent": { 1281 | "__id__": 2 1282 | }, 1283 | "_children": [], 1284 | "_active": true, 1285 | "_components": [ 1286 | { 1287 | "__id__": 48 1288 | }, 1289 | { 1290 | "__id__": 49 1291 | }, 1292 | { 1293 | "__id__": 56 1294 | }, 1295 | { 1296 | "__id__": 57 1297 | } 1298 | ], 1299 | "_prefab": null, 1300 | "_lpos": { 1301 | "__type__": "cc.Vec3", 1302 | "x": -56.46700000000001, 1303 | "y": -262.608, 1304 | "z": 0 1305 | }, 1306 | "_lrot": { 1307 | "__type__": "cc.Quat", 1308 | "x": 0, 1309 | "y": 0, 1310 | "z": 0, 1311 | "w": 1 1312 | }, 1313 | "_lscale": { 1314 | "__type__": "cc.Vec3", 1315 | "x": -3.2, 1316 | "y": 3.2, 1317 | "z": 2 1318 | }, 1319 | "_layer": 33554432, 1320 | "_euler": { 1321 | "__type__": "cc.Vec3", 1322 | "x": 0, 1323 | "y": 0, 1324 | "z": 0 1325 | }, 1326 | "_id": "b2xxyaiahM+ZCVG2fbylFn" 1327 | }, 1328 | { 1329 | "__type__": "cc.UITransform", 1330 | "_name": "", 1331 | "_objFlags": 0, 1332 | "node": { 1333 | "__id__": 47 1334 | }, 1335 | "_enabled": true, 1336 | "__prefab": null, 1337 | "_contentSize": { 1338 | "__type__": "cc.Size", 1339 | "width": 69, 1340 | "height": 44 1341 | }, 1342 | "_anchorPoint": { 1343 | "__type__": "cc.Vec2", 1344 | "x": 0.5, 1345 | "y": 0.5 1346 | }, 1347 | "_id": "9f1fsph7tC1K318w0Czlgo" 1348 | }, 1349 | { 1350 | "__type__": "95384Qa21tObZet5aQ4LeZw", 1351 | "_name": "", 1352 | "_objFlags": 0, 1353 | "node": { 1354 | "__id__": 47 1355 | }, 1356 | "_enabled": true, 1357 | "__prefab": null, 1358 | "_visFlags": 0, 1359 | "_customMaterial": null, 1360 | "_srcBlendFactor": 2, 1361 | "_dstBlendFactor": 4, 1362 | "_color": { 1363 | "__type__": "cc.Color", 1364 | "r": 255, 1365 | "g": 255, 1366 | "b": 255, 1367 | "a": 255 1368 | }, 1369 | "_spriteFrame": { 1370 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 1371 | "__expectedType__": "cc.SpriteFrame" 1372 | }, 1373 | "_type": 0, 1374 | "_fillType": 0, 1375 | "_sizeMode": 0, 1376 | "_fillCenter": { 1377 | "__type__": "cc.Vec2", 1378 | "x": 0, 1379 | "y": 0 1380 | }, 1381 | "_fillStart": 0, 1382 | "_fillRange": 0, 1383 | "_isTrimmedMode": true, 1384 | "_useGrayscale": false, 1385 | "_atlas": null, 1386 | "anms": [ 1387 | { 1388 | "__id__": 50 1389 | }, 1390 | { 1391 | "__id__": 51 1392 | }, 1393 | { 1394 | "__id__": 52 1395 | }, 1396 | { 1397 | "__id__": 53 1398 | }, 1399 | { 1400 | "__id__": 54 1401 | }, 1402 | { 1403 | "__id__": 55 1404 | } 1405 | ], 1406 | "_currentAnm": 5, 1407 | "playOnLoad": true, 1408 | "_editorPlaying": true, 1409 | "_id": "deJUDk+0dIqqU3cqcG2zsw" 1410 | }, 1411 | { 1412 | "__type__": "anm", 1413 | "start": 0, 1414 | "end": 5, 1415 | "x": 6, 1416 | "y": 17, 1417 | "frame": 0.15, 1418 | "sp": { 1419 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 1420 | "__expectedType__": "cc.SpriteFrame" 1421 | }, 1422 | "loop": true 1423 | }, 1424 | { 1425 | "__type__": "anm", 1426 | "start": 6, 1427 | "end": 13, 1428 | "x": 6, 1429 | "y": 17, 1430 | "frame": 0.15, 1431 | "sp": { 1432 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 1433 | "__expectedType__": "cc.SpriteFrame" 1434 | }, 1435 | "loop": true 1436 | }, 1437 | { 1438 | "__type__": "anm", 1439 | "start": 14, 1440 | "end": 25, 1441 | "x": 6, 1442 | "y": 17, 1443 | "frame": 0.1, 1444 | "sp": { 1445 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 1446 | "__expectedType__": "cc.SpriteFrame" 1447 | }, 1448 | "loop": true 1449 | }, 1450 | { 1451 | "__type__": "anm", 1452 | "start": 26, 1453 | "end": 36, 1454 | "x": 6, 1455 | "y": 17, 1456 | "frame": 0.15, 1457 | "sp": { 1458 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 1459 | "__expectedType__": "cc.SpriteFrame" 1460 | }, 1461 | "loop": false 1462 | }, 1463 | { 1464 | "__type__": "anm", 1465 | "start": 77, 1466 | "end": 84, 1467 | "x": 6, 1468 | "y": 17, 1469 | "frame": 0.1, 1470 | "sp": { 1471 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 1472 | "__expectedType__": "cc.SpriteFrame" 1473 | }, 1474 | "loop": true 1475 | }, 1476 | { 1477 | "__type__": "anm", 1478 | "start": 37, 1479 | "end": 41, 1480 | "x": 6, 1481 | "y": 17, 1482 | "frame": 0.13, 1483 | "sp": { 1484 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 1485 | "__expectedType__": "cc.SpriteFrame" 1486 | }, 1487 | "loop": true 1488 | }, 1489 | { 1490 | "__type__": "cc.Widget", 1491 | "_name": "", 1492 | "_objFlags": 0, 1493 | "node": { 1494 | "__id__": 47 1495 | }, 1496 | "_enabled": true, 1497 | "__prefab": null, 1498 | "_alignFlags": 8, 1499 | "_target": null, 1500 | "_left": 473.133, 1501 | "_right": 809.087, 1502 | "_top": 0, 1503 | "_bottom": 0, 1504 | "_horizontalCenter": 0, 1505 | "_verticalCenter": 0, 1506 | "_isAbsLeft": true, 1507 | "_isAbsRight": true, 1508 | "_isAbsTop": true, 1509 | "_isAbsBottom": true, 1510 | "_isAbsHorizontalCenter": true, 1511 | "_isAbsVerticalCenter": true, 1512 | "_originalWidth": 69, 1513 | "_originalHeight": 0, 1514 | "_alignMode": 2, 1515 | "_lockFlags": 0, 1516 | "_id": "c8oxPeXmZLSKmLODU7o2qS" 1517 | }, 1518 | { 1519 | "__type__": "cc.Animation", 1520 | "_name": "", 1521 | "_objFlags": 0, 1522 | "node": { 1523 | "__id__": 47 1524 | }, 1525 | "_enabled": true, 1526 | "__prefab": null, 1527 | "playOnLoad": true, 1528 | "_clips": [ 1529 | { 1530 | "__uuid__": "856b7d5b-e52e-4097-a55b-8097acbd0a52", 1531 | "__expectedType__": "cc.AnimationClip" 1532 | } 1533 | ], 1534 | "_defaultClip": { 1535 | "__uuid__": "856b7d5b-e52e-4097-a55b-8097acbd0a52", 1536 | "__expectedType__": "cc.AnimationClip" 1537 | }, 1538 | "_id": "ddgoxz+mxJIZvcYx5YFrJb" 1539 | }, 1540 | { 1541 | "__type__": "cc.Node", 1542 | "_name": "Hero-004", 1543 | "_objFlags": 0, 1544 | "_parent": { 1545 | "__id__": 2 1546 | }, 1547 | "_children": [], 1548 | "_active": true, 1549 | "_components": [ 1550 | { 1551 | "__id__": 59 1552 | }, 1553 | { 1554 | "__id__": 60 1555 | }, 1556 | { 1557 | "__id__": 69 1558 | } 1559 | ], 1560 | "_prefab": null, 1561 | "_lpos": { 1562 | "__type__": "cc.Vec3", 1563 | "x": -99.03499999999997, 1564 | "y": -74.16, 1565 | "z": 0 1566 | }, 1567 | "_lrot": { 1568 | "__type__": "cc.Quat", 1569 | "x": 0, 1570 | "y": 0, 1571 | "z": 0, 1572 | "w": 1 1573 | }, 1574 | "_lscale": { 1575 | "__type__": "cc.Vec3", 1576 | "x": 3, 1577 | "y": 3, 1578 | "z": 2 1579 | }, 1580 | "_layer": 33554432, 1581 | "_euler": { 1582 | "__type__": "cc.Vec3", 1583 | "x": 0, 1584 | "y": 0, 1585 | "z": 0 1586 | }, 1587 | "_id": "7fIYx7I8lJ2aQVw0wkbUW6" 1588 | }, 1589 | { 1590 | "__type__": "cc.UITransform", 1591 | "_name": "", 1592 | "_objFlags": 0, 1593 | "node": { 1594 | "__id__": 58 1595 | }, 1596 | "_enabled": true, 1597 | "__prefab": null, 1598 | "_contentSize": { 1599 | "__type__": "cc.Size", 1600 | "width": 69, 1601 | "height": 44 1602 | }, 1603 | "_anchorPoint": { 1604 | "__type__": "cc.Vec2", 1605 | "x": 0.5, 1606 | "y": 0.5 1607 | }, 1608 | "_id": "f4gxOYi8hE0bDhwV49G+lW" 1609 | }, 1610 | { 1611 | "__type__": "95384Qa21tObZet5aQ4LeZw", 1612 | "_name": "", 1613 | "_objFlags": 0, 1614 | "node": { 1615 | "__id__": 58 1616 | }, 1617 | "_enabled": true, 1618 | "__prefab": null, 1619 | "_visFlags": 0, 1620 | "_customMaterial": null, 1621 | "_srcBlendFactor": 2, 1622 | "_dstBlendFactor": 4, 1623 | "_color": { 1624 | "__type__": "cc.Color", 1625 | "r": 255, 1626 | "g": 255, 1627 | "b": 255, 1628 | "a": 255 1629 | }, 1630 | "_spriteFrame": { 1631 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 1632 | "__expectedType__": "cc.SpriteFrame" 1633 | }, 1634 | "_type": 0, 1635 | "_fillType": 0, 1636 | "_sizeMode": 0, 1637 | "_fillCenter": { 1638 | "__type__": "cc.Vec2", 1639 | "x": 0, 1640 | "y": 0 1641 | }, 1642 | "_fillStart": 0, 1643 | "_fillRange": 0, 1644 | "_isTrimmedMode": true, 1645 | "_useGrayscale": false, 1646 | "_atlas": null, 1647 | "anms": [ 1648 | { 1649 | "__id__": 61 1650 | }, 1651 | { 1652 | "__id__": 62 1653 | }, 1654 | { 1655 | "__id__": 63 1656 | }, 1657 | { 1658 | "__id__": 64 1659 | }, 1660 | { 1661 | "__id__": 65 1662 | }, 1663 | { 1664 | "__id__": 66 1665 | }, 1666 | { 1667 | "__id__": 67 1668 | }, 1669 | { 1670 | "__id__": 68 1671 | } 1672 | ], 1673 | "_currentAnm": 7, 1674 | "playOnLoad": true, 1675 | "_editorPlaying": true, 1676 | "_id": "6c0rV1w19GAInwjH+tWR7r" 1677 | }, 1678 | { 1679 | "__type__": "anm", 1680 | "start": 0, 1681 | "end": 5, 1682 | "x": 6, 1683 | "y": 17, 1684 | "frame": 0.15, 1685 | "sp": { 1686 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 1687 | "__expectedType__": "cc.SpriteFrame" 1688 | }, 1689 | "loop": true 1690 | }, 1691 | { 1692 | "__type__": "anm", 1693 | "start": 6, 1694 | "end": 13, 1695 | "x": 6, 1696 | "y": 17, 1697 | "frame": 0.15, 1698 | "sp": { 1699 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 1700 | "__expectedType__": "cc.SpriteFrame" 1701 | }, 1702 | "loop": true 1703 | }, 1704 | { 1705 | "__type__": "anm", 1706 | "start": 14, 1707 | "end": 25, 1708 | "x": 6, 1709 | "y": 17, 1710 | "frame": 0.1, 1711 | "sp": { 1712 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 1713 | "__expectedType__": "cc.SpriteFrame" 1714 | }, 1715 | "loop": true 1716 | }, 1717 | { 1718 | "__type__": "anm", 1719 | "start": 26, 1720 | "end": 36, 1721 | "x": 6, 1722 | "y": 17, 1723 | "frame": 0.15, 1724 | "sp": { 1725 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 1726 | "__expectedType__": "cc.SpriteFrame" 1727 | }, 1728 | "loop": false 1729 | }, 1730 | { 1731 | "__type__": "anm", 1732 | "start": 77, 1733 | "end": 84, 1734 | "x": 6, 1735 | "y": 17, 1736 | "frame": 0.1, 1737 | "sp": { 1738 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 1739 | "__expectedType__": "cc.SpriteFrame" 1740 | }, 1741 | "loop": true 1742 | }, 1743 | { 1744 | "__type__": "anm", 1745 | "start": 37, 1746 | "end": 41, 1747 | "x": 6, 1748 | "y": 17, 1749 | "frame": 0.13, 1750 | "sp": { 1751 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 1752 | "__expectedType__": "cc.SpriteFrame" 1753 | }, 1754 | "loop": true 1755 | }, 1756 | { 1757 | "__type__": "anm", 1758 | "start": 55, 1759 | "end": 59, 1760 | "x": 6, 1761 | "y": 17, 1762 | "frame": 0.15, 1763 | "sp": { 1764 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 1765 | "__expectedType__": "cc.SpriteFrame" 1766 | }, 1767 | "loop": true 1768 | }, 1769 | { 1770 | "__type__": "anm", 1771 | "start": 91, 1772 | "end": 98, 1773 | "x": 6, 1774 | "y": 17, 1775 | "frame": 0.15, 1776 | "sp": { 1777 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 1778 | "__expectedType__": "cc.SpriteFrame" 1779 | }, 1780 | "loop": true 1781 | }, 1782 | { 1783 | "__type__": "cc.Widget", 1784 | "_name": "", 1785 | "_objFlags": 0, 1786 | "node": { 1787 | "__id__": 58 1788 | }, 1789 | "_enabled": true, 1790 | "__prefab": null, 1791 | "_alignFlags": 8, 1792 | "_target": null, 1793 | "_left": 437.46500000000003, 1794 | "_right": 809.087, 1795 | "_top": 0, 1796 | "_bottom": 0, 1797 | "_horizontalCenter": 0, 1798 | "_verticalCenter": 0, 1799 | "_isAbsLeft": true, 1800 | "_isAbsRight": true, 1801 | "_isAbsTop": true, 1802 | "_isAbsBottom": true, 1803 | "_isAbsHorizontalCenter": true, 1804 | "_isAbsVerticalCenter": true, 1805 | "_originalWidth": 69, 1806 | "_originalHeight": 0, 1807 | "_alignMode": 2, 1808 | "_lockFlags": 0, 1809 | "_id": "dfMcijyhZDgJfG+0wget2B" 1810 | }, 1811 | { 1812 | "__type__": "cc.Node", 1813 | "_name": "Hero-005", 1814 | "_objFlags": 0, 1815 | "_parent": { 1816 | "__id__": 2 1817 | }, 1818 | "_children": [], 1819 | "_active": true, 1820 | "_components": [ 1821 | { 1822 | "__id__": 71 1823 | }, 1824 | { 1825 | "__id__": 72 1826 | }, 1827 | { 1828 | "__id__": 79 1829 | } 1830 | ], 1831 | "_prefab": null, 1832 | "_lpos": { 1833 | "__type__": "cc.Vec3", 1834 | "x": -270.343, 1835 | "y": 230.548, 1836 | "z": 0 1837 | }, 1838 | "_lrot": { 1839 | "__type__": "cc.Quat", 1840 | "x": 0, 1841 | "y": 0, 1842 | "z": 0, 1843 | "w": 1 1844 | }, 1845 | "_lscale": { 1846 | "__type__": "cc.Vec3", 1847 | "x": 3, 1848 | "y": 3, 1849 | "z": 2 1850 | }, 1851 | "_layer": 33554432, 1852 | "_euler": { 1853 | "__type__": "cc.Vec3", 1854 | "x": 0, 1855 | "y": 0, 1856 | "z": 0 1857 | }, 1858 | "_id": "0cIJprQcFBLYG5sqzA6rkc" 1859 | }, 1860 | { 1861 | "__type__": "cc.UITransform", 1862 | "_name": "", 1863 | "_objFlags": 0, 1864 | "node": { 1865 | "__id__": 70 1866 | }, 1867 | "_enabled": true, 1868 | "__prefab": null, 1869 | "_contentSize": { 1870 | "__type__": "cc.Size", 1871 | "width": 69, 1872 | "height": 44 1873 | }, 1874 | "_anchorPoint": { 1875 | "__type__": "cc.Vec2", 1876 | "x": 0.5, 1877 | "y": 0.5 1878 | }, 1879 | "_id": "dbFVsPgtxHx5xyLFY134RR" 1880 | }, 1881 | { 1882 | "__type__": "95384Qa21tObZet5aQ4LeZw", 1883 | "_name": "", 1884 | "_objFlags": 0, 1885 | "node": { 1886 | "__id__": 70 1887 | }, 1888 | "_enabled": true, 1889 | "__prefab": null, 1890 | "_visFlags": 0, 1891 | "_customMaterial": null, 1892 | "_srcBlendFactor": 2, 1893 | "_dstBlendFactor": 4, 1894 | "_color": { 1895 | "__type__": "cc.Color", 1896 | "r": 255, 1897 | "g": 255, 1898 | "b": 255, 1899 | "a": 255 1900 | }, 1901 | "_spriteFrame": { 1902 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 1903 | "__expectedType__": "cc.SpriteFrame" 1904 | }, 1905 | "_type": 0, 1906 | "_fillType": 0, 1907 | "_sizeMode": 0, 1908 | "_fillCenter": { 1909 | "__type__": "cc.Vec2", 1910 | "x": 0, 1911 | "y": 0 1912 | }, 1913 | "_fillStart": 0, 1914 | "_fillRange": 0, 1915 | "_isTrimmedMode": true, 1916 | "_useGrayscale": false, 1917 | "_atlas": null, 1918 | "anms": [ 1919 | { 1920 | "__id__": 73 1921 | }, 1922 | { 1923 | "__id__": 74 1924 | }, 1925 | { 1926 | "__id__": 75 1927 | }, 1928 | { 1929 | "__id__": 76 1930 | }, 1931 | { 1932 | "__id__": 77 1933 | }, 1934 | { 1935 | "__id__": 78 1936 | } 1937 | ], 1938 | "_currentAnm": 5, 1939 | "playOnLoad": true, 1940 | "_editorPlaying": true, 1941 | "_id": "89wdrG3wJHR6sQlUG+905b" 1942 | }, 1943 | { 1944 | "__type__": "anm", 1945 | "start": 0, 1946 | "end": 5, 1947 | "x": 6, 1948 | "y": 17, 1949 | "frame": 0.15, 1950 | "sp": { 1951 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 1952 | "__expectedType__": "cc.SpriteFrame" 1953 | }, 1954 | "loop": true 1955 | }, 1956 | { 1957 | "__type__": "anm", 1958 | "start": 6, 1959 | "end": 13, 1960 | "x": 6, 1961 | "y": 17, 1962 | "frame": 0.15, 1963 | "sp": { 1964 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 1965 | "__expectedType__": "cc.SpriteFrame" 1966 | }, 1967 | "loop": true 1968 | }, 1969 | { 1970 | "__type__": "anm", 1971 | "start": 14, 1972 | "end": 25, 1973 | "x": 6, 1974 | "y": 17, 1975 | "frame": 0.1, 1976 | "sp": { 1977 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 1978 | "__expectedType__": "cc.SpriteFrame" 1979 | }, 1980 | "loop": true 1981 | }, 1982 | { 1983 | "__type__": "anm", 1984 | "start": 26, 1985 | "end": 36, 1986 | "x": 6, 1987 | "y": 17, 1988 | "frame": 0.15, 1989 | "sp": { 1990 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 1991 | "__expectedType__": "cc.SpriteFrame" 1992 | }, 1993 | "loop": false 1994 | }, 1995 | { 1996 | "__type__": "anm", 1997 | "start": 77, 1998 | "end": 84, 1999 | "x": 6, 2000 | "y": 17, 2001 | "frame": 0.1, 2002 | "sp": { 2003 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 2004 | "__expectedType__": "cc.SpriteFrame" 2005 | }, 2006 | "loop": true 2007 | }, 2008 | { 2009 | "__type__": "anm", 2010 | "start": 37, 2011 | "end": 41, 2012 | "x": 6, 2013 | "y": 17, 2014 | "frame": 0.15, 2015 | "sp": { 2016 | "__uuid__": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 2017 | "__expectedType__": "cc.SpriteFrame" 2018 | }, 2019 | "loop": true 2020 | }, 2021 | { 2022 | "__type__": "cc.Widget", 2023 | "_name": "", 2024 | "_objFlags": 0, 2025 | "node": { 2026 | "__id__": 70 2027 | }, 2028 | "_enabled": true, 2029 | "__prefab": null, 2030 | "_alignFlags": 8, 2031 | "_target": null, 2032 | "_left": 266.157, 2033 | "_right": 809.087, 2034 | "_top": 0, 2035 | "_bottom": 0, 2036 | "_horizontalCenter": 0, 2037 | "_verticalCenter": 0, 2038 | "_isAbsLeft": true, 2039 | "_isAbsRight": true, 2040 | "_isAbsTop": true, 2041 | "_isAbsBottom": true, 2042 | "_isAbsHorizontalCenter": true, 2043 | "_isAbsVerticalCenter": true, 2044 | "_originalWidth": 69, 2045 | "_originalHeight": 0, 2046 | "_alignMode": 2, 2047 | "_lockFlags": 0, 2048 | "_id": "0a4woEnoNKg6ONsNo/lRBY" 2049 | }, 2050 | { 2051 | "__type__": "cc.Node", 2052 | "_name": "UI", 2053 | "_objFlags": 0, 2054 | "_parent": { 2055 | "__id__": 2 2056 | }, 2057 | "_children": [ 2058 | { 2059 | "__id__": 81 2060 | }, 2061 | { 2062 | "__id__": 86 2063 | }, 2064 | { 2065 | "__id__": 91 2066 | }, 2067 | { 2068 | "__id__": 96 2069 | }, 2070 | { 2071 | "__id__": 101 2072 | }, 2073 | { 2074 | "__id__": 106 2075 | }, 2076 | { 2077 | "__id__": 111 2078 | }, 2079 | { 2080 | "__id__": 114 2081 | }, 2082 | { 2083 | "__id__": 117 2084 | }, 2085 | { 2086 | "__id__": 120 2087 | }, 2088 | { 2089 | "__id__": 123 2090 | }, 2091 | { 2092 | "__id__": 126 2093 | }, 2094 | { 2095 | "__id__": 129 2096 | } 2097 | ], 2098 | "_active": true, 2099 | "_components": [ 2100 | { 2101 | "__id__": 133 2102 | }, 2103 | { 2104 | "__id__": 134 2105 | }, 2106 | { 2107 | "__id__": 135 2108 | } 2109 | ], 2110 | "_prefab": null, 2111 | "_lpos": { 2112 | "__type__": "cc.Vec3", 2113 | "x": 520, 2114 | "y": 0, 2115 | "z": 0 2116 | }, 2117 | "_lrot": { 2118 | "__type__": "cc.Quat", 2119 | "x": 0, 2120 | "y": 0, 2121 | "z": 0, 2122 | "w": 1 2123 | }, 2124 | "_lscale": { 2125 | "__type__": "cc.Vec3", 2126 | "x": 1, 2127 | "y": 1, 2128 | "z": 1 2129 | }, 2130 | "_layer": 33554432, 2131 | "_euler": { 2132 | "__type__": "cc.Vec3", 2133 | "x": 0, 2134 | "y": 0, 2135 | "z": 0 2136 | }, 2137 | "_id": "2cQsG50klDGp4X5kVYXoyU" 2138 | }, 2139 | { 2140 | "__type__": "cc.Node", 2141 | "_name": "btn0", 2142 | "_objFlags": 0, 2143 | "_parent": { 2144 | "__id__": 80 2145 | }, 2146 | "_children": [], 2147 | "_active": true, 2148 | "_components": [ 2149 | { 2150 | "__id__": 82 2151 | }, 2152 | { 2153 | "__id__": 83 2154 | }, 2155 | { 2156 | "__id__": 84 2157 | } 2158 | ], 2159 | "_prefab": null, 2160 | "_lpos": { 2161 | "__type__": "cc.Vec3", 2162 | "x": 0, 2163 | "y": 251, 2164 | "z": 0 2165 | }, 2166 | "_lrot": { 2167 | "__type__": "cc.Quat", 2168 | "x": 0, 2169 | "y": 0, 2170 | "z": 0, 2171 | "w": 1 2172 | }, 2173 | "_lscale": { 2174 | "__type__": "cc.Vec3", 2175 | "x": 1, 2176 | "y": 1, 2177 | "z": 1 2178 | }, 2179 | "_layer": 33554432, 2180 | "_euler": { 2181 | "__type__": "cc.Vec3", 2182 | "x": 0, 2183 | "y": 0, 2184 | "z": 0 2185 | }, 2186 | "_id": "8ced7Z6bZDio1p1mJEDPQO" 2187 | }, 2188 | { 2189 | "__type__": "cc.UITransform", 2190 | "_name": "", 2191 | "_objFlags": 0, 2192 | "node": { 2193 | "__id__": 81 2194 | }, 2195 | "_enabled": true, 2196 | "__prefab": null, 2197 | "_contentSize": { 2198 | "__type__": "cc.Size", 2199 | "width": 182, 2200 | "height": 58 2201 | }, 2202 | "_anchorPoint": { 2203 | "__type__": "cc.Vec2", 2204 | "x": 0.5, 2205 | "y": 0.5 2206 | }, 2207 | "_id": "65wtFszU5Ftpp2slcM8JJD" 2208 | }, 2209 | { 2210 | "__type__": "cc.Sprite", 2211 | "_name": "", 2212 | "_objFlags": 0, 2213 | "node": { 2214 | "__id__": 81 2215 | }, 2216 | "_enabled": true, 2217 | "__prefab": null, 2218 | "_visFlags": 0, 2219 | "_customMaterial": null, 2220 | "_srcBlendFactor": 2, 2221 | "_dstBlendFactor": 4, 2222 | "_color": { 2223 | "__type__": "cc.Color", 2224 | "r": 255, 2225 | "g": 255, 2226 | "b": 255, 2227 | "a": 255 2228 | }, 2229 | "_spriteFrame": { 2230 | "__uuid__": "fe2c9d8f-aac3-45b0-9cc2-954aa8949e66@f9941", 2231 | "__expectedType__": "cc.SpriteFrame" 2232 | }, 2233 | "_type": 1, 2234 | "_fillType": 0, 2235 | "_sizeMode": 0, 2236 | "_fillCenter": { 2237 | "__type__": "cc.Vec2", 2238 | "x": 0, 2239 | "y": 0 2240 | }, 2241 | "_fillStart": 0, 2242 | "_fillRange": 0, 2243 | "_isTrimmedMode": true, 2244 | "_useGrayscale": false, 2245 | "_atlas": null, 2246 | "_id": "13BtYZTUxGqaLwNqIXzeQ4" 2247 | }, 2248 | { 2249 | "__type__": "cc.Button", 2250 | "_name": "", 2251 | "_objFlags": 0, 2252 | "node": { 2253 | "__id__": 81 2254 | }, 2255 | "_enabled": true, 2256 | "__prefab": null, 2257 | "clickEvents": [ 2258 | { 2259 | "__id__": 85 2260 | } 2261 | ], 2262 | "_interactable": true, 2263 | "_transition": 1, 2264 | "_normalColor": { 2265 | "__type__": "cc.Color", 2266 | "r": 255, 2267 | "g": 255, 2268 | "b": 255, 2269 | "a": 255 2270 | }, 2271 | "_hoverColor": { 2272 | "__type__": "cc.Color", 2273 | "r": 224, 2274 | "g": 219, 2275 | "b": 255, 2276 | "a": 255 2277 | }, 2278 | "_pressedColor": { 2279 | "__type__": "cc.Color", 2280 | "r": 50, 2281 | "g": 73, 2282 | "b": 102, 2283 | "a": 255 2284 | }, 2285 | "_disabledColor": { 2286 | "__type__": "cc.Color", 2287 | "r": 124, 2288 | "g": 124, 2289 | "b": 124, 2290 | "a": 255 2291 | }, 2292 | "_normalSprite": { 2293 | "__uuid__": "fe2c9d8f-aac3-45b0-9cc2-954aa8949e66@f9941", 2294 | "__expectedType__": "cc.SpriteFrame" 2295 | }, 2296 | "_hoverSprite": null, 2297 | "_pressedSprite": null, 2298 | "_disabledSprite": null, 2299 | "_duration": 0.1, 2300 | "_zoomScale": 1.2, 2301 | "_target": null, 2302 | "_id": "83nnfj645LtbmztNzvmOVx" 2303 | }, 2304 | { 2305 | "__type__": "cc.ClickEvent", 2306 | "target": { 2307 | "__id__": 80 2308 | }, 2309 | "component": "", 2310 | "_componentId": "2a2a81yoCZJ3JjP97hWoy/t", 2311 | "handler": "playAnm", 2312 | "customEventData": "0" 2313 | }, 2314 | { 2315 | "__type__": "cc.Node", 2316 | "_name": "btn1", 2317 | "_objFlags": 0, 2318 | "_parent": { 2319 | "__id__": 80 2320 | }, 2321 | "_children": [], 2322 | "_active": true, 2323 | "_components": [ 2324 | { 2325 | "__id__": 87 2326 | }, 2327 | { 2328 | "__id__": 88 2329 | }, 2330 | { 2331 | "__id__": 89 2332 | } 2333 | ], 2334 | "_prefab": null, 2335 | "_lpos": { 2336 | "__type__": "cc.Vec3", 2337 | "x": 0, 2338 | "y": 159, 2339 | "z": 0 2340 | }, 2341 | "_lrot": { 2342 | "__type__": "cc.Quat", 2343 | "x": 0, 2344 | "y": 0, 2345 | "z": 0, 2346 | "w": 1 2347 | }, 2348 | "_lscale": { 2349 | "__type__": "cc.Vec3", 2350 | "x": 1, 2351 | "y": 1, 2352 | "z": 1 2353 | }, 2354 | "_layer": 33554432, 2355 | "_euler": { 2356 | "__type__": "cc.Vec3", 2357 | "x": 0, 2358 | "y": 0, 2359 | "z": 0 2360 | }, 2361 | "_id": "c9yWcASiNECY02saFpTIKS" 2362 | }, 2363 | { 2364 | "__type__": "cc.UITransform", 2365 | "_name": "", 2366 | "_objFlags": 0, 2367 | "node": { 2368 | "__id__": 86 2369 | }, 2370 | "_enabled": true, 2371 | "__prefab": null, 2372 | "_contentSize": { 2373 | "__type__": "cc.Size", 2374 | "width": 182, 2375 | "height": 58 2376 | }, 2377 | "_anchorPoint": { 2378 | "__type__": "cc.Vec2", 2379 | "x": 0.5, 2380 | "y": 0.5 2381 | }, 2382 | "_id": "0aiQK9omNHNLT1iu+3EwcH" 2383 | }, 2384 | { 2385 | "__type__": "cc.Sprite", 2386 | "_name": "", 2387 | "_objFlags": 0, 2388 | "node": { 2389 | "__id__": 86 2390 | }, 2391 | "_enabled": true, 2392 | "__prefab": null, 2393 | "_visFlags": 0, 2394 | "_customMaterial": null, 2395 | "_srcBlendFactor": 2, 2396 | "_dstBlendFactor": 4, 2397 | "_color": { 2398 | "__type__": "cc.Color", 2399 | "r": 255, 2400 | "g": 255, 2401 | "b": 255, 2402 | "a": 255 2403 | }, 2404 | "_spriteFrame": { 2405 | "__uuid__": "fe2c9d8f-aac3-45b0-9cc2-954aa8949e66@f9941", 2406 | "__expectedType__": "cc.SpriteFrame" 2407 | }, 2408 | "_type": 1, 2409 | "_fillType": 0, 2410 | "_sizeMode": 0, 2411 | "_fillCenter": { 2412 | "__type__": "cc.Vec2", 2413 | "x": 0, 2414 | "y": 0 2415 | }, 2416 | "_fillStart": 0, 2417 | "_fillRange": 0, 2418 | "_isTrimmedMode": true, 2419 | "_useGrayscale": false, 2420 | "_atlas": null, 2421 | "_id": "51JLAKCeJKJoVkEXiwNCNr" 2422 | }, 2423 | { 2424 | "__type__": "cc.Button", 2425 | "_name": "", 2426 | "_objFlags": 0, 2427 | "node": { 2428 | "__id__": 86 2429 | }, 2430 | "_enabled": true, 2431 | "__prefab": null, 2432 | "clickEvents": [ 2433 | { 2434 | "__id__": 90 2435 | } 2436 | ], 2437 | "_interactable": true, 2438 | "_transition": 1, 2439 | "_normalColor": { 2440 | "__type__": "cc.Color", 2441 | "r": 255, 2442 | "g": 255, 2443 | "b": 255, 2444 | "a": 255 2445 | }, 2446 | "_hoverColor": { 2447 | "__type__": "cc.Color", 2448 | "r": 224, 2449 | "g": 219, 2450 | "b": 255, 2451 | "a": 255 2452 | }, 2453 | "_pressedColor": { 2454 | "__type__": "cc.Color", 2455 | "r": 50, 2456 | "g": 73, 2457 | "b": 102, 2458 | "a": 255 2459 | }, 2460 | "_disabledColor": { 2461 | "__type__": "cc.Color", 2462 | "r": 124, 2463 | "g": 124, 2464 | "b": 124, 2465 | "a": 255 2466 | }, 2467 | "_normalSprite": { 2468 | "__uuid__": "fe2c9d8f-aac3-45b0-9cc2-954aa8949e66@f9941", 2469 | "__expectedType__": "cc.SpriteFrame" 2470 | }, 2471 | "_hoverSprite": null, 2472 | "_pressedSprite": null, 2473 | "_disabledSprite": null, 2474 | "_duration": 0.1, 2475 | "_zoomScale": 1.2, 2476 | "_target": null, 2477 | "_id": "42BwVqwlNGRLGUURrNfZZ9" 2478 | }, 2479 | { 2480 | "__type__": "cc.ClickEvent", 2481 | "target": { 2482 | "__id__": 80 2483 | }, 2484 | "component": "", 2485 | "_componentId": "2a2a81yoCZJ3JjP97hWoy/t", 2486 | "handler": "playAnm", 2487 | "customEventData": "1" 2488 | }, 2489 | { 2490 | "__type__": "cc.Node", 2491 | "_name": "btn2", 2492 | "_objFlags": 0, 2493 | "_parent": { 2494 | "__id__": 80 2495 | }, 2496 | "_children": [], 2497 | "_active": true, 2498 | "_components": [ 2499 | { 2500 | "__id__": 92 2501 | }, 2502 | { 2503 | "__id__": 93 2504 | }, 2505 | { 2506 | "__id__": 94 2507 | } 2508 | ], 2509 | "_prefab": null, 2510 | "_lpos": { 2511 | "__type__": "cc.Vec3", 2512 | "x": 0, 2513 | "y": 67, 2514 | "z": 0 2515 | }, 2516 | "_lrot": { 2517 | "__type__": "cc.Quat", 2518 | "x": 0, 2519 | "y": 0, 2520 | "z": 0, 2521 | "w": 1 2522 | }, 2523 | "_lscale": { 2524 | "__type__": "cc.Vec3", 2525 | "x": 1, 2526 | "y": 1, 2527 | "z": 1 2528 | }, 2529 | "_layer": 33554432, 2530 | "_euler": { 2531 | "__type__": "cc.Vec3", 2532 | "x": 0, 2533 | "y": 0, 2534 | "z": 0 2535 | }, 2536 | "_id": "ee1RtwRlBN+p3LaQwCnOf+" 2537 | }, 2538 | { 2539 | "__type__": "cc.UITransform", 2540 | "_name": "", 2541 | "_objFlags": 0, 2542 | "node": { 2543 | "__id__": 91 2544 | }, 2545 | "_enabled": true, 2546 | "__prefab": null, 2547 | "_contentSize": { 2548 | "__type__": "cc.Size", 2549 | "width": 182, 2550 | "height": 58 2551 | }, 2552 | "_anchorPoint": { 2553 | "__type__": "cc.Vec2", 2554 | "x": 0.5, 2555 | "y": 0.5 2556 | }, 2557 | "_id": "2dUZ4QXC9AbrvxEKYBP5QE" 2558 | }, 2559 | { 2560 | "__type__": "cc.Sprite", 2561 | "_name": "", 2562 | "_objFlags": 0, 2563 | "node": { 2564 | "__id__": 91 2565 | }, 2566 | "_enabled": true, 2567 | "__prefab": null, 2568 | "_visFlags": 0, 2569 | "_customMaterial": null, 2570 | "_srcBlendFactor": 2, 2571 | "_dstBlendFactor": 4, 2572 | "_color": { 2573 | "__type__": "cc.Color", 2574 | "r": 255, 2575 | "g": 255, 2576 | "b": 255, 2577 | "a": 255 2578 | }, 2579 | "_spriteFrame": { 2580 | "__uuid__": "fe2c9d8f-aac3-45b0-9cc2-954aa8949e66@f9941", 2581 | "__expectedType__": "cc.SpriteFrame" 2582 | }, 2583 | "_type": 1, 2584 | "_fillType": 0, 2585 | "_sizeMode": 0, 2586 | "_fillCenter": { 2587 | "__type__": "cc.Vec2", 2588 | "x": 0, 2589 | "y": 0 2590 | }, 2591 | "_fillStart": 0, 2592 | "_fillRange": 0, 2593 | "_isTrimmedMode": true, 2594 | "_useGrayscale": false, 2595 | "_atlas": null, 2596 | "_id": "cf1ITiit9Ora56UF7SGUSg" 2597 | }, 2598 | { 2599 | "__type__": "cc.Button", 2600 | "_name": "", 2601 | "_objFlags": 0, 2602 | "node": { 2603 | "__id__": 91 2604 | }, 2605 | "_enabled": true, 2606 | "__prefab": null, 2607 | "clickEvents": [ 2608 | { 2609 | "__id__": 95 2610 | } 2611 | ], 2612 | "_interactable": true, 2613 | "_transition": 1, 2614 | "_normalColor": { 2615 | "__type__": "cc.Color", 2616 | "r": 255, 2617 | "g": 255, 2618 | "b": 255, 2619 | "a": 255 2620 | }, 2621 | "_hoverColor": { 2622 | "__type__": "cc.Color", 2623 | "r": 224, 2624 | "g": 219, 2625 | "b": 255, 2626 | "a": 255 2627 | }, 2628 | "_pressedColor": { 2629 | "__type__": "cc.Color", 2630 | "r": 50, 2631 | "g": 73, 2632 | "b": 102, 2633 | "a": 255 2634 | }, 2635 | "_disabledColor": { 2636 | "__type__": "cc.Color", 2637 | "r": 124, 2638 | "g": 124, 2639 | "b": 124, 2640 | "a": 255 2641 | }, 2642 | "_normalSprite": { 2643 | "__uuid__": "fe2c9d8f-aac3-45b0-9cc2-954aa8949e66@f9941", 2644 | "__expectedType__": "cc.SpriteFrame" 2645 | }, 2646 | "_hoverSprite": null, 2647 | "_pressedSprite": null, 2648 | "_disabledSprite": null, 2649 | "_duration": 0.1, 2650 | "_zoomScale": 1.2, 2651 | "_target": null, 2652 | "_id": "15fBr4BwNP/pOdXHXP0I/4" 2653 | }, 2654 | { 2655 | "__type__": "cc.ClickEvent", 2656 | "target": { 2657 | "__id__": 80 2658 | }, 2659 | "component": "", 2660 | "_componentId": "2a2a81yoCZJ3JjP97hWoy/t", 2661 | "handler": "playAnm", 2662 | "customEventData": "2" 2663 | }, 2664 | { 2665 | "__type__": "cc.Node", 2666 | "_name": "btn3", 2667 | "_objFlags": 0, 2668 | "_parent": { 2669 | "__id__": 80 2670 | }, 2671 | "_children": [], 2672 | "_active": true, 2673 | "_components": [ 2674 | { 2675 | "__id__": 97 2676 | }, 2677 | { 2678 | "__id__": 98 2679 | }, 2680 | { 2681 | "__id__": 99 2682 | } 2683 | ], 2684 | "_prefab": null, 2685 | "_lpos": { 2686 | "__type__": "cc.Vec3", 2687 | "x": 0, 2688 | "y": -25, 2689 | "z": 0 2690 | }, 2691 | "_lrot": { 2692 | "__type__": "cc.Quat", 2693 | "x": 0, 2694 | "y": 0, 2695 | "z": 0, 2696 | "w": 1 2697 | }, 2698 | "_lscale": { 2699 | "__type__": "cc.Vec3", 2700 | "x": 1, 2701 | "y": 1, 2702 | "z": 1 2703 | }, 2704 | "_layer": 33554432, 2705 | "_euler": { 2706 | "__type__": "cc.Vec3", 2707 | "x": 0, 2708 | "y": 0, 2709 | "z": 0 2710 | }, 2711 | "_id": "e3xc36Z8VIkYmAMTDHKMiF" 2712 | }, 2713 | { 2714 | "__type__": "cc.UITransform", 2715 | "_name": "", 2716 | "_objFlags": 0, 2717 | "node": { 2718 | "__id__": 96 2719 | }, 2720 | "_enabled": true, 2721 | "__prefab": null, 2722 | "_contentSize": { 2723 | "__type__": "cc.Size", 2724 | "width": 182, 2725 | "height": 58 2726 | }, 2727 | "_anchorPoint": { 2728 | "__type__": "cc.Vec2", 2729 | "x": 0.5, 2730 | "y": 0.5 2731 | }, 2732 | "_id": "fdXw0eb6JOlLZ9/0KiRlpw" 2733 | }, 2734 | { 2735 | "__type__": "cc.Sprite", 2736 | "_name": "", 2737 | "_objFlags": 0, 2738 | "node": { 2739 | "__id__": 96 2740 | }, 2741 | "_enabled": true, 2742 | "__prefab": null, 2743 | "_visFlags": 0, 2744 | "_customMaterial": null, 2745 | "_srcBlendFactor": 2, 2746 | "_dstBlendFactor": 4, 2747 | "_color": { 2748 | "__type__": "cc.Color", 2749 | "r": 255, 2750 | "g": 255, 2751 | "b": 255, 2752 | "a": 255 2753 | }, 2754 | "_spriteFrame": { 2755 | "__uuid__": "fe2c9d8f-aac3-45b0-9cc2-954aa8949e66@f9941", 2756 | "__expectedType__": "cc.SpriteFrame" 2757 | }, 2758 | "_type": 1, 2759 | "_fillType": 0, 2760 | "_sizeMode": 0, 2761 | "_fillCenter": { 2762 | "__type__": "cc.Vec2", 2763 | "x": 0, 2764 | "y": 0 2765 | }, 2766 | "_fillStart": 0, 2767 | "_fillRange": 0, 2768 | "_isTrimmedMode": true, 2769 | "_useGrayscale": false, 2770 | "_atlas": null, 2771 | "_id": "ec6krHlLlMQKq1gpPPsAxV" 2772 | }, 2773 | { 2774 | "__type__": "cc.Button", 2775 | "_name": "", 2776 | "_objFlags": 0, 2777 | "node": { 2778 | "__id__": 96 2779 | }, 2780 | "_enabled": true, 2781 | "__prefab": null, 2782 | "clickEvents": [ 2783 | { 2784 | "__id__": 100 2785 | } 2786 | ], 2787 | "_interactable": true, 2788 | "_transition": 1, 2789 | "_normalColor": { 2790 | "__type__": "cc.Color", 2791 | "r": 255, 2792 | "g": 255, 2793 | "b": 255, 2794 | "a": 255 2795 | }, 2796 | "_hoverColor": { 2797 | "__type__": "cc.Color", 2798 | "r": 224, 2799 | "g": 219, 2800 | "b": 255, 2801 | "a": 255 2802 | }, 2803 | "_pressedColor": { 2804 | "__type__": "cc.Color", 2805 | "r": 50, 2806 | "g": 73, 2807 | "b": 102, 2808 | "a": 255 2809 | }, 2810 | "_disabledColor": { 2811 | "__type__": "cc.Color", 2812 | "r": 124, 2813 | "g": 124, 2814 | "b": 124, 2815 | "a": 255 2816 | }, 2817 | "_normalSprite": { 2818 | "__uuid__": "fe2c9d8f-aac3-45b0-9cc2-954aa8949e66@f9941", 2819 | "__expectedType__": "cc.SpriteFrame" 2820 | }, 2821 | "_hoverSprite": null, 2822 | "_pressedSprite": null, 2823 | "_disabledSprite": null, 2824 | "_duration": 0.1, 2825 | "_zoomScale": 1.2, 2826 | "_target": null, 2827 | "_id": "13GtATCadBiIEiJEaFHTuN" 2828 | }, 2829 | { 2830 | "__type__": "cc.ClickEvent", 2831 | "target": { 2832 | "__id__": 80 2833 | }, 2834 | "component": "", 2835 | "_componentId": "2a2a81yoCZJ3JjP97hWoy/t", 2836 | "handler": "playAnm", 2837 | "customEventData": "3" 2838 | }, 2839 | { 2840 | "__type__": "cc.Node", 2841 | "_name": "btn5", 2842 | "_objFlags": 0, 2843 | "_parent": { 2844 | "__id__": 80 2845 | }, 2846 | "_children": [], 2847 | "_active": true, 2848 | "_components": [ 2849 | { 2850 | "__id__": 102 2851 | }, 2852 | { 2853 | "__id__": 103 2854 | }, 2855 | { 2856 | "__id__": 104 2857 | } 2858 | ], 2859 | "_prefab": null, 2860 | "_lpos": { 2861 | "__type__": "cc.Vec3", 2862 | "x": 0, 2863 | "y": -117, 2864 | "z": 0 2865 | }, 2866 | "_lrot": { 2867 | "__type__": "cc.Quat", 2868 | "x": 0, 2869 | "y": 0, 2870 | "z": 0, 2871 | "w": 1 2872 | }, 2873 | "_lscale": { 2874 | "__type__": "cc.Vec3", 2875 | "x": 1, 2876 | "y": 1, 2877 | "z": 1 2878 | }, 2879 | "_layer": 33554432, 2880 | "_euler": { 2881 | "__type__": "cc.Vec3", 2882 | "x": 0, 2883 | "y": 0, 2884 | "z": 0 2885 | }, 2886 | "_id": "98Xx+6+kxBxo34BbmLd1Re" 2887 | }, 2888 | { 2889 | "__type__": "cc.UITransform", 2890 | "_name": "", 2891 | "_objFlags": 0, 2892 | "node": { 2893 | "__id__": 101 2894 | }, 2895 | "_enabled": true, 2896 | "__prefab": null, 2897 | "_contentSize": { 2898 | "__type__": "cc.Size", 2899 | "width": 182, 2900 | "height": 58 2901 | }, 2902 | "_anchorPoint": { 2903 | "__type__": "cc.Vec2", 2904 | "x": 0.5, 2905 | "y": 0.5 2906 | }, 2907 | "_id": "39axVp1C1FA6gYsAA1UFOo" 2908 | }, 2909 | { 2910 | "__type__": "cc.Sprite", 2911 | "_name": "", 2912 | "_objFlags": 0, 2913 | "node": { 2914 | "__id__": 101 2915 | }, 2916 | "_enabled": true, 2917 | "__prefab": null, 2918 | "_visFlags": 0, 2919 | "_customMaterial": null, 2920 | "_srcBlendFactor": 2, 2921 | "_dstBlendFactor": 4, 2922 | "_color": { 2923 | "__type__": "cc.Color", 2924 | "r": 255, 2925 | "g": 255, 2926 | "b": 255, 2927 | "a": 255 2928 | }, 2929 | "_spriteFrame": { 2930 | "__uuid__": "fe2c9d8f-aac3-45b0-9cc2-954aa8949e66@f9941", 2931 | "__expectedType__": "cc.SpriteFrame" 2932 | }, 2933 | "_type": 1, 2934 | "_fillType": 0, 2935 | "_sizeMode": 0, 2936 | "_fillCenter": { 2937 | "__type__": "cc.Vec2", 2938 | "x": 0, 2939 | "y": 0 2940 | }, 2941 | "_fillStart": 0, 2942 | "_fillRange": 0, 2943 | "_isTrimmedMode": true, 2944 | "_useGrayscale": false, 2945 | "_atlas": null, 2946 | "_id": "8blXt072BNf6kPpRXaPMTr" 2947 | }, 2948 | { 2949 | "__type__": "cc.Button", 2950 | "_name": "", 2951 | "_objFlags": 0, 2952 | "node": { 2953 | "__id__": 101 2954 | }, 2955 | "_enabled": true, 2956 | "__prefab": null, 2957 | "clickEvents": [ 2958 | { 2959 | "__id__": 105 2960 | } 2961 | ], 2962 | "_interactable": true, 2963 | "_transition": 1, 2964 | "_normalColor": { 2965 | "__type__": "cc.Color", 2966 | "r": 255, 2967 | "g": 255, 2968 | "b": 255, 2969 | "a": 255 2970 | }, 2971 | "_hoverColor": { 2972 | "__type__": "cc.Color", 2973 | "r": 224, 2974 | "g": 219, 2975 | "b": 255, 2976 | "a": 255 2977 | }, 2978 | "_pressedColor": { 2979 | "__type__": "cc.Color", 2980 | "r": 50, 2981 | "g": 73, 2982 | "b": 102, 2983 | "a": 255 2984 | }, 2985 | "_disabledColor": { 2986 | "__type__": "cc.Color", 2987 | "r": 124, 2988 | "g": 124, 2989 | "b": 124, 2990 | "a": 255 2991 | }, 2992 | "_normalSprite": { 2993 | "__uuid__": "fe2c9d8f-aac3-45b0-9cc2-954aa8949e66@f9941", 2994 | "__expectedType__": "cc.SpriteFrame" 2995 | }, 2996 | "_hoverSprite": null, 2997 | "_pressedSprite": null, 2998 | "_disabledSprite": null, 2999 | "_duration": 0.1, 3000 | "_zoomScale": 1.2, 3001 | "_target": null, 3002 | "_id": "7cHt7rIoVCwr3wO2HSW1Yo" 3003 | }, 3004 | { 3005 | "__type__": "cc.ClickEvent", 3006 | "target": { 3007 | "__id__": 80 3008 | }, 3009 | "component": "", 3010 | "_componentId": "2a2a81yoCZJ3JjP97hWoy/t", 3011 | "handler": "playAnm", 3012 | "customEventData": "5" 3013 | }, 3014 | { 3015 | "__type__": "cc.Node", 3016 | "_name": "btn4", 3017 | "_objFlags": 0, 3018 | "_parent": { 3019 | "__id__": 80 3020 | }, 3021 | "_children": [], 3022 | "_active": true, 3023 | "_components": [ 3024 | { 3025 | "__id__": 107 3026 | }, 3027 | { 3028 | "__id__": 108 3029 | }, 3030 | { 3031 | "__id__": 109 3032 | } 3033 | ], 3034 | "_prefab": null, 3035 | "_lpos": { 3036 | "__type__": "cc.Vec3", 3037 | "x": 0, 3038 | "y": -209, 3039 | "z": 0 3040 | }, 3041 | "_lrot": { 3042 | "__type__": "cc.Quat", 3043 | "x": 0, 3044 | "y": 0, 3045 | "z": 0, 3046 | "w": 1 3047 | }, 3048 | "_lscale": { 3049 | "__type__": "cc.Vec3", 3050 | "x": 1, 3051 | "y": 1, 3052 | "z": 1 3053 | }, 3054 | "_layer": 33554432, 3055 | "_euler": { 3056 | "__type__": "cc.Vec3", 3057 | "x": 0, 3058 | "y": 0, 3059 | "z": 0 3060 | }, 3061 | "_id": "63WFcxBPRPk69UwFqYKAaT" 3062 | }, 3063 | { 3064 | "__type__": "cc.UITransform", 3065 | "_name": "", 3066 | "_objFlags": 0, 3067 | "node": { 3068 | "__id__": 106 3069 | }, 3070 | "_enabled": true, 3071 | "__prefab": null, 3072 | "_contentSize": { 3073 | "__type__": "cc.Size", 3074 | "width": 182, 3075 | "height": 58 3076 | }, 3077 | "_anchorPoint": { 3078 | "__type__": "cc.Vec2", 3079 | "x": 0.5, 3080 | "y": 0.5 3081 | }, 3082 | "_id": "c3Cvzja09PzYAijerI1K1P" 3083 | }, 3084 | { 3085 | "__type__": "cc.Sprite", 3086 | "_name": "", 3087 | "_objFlags": 0, 3088 | "node": { 3089 | "__id__": 106 3090 | }, 3091 | "_enabled": true, 3092 | "__prefab": null, 3093 | "_visFlags": 0, 3094 | "_customMaterial": null, 3095 | "_srcBlendFactor": 2, 3096 | "_dstBlendFactor": 4, 3097 | "_color": { 3098 | "__type__": "cc.Color", 3099 | "r": 255, 3100 | "g": 255, 3101 | "b": 255, 3102 | "a": 255 3103 | }, 3104 | "_spriteFrame": { 3105 | "__uuid__": "fe2c9d8f-aac3-45b0-9cc2-954aa8949e66@f9941", 3106 | "__expectedType__": "cc.SpriteFrame" 3107 | }, 3108 | "_type": 1, 3109 | "_fillType": 0, 3110 | "_sizeMode": 0, 3111 | "_fillCenter": { 3112 | "__type__": "cc.Vec2", 3113 | "x": 0, 3114 | "y": 0 3115 | }, 3116 | "_fillStart": 0, 3117 | "_fillRange": 0, 3118 | "_isTrimmedMode": true, 3119 | "_useGrayscale": false, 3120 | "_atlas": null, 3121 | "_id": "f39JurgQVNvau7CJLADwZF" 3122 | }, 3123 | { 3124 | "__type__": "cc.Button", 3125 | "_name": "", 3126 | "_objFlags": 0, 3127 | "node": { 3128 | "__id__": 106 3129 | }, 3130 | "_enabled": true, 3131 | "__prefab": null, 3132 | "clickEvents": [ 3133 | { 3134 | "__id__": 110 3135 | } 3136 | ], 3137 | "_interactable": true, 3138 | "_transition": 1, 3139 | "_normalColor": { 3140 | "__type__": "cc.Color", 3141 | "r": 255, 3142 | "g": 255, 3143 | "b": 255, 3144 | "a": 255 3145 | }, 3146 | "_hoverColor": { 3147 | "__type__": "cc.Color", 3148 | "r": 224, 3149 | "g": 219, 3150 | "b": 255, 3151 | "a": 255 3152 | }, 3153 | "_pressedColor": { 3154 | "__type__": "cc.Color", 3155 | "r": 50, 3156 | "g": 73, 3157 | "b": 102, 3158 | "a": 255 3159 | }, 3160 | "_disabledColor": { 3161 | "__type__": "cc.Color", 3162 | "r": 124, 3163 | "g": 124, 3164 | "b": 124, 3165 | "a": 255 3166 | }, 3167 | "_normalSprite": { 3168 | "__uuid__": "fe2c9d8f-aac3-45b0-9cc2-954aa8949e66@f9941", 3169 | "__expectedType__": "cc.SpriteFrame" 3170 | }, 3171 | "_hoverSprite": null, 3172 | "_pressedSprite": null, 3173 | "_disabledSprite": null, 3174 | "_duration": 0.1, 3175 | "_zoomScale": 1.2, 3176 | "_target": null, 3177 | "_id": "e9bG1tzZZEI5NvpGKqWM1y" 3178 | }, 3179 | { 3180 | "__type__": "cc.ClickEvent", 3181 | "target": { 3182 | "__id__": 80 3183 | }, 3184 | "component": "", 3185 | "_componentId": "2a2a81yoCZJ3JjP97hWoy/t", 3186 | "handler": "playAnm", 3187 | "customEventData": "4" 3188 | }, 3189 | { 3190 | "__type__": "cc.Node", 3191 | "_name": "Label", 3192 | "_objFlags": 0, 3193 | "_parent": { 3194 | "__id__": 80 3195 | }, 3196 | "_children": [], 3197 | "_active": true, 3198 | "_components": [ 3199 | { 3200 | "__id__": 112 3201 | }, 3202 | { 3203 | "__id__": 113 3204 | } 3205 | ], 3206 | "_prefab": null, 3207 | "_lpos": { 3208 | "__type__": "cc.Vec3", 3209 | "x": 0, 3210 | "y": 251, 3211 | "z": 0 3212 | }, 3213 | "_lrot": { 3214 | "__type__": "cc.Quat", 3215 | "x": 0, 3216 | "y": 0, 3217 | "z": 0, 3218 | "w": 1 3219 | }, 3220 | "_lscale": { 3221 | "__type__": "cc.Vec3", 3222 | "x": 1, 3223 | "y": 1, 3224 | "z": 1 3225 | }, 3226 | "_layer": 33554432, 3227 | "_euler": { 3228 | "__type__": "cc.Vec3", 3229 | "x": 0, 3230 | "y": 0, 3231 | "z": 0 3232 | }, 3233 | "_id": "708xT1fWlKHo369ISr/t6J" 3234 | }, 3235 | { 3236 | "__type__": "cc.UITransform", 3237 | "_name": "", 3238 | "_objFlags": 0, 3239 | "node": { 3240 | "__id__": 111 3241 | }, 3242 | "_enabled": true, 3243 | "__prefab": null, 3244 | "_contentSize": { 3245 | "__type__": "cc.Size", 3246 | "width": 44.46, 3247 | "height": 50.4 3248 | }, 3249 | "_anchorPoint": { 3250 | "__type__": "cc.Vec2", 3251 | "x": 0.5, 3252 | "y": 0.5 3253 | }, 3254 | "_id": "6dE2p153VJIbp45iuuCpab" 3255 | }, 3256 | { 3257 | "__type__": "cc.Label", 3258 | "_name": "", 3259 | "_objFlags": 0, 3260 | "node": { 3261 | "__id__": 111 3262 | }, 3263 | "_enabled": true, 3264 | "__prefab": null, 3265 | "_visFlags": 0, 3266 | "_customMaterial": null, 3267 | "_srcBlendFactor": 2, 3268 | "_dstBlendFactor": 4, 3269 | "_color": { 3270 | "__type__": "cc.Color", 3271 | "r": 0, 3272 | "g": 0, 3273 | "b": 0, 3274 | "a": 255 3275 | }, 3276 | "_string": "IDLE", 3277 | "_horizontalAlign": 1, 3278 | "_verticalAlign": 1, 3279 | "_actualFontSize": 20, 3280 | "_fontSize": 20, 3281 | "_fontFamily": "Arial", 3282 | "_lineHeight": 40, 3283 | "_overflow": 0, 3284 | "_enableWrapText": true, 3285 | "_font": null, 3286 | "_isSystemFontUsed": true, 3287 | "_spacingX": 0, 3288 | "_isItalic": false, 3289 | "_isBold": false, 3290 | "_isUnderline": false, 3291 | "_underlineHeight": 2, 3292 | "_cacheMode": 1, 3293 | "_id": "6ejkkuYYtJrq3rkUUHu+dr" 3294 | }, 3295 | { 3296 | "__type__": "cc.Node", 3297 | "_name": "Label", 3298 | "_objFlags": 0, 3299 | "_parent": { 3300 | "__id__": 80 3301 | }, 3302 | "_children": [], 3303 | "_active": true, 3304 | "_components": [ 3305 | { 3306 | "__id__": 115 3307 | }, 3308 | { 3309 | "__id__": 116 3310 | } 3311 | ], 3312 | "_prefab": null, 3313 | "_lpos": { 3314 | "__type__": "cc.Vec3", 3315 | "x": 0, 3316 | "y": 159, 3317 | "z": 0 3318 | }, 3319 | "_lrot": { 3320 | "__type__": "cc.Quat", 3321 | "x": 0, 3322 | "y": 0, 3323 | "z": 0, 3324 | "w": 1 3325 | }, 3326 | "_lscale": { 3327 | "__type__": "cc.Vec3", 3328 | "x": 1, 3329 | "y": 1, 3330 | "z": 1 3331 | }, 3332 | "_layer": 33554432, 3333 | "_euler": { 3334 | "__type__": "cc.Vec3", 3335 | "x": 0, 3336 | "y": 0, 3337 | "z": 0 3338 | }, 3339 | "_id": "83mReF8zRDBZkLQK7mpWmp" 3340 | }, 3341 | { 3342 | "__type__": "cc.UITransform", 3343 | "_name": "", 3344 | "_objFlags": 0, 3345 | "node": { 3346 | "__id__": 114 3347 | }, 3348 | "_enabled": true, 3349 | "__prefab": null, 3350 | "_contentSize": { 3351 | "__type__": "cc.Size", 3352 | "width": 43.33, 3353 | "height": 50.4 3354 | }, 3355 | "_anchorPoint": { 3356 | "__type__": "cc.Vec2", 3357 | "x": 0.5, 3358 | "y": 0.5 3359 | }, 3360 | "_id": "63TEkWSVhAz4Ko0J5ZPDq5" 3361 | }, 3362 | { 3363 | "__type__": "cc.Label", 3364 | "_name": "", 3365 | "_objFlags": 0, 3366 | "node": { 3367 | "__id__": 114 3368 | }, 3369 | "_enabled": true, 3370 | "__prefab": null, 3371 | "_visFlags": 0, 3372 | "_customMaterial": null, 3373 | "_srcBlendFactor": 2, 3374 | "_dstBlendFactor": 4, 3375 | "_color": { 3376 | "__type__": "cc.Color", 3377 | "r": 0, 3378 | "g": 0, 3379 | "b": 0, 3380 | "a": 255 3381 | }, 3382 | "_string": "RUN", 3383 | "_horizontalAlign": 1, 3384 | "_verticalAlign": 1, 3385 | "_actualFontSize": 20, 3386 | "_fontSize": 20, 3387 | "_fontFamily": "Arial", 3388 | "_lineHeight": 40, 3389 | "_overflow": 0, 3390 | "_enableWrapText": true, 3391 | "_font": null, 3392 | "_isSystemFontUsed": true, 3393 | "_spacingX": 0, 3394 | "_isItalic": false, 3395 | "_isBold": false, 3396 | "_isUnderline": false, 3397 | "_underlineHeight": 2, 3398 | "_cacheMode": 1, 3399 | "_id": "0bytrJxF5E3oQYaY/t9Fr7" 3400 | }, 3401 | { 3402 | "__type__": "cc.Node", 3403 | "_name": "Label", 3404 | "_objFlags": 0, 3405 | "_parent": { 3406 | "__id__": 80 3407 | }, 3408 | "_children": [], 3409 | "_active": true, 3410 | "_components": [ 3411 | { 3412 | "__id__": 118 3413 | }, 3414 | { 3415 | "__id__": 119 3416 | } 3417 | ], 3418 | "_prefab": null, 3419 | "_lpos": { 3420 | "__type__": "cc.Vec3", 3421 | "x": 0, 3422 | "y": 67, 3423 | "z": 0 3424 | }, 3425 | "_lrot": { 3426 | "__type__": "cc.Quat", 3427 | "x": 0, 3428 | "y": 0, 3429 | "z": 0, 3430 | "w": 1 3431 | }, 3432 | "_lscale": { 3433 | "__type__": "cc.Vec3", 3434 | "x": 1, 3435 | "y": 1, 3436 | "z": 1 3437 | }, 3438 | "_layer": 33554432, 3439 | "_euler": { 3440 | "__type__": "cc.Vec3", 3441 | "x": 0, 3442 | "y": 0, 3443 | "z": 0 3444 | }, 3445 | "_id": "99HDdsZaRNtqltlHfFmEzm" 3446 | }, 3447 | { 3448 | "__type__": "cc.UITransform", 3449 | "_name": "", 3450 | "_objFlags": 0, 3451 | "node": { 3452 | "__id__": 117 3453 | }, 3454 | "_enabled": true, 3455 | "__prefab": null, 3456 | "_contentSize": { 3457 | "__type__": "cc.Size", 3458 | "width": 37.41, 3459 | "height": 50.4 3460 | }, 3461 | "_anchorPoint": { 3462 | "__type__": "cc.Vec2", 3463 | "x": 0.5, 3464 | "y": 0.5 3465 | }, 3466 | "_id": "73vnn+XZ9CaINah4I+jNf5" 3467 | }, 3468 | { 3469 | "__type__": "cc.Label", 3470 | "_name": "", 3471 | "_objFlags": 0, 3472 | "node": { 3473 | "__id__": 117 3474 | }, 3475 | "_enabled": true, 3476 | "__prefab": null, 3477 | "_visFlags": 0, 3478 | "_customMaterial": null, 3479 | "_srcBlendFactor": 2, 3480 | "_dstBlendFactor": 4, 3481 | "_color": { 3482 | "__type__": "cc.Color", 3483 | "r": 0, 3484 | "g": 0, 3485 | "b": 0, 3486 | "a": 255 3487 | }, 3488 | "_string": "ATK", 3489 | "_horizontalAlign": 1, 3490 | "_verticalAlign": 1, 3491 | "_actualFontSize": 20, 3492 | "_fontSize": 20, 3493 | "_fontFamily": "Arial", 3494 | "_lineHeight": 40, 3495 | "_overflow": 0, 3496 | "_enableWrapText": true, 3497 | "_font": null, 3498 | "_isSystemFontUsed": true, 3499 | "_spacingX": 0, 3500 | "_isItalic": false, 3501 | "_isBold": false, 3502 | "_isUnderline": false, 3503 | "_underlineHeight": 2, 3504 | "_cacheMode": 1, 3505 | "_id": "35aCXhn7lK97jCoLnX2M6w" 3506 | }, 3507 | { 3508 | "__type__": "cc.Node", 3509 | "_name": "Label", 3510 | "_objFlags": 0, 3511 | "_parent": { 3512 | "__id__": 80 3513 | }, 3514 | "_children": [], 3515 | "_active": true, 3516 | "_components": [ 3517 | { 3518 | "__id__": 121 3519 | }, 3520 | { 3521 | "__id__": 122 3522 | } 3523 | ], 3524 | "_prefab": null, 3525 | "_lpos": { 3526 | "__type__": "cc.Vec3", 3527 | "x": 0, 3528 | "y": -25, 3529 | "z": 0 3530 | }, 3531 | "_lrot": { 3532 | "__type__": "cc.Quat", 3533 | "x": 0, 3534 | "y": 0, 3535 | "z": 0, 3536 | "w": 1 3537 | }, 3538 | "_lscale": { 3539 | "__type__": "cc.Vec3", 3540 | "x": 1, 3541 | "y": 1, 3542 | "z": 1 3543 | }, 3544 | "_layer": 33554432, 3545 | "_euler": { 3546 | "__type__": "cc.Vec3", 3547 | "x": 0, 3548 | "y": 0, 3549 | "z": 0 3550 | }, 3551 | "_id": "63z1RLDplPXIJOdJfZyx9W" 3552 | }, 3553 | { 3554 | "__type__": "cc.UITransform", 3555 | "_name": "", 3556 | "_objFlags": 0, 3557 | "node": { 3558 | "__id__": 120 3559 | }, 3560 | "_enabled": true, 3561 | "__prefab": null, 3562 | "_contentSize": { 3563 | "__type__": "cc.Size", 3564 | "width": 66.3, 3565 | "height": 50.4 3566 | }, 3567 | "_anchorPoint": { 3568 | "__type__": "cc.Vec2", 3569 | "x": 0.5, 3570 | "y": 0.5 3571 | }, 3572 | "_id": "42dMeOa3xDIYRyA7v6WcIC" 3573 | }, 3574 | { 3575 | "__type__": "cc.Label", 3576 | "_name": "", 3577 | "_objFlags": 0, 3578 | "node": { 3579 | "__id__": 120 3580 | }, 3581 | "_enabled": true, 3582 | "__prefab": null, 3583 | "_visFlags": 0, 3584 | "_customMaterial": null, 3585 | "_srcBlendFactor": 2, 3586 | "_dstBlendFactor": 4, 3587 | "_color": { 3588 | "__type__": "cc.Color", 3589 | "r": 0, 3590 | "g": 0, 3591 | "b": 0, 3592 | "a": 255 3593 | }, 3594 | "_string": "DEATH", 3595 | "_horizontalAlign": 1, 3596 | "_verticalAlign": 1, 3597 | "_actualFontSize": 20, 3598 | "_fontSize": 20, 3599 | "_fontFamily": "Arial", 3600 | "_lineHeight": 40, 3601 | "_overflow": 0, 3602 | "_enableWrapText": true, 3603 | "_font": null, 3604 | "_isSystemFontUsed": true, 3605 | "_spacingX": 0, 3606 | "_isItalic": false, 3607 | "_isBold": false, 3608 | "_isUnderline": false, 3609 | "_underlineHeight": 2, 3610 | "_cacheMode": 1, 3611 | "_id": "d4WqczgD1L/amMYchimkxd" 3612 | }, 3613 | { 3614 | "__type__": "cc.Node", 3615 | "_name": "Label", 3616 | "_objFlags": 0, 3617 | "_parent": { 3618 | "__id__": 80 3619 | }, 3620 | "_children": [], 3621 | "_active": true, 3622 | "_components": [ 3623 | { 3624 | "__id__": 124 3625 | }, 3626 | { 3627 | "__id__": 125 3628 | } 3629 | ], 3630 | "_prefab": null, 3631 | "_lpos": { 3632 | "__type__": "cc.Vec3", 3633 | "x": 0, 3634 | "y": -117, 3635 | "z": 0 3636 | }, 3637 | "_lrot": { 3638 | "__type__": "cc.Quat", 3639 | "x": 0, 3640 | "y": 0, 3641 | "z": 0, 3642 | "w": 1 3643 | }, 3644 | "_lscale": { 3645 | "__type__": "cc.Vec3", 3646 | "x": 1, 3647 | "y": 1, 3648 | "z": 1 3649 | }, 3650 | "_layer": 33554432, 3651 | "_euler": { 3652 | "__type__": "cc.Vec3", 3653 | "x": 0, 3654 | "y": 0, 3655 | "z": 0 3656 | }, 3657 | "_id": "15qG+HPmpDW6GThsBNQKGR" 3658 | }, 3659 | { 3660 | "__type__": "cc.UITransform", 3661 | "_name": "", 3662 | "_objFlags": 0, 3663 | "node": { 3664 | "__id__": 123 3665 | }, 3666 | "_enabled": true, 3667 | "__prefab": null, 3668 | "_contentSize": { 3669 | "__type__": "cc.Size", 3670 | "width": 55.19, 3671 | "height": 50.4 3672 | }, 3673 | "_anchorPoint": { 3674 | "__type__": "cc.Vec2", 3675 | "x": 0.5, 3676 | "y": 0.5 3677 | }, 3678 | "_id": "cd8jscf2dIlL1oPcFqMt1i" 3679 | }, 3680 | { 3681 | "__type__": "cc.Label", 3682 | "_name": "", 3683 | "_objFlags": 0, 3684 | "node": { 3685 | "__id__": 123 3686 | }, 3687 | "_enabled": true, 3688 | "__prefab": null, 3689 | "_visFlags": 0, 3690 | "_customMaterial": null, 3691 | "_srcBlendFactor": 2, 3692 | "_dstBlendFactor": 4, 3693 | "_color": { 3694 | "__type__": "cc.Color", 3695 | "r": 0, 3696 | "g": 0, 3697 | "b": 0, 3698 | "a": 255 3699 | }, 3700 | "_string": "HURT", 3701 | "_horizontalAlign": 1, 3702 | "_verticalAlign": 1, 3703 | "_actualFontSize": 20, 3704 | "_fontSize": 20, 3705 | "_fontFamily": "Arial", 3706 | "_lineHeight": 40, 3707 | "_overflow": 0, 3708 | "_enableWrapText": true, 3709 | "_font": null, 3710 | "_isSystemFontUsed": true, 3711 | "_spacingX": 0, 3712 | "_isItalic": false, 3713 | "_isBold": false, 3714 | "_isUnderline": false, 3715 | "_underlineHeight": 2, 3716 | "_cacheMode": 1, 3717 | "_id": "f7Ad2+0Q5JE7NyR4ZKxb+3" 3718 | }, 3719 | { 3720 | "__type__": "cc.Node", 3721 | "_name": "Label", 3722 | "_objFlags": 0, 3723 | "_parent": { 3724 | "__id__": 80 3725 | }, 3726 | "_children": [], 3727 | "_active": true, 3728 | "_components": [ 3729 | { 3730 | "__id__": 127 3731 | }, 3732 | { 3733 | "__id__": 128 3734 | } 3735 | ], 3736 | "_prefab": null, 3737 | "_lpos": { 3738 | "__type__": "cc.Vec3", 3739 | "x": 0, 3740 | "y": -209, 3741 | "z": 0 3742 | }, 3743 | "_lrot": { 3744 | "__type__": "cc.Quat", 3745 | "x": 0, 3746 | "y": 0, 3747 | "z": 0, 3748 | "w": 1 3749 | }, 3750 | "_lscale": { 3751 | "__type__": "cc.Vec3", 3752 | "x": 1, 3753 | "y": 1, 3754 | "z": 1 3755 | }, 3756 | "_layer": 33554432, 3757 | "_euler": { 3758 | "__type__": "cc.Vec3", 3759 | "x": 0, 3760 | "y": 0, 3761 | "z": 0 3762 | }, 3763 | "_id": "eeIiOmYYJAxLx2QXmRPWMw" 3764 | }, 3765 | { 3766 | "__type__": "cc.UITransform", 3767 | "_name": "", 3768 | "_objFlags": 0, 3769 | "node": { 3770 | "__id__": 126 3771 | }, 3772 | "_enabled": true, 3773 | "__prefab": null, 3774 | "_contentSize": { 3775 | "__type__": "cc.Size", 3776 | "width": 65.61, 3777 | "height": 50.4 3778 | }, 3779 | "_anchorPoint": { 3780 | "__type__": "cc.Vec2", 3781 | "x": 0.5, 3782 | "y": 0.5 3783 | }, 3784 | "_id": "8bV8If8S9C/op3mSYEgeZD" 3785 | }, 3786 | { 3787 | "__type__": "cc.Label", 3788 | "_name": "", 3789 | "_objFlags": 0, 3790 | "node": { 3791 | "__id__": 126 3792 | }, 3793 | "_enabled": true, 3794 | "__prefab": null, 3795 | "_visFlags": 0, 3796 | "_customMaterial": null, 3797 | "_srcBlendFactor": 2, 3798 | "_dstBlendFactor": 4, 3799 | "_color": { 3800 | "__type__": "cc.Color", 3801 | "r": 0, 3802 | "g": 0, 3803 | "b": 0, 3804 | "a": 255 3805 | }, 3806 | "_string": "SKILL1", 3807 | "_horizontalAlign": 1, 3808 | "_verticalAlign": 1, 3809 | "_actualFontSize": 20, 3810 | "_fontSize": 20, 3811 | "_fontFamily": "Arial", 3812 | "_lineHeight": 40, 3813 | "_overflow": 0, 3814 | "_enableWrapText": true, 3815 | "_font": null, 3816 | "_isSystemFontUsed": true, 3817 | "_spacingX": 0, 3818 | "_isItalic": false, 3819 | "_isBold": false, 3820 | "_isUnderline": false, 3821 | "_underlineHeight": 2, 3822 | "_cacheMode": 1, 3823 | "_id": "dc1yRddeJK8LAfW656XAgF" 3824 | }, 3825 | { 3826 | "__type__": "cc.Node", 3827 | "_name": "StateLabel", 3828 | "_objFlags": 0, 3829 | "_parent": { 3830 | "__id__": 80 3831 | }, 3832 | "_children": [], 3833 | "_active": true, 3834 | "_components": [ 3835 | { 3836 | "__id__": 130 3837 | }, 3838 | { 3839 | "__id__": 131 3840 | }, 3841 | { 3842 | "__id__": 132 3843 | } 3844 | ], 3845 | "_prefab": null, 3846 | "_lpos": { 3847 | "__type__": "cc.Vec3", 3848 | "x": 0, 3849 | "y": -296.68, 3850 | "z": 0 3851 | }, 3852 | "_lrot": { 3853 | "__type__": "cc.Quat", 3854 | "x": 0, 3855 | "y": 0, 3856 | "z": 0, 3857 | "w": 1 3858 | }, 3859 | "_lscale": { 3860 | "__type__": "cc.Vec3", 3861 | "x": 1, 3862 | "y": 1, 3863 | "z": 1 3864 | }, 3865 | "_layer": 33554432, 3866 | "_euler": { 3867 | "__type__": "cc.Vec3", 3868 | "x": 0, 3869 | "y": 0, 3870 | "z": 0 3871 | }, 3872 | "_id": "banA7z52dGA5AWr8GQ9exm" 3873 | }, 3874 | { 3875 | "__type__": "cc.UITransform", 3876 | "_name": "", 3877 | "_objFlags": 0, 3878 | "node": { 3879 | "__id__": 129 3880 | }, 3881 | "_enabled": true, 3882 | "__prefab": null, 3883 | "_contentSize": { 3884 | "__type__": "cc.Size", 3885 | "width": 190.76, 3886 | "height": 49.36 3887 | }, 3888 | "_anchorPoint": { 3889 | "__type__": "cc.Vec2", 3890 | "x": 0.5, 3891 | "y": 0.5 3892 | }, 3893 | "_id": "44hDD0WNROMan8qOUrY1m0" 3894 | }, 3895 | { 3896 | "__type__": "cc.Label", 3897 | "_name": "", 3898 | "_objFlags": 0, 3899 | "node": { 3900 | "__id__": 129 3901 | }, 3902 | "_enabled": true, 3903 | "__prefab": null, 3904 | "_visFlags": 0, 3905 | "_customMaterial": null, 3906 | "_srcBlendFactor": 2, 3907 | "_dstBlendFactor": 4, 3908 | "_color": { 3909 | "__type__": "cc.Color", 3910 | "r": 255, 3911 | "g": 255, 3912 | "b": 255, 3913 | "a": 255 3914 | }, 3915 | "_string": "Anm:1 Duration:1", 3916 | "_horizontalAlign": 1, 3917 | "_verticalAlign": 1, 3918 | "_actualFontSize": 24, 3919 | "_fontSize": 24, 3920 | "_fontFamily": "Arial", 3921 | "_lineHeight": 36, 3922 | "_overflow": 0, 3923 | "_enableWrapText": true, 3924 | "_font": null, 3925 | "_isSystemFontUsed": true, 3926 | "_spacingX": 0, 3927 | "_isItalic": false, 3928 | "_isBold": false, 3929 | "_isUnderline": false, 3930 | "_underlineHeight": 2, 3931 | "_cacheMode": 1, 3932 | "_id": "f94AflVUxIG60GpPuTC654" 3933 | }, 3934 | { 3935 | "__type__": "cc.LabelOutline", 3936 | "_name": "", 3937 | "_objFlags": 0, 3938 | "node": { 3939 | "__id__": 129 3940 | }, 3941 | "_enabled": true, 3942 | "__prefab": null, 3943 | "_color": { 3944 | "__type__": "cc.Color", 3945 | "r": 14, 3946 | "g": 14, 3947 | "b": 14, 3948 | "a": 255 3949 | }, 3950 | "_width": 2, 3951 | "_id": "bfrcuIVfBLXpvTlSFJRnhu" 3952 | }, 3953 | { 3954 | "__type__": "cc.UITransform", 3955 | "_name": "", 3956 | "_objFlags": 0, 3957 | "node": { 3958 | "__id__": 80 3959 | }, 3960 | "_enabled": true, 3961 | "__prefab": null, 3962 | "_contentSize": { 3963 | "__type__": "cc.Size", 3964 | "width": 240, 3965 | "height": 720 3966 | }, 3967 | "_anchorPoint": { 3968 | "__type__": "cc.Vec2", 3969 | "x": 0.5, 3970 | "y": 0.5 3971 | }, 3972 | "_id": "cc6BuNjmJOkK3iv4DQmb4R" 3973 | }, 3974 | { 3975 | "__type__": "cc.Widget", 3976 | "_name": "", 3977 | "_objFlags": 0, 3978 | "node": { 3979 | "__id__": 80 3980 | }, 3981 | "_enabled": true, 3982 | "__prefab": null, 3983 | "_alignFlags": 37, 3984 | "_target": null, 3985 | "_left": 590, 3986 | "_right": 0, 3987 | "_top": 0, 3988 | "_bottom": 0, 3989 | "_horizontalCenter": 0, 3990 | "_verticalCenter": 0, 3991 | "_isAbsLeft": true, 3992 | "_isAbsRight": true, 3993 | "_isAbsTop": true, 3994 | "_isAbsBottom": true, 3995 | "_isAbsHorizontalCenter": true, 3996 | "_isAbsVerticalCenter": true, 3997 | "_originalWidth": 100, 3998 | "_originalHeight": 100, 3999 | "_alignMode": 2, 4000 | "_lockFlags": 0, 4001 | "_id": "733yfQoIdCu6BX7YmkXWHg" 4002 | }, 4003 | { 4004 | "__type__": "2a2a81yoCZJ3JjP97hWoy/t", 4005 | "_name": "", 4006 | "_objFlags": 0, 4007 | "node": { 4008 | "__id__": 80 4009 | }, 4010 | "_enabled": true, 4011 | "__prefab": null, 4012 | "anm": { 4013 | "__id__": 14 4014 | }, 4015 | "text": { 4016 | "__id__": 131 4017 | }, 4018 | "_id": "c4BkakfrNJta9JYlYyjycP" 4019 | }, 4020 | { 4021 | "__type__": "cc.UITransform", 4022 | "_name": "", 4023 | "_objFlags": 0, 4024 | "node": { 4025 | "__id__": 2 4026 | }, 4027 | "_enabled": true, 4028 | "__prefab": null, 4029 | "_contentSize": { 4030 | "__type__": "cc.Size", 4031 | "width": 1280, 4032 | "height": 720 4033 | }, 4034 | "_anchorPoint": { 4035 | "__type__": "cc.Vec2", 4036 | "x": 0.5, 4037 | "y": 0.5 4038 | }, 4039 | "_id": "61B37kNLlByqE81XSFqdsa" 4040 | }, 4041 | { 4042 | "__type__": "cc.Canvas", 4043 | "_name": "", 4044 | "_objFlags": 0, 4045 | "node": { 4046 | "__id__": 2 4047 | }, 4048 | "_enabled": true, 4049 | "__prefab": null, 4050 | "_cameraComponent": { 4051 | "__id__": 4 4052 | }, 4053 | "_alignCanvasWithScreen": true, 4054 | "_id": "43XT2IidZD3Lzj3bDgnCyC" 4055 | }, 4056 | { 4057 | "__type__": "cc.Widget", 4058 | "_name": "", 4059 | "_objFlags": 0, 4060 | "node": { 4061 | "__id__": 2 4062 | }, 4063 | "_enabled": true, 4064 | "__prefab": null, 4065 | "_alignFlags": 45, 4066 | "_target": null, 4067 | "_left": 0, 4068 | "_right": 0, 4069 | "_top": 0, 4070 | "_bottom": 0, 4071 | "_horizontalCenter": 0, 4072 | "_verticalCenter": 0, 4073 | "_isAbsLeft": true, 4074 | "_isAbsRight": true, 4075 | "_isAbsTop": true, 4076 | "_isAbsBottom": true, 4077 | "_isAbsHorizontalCenter": true, 4078 | "_isAbsVerticalCenter": true, 4079 | "_originalWidth": 0, 4080 | "_originalHeight": 0, 4081 | "_alignMode": 2, 4082 | "_lockFlags": 0, 4083 | "_id": "86/DF2HtNHeLl11MIr+aDt" 4084 | }, 4085 | { 4086 | "__type__": "cc.SceneGlobals", 4087 | "ambient": { 4088 | "__id__": 140 4089 | }, 4090 | "shadows": { 4091 | "__id__": 141 4092 | }, 4093 | "_skybox": { 4094 | "__id__": 142 4095 | }, 4096 | "fog": { 4097 | "__id__": 143 4098 | }, 4099 | "octree": { 4100 | "__id__": 144 4101 | } 4102 | }, 4103 | { 4104 | "__type__": "cc.AmbientInfo", 4105 | "_skyColorHDR": { 4106 | "__type__": "cc.Vec4", 4107 | "x": 0.242613, 4108 | "y": 0.362617, 4109 | "z": 0.798746, 4110 | "w": 0.520833125 4111 | }, 4112 | "_skyColor": { 4113 | "__type__": "cc.Vec4", 4114 | "x": 0.242613, 4115 | "y": 0.362617, 4116 | "z": 0.798746, 4117 | "w": 0.520833125 4118 | }, 4119 | "_skyIllumHDR": 20000, 4120 | "_skyIllum": 20000, 4121 | "_groundAlbedoHDR": { 4122 | "__type__": "cc.Vec4", 4123 | "x": 0.241814, 4124 | "y": 0.361945, 4125 | "z": 0.798799, 4126 | "w": 0 4127 | }, 4128 | "_groundAlbedo": { 4129 | "__type__": "cc.Vec4", 4130 | "x": 0.241814, 4131 | "y": 0.361945, 4132 | "z": 0.798799, 4133 | "w": 0 4134 | }, 4135 | "_skyColorLDR": { 4136 | "__type__": "cc.Vec4", 4137 | "x": 0.519964, 4138 | "y": 0.630786, 4139 | "z": 0.905039, 4140 | "w": 0.5208 4141 | }, 4142 | "_skyIllumLDR": 0.5208, 4143 | "_groundAlbedoLDR": { 4144 | "__type__": "cc.Vec4", 4145 | "x": 0.519544, 4146 | "y": 0.630484, 4147 | "z": 0.905069, 4148 | "w": 0 4149 | } 4150 | }, 4151 | { 4152 | "__type__": "cc.ShadowsInfo", 4153 | "_enabled": false, 4154 | "_type": 0, 4155 | "_normal": { 4156 | "__type__": "cc.Vec3", 4157 | "x": 0, 4158 | "y": 1, 4159 | "z": 0 4160 | }, 4161 | "_distance": 0, 4162 | "_shadowColor": { 4163 | "__type__": "cc.Color", 4164 | "r": 76, 4165 | "g": 76, 4166 | "b": 76, 4167 | "a": 255 4168 | }, 4169 | "_maxReceived": 4, 4170 | "_size": { 4171 | "__type__": "cc.Vec2", 4172 | "x": 1024, 4173 | "y": 1024 4174 | } 4175 | }, 4176 | { 4177 | "__type__": "cc.SkyboxInfo", 4178 | "_envLightingType": 0, 4179 | "_envmapHDR": { 4180 | "__uuid__": "d032ac98-05e1-4090-88bb-eb640dcb5fc1@b47c0", 4181 | "__expectedType__": "cc.TextureCube" 4182 | }, 4183 | "_envmap": { 4184 | "__uuid__": "d032ac98-05e1-4090-88bb-eb640dcb5fc1@b47c0", 4185 | "__expectedType__": "cc.TextureCube" 4186 | }, 4187 | "_envmapLDR": { 4188 | "__uuid__": "6f01cf7f-81bf-4a7e-bd5d-0afc19696480@b47c0", 4189 | "__expectedType__": "cc.TextureCube" 4190 | }, 4191 | "_diffuseMapHDR": null, 4192 | "_diffuseMapLDR": null, 4193 | "_enabled": false, 4194 | "_useHDR": true 4195 | }, 4196 | { 4197 | "__type__": "cc.FogInfo", 4198 | "_type": 0, 4199 | "_fogColor": { 4200 | "__type__": "cc.Color", 4201 | "r": 200, 4202 | "g": 200, 4203 | "b": 200, 4204 | "a": 255 4205 | }, 4206 | "_enabled": false, 4207 | "_fogDensity": 0.3, 4208 | "_fogStart": 0.5, 4209 | "_fogEnd": 300, 4210 | "_fogAtten": 5, 4211 | "_fogTop": 1.5, 4212 | "_fogRange": 1.2, 4213 | "_accurate": false 4214 | }, 4215 | { 4216 | "__type__": "cc.OctreeInfo", 4217 | "_enabled": false, 4218 | "_minPos": { 4219 | "__type__": "cc.Vec3", 4220 | "x": -1024, 4221 | "y": -1024, 4222 | "z": -1024 4223 | }, 4224 | "_maxPos": { 4225 | "__type__": "cc.Vec3", 4226 | "x": 1024, 4227 | "y": 1024, 4228 | "z": 1024 4229 | }, 4230 | "_depth": 8 4231 | } 4232 | ] -------------------------------------------------------------------------------- /assets/scene.scene.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.1.38", 3 | "importer": "scene", 4 | "imported": true, 5 | "uuid": "a8629d03-36ec-4a48-a209-08eb99dd9f48", 6 | "files": [ 7 | ".json" 8 | ], 9 | "subMetas": {}, 10 | "userData": {} 11 | } 12 | -------------------------------------------------------------------------------- /assets/sprite.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.1.0", 3 | "importer": "directory", 4 | "imported": true, 5 | "uuid": "3fa7c8a7-5f75-45f3-b07f-75fd3ed30168", 6 | "files": [], 7 | "subMetas": {}, 8 | "userData": { 9 | "compressionType": {}, 10 | "isRemoteBundle": {} 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /assets/sprite/doge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iwae/Cocos-SpriteSheet-Animator/265bca0922b763afda44e38ccb65f4db58dcf70d/assets/sprite/doge.png -------------------------------------------------------------------------------- /assets/sprite/doge.png.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.23", 3 | "importer": "image", 4 | "imported": true, 5 | "uuid": "fb24685b-4257-4d58-ba52-7b7073c6f534", 6 | "files": [ 7 | ".json", 8 | ".png" 9 | ], 10 | "subMetas": { 11 | "6c48a": { 12 | "importer": "texture", 13 | "uuid": "fb24685b-4257-4d58-ba52-7b7073c6f534@6c48a", 14 | "displayName": "doge", 15 | "id": "6c48a", 16 | "name": "texture", 17 | "userData": { 18 | "wrapModeS": "repeat", 19 | "wrapModeT": "repeat", 20 | "minfilter": "linear", 21 | "magfilter": "linear", 22 | "mipfilter": "none", 23 | "anisotropy": 0, 24 | "isUuid": true, 25 | "imageUuidOrDatabaseUri": "fb24685b-4257-4d58-ba52-7b7073c6f534" 26 | }, 27 | "ver": "1.0.21", 28 | "imported": true, 29 | "files": [ 30 | ".json" 31 | ], 32 | "subMetas": {} 33 | } 34 | }, 35 | "userData": { 36 | "type": "texture", 37 | "fixAlphaTransparencyArtifacts": true, 38 | "hasAlpha": true, 39 | "redirect": "fb24685b-4257-4d58-ba52-7b7073c6f534@6c48a" 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /assets/sprite/example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iwae/Cocos-SpriteSheet-Animator/265bca0922b763afda44e38ccb65f4db58dcf70d/assets/sprite/example.png -------------------------------------------------------------------------------- /assets/sprite/example.png.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.23", 3 | "importer": "image", 4 | "imported": true, 5 | "uuid": "ff674d7f-8ef0-46d9-bc34-8f355be3b22f", 6 | "files": [ 7 | ".json", 8 | ".png" 9 | ], 10 | "subMetas": { 11 | "6c48a": { 12 | "importer": "texture", 13 | "uuid": "ff674d7f-8ef0-46d9-bc34-8f355be3b22f@6c48a", 14 | "displayName": "example", 15 | "id": "6c48a", 16 | "name": "texture", 17 | "userData": { 18 | "wrapModeS": "clamp-to-edge", 19 | "wrapModeT": "clamp-to-edge", 20 | "minfilter": "linear", 21 | "magfilter": "linear", 22 | "mipfilter": "none", 23 | "anisotropy": 0, 24 | "isUuid": true, 25 | "imageUuidOrDatabaseUri": "ff674d7f-8ef0-46d9-bc34-8f355be3b22f" 26 | }, 27 | "ver": "1.0.21", 28 | "imported": true, 29 | "files": [ 30 | ".json" 31 | ], 32 | "subMetas": {} 33 | }, 34 | "f9941": { 35 | "importer": "sprite-frame", 36 | "uuid": "ff674d7f-8ef0-46d9-bc34-8f355be3b22f@f9941", 37 | "displayName": "example", 38 | "id": "f9941", 39 | "name": "spriteFrame", 40 | "userData": { 41 | "trimType": "auto", 42 | "trimThreshold": 1, 43 | "rotated": false, 44 | "offsetX": 0, 45 | "offsetY": 0, 46 | "trimX": 0, 47 | "trimY": 0, 48 | "width": 1728, 49 | "height": 1080, 50 | "rawWidth": 1728, 51 | "rawHeight": 1080, 52 | "borderTop": 0, 53 | "borderBottom": 0, 54 | "borderLeft": 0, 55 | "borderRight": 0, 56 | "packable": true, 57 | "isUuid": true, 58 | "imageUuidOrDatabaseUri": "ff674d7f-8ef0-46d9-bc34-8f355be3b22f@6c48a", 59 | "atlasUuid": "" 60 | }, 61 | "ver": "1.0.9", 62 | "imported": true, 63 | "files": [ 64 | ".json" 65 | ], 66 | "subMetas": {} 67 | } 68 | }, 69 | "userData": { 70 | "type": "sprite-frame", 71 | "fixAlphaTransparencyArtifacts": true, 72 | "hasAlpha": true, 73 | "redirect": "ff674d7f-8ef0-46d9-bc34-8f355be3b22f@f9941" 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /assets/sprite/hero.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.1.0", 3 | "importer": "directory", 4 | "imported": true, 5 | "uuid": "cc717adc-c5a5-40d6-8fd9-cfe5794ea816", 6 | "files": [], 7 | "subMetas": {}, 8 | "userData": { 9 | "compressionType": {}, 10 | "isRemoteBundle": {} 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /assets/sprite/hero/Warrior_Sheet-Effect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iwae/Cocos-SpriteSheet-Animator/265bca0922b763afda44e38ccb65f4db58dcf70d/assets/sprite/hero/Warrior_Sheet-Effect.png -------------------------------------------------------------------------------- /assets/sprite/hero/Warrior_Sheet-Effect.png.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.23", 3 | "importer": "image", 4 | "imported": true, 5 | "uuid": "132b9911-6c34-4101-b2c6-83e283fe4283", 6 | "files": [ 7 | ".json", 8 | ".png" 9 | ], 10 | "subMetas": { 11 | "6c48a": { 12 | "importer": "texture", 13 | "uuid": "132b9911-6c34-4101-b2c6-83e283fe4283@6c48a", 14 | "displayName": "Warrior_Sheet-Effect", 15 | "id": "6c48a", 16 | "name": "texture", 17 | "userData": { 18 | "wrapModeS": "clamp-to-edge", 19 | "wrapModeT": "clamp-to-edge", 20 | "minfilter": "linear", 21 | "magfilter": "linear", 22 | "mipfilter": "none", 23 | "anisotropy": 0, 24 | "isUuid": true, 25 | "imageUuidOrDatabaseUri": "132b9911-6c34-4101-b2c6-83e283fe4283" 26 | }, 27 | "ver": "1.0.21", 28 | "imported": true, 29 | "files": [ 30 | ".json" 31 | ], 32 | "subMetas": {} 33 | }, 34 | "f9941": { 35 | "importer": "sprite-frame", 36 | "uuid": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941", 37 | "displayName": "Warrior_Sheet-Effect", 38 | "id": "f9941", 39 | "name": "spriteFrame", 40 | "userData": { 41 | "trimType": "custom", 42 | "trimThreshold": 1, 43 | "rotated": false, 44 | "offsetX": 0, 45 | "offsetY": 0, 46 | "trimX": 0, 47 | "trimY": 0, 48 | "width": 414, 49 | "height": 748, 50 | "rawWidth": 414, 51 | "rawHeight": 748, 52 | "borderTop": 0, 53 | "borderBottom": 0, 54 | "borderLeft": 0, 55 | "borderRight": 0, 56 | "packable": false, 57 | "isUuid": true, 58 | "imageUuidOrDatabaseUri": "132b9911-6c34-4101-b2c6-83e283fe4283@6c48a", 59 | "atlasUuid": "" 60 | }, 61 | "ver": "1.0.9", 62 | "imported": true, 63 | "files": [ 64 | ".json" 65 | ], 66 | "subMetas": {} 67 | } 68 | }, 69 | "userData": { 70 | "type": "sprite-frame", 71 | "fixAlphaTransparencyArtifacts": true, 72 | "hasAlpha": true, 73 | "redirect": "132b9911-6c34-4101-b2c6-83e283fe4283@f9941" 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /assets/sprite/hero/btn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iwae/Cocos-SpriteSheet-Animator/265bca0922b763afda44e38ccb65f4db58dcf70d/assets/sprite/hero/btn.png -------------------------------------------------------------------------------- /assets/sprite/hero/btn.png.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.23", 3 | "importer": "image", 4 | "imported": true, 5 | "uuid": "fe2c9d8f-aac3-45b0-9cc2-954aa8949e66", 6 | "files": [ 7 | ".json", 8 | ".png" 9 | ], 10 | "subMetas": { 11 | "6c48a": { 12 | "importer": "texture", 13 | "uuid": "fe2c9d8f-aac3-45b0-9cc2-954aa8949e66@6c48a", 14 | "displayName": "btn", 15 | "id": "6c48a", 16 | "name": "texture", 17 | "userData": { 18 | "wrapModeS": "clamp-to-edge", 19 | "wrapModeT": "clamp-to-edge", 20 | "minfilter": "linear", 21 | "magfilter": "linear", 22 | "mipfilter": "none", 23 | "anisotropy": 0, 24 | "isUuid": true, 25 | "imageUuidOrDatabaseUri": "fe2c9d8f-aac3-45b0-9cc2-954aa8949e66" 26 | }, 27 | "ver": "1.0.21", 28 | "imported": true, 29 | "files": [ 30 | ".json" 31 | ], 32 | "subMetas": {} 33 | }, 34 | "f9941": { 35 | "importer": "sprite-frame", 36 | "uuid": "fe2c9d8f-aac3-45b0-9cc2-954aa8949e66@f9941", 37 | "displayName": "btn", 38 | "id": "f9941", 39 | "name": "spriteFrame", 40 | "userData": { 41 | "trimType": "auto", 42 | "trimThreshold": 1, 43 | "rotated": false, 44 | "offsetX": 0, 45 | "offsetY": 1, 46 | "trimX": 3, 47 | "trimY": 2, 48 | "width": 59, 49 | "height": 58, 50 | "rawWidth": 65, 51 | "rawHeight": 64, 52 | "borderTop": 20, 53 | "borderBottom": 20, 54 | "borderLeft": 20, 55 | "borderRight": 20, 56 | "packable": true, 57 | "isUuid": true, 58 | "imageUuidOrDatabaseUri": "fe2c9d8f-aac3-45b0-9cc2-954aa8949e66@6c48a", 59 | "atlasUuid": "" 60 | }, 61 | "ver": "1.0.9", 62 | "imported": true, 63 | "files": [ 64 | ".json" 65 | ], 66 | "subMetas": {} 67 | } 68 | }, 69 | "userData": { 70 | "type": "sprite-frame", 71 | "fixAlphaTransparencyArtifacts": true, 72 | "hasAlpha": true, 73 | "redirect": "fe2c9d8f-aac3-45b0-9cc2-954aa8949e66@f9941" 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "NewProject_6", 3 | "uuid": "a2b76a32-5855-493a-8e26-fe9fbd1bcfde", 4 | "version": "3.5.2", 5 | "creator": { 6 | "version": "3.5.2" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /settings/v2/packages/builder.json: -------------------------------------------------------------------------------- 1 | { 2 | "__version__": "1.3.2", 3 | "splash-setting": { 4 | "url": "project://assets/sprite/doge.png", 5 | "totalTime": 1500, 6 | "displayRatio": 0.9 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /settings/v2/packages/cocos-service.json: -------------------------------------------------------------------------------- 1 | { 2 | "__version__": "3.0.3", 3 | "game": { 4 | "name": "未知游戏", 5 | "app_id": "UNKNOW", 6 | "c_id": "0" 7 | }, 8 | "appConfigMaps": [ 9 | { 10 | "app_id": "UNKNOW", 11 | "config_id": "1ffeec" 12 | } 13 | ], 14 | "configs": [ 15 | { 16 | "app_id": "UNKNOW", 17 | "config_id": "1ffeec", 18 | "config_name": "Default", 19 | "config_remarks": "", 20 | "services": [] 21 | } 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /settings/v2/packages/device.json: -------------------------------------------------------------------------------- 1 | { 2 | "__version__": "1.0.1" 3 | } 4 | -------------------------------------------------------------------------------- /settings/v2/packages/engine.json: -------------------------------------------------------------------------------- 1 | { 2 | "__version__": "1.0.6", 3 | "modules": { 4 | "cache": { 5 | "base": { 6 | "_value": true 7 | }, 8 | "graphcis": { 9 | "_value": true 10 | }, 11 | "gfx-webgl": { 12 | "_value": true 13 | }, 14 | "gfx-webgl2": { 15 | "_value": false 16 | }, 17 | "animation": { 18 | "_value": true 19 | }, 20 | "skeletal-animation": { 21 | "_value": false 22 | }, 23 | "3d": { 24 | "_value": false 25 | }, 26 | "2d": { 27 | "_value": true 28 | }, 29 | "ui": { 30 | "_value": true 31 | }, 32 | "particle": { 33 | "_value": false 34 | }, 35 | "physics": { 36 | "_value": false, 37 | "_option": "physics-ammo" 38 | }, 39 | "physics-ammo": { 40 | "_value": false 41 | }, 42 | "physics-cannon": { 43 | "_value": false 44 | }, 45 | "physics-physx": { 46 | "_value": false 47 | }, 48 | "physics-builtin": { 49 | "_value": false 50 | }, 51 | "physics-2d": { 52 | "_value": true, 53 | "_option": "physics-2d-box2d" 54 | }, 55 | "physics-2d-box2d": { 56 | "_value": false 57 | }, 58 | "physics-2d-builtin": { 59 | "_value": false 60 | }, 61 | "intersection-2d": { 62 | "_value": true 63 | }, 64 | "primitive": { 65 | "_value": false 66 | }, 67 | "profiler": { 68 | "_value": true 69 | }, 70 | "particle-2d": { 71 | "_value": false 72 | }, 73 | "audio": { 74 | "_value": true 75 | }, 76 | "video": { 77 | "_value": false 78 | }, 79 | "webview": { 80 | "_value": false 81 | }, 82 | "tween": { 83 | "_value": true 84 | }, 85 | "terrain": { 86 | "_value": false 87 | }, 88 | "tiled-map": { 89 | "_value": false 90 | }, 91 | "spine": { 92 | "_value": false 93 | }, 94 | "dragon-bones": { 95 | "_value": false 96 | }, 97 | "marionette": { 98 | "_value": false 99 | } 100 | }, 101 | "flags": {}, 102 | "includeModules": [ 103 | "2d", 104 | "animation", 105 | "audio", 106 | "base", 107 | "gfx-webgl", 108 | "intersection-2d", 109 | "physics-2d-box2d", 110 | "profiler", 111 | "tween", 112 | "ui" 113 | ], 114 | "noDeprecatedFeatures": { 115 | "value": false, 116 | "version": "" 117 | } 118 | } 119 | } 120 | -------------------------------------------------------------------------------- /settings/v2/packages/program.json: -------------------------------------------------------------------------------- 1 | { 2 | "__version__": "1.0.0" 3 | } 4 | -------------------------------------------------------------------------------- /settings/v2/packages/project.json: -------------------------------------------------------------------------------- 1 | { 2 | "__version__": "1.0.2", 3 | "general": { 4 | "designResolution": { 5 | "width": 1280, 6 | "height": 720, 7 | "fitHeight": true, 8 | "fitWidth": false 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | /* Base configuration. Do not edit this field. */ 3 | "extends": "./temp/tsconfig.cocos.json", 4 | 5 | /* Add your custom configuration here. */ 6 | "compilerOptions": { 7 | "strict": false 8 | } 9 | } 10 | --------------------------------------------------------------------------------