├── .gitignore ├── README.md ├── assets ├── Scene.meta ├── Scene │ ├── gameScene.fire │ ├── gameScene.fire.meta │ ├── mainScene.fire │ └── mainScene.fire.meta ├── Script.meta ├── Script │ ├── ChildClass.ts │ ├── ChildClass.ts.meta │ ├── GameScene.ts │ ├── GameScene.ts.meta │ ├── Lib.meta │ ├── Lib │ │ ├── Fetch.js │ │ └── Fetch.js.meta │ ├── MainScene.ts │ ├── MainScene.ts.meta │ ├── Star.ts │ ├── Star.ts.meta │ ├── SuperClass.ts │ ├── SuperClass.ts.meta │ ├── utils.ts │ └── utils.ts.meta ├── Texture.meta └── Texture │ ├── back.jpg │ ├── back.jpg.meta │ ├── gameScene.meta │ ├── gameScene │ ├── hong0.png │ ├── hong0.png.meta │ ├── hong0.prefab │ ├── hong0.prefab.meta │ ├── jin0.png │ ├── jin0.png.meta │ ├── jin0.prefab │ ├── jin0.prefab.meta │ ├── lan0.png │ ├── lan0.png.meta │ ├── lan0.prefab │ ├── lan0.prefab.meta │ ├── lv0.png │ ├── lv0.png.meta │ ├── lv0.prefab │ ├── lv0.prefab.meta │ ├── zi0.png │ ├── zi0.png.meta │ ├── zi0.prefab │ └── zi0.prefab.meta │ ├── mainScene.meta │ ├── mainScene │ ├── bolibeijing.png │ ├── bolibeijing.png.meta │ ├── dabaoxiang.png │ ├── dabaoxiang.png.meta │ ├── dabaoxiang1.png │ ├── dabaoxiang1.png.meta │ ├── duihuan11.png │ ├── duihuan11.png.meta │ ├── huodong.png │ ├── huodong.png.meta │ ├── rank.png │ ├── rank.png.meta │ ├── shoop.png │ ├── shoop.png.meta │ ├── sprite-14.png │ ├── sprite-14.png.meta │ ├── vip.png │ ├── vip.png.meta │ ├── vip1.png │ └── vip1.png.meta │ ├── singleColor.png │ └── singleColor.png.meta ├── creator.d.ts ├── jsconfig.json ├── project.json ├── settings ├── builder.json ├── builder.panel.json └── project.json ├── template-banner.png ├── template.json └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- 1 | #///////////////////////////////////////////////////////////////////////////// 2 | # Fireball Projects 3 | #///////////////////////////////////////////////////////////////////////////// 4 | 5 | library/ 6 | temp/ 7 | local/ 8 | build/ 9 | 10 | #///////////////////////////////////////////////////////////////////////////// 11 | # Logs and databases 12 | #///////////////////////////////////////////////////////////////////////////// 13 | 14 | *.log 15 | *.sql 16 | *.sqlite 17 | 18 | #///////////////////////////////////////////////////////////////////////////// 19 | # files for debugger 20 | #///////////////////////////////////////////////////////////////////////////// 21 | 22 | *.sln 23 | *.csproj 24 | *.pidb 25 | *.unityproj 26 | *.suo 27 | 28 | #///////////////////////////////////////////////////////////////////////////// 29 | # OS generated files 30 | #///////////////////////////////////////////////////////////////////////////// 31 | 32 | .DS_Store 33 | ehthumbs.db 34 | Thumbs.db 35 | 36 | #///////////////////////////////////////////////////////////////////////////// 37 | # exvim files 38 | #///////////////////////////////////////////////////////////////////////////// 39 | 40 | *UnityVS.meta 41 | *.err 42 | *.err.meta 43 | *.exvim 44 | *.exvim.meta 45 | *.vimentry 46 | *.vimentry.meta 47 | *.vimproject 48 | *.vimproject.meta 49 | .vimfiles.*/ 50 | .exvim.*/ 51 | quick_gen_project_*_autogen.bat 52 | quick_gen_project_*_autogen.bat.meta 53 | quick_gen_project_*_autogen.sh 54 | quick_gen_project_*_autogen.sh.meta 55 | .exvim.app 56 | 57 | #///////////////////////////////////////////////////////////////////////////// 58 | # webstorm files 59 | #///////////////////////////////////////////////////////////////////////////// 60 | 61 | .idea/ 62 | 63 | #////////////////////////// 64 | # VS Code 65 | #////////////////////////// 66 | 67 | .vscode/ -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # hello-world 2 | Hello world new project template. 3 | -------------------------------------------------------------------------------- /assets/Scene.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "29f52784-2fca-467b-92e7-8fd9ef8c57b7", 4 | "isGroup": false, 5 | "subMetas": {} 6 | } -------------------------------------------------------------------------------- /assets/Scene/gameScene.fire: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.SceneAsset", 4 | "_name": "", 5 | "_objFlags": 0, 6 | "_rawFiles": null, 7 | "scene": { 8 | "__id__": 1 9 | } 10 | }, 11 | { 12 | "__type__": "cc.Scene", 13 | "_objFlags": 0, 14 | "_parent": null, 15 | "_children": [ 16 | { 17 | "__id__": 2 18 | } 19 | ], 20 | "_tag": -1, 21 | "_active": true, 22 | "_components": [], 23 | "_prefab": null, 24 | "_id": "a43ff336-c913-482c-92bc-b5caa2e92896", 25 | "_opacity": 255, 26 | "_color": { 27 | "__type__": "cc.Color", 28 | "r": 255, 29 | "g": 255, 30 | "b": 255, 31 | "a": 255 32 | }, 33 | "_cascadeOpacityEnabled": true, 34 | "_anchorPoint": { 35 | "__type__": "cc.Vec2", 36 | "x": 0, 37 | "y": 0 38 | }, 39 | "_contentSize": { 40 | "__type__": "cc.Size", 41 | "width": 0, 42 | "height": 0 43 | }, 44 | "_localZOrder": 0, 45 | "_globalZOrder": 0, 46 | "_opacityModifyRGB": false, 47 | "groupIndex": 0, 48 | "autoReleaseAssets": false 49 | }, 50 | { 51 | "__type__": "cc.Node", 52 | "_name": "Canvas", 53 | "_objFlags": 0, 54 | "_parent": { 55 | "__id__": 1 56 | }, 57 | "_children": [ 58 | { 59 | "__id__": 3 60 | } 61 | ], 62 | "_tag": -1, 63 | "_active": true, 64 | "_components": [ 65 | { 66 | "__id__": 5 67 | }, 68 | { 69 | "__id__": 6 70 | } 71 | ], 72 | "_prefab": null, 73 | "_id": "ddd90gZb9ZEy5EOw/shQK8E", 74 | "_opacity": 255, 75 | "_color": { 76 | "__type__": "cc.Color", 77 | "r": 255, 78 | "g": 255, 79 | "b": 255, 80 | "a": 255 81 | }, 82 | "_cascadeOpacityEnabled": true, 83 | "_anchorPoint": { 84 | "__type__": "cc.Vec2", 85 | "x": 0.5, 86 | "y": 0.5 87 | }, 88 | "_contentSize": { 89 | "__type__": "cc.Size", 90 | "width": 640, 91 | "height": 960 92 | }, 93 | "_rotationX": 0, 94 | "_rotationY": 0, 95 | "_scaleX": 1, 96 | "_scaleY": 1, 97 | "_position": { 98 | "__type__": "cc.Vec2", 99 | "x": 320, 100 | "y": 480 101 | }, 102 | "_skewX": 0, 103 | "_skewY": 0, 104 | "_localZOrder": 0, 105 | "_globalZOrder": 0, 106 | "_opacityModifyRGB": false, 107 | "groupIndex": 0 108 | }, 109 | { 110 | "__type__": "cc.Node", 111 | "_name": "back", 112 | "_objFlags": 0, 113 | "_parent": { 114 | "__id__": 2 115 | }, 116 | "_children": [], 117 | "_tag": -1, 118 | "_active": true, 119 | "_components": [ 120 | { 121 | "__id__": 4 122 | } 123 | ], 124 | "_prefab": null, 125 | "_id": "c3245HlONVEuLAzrKtnUiMm", 126 | "_opacity": 255, 127 | "_color": { 128 | "__type__": "cc.Color", 129 | "r": 255, 130 | "g": 255, 131 | "b": 255, 132 | "a": 255 133 | }, 134 | "_cascadeOpacityEnabled": true, 135 | "_anchorPoint": { 136 | "__type__": "cc.Vec2", 137 | "x": 0.5, 138 | "y": 0.5 139 | }, 140 | "_contentSize": { 141 | "__type__": "cc.Size", 142 | "width": 640, 143 | "height": 960 144 | }, 145 | "_rotationX": 0, 146 | "_rotationY": 0, 147 | "_scaleX": 1, 148 | "_scaleY": 1, 149 | "_position": { 150 | "__type__": "cc.Vec2", 151 | "x": 0, 152 | "y": 0 153 | }, 154 | "_skewX": 0, 155 | "_skewY": 0, 156 | "_localZOrder": 0, 157 | "_globalZOrder": 0, 158 | "_opacityModifyRGB": false, 159 | "groupIndex": 0 160 | }, 161 | { 162 | "__type__": "cc.Sprite", 163 | "_name": "", 164 | "_objFlags": 0, 165 | "node": { 166 | "__id__": 3 167 | }, 168 | "_enabled": true, 169 | "_spriteFrame": { 170 | "__uuid__": "6ce3a2b0-72e2-43f8-98c7-f76c359496a0" 171 | }, 172 | "_type": 0, 173 | "_sizeMode": 1, 174 | "_fillType": 0, 175 | "_fillCenter": { 176 | "__type__": "cc.Vec2", 177 | "x": 0, 178 | "y": 0 179 | }, 180 | "_fillStart": 0, 181 | "_fillRange": 0, 182 | "_isTrimmedMode": true, 183 | "_srcBlendFactor": 770, 184 | "_dstBlendFactor": 771, 185 | "_atlas": null 186 | }, 187 | { 188 | "__type__": "cc.Canvas", 189 | "_name": "", 190 | "_objFlags": 0, 191 | "node": { 192 | "__id__": 2 193 | }, 194 | "_enabled": true, 195 | "_designResolution": { 196 | "__type__": "cc.Size", 197 | "width": 640, 198 | "height": 960 199 | }, 200 | "_fitWidth": true, 201 | "_fitHeight": false 202 | }, 203 | { 204 | "__type__": "f6f12gplMdI+q3cbEgDkMQ6", 205 | "_name": "", 206 | "_objFlags": 0, 207 | "node": { 208 | "__id__": 2 209 | }, 210 | "_enabled": true, 211 | "starPrefabArr": [ 212 | { 213 | "__uuid__": "2e4bad69-c95b-4a49-bd36-e6c56f0c978d" 214 | }, 215 | { 216 | "__uuid__": "f50bfc9e-7e66-43e2-8d24-8e9e5aadb6d3" 217 | }, 218 | { 219 | "__uuid__": "617930ff-6395-4c4b-8a00-986fdd4a7adb" 220 | }, 221 | { 222 | "__uuid__": "1ee2703a-608b-4d8a-8ab4-77eab06312d8" 223 | }, 224 | { 225 | "__uuid__": "2108edc9-61a7-4d8c-b477-a629cdd900da" 226 | } 227 | ] 228 | } 229 | ] -------------------------------------------------------------------------------- /assets/Scene/gameScene.fire.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.0", 3 | "uuid": "a43ff336-c913-482c-92bc-b5caa2e92896", 4 | "asyncLoadAssets": false, 5 | "autoReleaseAssets": false, 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/Scene/mainScene.fire: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.SceneAsset", 4 | "_name": "", 5 | "_objFlags": 0, 6 | "_rawFiles": null, 7 | "scene": { 8 | "__id__": 1 9 | } 10 | }, 11 | { 12 | "__type__": "cc.Scene", 13 | "_objFlags": 0, 14 | "_parent": null, 15 | "_children": [ 16 | { 17 | "__id__": 2 18 | } 19 | ], 20 | "_tag": -1, 21 | "_active": true, 22 | "_components": [], 23 | "_prefab": null, 24 | "_id": "2d2f792f-a40c-49bb-a189-ed176a246e49", 25 | "_opacity": 255, 26 | "_color": { 27 | "__type__": "cc.Color", 28 | "r": 255, 29 | "g": 255, 30 | "b": 255, 31 | "a": 255 32 | }, 33 | "_cascadeOpacityEnabled": true, 34 | "_anchorPoint": { 35 | "__type__": "cc.Vec2", 36 | "x": 0, 37 | "y": 0 38 | }, 39 | "_contentSize": { 40 | "__type__": "cc.Size", 41 | "width": 0, 42 | "height": 0 43 | }, 44 | "_localZOrder": 0, 45 | "_globalZOrder": 0, 46 | "_opacityModifyRGB": false, 47 | "groupIndex": 0, 48 | "autoReleaseAssets": false 49 | }, 50 | { 51 | "__type__": "cc.Node", 52 | "_name": "Canvas", 53 | "_objFlags": 0, 54 | "_parent": { 55 | "__id__": 1 56 | }, 57 | "_children": [ 58 | { 59 | "__id__": 3 60 | }, 61 | { 62 | "__id__": 6 63 | }, 64 | { 65 | "__id__": 17 66 | }, 67 | { 68 | "__id__": 20 69 | }, 70 | { 71 | "__id__": 36 72 | } 73 | ], 74 | "_tag": -1, 75 | "_active": true, 76 | "_components": [ 77 | { 78 | "__id__": 40 79 | }, 80 | { 81 | "__id__": 41 82 | }, 83 | { 84 | "__id__": 42 85 | } 86 | ], 87 | "_prefab": null, 88 | "_id": "a286bbGknJLZpRpxROV6M94", 89 | "_opacity": 255, 90 | "_color": { 91 | "__type__": "cc.Color", 92 | "r": 252, 93 | "g": 252, 94 | "b": 252, 95 | "a": 255 96 | }, 97 | "_cascadeOpacityEnabled": true, 98 | "_anchorPoint": { 99 | "__type__": "cc.Vec2", 100 | "x": 0.5, 101 | "y": 0.5 102 | }, 103 | "_contentSize": { 104 | "__type__": "cc.Size", 105 | "width": 640, 106 | "height": 960 107 | }, 108 | "_rotationX": 0, 109 | "_rotationY": 0, 110 | "_scaleX": 1, 111 | "_scaleY": 1, 112 | "_position": { 113 | "__type__": "cc.Vec2", 114 | "x": 320, 115 | "y": 480 116 | }, 117 | "_skewX": 0, 118 | "_skewY": 0, 119 | "_localZOrder": 0, 120 | "_globalZOrder": 0, 121 | "_opacityModifyRGB": false, 122 | "groupIndex": 0 123 | }, 124 | { 125 | "__type__": "cc.Node", 126 | "_name": "background", 127 | "_objFlags": 0, 128 | "_parent": { 129 | "__id__": 2 130 | }, 131 | "_children": [], 132 | "_tag": -1, 133 | "_active": true, 134 | "_components": [ 135 | { 136 | "__id__": 4 137 | }, 138 | { 139 | "__id__": 5 140 | } 141 | ], 142 | "_prefab": null, 143 | "_id": "e2e0crkOLxGrpMxpbC4iQg1", 144 | "_opacity": 255, 145 | "_color": { 146 | "__type__": "cc.Color", 147 | "r": 27, 148 | "g": 38, 149 | "b": 46, 150 | "a": 255 151 | }, 152 | "_cascadeOpacityEnabled": true, 153 | "_anchorPoint": { 154 | "__type__": "cc.Vec2", 155 | "x": 0.5, 156 | "y": 0.5 157 | }, 158 | "_contentSize": { 159 | "__type__": "cc.Size", 160 | "width": 640, 161 | "height": 960 162 | }, 163 | "_rotationX": 0, 164 | "_rotationY": 0, 165 | "_scaleX": 1, 166 | "_scaleY": 1, 167 | "_position": { 168 | "__type__": "cc.Vec2", 169 | "x": 0, 170 | "y": 0 171 | }, 172 | "_skewX": 0, 173 | "_skewY": 0, 174 | "_localZOrder": 0, 175 | "_globalZOrder": 0, 176 | "_opacityModifyRGB": false, 177 | "groupIndex": 0 178 | }, 179 | { 180 | "__type__": "cc.Widget", 181 | "_name": "", 182 | "_objFlags": 0, 183 | "node": { 184 | "__id__": 3 185 | }, 186 | "_enabled": true, 187 | "isAlignOnce": true, 188 | "_target": null, 189 | "_alignFlags": 45, 190 | "_left": 0, 191 | "_right": 0, 192 | "_top": 0, 193 | "_bottom": 0, 194 | "_verticalCenter": 0, 195 | "_horizontalCenter": 0, 196 | "_isAbsLeft": true, 197 | "_isAbsRight": true, 198 | "_isAbsTop": true, 199 | "_isAbsBottom": true, 200 | "_isAbsHorizontalCenter": true, 201 | "_isAbsVerticalCenter": true, 202 | "_originalWidth": 200, 203 | "_originalHeight": 150 204 | }, 205 | { 206 | "__type__": "cc.Sprite", 207 | "_name": "", 208 | "_objFlags": 0, 209 | "node": { 210 | "__id__": 3 211 | }, 212 | "_enabled": true, 213 | "_spriteFrame": { 214 | "__uuid__": "410fb916-8721-4663-bab8-34397391ace7" 215 | }, 216 | "_type": 1, 217 | "_sizeMode": 0, 218 | "_fillType": 0, 219 | "_fillCenter": { 220 | "__type__": "cc.Vec2", 221 | "x": 0, 222 | "y": 0 223 | }, 224 | "_fillStart": 0, 225 | "_fillRange": 0, 226 | "_isTrimmedMode": true, 227 | "_srcBlendFactor": 770, 228 | "_dstBlendFactor": 771, 229 | "_atlas": null 230 | }, 231 | { 232 | "__type__": "cc.Node", 233 | "_name": "back", 234 | "_objFlags": 0, 235 | "_parent": { 236 | "__id__": 2 237 | }, 238 | "_children": [ 239 | { 240 | "__id__": 7 241 | }, 242 | { 243 | "__id__": 11 244 | } 245 | ], 246 | "_tag": -1, 247 | "_active": true, 248 | "_components": [ 249 | { 250 | "__id__": 15 251 | }, 252 | { 253 | "__id__": 16 254 | } 255 | ], 256 | "_prefab": null, 257 | "_id": "8d587GlKX5P7r8+t7JmtmMw", 258 | "_opacity": 255, 259 | "_color": { 260 | "__type__": "cc.Color", 261 | "r": 255, 262 | "g": 255, 263 | "b": 255, 264 | "a": 255 265 | }, 266 | "_cascadeOpacityEnabled": true, 267 | "_anchorPoint": { 268 | "__type__": "cc.Vec2", 269 | "x": 0.5, 270 | "y": 0.5 271 | }, 272 | "_contentSize": { 273 | "__type__": "cc.Size", 274 | "width": 640, 275 | "height": 960 276 | }, 277 | "_rotationX": 0, 278 | "_rotationY": 0, 279 | "_scaleX": 1, 280 | "_scaleY": 1, 281 | "_position": { 282 | "__type__": "cc.Vec2", 283 | "x": 0, 284 | "y": 0 285 | }, 286 | "_skewX": 0, 287 | "_skewY": 0, 288 | "_localZOrder": 0, 289 | "_globalZOrder": 0, 290 | "_opacityModifyRGB": false, 291 | "groupIndex": 0 292 | }, 293 | { 294 | "__type__": "cc.Node", 295 | "_name": "vipBtn", 296 | "_objFlags": 0, 297 | "_parent": { 298 | "__id__": 6 299 | }, 300 | "_children": [], 301 | "_tag": -1, 302 | "_active": true, 303 | "_components": [ 304 | { 305 | "__id__": 8 306 | }, 307 | { 308 | "__id__": 9 309 | }, 310 | { 311 | "__id__": 10 312 | } 313 | ], 314 | "_prefab": null, 315 | "_id": "2c8baQjWgNNKa6Q1VqBXIDt", 316 | "_opacity": 255, 317 | "_color": { 318 | "__type__": "cc.Color", 319 | "r": 255, 320 | "g": 255, 321 | "b": 255, 322 | "a": 255 323 | }, 324 | "_cascadeOpacityEnabled": true, 325 | "_anchorPoint": { 326 | "__type__": "cc.Vec2", 327 | "x": 0.5, 328 | "y": 0.5 329 | }, 330 | "_contentSize": { 331 | "__type__": "cc.Size", 332 | "width": 178, 333 | "height": 81 334 | }, 335 | "_rotationX": 0, 336 | "_rotationY": 0, 337 | "_scaleX": 0.8, 338 | "_scaleY": 0.8, 339 | "_position": { 340 | "__type__": "cc.Vec2", 341 | "x": 238.8, 342 | "y": 427.6 343 | }, 344 | "_skewX": 0, 345 | "_skewY": 0, 346 | "_localZOrder": 0, 347 | "_globalZOrder": 0, 348 | "_opacityModifyRGB": false, 349 | "groupIndex": 0 350 | }, 351 | { 352 | "__type__": "cc.Sprite", 353 | "_name": "", 354 | "_objFlags": 0, 355 | "node": { 356 | "__id__": 7 357 | }, 358 | "_enabled": true, 359 | "_spriteFrame": { 360 | "__uuid__": "699ee825-1c68-47a9-8fc8-108203000947" 361 | }, 362 | "_type": 1, 363 | "_sizeMode": 0, 364 | "_fillType": 0, 365 | "_fillCenter": { 366 | "__type__": "cc.Vec2", 367 | "x": 0, 368 | "y": 0 369 | }, 370 | "_fillStart": 0, 371 | "_fillRange": 0, 372 | "_isTrimmedMode": true, 373 | "_srcBlendFactor": 770, 374 | "_dstBlendFactor": 771, 375 | "_atlas": null 376 | }, 377 | { 378 | "__type__": "cc.Button", 379 | "_name": "", 380 | "_objFlags": 0, 381 | "node": { 382 | "__id__": 7 383 | }, 384 | "_enabled": true, 385 | "transition": 2, 386 | "pressedColor": { 387 | "__type__": "cc.Color", 388 | "r": 255, 389 | "g": 255, 390 | "b": 255, 391 | "a": 255 392 | }, 393 | "hoverColor": { 394 | "__type__": "cc.Color", 395 | "r": 255, 396 | "g": 255, 397 | "b": 255, 398 | "a": 255 399 | }, 400 | "duration": 0.1, 401 | "zoomScale": 1.2, 402 | "pressedSprite": { 403 | "__uuid__": "1d4d0a84-a1f6-47d4-a851-07e03e02fa24" 404 | }, 405 | "hoverSprite": { 406 | "__uuid__": "699ee825-1c68-47a9-8fc8-108203000947" 407 | }, 408 | "clickEvents": [], 409 | "_N$interactable": true, 410 | "_N$enableAutoGrayEffect": false, 411 | "_N$normalColor": { 412 | "__type__": "cc.Color", 413 | "r": 255, 414 | "g": 255, 415 | "b": 255, 416 | "a": 255 417 | }, 418 | "_N$disabledColor": { 419 | "__type__": "cc.Color", 420 | "r": 255, 421 | "g": 255, 422 | "b": 255, 423 | "a": 255 424 | }, 425 | "_N$normalSprite": { 426 | "__uuid__": "699ee825-1c68-47a9-8fc8-108203000947" 427 | }, 428 | "_N$disabledSprite": { 429 | "__uuid__": "699ee825-1c68-47a9-8fc8-108203000947" 430 | }, 431 | "_N$target": { 432 | "__id__": 7 433 | } 434 | }, 435 | { 436 | "__type__": "cc.Widget", 437 | "_name": "", 438 | "_objFlags": 0, 439 | "node": { 440 | "__id__": 7 441 | }, 442 | "_enabled": true, 443 | "isAlignOnce": true, 444 | "_target": null, 445 | "_alignFlags": 33, 446 | "_left": 0, 447 | "_right": 10, 448 | "_top": 20, 449 | "_bottom": 0, 450 | "_verticalCenter": 0, 451 | "_horizontalCenter": 0, 452 | "_isAbsLeft": true, 453 | "_isAbsRight": true, 454 | "_isAbsTop": true, 455 | "_isAbsBottom": true, 456 | "_isAbsHorizontalCenter": true, 457 | "_isAbsVerticalCenter": true, 458 | "_originalWidth": 0, 459 | "_originalHeight": 0 460 | }, 461 | { 462 | "__type__": "cc.Node", 463 | "_name": "awardBoxBtn", 464 | "_objFlags": 0, 465 | "_parent": { 466 | "__id__": 6 467 | }, 468 | "_children": [], 469 | "_tag": -1, 470 | "_active": true, 471 | "_components": [ 472 | { 473 | "__id__": 12 474 | }, 475 | { 476 | "__id__": 13 477 | }, 478 | { 479 | "__id__": 14 480 | } 481 | ], 482 | "_prefab": null, 483 | "_id": "af0f4dITHFEka1EzBQ+ZbtV", 484 | "_opacity": 255, 485 | "_color": { 486 | "__type__": "cc.Color", 487 | "r": 255, 488 | "g": 255, 489 | "b": 255, 490 | "a": 255 491 | }, 492 | "_cascadeOpacityEnabled": true, 493 | "_anchorPoint": { 494 | "__type__": "cc.Vec2", 495 | "x": 0.5, 496 | "y": 0.5 497 | }, 498 | "_contentSize": { 499 | "__type__": "cc.Size", 500 | "width": 257, 501 | "height": 96 502 | }, 503 | "_rotationX": 0, 504 | "_rotationY": 0, 505 | "_scaleX": 0.8, 506 | "_scaleY": 0.8, 507 | "_position": { 508 | "__type__": "cc.Vec2", 509 | "x": -207.2, 510 | "y": 431.6 511 | }, 512 | "_skewX": 0, 513 | "_skewY": 0, 514 | "_localZOrder": 0, 515 | "_globalZOrder": 0, 516 | "_opacityModifyRGB": false, 517 | "groupIndex": 0 518 | }, 519 | { 520 | "__type__": "cc.Sprite", 521 | "_name": "", 522 | "_objFlags": 0, 523 | "node": { 524 | "__id__": 11 525 | }, 526 | "_enabled": true, 527 | "_spriteFrame": { 528 | "__uuid__": "c29ffb0f-600e-4818-8afe-56ecee46184d" 529 | }, 530 | "_type": 1, 531 | "_sizeMode": 0, 532 | "_fillType": 0, 533 | "_fillCenter": { 534 | "__type__": "cc.Vec2", 535 | "x": 0, 536 | "y": 0 537 | }, 538 | "_fillStart": 0, 539 | "_fillRange": 0, 540 | "_isTrimmedMode": true, 541 | "_srcBlendFactor": 770, 542 | "_dstBlendFactor": 771, 543 | "_atlas": null 544 | }, 545 | { 546 | "__type__": "cc.Button", 547 | "_name": "", 548 | "_objFlags": 0, 549 | "node": { 550 | "__id__": 11 551 | }, 552 | "_enabled": true, 553 | "transition": 2, 554 | "pressedColor": { 555 | "__type__": "cc.Color", 556 | "r": 255, 557 | "g": 255, 558 | "b": 255, 559 | "a": 255 560 | }, 561 | "hoverColor": { 562 | "__type__": "cc.Color", 563 | "r": 255, 564 | "g": 255, 565 | "b": 255, 566 | "a": 255 567 | }, 568 | "duration": 0.1, 569 | "zoomScale": 1.2, 570 | "pressedSprite": { 571 | "__uuid__": "608e43b2-c0c3-49a5-8a28-d25c4be6ef5b" 572 | }, 573 | "hoverSprite": { 574 | "__uuid__": "c29ffb0f-600e-4818-8afe-56ecee46184d" 575 | }, 576 | "clickEvents": [], 577 | "_N$interactable": true, 578 | "_N$enableAutoGrayEffect": false, 579 | "_N$normalColor": { 580 | "__type__": "cc.Color", 581 | "r": 255, 582 | "g": 255, 583 | "b": 255, 584 | "a": 255 585 | }, 586 | "_N$disabledColor": { 587 | "__type__": "cc.Color", 588 | "r": 255, 589 | "g": 255, 590 | "b": 255, 591 | "a": 255 592 | }, 593 | "_N$normalSprite": { 594 | "__uuid__": "c29ffb0f-600e-4818-8afe-56ecee46184d" 595 | }, 596 | "_N$disabledSprite": { 597 | "__uuid__": "c29ffb0f-600e-4818-8afe-56ecee46184d" 598 | }, 599 | "_N$target": { 600 | "__id__": 11 601 | } 602 | }, 603 | { 604 | "__type__": "cc.Widget", 605 | "_name": "", 606 | "_objFlags": 0, 607 | "node": { 608 | "__id__": 11 609 | }, 610 | "_enabled": true, 611 | "isAlignOnce": true, 612 | "_target": null, 613 | "_alignFlags": 9, 614 | "_left": 10, 615 | "_right": 0, 616 | "_top": 10, 617 | "_bottom": 0, 618 | "_verticalCenter": 0, 619 | "_horizontalCenter": 0, 620 | "_isAbsLeft": true, 621 | "_isAbsRight": true, 622 | "_isAbsTop": true, 623 | "_isAbsBottom": true, 624 | "_isAbsHorizontalCenter": true, 625 | "_isAbsVerticalCenter": true, 626 | "_originalWidth": 0, 627 | "_originalHeight": 0 628 | }, 629 | { 630 | "__type__": "cc.Sprite", 631 | "_name": "", 632 | "_objFlags": 0, 633 | "node": { 634 | "__id__": 6 635 | }, 636 | "_enabled": true, 637 | "_spriteFrame": { 638 | "__uuid__": "6ce3a2b0-72e2-43f8-98c7-f76c359496a0" 639 | }, 640 | "_type": 0, 641 | "_sizeMode": 1, 642 | "_fillType": 0, 643 | "_fillCenter": { 644 | "__type__": "cc.Vec2", 645 | "x": 0, 646 | "y": 0 647 | }, 648 | "_fillStart": 0, 649 | "_fillRange": 0, 650 | "_isTrimmedMode": true, 651 | "_srcBlendFactor": 770, 652 | "_dstBlendFactor": 771, 653 | "_atlas": null 654 | }, 655 | { 656 | "__type__": "cc.Widget", 657 | "_name": "", 658 | "_objFlags": 0, 659 | "node": { 660 | "__id__": 6 661 | }, 662 | "_enabled": true, 663 | "isAlignOnce": true, 664 | "_target": null, 665 | "_alignFlags": 18, 666 | "_left": 0, 667 | "_right": 0, 668 | "_top": 0, 669 | "_bottom": 0, 670 | "_verticalCenter": 0, 671 | "_horizontalCenter": 0, 672 | "_isAbsLeft": true, 673 | "_isAbsRight": true, 674 | "_isAbsTop": true, 675 | "_isAbsBottom": true, 676 | "_isAbsHorizontalCenter": true, 677 | "_isAbsVerticalCenter": true, 678 | "_originalWidth": 0, 679 | "_originalHeight": 0 680 | }, 681 | { 682 | "__type__": "cc.Node", 683 | "_name": "bolibeijing", 684 | "_objFlags": 0, 685 | "_parent": { 686 | "__id__": 2 687 | }, 688 | "_children": [], 689 | "_tag": -1, 690 | "_active": true, 691 | "_components": [ 692 | { 693 | "__id__": 18 694 | }, 695 | { 696 | "__id__": 19 697 | } 698 | ], 699 | "_prefab": null, 700 | "_id": "659e7coQU1FobnahDBQUGJl", 701 | "_opacity": 255, 702 | "_color": { 703 | "__type__": "cc.Color", 704 | "r": 255, 705 | "g": 255, 706 | "b": 255, 707 | "a": 255 708 | }, 709 | "_cascadeOpacityEnabled": true, 710 | "_anchorPoint": { 711 | "__type__": "cc.Vec2", 712 | "x": 0.5, 713 | "y": 0.5 714 | }, 715 | "_contentSize": { 716 | "__type__": "cc.Size", 717 | "width": 833, 718 | "height": 857 719 | }, 720 | "_rotationX": 0, 721 | "_rotationY": 0, 722 | "_scaleX": 0.8, 723 | "_scaleY": 0.8, 724 | "_position": { 725 | "__type__": "cc.Vec2", 726 | "x": 0, 727 | "y": -30 728 | }, 729 | "_skewX": 0, 730 | "_skewY": 0, 731 | "_localZOrder": 0, 732 | "_globalZOrder": 0, 733 | "_opacityModifyRGB": false, 734 | "groupIndex": 0 735 | }, 736 | { 737 | "__type__": "cc.Sprite", 738 | "_name": "", 739 | "_objFlags": 0, 740 | "node": { 741 | "__id__": 17 742 | }, 743 | "_enabled": true, 744 | "_spriteFrame": { 745 | "__uuid__": "26be7fe5-e645-448c-9b61-03d71bc06e91" 746 | }, 747 | "_type": 0, 748 | "_sizeMode": 1, 749 | "_fillType": 0, 750 | "_fillCenter": { 751 | "__type__": "cc.Vec2", 752 | "x": 0, 753 | "y": 0 754 | }, 755 | "_fillStart": 0, 756 | "_fillRange": 0, 757 | "_isTrimmedMode": true, 758 | "_srcBlendFactor": 770, 759 | "_dstBlendFactor": 771, 760 | "_atlas": null 761 | }, 762 | { 763 | "__type__": "cc.Widget", 764 | "_name": "", 765 | "_objFlags": 0, 766 | "node": { 767 | "__id__": 17 768 | }, 769 | "_enabled": true, 770 | "isAlignOnce": true, 771 | "_target": null, 772 | "_alignFlags": 16, 773 | "_left": 0, 774 | "_right": 0, 775 | "_top": 0, 776 | "_bottom": 0, 777 | "_verticalCenter": 0, 778 | "_horizontalCenter": 0, 779 | "_isAbsLeft": true, 780 | "_isAbsRight": true, 781 | "_isAbsTop": true, 782 | "_isAbsBottom": true, 783 | "_isAbsHorizontalCenter": true, 784 | "_isAbsVerticalCenter": true, 785 | "_originalWidth": 0, 786 | "_originalHeight": 0 787 | }, 788 | { 789 | "__type__": "cc.Node", 790 | "_name": "layout", 791 | "_objFlags": 0, 792 | "_parent": { 793 | "__id__": 2 794 | }, 795 | "_children": [ 796 | { 797 | "__id__": 21 798 | }, 799 | { 800 | "__id__": 24 801 | }, 802 | { 803 | "__id__": 27 804 | }, 805 | { 806 | "__id__": 30 807 | } 808 | ], 809 | "_tag": -1, 810 | "_active": true, 811 | "_components": [ 812 | { 813 | "__id__": 33 814 | }, 815 | { 816 | "__id__": 34 817 | }, 818 | { 819 | "__id__": 35 820 | } 821 | ], 822 | "_prefab": null, 823 | "_id": "368c7Z1LUpDj4dnuR46DAqW", 824 | "_opacity": 255, 825 | "_color": { 826 | "__type__": "cc.Color", 827 | "r": 167, 828 | "g": 167, 829 | "b": 167, 830 | "a": 255 831 | }, 832 | "_cascadeOpacityEnabled": true, 833 | "_anchorPoint": { 834 | "__type__": "cc.Vec2", 835 | "x": 0.5, 836 | "y": 0.5 837 | }, 838 | "_contentSize": { 839 | "__type__": "cc.Size", 840 | "width": 640, 841 | "height": 150 842 | }, 843 | "_rotationX": 0, 844 | "_rotationY": 0, 845 | "_scaleX": 1, 846 | "_scaleY": 1, 847 | "_position": { 848 | "__type__": "cc.Vec2", 849 | "x": 0, 850 | "y": -405 851 | }, 852 | "_skewX": 0, 853 | "_skewY": 0, 854 | "_localZOrder": 0, 855 | "_globalZOrder": 0, 856 | "_opacityModifyRGB": false, 857 | "groupIndex": 0 858 | }, 859 | { 860 | "__type__": "cc.Node", 861 | "_name": "rankBtn", 862 | "_objFlags": 0, 863 | "_parent": { 864 | "__id__": 20 865 | }, 866 | "_children": [], 867 | "_tag": -1, 868 | "_active": true, 869 | "_components": [ 870 | { 871 | "__id__": 22 872 | }, 873 | { 874 | "__id__": 23 875 | } 876 | ], 877 | "_prefab": null, 878 | "_id": "f1124ZFsytHHZrwbvRhPiP3", 879 | "_opacity": 255, 880 | "_color": { 881 | "__type__": "cc.Color", 882 | "r": 255, 883 | "g": 255, 884 | "b": 255, 885 | "a": 255 886 | }, 887 | "_cascadeOpacityEnabled": true, 888 | "_anchorPoint": { 889 | "__type__": "cc.Vec2", 890 | "x": 0.5, 891 | "y": 0.5 892 | }, 893 | "_contentSize": { 894 | "__type__": "cc.Size", 895 | "width": 160, 896 | "height": 173 897 | }, 898 | "_rotationX": 0, 899 | "_rotationY": 0, 900 | "_scaleX": 0.8, 901 | "_scaleY": 0.8, 902 | "_position": { 903 | "__type__": "cc.Vec2", 904 | "x": -240, 905 | "y": -11.5 906 | }, 907 | "_skewX": 0, 908 | "_skewY": 0, 909 | "_localZOrder": 0, 910 | "_globalZOrder": 0, 911 | "_opacityModifyRGB": false, 912 | "groupIndex": 0 913 | }, 914 | { 915 | "__type__": "cc.Sprite", 916 | "_name": "", 917 | "_objFlags": 0, 918 | "node": { 919 | "__id__": 21 920 | }, 921 | "_enabled": true, 922 | "_spriteFrame": { 923 | "__uuid__": "664a34f4-4fed-46d2-8f58-f85033064847" 924 | }, 925 | "_type": 1, 926 | "_sizeMode": 0, 927 | "_fillType": 0, 928 | "_fillCenter": { 929 | "__type__": "cc.Vec2", 930 | "x": 0, 931 | "y": 0 932 | }, 933 | "_fillStart": 0, 934 | "_fillRange": 0, 935 | "_isTrimmedMode": true, 936 | "_srcBlendFactor": 770, 937 | "_dstBlendFactor": 771, 938 | "_atlas": null 939 | }, 940 | { 941 | "__type__": "cc.Button", 942 | "_name": "", 943 | "_objFlags": 0, 944 | "node": { 945 | "__id__": 21 946 | }, 947 | "_enabled": true, 948 | "transition": 2, 949 | "pressedColor": { 950 | "__type__": "cc.Color", 951 | "r": 255, 952 | "g": 255, 953 | "b": 255, 954 | "a": 255 955 | }, 956 | "hoverColor": { 957 | "__type__": "cc.Color", 958 | "r": 255, 959 | "g": 255, 960 | "b": 255, 961 | "a": 255 962 | }, 963 | "duration": 0.1, 964 | "zoomScale": 1.2, 965 | "pressedSprite": { 966 | "__uuid__": "664a34f4-4fed-46d2-8f58-f85033064847" 967 | }, 968 | "hoverSprite": { 969 | "__uuid__": "664a34f4-4fed-46d2-8f58-f85033064847" 970 | }, 971 | "clickEvents": [], 972 | "_N$interactable": true, 973 | "_N$enableAutoGrayEffect": false, 974 | "_N$normalColor": { 975 | "__type__": "cc.Color", 976 | "r": 255, 977 | "g": 255, 978 | "b": 255, 979 | "a": 255 980 | }, 981 | "_N$disabledColor": { 982 | "__type__": "cc.Color", 983 | "r": 255, 984 | "g": 255, 985 | "b": 255, 986 | "a": 255 987 | }, 988 | "_N$normalSprite": { 989 | "__uuid__": "664a34f4-4fed-46d2-8f58-f85033064847" 990 | }, 991 | "_N$disabledSprite": { 992 | "__uuid__": "664a34f4-4fed-46d2-8f58-f85033064847" 993 | }, 994 | "_N$target": { 995 | "__id__": 21 996 | } 997 | }, 998 | { 999 | "__type__": "cc.Node", 1000 | "_name": "activityBtn", 1001 | "_objFlags": 0, 1002 | "_parent": { 1003 | "__id__": 20 1004 | }, 1005 | "_children": [], 1006 | "_tag": -1, 1007 | "_active": true, 1008 | "_components": [ 1009 | { 1010 | "__id__": 25 1011 | }, 1012 | { 1013 | "__id__": 26 1014 | } 1015 | ], 1016 | "_prefab": null, 1017 | "_id": "c333ck86ixEZISd+7iicUG9", 1018 | "_opacity": 255, 1019 | "_color": { 1020 | "__type__": "cc.Color", 1021 | "r": 255, 1022 | "g": 255, 1023 | "b": 255, 1024 | "a": 255 1025 | }, 1026 | "_cascadeOpacityEnabled": true, 1027 | "_anchorPoint": { 1028 | "__type__": "cc.Vec2", 1029 | "x": 0.5, 1030 | "y": 0.5 1031 | }, 1032 | "_contentSize": { 1033 | "__type__": "cc.Size", 1034 | "width": 160, 1035 | "height": 173 1036 | }, 1037 | "_rotationX": 0, 1038 | "_rotationY": 0, 1039 | "_scaleX": 0.8, 1040 | "_scaleY": 0.8, 1041 | "_position": { 1042 | "__type__": "cc.Vec2", 1043 | "x": -80, 1044 | "y": -11.5 1045 | }, 1046 | "_skewX": 0, 1047 | "_skewY": 0, 1048 | "_localZOrder": 0, 1049 | "_globalZOrder": 0, 1050 | "_opacityModifyRGB": false, 1051 | "groupIndex": 0 1052 | }, 1053 | { 1054 | "__type__": "cc.Sprite", 1055 | "_name": "", 1056 | "_objFlags": 0, 1057 | "node": { 1058 | "__id__": 24 1059 | }, 1060 | "_enabled": true, 1061 | "_spriteFrame": { 1062 | "__uuid__": "85c90e7a-43de-4569-a056-e4becedbd2a9" 1063 | }, 1064 | "_type": 1, 1065 | "_sizeMode": 0, 1066 | "_fillType": 0, 1067 | "_fillCenter": { 1068 | "__type__": "cc.Vec2", 1069 | "x": 0, 1070 | "y": 0 1071 | }, 1072 | "_fillStart": 0, 1073 | "_fillRange": 0, 1074 | "_isTrimmedMode": true, 1075 | "_srcBlendFactor": 770, 1076 | "_dstBlendFactor": 771, 1077 | "_atlas": null 1078 | }, 1079 | { 1080 | "__type__": "cc.Button", 1081 | "_name": "", 1082 | "_objFlags": 0, 1083 | "node": { 1084 | "__id__": 24 1085 | }, 1086 | "_enabled": true, 1087 | "transition": 2, 1088 | "pressedColor": { 1089 | "__type__": "cc.Color", 1090 | "r": 255, 1091 | "g": 255, 1092 | "b": 255, 1093 | "a": 255 1094 | }, 1095 | "hoverColor": { 1096 | "__type__": "cc.Color", 1097 | "r": 255, 1098 | "g": 255, 1099 | "b": 255, 1100 | "a": 255 1101 | }, 1102 | "duration": 0.1, 1103 | "zoomScale": 1.2, 1104 | "pressedSprite": { 1105 | "__uuid__": "85c90e7a-43de-4569-a056-e4becedbd2a9" 1106 | }, 1107 | "hoverSprite": { 1108 | "__uuid__": "85c90e7a-43de-4569-a056-e4becedbd2a9" 1109 | }, 1110 | "clickEvents": [], 1111 | "_N$interactable": true, 1112 | "_N$enableAutoGrayEffect": false, 1113 | "_N$normalColor": { 1114 | "__type__": "cc.Color", 1115 | "r": 255, 1116 | "g": 255, 1117 | "b": 255, 1118 | "a": 255 1119 | }, 1120 | "_N$disabledColor": { 1121 | "__type__": "cc.Color", 1122 | "r": 255, 1123 | "g": 255, 1124 | "b": 255, 1125 | "a": 255 1126 | }, 1127 | "_N$normalSprite": { 1128 | "__uuid__": "85c90e7a-43de-4569-a056-e4becedbd2a9" 1129 | }, 1130 | "_N$disabledSprite": { 1131 | "__uuid__": "85c90e7a-43de-4569-a056-e4becedbd2a9" 1132 | }, 1133 | "_N$target": { 1134 | "__id__": 24 1135 | } 1136 | }, 1137 | { 1138 | "__type__": "cc.Node", 1139 | "_name": "billBtn", 1140 | "_objFlags": 0, 1141 | "_parent": { 1142 | "__id__": 20 1143 | }, 1144 | "_children": [], 1145 | "_tag": -1, 1146 | "_active": true, 1147 | "_components": [ 1148 | { 1149 | "__id__": 28 1150 | }, 1151 | { 1152 | "__id__": 29 1153 | } 1154 | ], 1155 | "_prefab": null, 1156 | "_id": "908304ocuxFiZfv3CObaTEg", 1157 | "_opacity": 255, 1158 | "_color": { 1159 | "__type__": "cc.Color", 1160 | "r": 255, 1161 | "g": 255, 1162 | "b": 255, 1163 | "a": 255 1164 | }, 1165 | "_cascadeOpacityEnabled": true, 1166 | "_anchorPoint": { 1167 | "__type__": "cc.Vec2", 1168 | "x": 0.5, 1169 | "y": 0.5 1170 | }, 1171 | "_contentSize": { 1172 | "__type__": "cc.Size", 1173 | "width": 160, 1174 | "height": 173 1175 | }, 1176 | "_rotationX": 0, 1177 | "_rotationY": 0, 1178 | "_scaleX": 0.8, 1179 | "_scaleY": 0.8, 1180 | "_position": { 1181 | "__type__": "cc.Vec2", 1182 | "x": 80, 1183 | "y": -11.5 1184 | }, 1185 | "_skewX": 0, 1186 | "_skewY": 0, 1187 | "_localZOrder": 0, 1188 | "_globalZOrder": 0, 1189 | "_opacityModifyRGB": false, 1190 | "groupIndex": 0 1191 | }, 1192 | { 1193 | "__type__": "cc.Sprite", 1194 | "_name": "", 1195 | "_objFlags": 0, 1196 | "node": { 1197 | "__id__": 27 1198 | }, 1199 | "_enabled": true, 1200 | "_spriteFrame": { 1201 | "__uuid__": "a2d91870-0070-4f6e-9d18-80924228ebb6" 1202 | }, 1203 | "_type": 1, 1204 | "_sizeMode": 0, 1205 | "_fillType": 0, 1206 | "_fillCenter": { 1207 | "__type__": "cc.Vec2", 1208 | "x": 0, 1209 | "y": 0 1210 | }, 1211 | "_fillStart": 0, 1212 | "_fillRange": 0, 1213 | "_isTrimmedMode": true, 1214 | "_srcBlendFactor": 770, 1215 | "_dstBlendFactor": 771, 1216 | "_atlas": null 1217 | }, 1218 | { 1219 | "__type__": "cc.Button", 1220 | "_name": "", 1221 | "_objFlags": 0, 1222 | "node": { 1223 | "__id__": 27 1224 | }, 1225 | "_enabled": true, 1226 | "transition": 2, 1227 | "pressedColor": { 1228 | "__type__": "cc.Color", 1229 | "r": 255, 1230 | "g": 255, 1231 | "b": 255, 1232 | "a": 255 1233 | }, 1234 | "hoverColor": { 1235 | "__type__": "cc.Color", 1236 | "r": 255, 1237 | "g": 255, 1238 | "b": 255, 1239 | "a": 255 1240 | }, 1241 | "duration": 0.1, 1242 | "zoomScale": 1.2, 1243 | "pressedSprite": { 1244 | "__uuid__": "a2d91870-0070-4f6e-9d18-80924228ebb6" 1245 | }, 1246 | "hoverSprite": { 1247 | "__uuid__": "a2d91870-0070-4f6e-9d18-80924228ebb6" 1248 | }, 1249 | "clickEvents": [], 1250 | "_N$interactable": true, 1251 | "_N$enableAutoGrayEffect": false, 1252 | "_N$normalColor": { 1253 | "__type__": "cc.Color", 1254 | "r": 255, 1255 | "g": 255, 1256 | "b": 255, 1257 | "a": 255 1258 | }, 1259 | "_N$disabledColor": { 1260 | "__type__": "cc.Color", 1261 | "r": 255, 1262 | "g": 255, 1263 | "b": 255, 1264 | "a": 255 1265 | }, 1266 | "_N$normalSprite": { 1267 | "__uuid__": "a2d91870-0070-4f6e-9d18-80924228ebb6" 1268 | }, 1269 | "_N$disabledSprite": { 1270 | "__uuid__": "a2d91870-0070-4f6e-9d18-80924228ebb6" 1271 | }, 1272 | "_N$target": { 1273 | "__id__": 27 1274 | } 1275 | }, 1276 | { 1277 | "__type__": "cc.Node", 1278 | "_name": "shopBtn", 1279 | "_objFlags": 0, 1280 | "_parent": { 1281 | "__id__": 20 1282 | }, 1283 | "_children": [], 1284 | "_tag": -1, 1285 | "_active": true, 1286 | "_components": [ 1287 | { 1288 | "__id__": 31 1289 | }, 1290 | { 1291 | "__id__": 32 1292 | } 1293 | ], 1294 | "_prefab": null, 1295 | "_id": "f4958n7rs1LMILppgwvtRyH", 1296 | "_opacity": 255, 1297 | "_color": { 1298 | "__type__": "cc.Color", 1299 | "r": 255, 1300 | "g": 255, 1301 | "b": 255, 1302 | "a": 255 1303 | }, 1304 | "_cascadeOpacityEnabled": true, 1305 | "_anchorPoint": { 1306 | "__type__": "cc.Vec2", 1307 | "x": 0.5, 1308 | "y": 0.5 1309 | }, 1310 | "_contentSize": { 1311 | "__type__": "cc.Size", 1312 | "width": 160, 1313 | "height": 173 1314 | }, 1315 | "_rotationX": 0, 1316 | "_rotationY": 0, 1317 | "_scaleX": 0.8, 1318 | "_scaleY": 0.8, 1319 | "_position": { 1320 | "__type__": "cc.Vec2", 1321 | "x": 240, 1322 | "y": -11.5 1323 | }, 1324 | "_skewX": 0, 1325 | "_skewY": 0, 1326 | "_localZOrder": 0, 1327 | "_globalZOrder": 0, 1328 | "_opacityModifyRGB": false, 1329 | "groupIndex": 0 1330 | }, 1331 | { 1332 | "__type__": "cc.Sprite", 1333 | "_name": "", 1334 | "_objFlags": 0, 1335 | "node": { 1336 | "__id__": 30 1337 | }, 1338 | "_enabled": true, 1339 | "_spriteFrame": { 1340 | "__uuid__": "58605151-f614-40c7-81f1-0f7d3e18adcf" 1341 | }, 1342 | "_type": 1, 1343 | "_sizeMode": 0, 1344 | "_fillType": 0, 1345 | "_fillCenter": { 1346 | "__type__": "cc.Vec2", 1347 | "x": 0, 1348 | "y": 0 1349 | }, 1350 | "_fillStart": 0, 1351 | "_fillRange": 0, 1352 | "_isTrimmedMode": true, 1353 | "_srcBlendFactor": 770, 1354 | "_dstBlendFactor": 771, 1355 | "_atlas": null 1356 | }, 1357 | { 1358 | "__type__": "cc.Button", 1359 | "_name": "", 1360 | "_objFlags": 0, 1361 | "node": { 1362 | "__id__": 30 1363 | }, 1364 | "_enabled": true, 1365 | "transition": 2, 1366 | "pressedColor": { 1367 | "__type__": "cc.Color", 1368 | "r": 255, 1369 | "g": 255, 1370 | "b": 255, 1371 | "a": 255 1372 | }, 1373 | "hoverColor": { 1374 | "__type__": "cc.Color", 1375 | "r": 255, 1376 | "g": 255, 1377 | "b": 255, 1378 | "a": 255 1379 | }, 1380 | "duration": 0.1, 1381 | "zoomScale": 1.2, 1382 | "pressedSprite": { 1383 | "__uuid__": "58605151-f614-40c7-81f1-0f7d3e18adcf" 1384 | }, 1385 | "hoverSprite": { 1386 | "__uuid__": "58605151-f614-40c7-81f1-0f7d3e18adcf" 1387 | }, 1388 | "clickEvents": [], 1389 | "_N$interactable": true, 1390 | "_N$enableAutoGrayEffect": false, 1391 | "_N$normalColor": { 1392 | "__type__": "cc.Color", 1393 | "r": 255, 1394 | "g": 255, 1395 | "b": 255, 1396 | "a": 255 1397 | }, 1398 | "_N$disabledColor": { 1399 | "__type__": "cc.Color", 1400 | "r": 255, 1401 | "g": 255, 1402 | "b": 255, 1403 | "a": 255 1404 | }, 1405 | "_N$normalSprite": { 1406 | "__uuid__": "58605151-f614-40c7-81f1-0f7d3e18adcf" 1407 | }, 1408 | "_N$disabledSprite": { 1409 | "__uuid__": "58605151-f614-40c7-81f1-0f7d3e18adcf" 1410 | }, 1411 | "_N$target": { 1412 | "__id__": 30 1413 | } 1414 | }, 1415 | { 1416 | "__type__": "cc.Sprite", 1417 | "_name": "", 1418 | "_objFlags": 0, 1419 | "node": { 1420 | "__id__": 20 1421 | }, 1422 | "_enabled": false, 1423 | "_spriteFrame": null, 1424 | "_type": 1, 1425 | "_sizeMode": 0, 1426 | "_fillType": 0, 1427 | "_fillCenter": { 1428 | "__type__": "cc.Vec2", 1429 | "x": 0, 1430 | "y": 0 1431 | }, 1432 | "_fillStart": 0, 1433 | "_fillRange": 0, 1434 | "_isTrimmedMode": true, 1435 | "_srcBlendFactor": 770, 1436 | "_dstBlendFactor": 771, 1437 | "_atlas": null 1438 | }, 1439 | { 1440 | "__type__": "cc.Layout", 1441 | "_name": "", 1442 | "_objFlags": 0, 1443 | "node": { 1444 | "__id__": 20 1445 | }, 1446 | "_enabled": true, 1447 | "_layoutSize": { 1448 | "__type__": "cc.Size", 1449 | "width": 640, 1450 | "height": 150 1451 | }, 1452 | "_resize": 0, 1453 | "_N$layoutType": 1, 1454 | "_N$padding": 0, 1455 | "_N$cellSize": { 1456 | "__type__": "cc.Size", 1457 | "width": 40, 1458 | "height": 40 1459 | }, 1460 | "_N$startAxis": 0, 1461 | "_N$paddingLeft": 0, 1462 | "_N$paddingRight": 0, 1463 | "_N$paddingTop": 0, 1464 | "_N$paddingBottom": 0, 1465 | "_N$spacingX": 0, 1466 | "_N$spacingY": 0, 1467 | "_N$verticalDirection": 1, 1468 | "_N$horizontalDirection": 0 1469 | }, 1470 | { 1471 | "__type__": "cc.Widget", 1472 | "_name": "", 1473 | "_objFlags": 0, 1474 | "node": { 1475 | "__id__": 20 1476 | }, 1477 | "_enabled": true, 1478 | "isAlignOnce": true, 1479 | "_target": null, 1480 | "_alignFlags": 20, 1481 | "_left": 0, 1482 | "_right": 0, 1483 | "_top": 0, 1484 | "_bottom": 0, 1485 | "_verticalCenter": 0, 1486 | "_horizontalCenter": 0, 1487 | "_isAbsLeft": true, 1488 | "_isAbsRight": true, 1489 | "_isAbsTop": true, 1490 | "_isAbsBottom": true, 1491 | "_isAbsHorizontalCenter": true, 1492 | "_isAbsVerticalCenter": true, 1493 | "_originalWidth": 0, 1494 | "_originalHeight": 0 1495 | }, 1496 | { 1497 | "__type__": "cc.Node", 1498 | "_name": "newGameBtn", 1499 | "_objFlags": 0, 1500 | "_parent": { 1501 | "__id__": 2 1502 | }, 1503 | "_children": [], 1504 | "_tag": -1, 1505 | "_active": true, 1506 | "_components": [ 1507 | { 1508 | "__id__": 37 1509 | }, 1510 | { 1511 | "__id__": 38 1512 | }, 1513 | { 1514 | "__id__": 39 1515 | } 1516 | ], 1517 | "_prefab": null, 1518 | "_id": "b3498L8qDVCg58Qyk+uTfIG", 1519 | "_opacity": 255, 1520 | "_color": { 1521 | "__type__": "cc.Color", 1522 | "r": 255, 1523 | "g": 255, 1524 | "b": 255, 1525 | "a": 255 1526 | }, 1527 | "_cascadeOpacityEnabled": true, 1528 | "_anchorPoint": { 1529 | "__type__": "cc.Vec2", 1530 | "x": 0.5, 1531 | "y": 0.5 1532 | }, 1533 | "_contentSize": { 1534 | "__type__": "cc.Size", 1535 | "width": 232, 1536 | "height": 59 1537 | }, 1538 | "_rotationX": 0, 1539 | "_rotationY": 0, 1540 | "_scaleX": 1, 1541 | "_scaleY": 1, 1542 | "_position": { 1543 | "__type__": "cc.Vec2", 1544 | "x": -2.2737367544323206e-13, 1545 | "y": -1.0000000000001137 1546 | }, 1547 | "_skewX": 0, 1548 | "_skewY": 0, 1549 | "_localZOrder": 0, 1550 | "_globalZOrder": 0, 1551 | "_opacityModifyRGB": false, 1552 | "groupIndex": 0 1553 | }, 1554 | { 1555 | "__type__": "cc.Sprite", 1556 | "_name": "", 1557 | "_objFlags": 0, 1558 | "node": { 1559 | "__id__": 36 1560 | }, 1561 | "_enabled": true, 1562 | "_spriteFrame": { 1563 | "__uuid__": "04b274f4-b0cd-4584-8751-541a931bfa93" 1564 | }, 1565 | "_type": 1, 1566 | "_sizeMode": 0, 1567 | "_fillType": 0, 1568 | "_fillCenter": { 1569 | "__type__": "cc.Vec2", 1570 | "x": 0, 1571 | "y": 0 1572 | }, 1573 | "_fillStart": 0, 1574 | "_fillRange": 0, 1575 | "_isTrimmedMode": true, 1576 | "_srcBlendFactor": 770, 1577 | "_dstBlendFactor": 771, 1578 | "_atlas": null 1579 | }, 1580 | { 1581 | "__type__": "cc.Button", 1582 | "_name": "", 1583 | "_objFlags": 0, 1584 | "node": { 1585 | "__id__": 36 1586 | }, 1587 | "_enabled": true, 1588 | "transition": 3, 1589 | "pressedColor": { 1590 | "__type__": "cc.Color", 1591 | "r": 255, 1592 | "g": 255, 1593 | "b": 255, 1594 | "a": 255 1595 | }, 1596 | "hoverColor": { 1597 | "__type__": "cc.Color", 1598 | "r": 255, 1599 | "g": 255, 1600 | "b": 255, 1601 | "a": 255 1602 | }, 1603 | "duration": 0.1, 1604 | "zoomScale": 1.2, 1605 | "pressedSprite": { 1606 | "__uuid__": "04b274f4-b0cd-4584-8751-541a931bfa93" 1607 | }, 1608 | "hoverSprite": { 1609 | "__uuid__": "04b274f4-b0cd-4584-8751-541a931bfa93" 1610 | }, 1611 | "clickEvents": [], 1612 | "_N$interactable": true, 1613 | "_N$enableAutoGrayEffect": false, 1614 | "_N$normalColor": { 1615 | "__type__": "cc.Color", 1616 | "r": 255, 1617 | "g": 255, 1618 | "b": 255, 1619 | "a": 255 1620 | }, 1621 | "_N$disabledColor": { 1622 | "__type__": "cc.Color", 1623 | "r": 255, 1624 | "g": 255, 1625 | "b": 255, 1626 | "a": 255 1627 | }, 1628 | "_N$normalSprite": { 1629 | "__uuid__": "04b274f4-b0cd-4584-8751-541a931bfa93" 1630 | }, 1631 | "_N$disabledSprite": { 1632 | "__uuid__": "04b274f4-b0cd-4584-8751-541a931bfa93" 1633 | }, 1634 | "_N$target": { 1635 | "__id__": 36 1636 | } 1637 | }, 1638 | { 1639 | "__type__": "cc.Widget", 1640 | "_name": "", 1641 | "_objFlags": 0, 1642 | "node": { 1643 | "__id__": 36 1644 | }, 1645 | "_enabled": true, 1646 | "isAlignOnce": true, 1647 | "_target": null, 1648 | "_alignFlags": 16, 1649 | "_left": 0, 1650 | "_right": 0, 1651 | "_top": 0, 1652 | "_bottom": 0, 1653 | "_verticalCenter": 0, 1654 | "_horizontalCenter": -2.2737367544323206e-13, 1655 | "_isAbsLeft": true, 1656 | "_isAbsRight": true, 1657 | "_isAbsTop": true, 1658 | "_isAbsBottom": true, 1659 | "_isAbsHorizontalCenter": true, 1660 | "_isAbsVerticalCenter": true, 1661 | "_originalWidth": 0, 1662 | "_originalHeight": 0 1663 | }, 1664 | { 1665 | "__type__": "cc.Canvas", 1666 | "_name": "", 1667 | "_objFlags": 0, 1668 | "node": { 1669 | "__id__": 2 1670 | }, 1671 | "_enabled": true, 1672 | "_designResolution": { 1673 | "__type__": "cc.Size", 1674 | "width": 640, 1675 | "height": 960 1676 | }, 1677 | "_fitWidth": true, 1678 | "_fitHeight": false 1679 | }, 1680 | { 1681 | "__type__": "58ad30XPqVHQoduXxkcQ/vu", 1682 | "_name": "", 1683 | "_objFlags": 0, 1684 | "node": { 1685 | "__id__": 2 1686 | }, 1687 | "_enabled": true, 1688 | "label": null, 1689 | "text": "hello" 1690 | }, 1691 | { 1692 | "__type__": "04cd3duV5tJZael7jWSgySm", 1693 | "_name": "", 1694 | "_objFlags": 0, 1695 | "node": { 1696 | "__id__": 2 1697 | }, 1698 | "_enabled": true, 1699 | "btn": { 1700 | "__id__": 36 1701 | } 1702 | } 1703 | ] -------------------------------------------------------------------------------- /assets/Scene/mainScene.fire.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.0", 3 | "uuid": "2d2f792f-a40c-49bb-a189-ed176a246e49", 4 | "asyncLoadAssets": false, 5 | "autoReleaseAssets": false, 6 | "subMetas": {} 7 | } -------------------------------------------------------------------------------- /assets/Script.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "4734c20c-0db8-4eb2-92ea-e692f4d70934", 4 | "isGroup": false, 5 | "subMetas": {} 6 | } -------------------------------------------------------------------------------- /assets/Script/ChildClass.ts: -------------------------------------------------------------------------------- 1 | import SuperClass from "./SuperClass"; 2 | const {ccclass} = cc._decorator; 3 | 4 | @ccclass 5 | export default class ChildClass extends SuperClass { 6 | protected async testAsync(): Promise { 7 | return new Promise((resolve, reject) => { 8 | setTimeout(() => { 9 | resolve("Hello, World! From ChildClass!!"); 10 | }, 1000); 11 | }); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /assets/Script/ChildClass.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.4", 3 | "uuid": "58ad3d17-3ea5-4742-876e-5f191c43fbee", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/Script/GameScene.ts: -------------------------------------------------------------------------------- 1 | const { ccclass, property } = cc._decorator; 2 | import * as utils from './utils'; 3 | import Star from './Star'; 4 | 5 | @ccclass 6 | export default class GameScene extends cc.Component { 7 | 8 | @property([cc.Prefab]) 9 | starPrefabArr: cc.Prefab[] = null; 10 | 11 | _starDataArr: number[][] = [ 12 | [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 13 | [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 14 | [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 15 | [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 16 | [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 17 | [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 18 | [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 19 | [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 20 | [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 21 | [0, 0, 0, 0, 0, 0, 0, 0, 0, 0] 22 | ]; 23 | 24 | _starArr: cc.Node[] = []; 25 | 26 | _isActionRunning = false; 27 | 28 | _createRandomStart(): number { 29 | return Math.floor(cc.random0To1() * 5); 30 | } 31 | 32 | _getStarIndex(row: number, col: number): number { 33 | let star: cc.Node = null; 34 | for (let i = 0; i < this._starArr.length; i++) { 35 | star = this._starArr[i]; 36 | if (star['row'] == row && star['col'] == col) { 37 | return i; 38 | } 39 | } 40 | return -1; 41 | } 42 | 43 | _putIndexTo(indexArr: { row: number, col: number }[], row: number, col: number): void { 44 | for (let i = 0; i < indexArr.length; i++) { 45 | if (indexArr[i].row == row && indexArr[i].col == col) return; 46 | } 47 | indexArr.push({ row, col }); 48 | } 49 | 50 | _findSameStarIndex(row: number, col: number, checkedRowAndCol?: { row: number, col: number }[], result?: { row: number, col: number }[]): { row: number, col: number }[] { 51 | if (row < 0 || col < 0 || row > 9 || col > 9) return []; 52 | const targetValue = this._starDataArr[row][col]; 53 | if (targetValue == -1) return []; 54 | if (!checkedRowAndCol) checkedRowAndCol = [{ row, col }]; 55 | else { 56 | for (let i = 0; i < checkedRowAndCol.length; i++) { 57 | if (checkedRowAndCol[i].row == row && checkedRowAndCol[i].col == col) { 58 | return []; 59 | } 60 | } 61 | checkedRowAndCol.push({ row, col }); 62 | } 63 | if (!result) result = []; 64 | 65 | // 先往上面找 66 | if (row > 0) { 67 | if (this._starDataArr[row - 1][col] == targetValue) { 68 | this._putIndexTo(result, row - 1, col); 69 | this._findSameStarIndex(row - 1, col, checkedRowAndCol, result) 70 | } 71 | } 72 | // 再找右边 73 | if (col < 9) { 74 | if (this._starDataArr[row][col + 1] == targetValue) { 75 | this._putIndexTo(result, row, col + 1); 76 | this._findSameStarIndex(row, col + 1, checkedRowAndCol, result); 77 | } 78 | } 79 | // 再找下边 80 | if (row < 9) { 81 | if (this._starDataArr[row + 1][col] == targetValue) { 82 | this._putIndexTo(result, row + 1, col); 83 | this._findSameStarIndex(row + 1, col, checkedRowAndCol, result); 84 | } 85 | } 86 | // 再找左边 87 | if (col > 0) { 88 | if (this._starDataArr[row][col - 1] == targetValue) { 89 | this._putIndexTo(result, row, col - 1); 90 | this._findSameStarIndex(row, col - 1, checkedRowAndCol, result); 91 | } 92 | } 93 | return result; 94 | } 95 | 96 | onLoad() { 97 | // init logic 98 | utils.setVisibleSize(cc.director.getVisibleSize()); 99 | 100 | let random = 0, star: cc.Node = null, actionDelay = 0; 101 | for (let col = 0; col < 10; col++) { 102 | actionDelay = 0.01 * col; 103 | for (let row = 9; row > -1; row--) { 104 | actionDelay += 0.02 105 | random = this._createRandomStart(); 106 | random = 0; 107 | this._starDataArr[row][col] = random; 108 | star = cc.instantiate(this.starPrefabArr[random]); 109 | star.attr({ row, col }); 110 | this._starArr.push(star); 111 | this.node.addChild(star); 112 | let initPosition = utils.getStarPosition(row, col); 113 | initPosition.y += utils.getVisibleSize().height; 114 | star.setPosition(initPosition); 115 | star.runAction(cc.sequence(cc.delayTime(actionDelay), cc.moveBy(.2, 0, -utils.getVisibleSize().height))); 116 | } 117 | } 118 | // cc.log('aaaaaaaaaaaaaaaa'); 119 | // star.getComponent(Star).test(); 120 | // cc.log('bbbbbbbbbbbbbbbbbb'); 121 | this.node.on(cc.Node.EventType.TOUCH_END, (evt: cc.Event.EventTouch) => { 122 | if (!this._isActionRunning) { 123 | this._isActionRunning = true; 124 | const touchPosition = evt.getLocation(); 125 | const row = 9 - Math.floor(touchPosition.y / 64); 126 | const col = Math.floor(touchPosition.x / 64); 127 | 128 | const result = this._findSameStarIndex(row, col); 129 | if (result.length > 1) { 130 | const starDataArr = this._starDataArr; 131 | let rowAndCol: { row: number, col: number }; 132 | for (let i = 0; i < result.length; i++) { 133 | rowAndCol = result[i]; 134 | let starIndex = this._getStarIndex(rowAndCol.row, rowAndCol.col); 135 | this._starArr.splice(starIndex, 1)[0].destroy(); 136 | starDataArr[rowAndCol.row][rowAndCol.col] = -1; 137 | } 138 | 139 | // 先整体往下,再往左 140 | const starMoveData: { fromRow: number, fromCol: number, toRow: number, toCol: number }[] = []; 141 | for (let r = 9; r > -1; r--) { 142 | for (let c = 0; c < 10; c++) { 143 | if (starDataArr[r][c] == -1) { 144 | let rowTop = r - 1; 145 | while (rowTop >= 0 && starDataArr[rowTop][c] == -1) { 146 | rowTop -= 1; 147 | } 148 | if (rowTop >= 0) { 149 | starDataArr[r][c] = starDataArr[rowTop][c]; 150 | starDataArr[rowTop][c] = -1; 151 | starMoveData.push({ 152 | fromRow: rowTop, 153 | fromCol: c, 154 | toRow: r, 155 | toCol: c 156 | }); 157 | } 158 | } 159 | } 160 | } 161 | let isColEmpty = false; 162 | let b = false; 163 | for (let c = 8; c > -1; c--) { 164 | isColEmpty = true; 165 | for (let r = 0; r < 10; r++) { 166 | if (starDataArr[r][c] != -1) { 167 | isColEmpty = false; 168 | break; 169 | } 170 | } 171 | if (isColEmpty) { 172 | for (let newCol = c + 1; newCol < 10; newCol++) { 173 | for (let r = 0; r < 10; r++) { 174 | starDataArr[r][newCol - 1] = starDataArr[r][newCol]; 175 | starDataArr[r][newCol] = -1; 176 | // 不等于-1,才有移动的需求 177 | if (starDataArr[r][newCol - 1] != -1) { 178 | b = false; 179 | for (let i = 0; i < starMoveData.length; i++) { 180 | if (starMoveData[i].toRow == r && starMoveData[i].toCol == newCol) { 181 | starMoveData[i].toRow = r; 182 | starMoveData[i].toCol = newCol - 1; 183 | b = true; 184 | break; 185 | } 186 | } 187 | if (!b) { 188 | starMoveData.push({ 189 | fromRow: r, 190 | fromCol: newCol, 191 | toRow: r, 192 | toCol: newCol - 1 193 | }); 194 | } 195 | } 196 | } 197 | } 198 | } 199 | } 200 | const starMoveDataLength = starMoveData.length; 201 | if (starMoveDataLength > 0) { 202 | let actionCount = 0; 203 | for (let i = 0; i < starMoveDataLength; i++) { 204 | let moveData = starMoveData[i]; 205 | actionCount++; 206 | const star = this._starArr[this._getStarIndex(moveData.fromRow, moveData.fromCol)]; 207 | star.runAction(cc.sequence( 208 | cc.moveTo(.2, utils.getStarPosition(moveData.toRow, moveData.toCol)), 209 | cc.callFunc(() => { 210 | star.attr({ row: moveData.toRow, col: moveData.toCol }); 211 | if (--actionCount == 0) { 212 | this._isActionRunning = false; 213 | } 214 | }) 215 | )); 216 | } 217 | } else { 218 | this._isActionRunning = false; 219 | } 220 | } else { 221 | this._isActionRunning = false; 222 | } 223 | } 224 | }); 225 | } 226 | } 227 | -------------------------------------------------------------------------------- /assets/Script/GameScene.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.4", 3 | "uuid": "f6f12829-94c7-48fa-addc-6c480390c43a", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/Script/Lib.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "dcce50ed-b338-45b2-84fc-b32cbb35848b", 4 | "isGroup": false, 5 | "subMetas": {} 6 | } -------------------------------------------------------------------------------- /assets/Script/Lib/Fetch.js: -------------------------------------------------------------------------------- 1 | !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.ES6Promise=e()}(this,function(){"use strict";function t(t){return"function"==typeof t||"object"==typeof t&&null!==t}function e(t){return"function"==typeof t}function n(t){I=t}function r(t){J=t}function o(){return function(){return process.nextTick(a)}}function i(){return"undefined"!=typeof H?function(){H(a)}:c()}function s(){var t=0,e=new V(a),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}function u(){var t=new MessageChannel;return t.port1.onmessage=a,function(){return t.port2.postMessage(0)}}function c(){var t=setTimeout;return function(){return t(a,1)}}function a(){for(var t=0;t -1) ? upcased : method 207 | } 208 | 209 | function Request(url, options) { 210 | options = options || {} 211 | this.url = url 212 | 213 | this.credentials = options.credentials || 'omit' 214 | this.headers = new Headers(options.headers) 215 | this.method = normalizeMethod(options.method || 'GET') 216 | this.mode = options.mode || null 217 | this.referrer = null 218 | 219 | if ((this.method === 'GET' || this.method === 'HEAD') && options.body) { 220 | throw new TypeError('Body not allowed for GET or HEAD requests') 221 | } 222 | this._initBody(options.body) 223 | } 224 | 225 | function decode(body) { 226 | var form = new FormData() 227 | body.trim().split('&').forEach(function(bytes) { 228 | if (bytes) { 229 | var split = bytes.split('=') 230 | var name = split.shift().replace(/\+/g, ' ') 231 | var value = split.join('=').replace(/\+/g, ' ') 232 | form.append(decodeURIComponent(name), decodeURIComponent(value)) 233 | } 234 | }) 235 | return form 236 | } 237 | 238 | function headers(xhr) { 239 | var head = new Headers() 240 | var pairs = xhr.getAllResponseHeaders().trim().split('\n') 241 | pairs.forEach(function(header) { 242 | var split = header.trim().split(':') 243 | var key = split.shift().trim() 244 | var value = split.join(':').trim() 245 | head.append(key, value) 246 | }) 247 | return head 248 | } 249 | 250 | var noXhrPatch = 251 | typeof window !== 'undefined' && !!window.ActiveXObject && !(window.XMLHttpRequest && (new XMLHttpRequest).dispatchEvent); 252 | 253 | function getXhr() { 254 | // from backbone.js 1.1.2 255 | // https://github.com/jashkenas/backbone/blob/1.1.2/backbone.js#L1181 256 | if (noXhrPatch && !(/^(get|post|head|put|delete|options)$/i.test(this.method))) { 257 | this.usingActiveXhr = true; 258 | return new ActiveXObject("Microsoft.XMLHTTP"); 259 | } 260 | return new XMLHttpRequest(); 261 | } 262 | 263 | Body.call(Request.prototype) 264 | 265 | function Response(bodyInit, options) { 266 | if (!options) { 267 | options = {} 268 | } 269 | 270 | this._initBody(bodyInit) 271 | this.type = 'default' 272 | this.url = null 273 | this.status = options.status 274 | this.ok = this.status >= 200 && this.status < 300 275 | this.statusText = options.statusText 276 | this.headers = options.headers instanceof Headers ? options.headers : new Headers(options.headers) 277 | this.url = options.url || '' 278 | } 279 | 280 | Body.call(Response.prototype) 281 | 282 | self.Headers = Headers; 283 | self.Request = Request; 284 | self.Response = Response; 285 | 286 | self.fetch = function(input, init) { 287 | // TODO: Request constructor should accept input, init 288 | var request 289 | if (Request.prototype.isPrototypeOf(input) && !init) { 290 | request = input 291 | } else { 292 | request = new Request(input, init) 293 | } 294 | 295 | return new fetch.Promise(function(resolve, reject) { 296 | var xhr = getXhr(); 297 | if (request.credentials === 'cors') { 298 | xhr.withCredentials = true; 299 | } 300 | 301 | function responseURL() { 302 | if ('responseURL' in xhr) { 303 | return xhr.responseURL 304 | } 305 | 306 | // Avoid security warnings on getResponseHeader when not allowed by CORS 307 | if (/^X-Request-URL:/m.test(xhr.getAllResponseHeaders())) { 308 | return xhr.getResponseHeader('X-Request-URL') 309 | } 310 | 311 | return; 312 | } 313 | 314 | function onload() { 315 | if (xhr.readyState !== 4) { 316 | return 317 | } 318 | var status = (xhr.status === 1223) ? 204 : xhr.status 319 | if (status < 100 || status > 599) { 320 | reject(new TypeError('Network request failed')) 321 | return 322 | } 323 | var options = { 324 | status: status, 325 | statusText: xhr.statusText, 326 | headers: headers(xhr), 327 | url: responseURL() 328 | } 329 | var body = 'response' in xhr ? xhr.response : xhr.responseText; 330 | resolve(new Response(body, options)) 331 | } 332 | 333 | xhr.onreadystatechange = onload; 334 | if (!self.usingActiveXhr) { 335 | xhr.onload = onload; 336 | xhr.onerror = function() { 337 | reject(new TypeError('Network request failed')) 338 | } 339 | } 340 | 341 | xhr.open(request.method, request.url, true) 342 | 343 | if ('responseType' in xhr && support.blob) { 344 | xhr.responseType = 'blob' 345 | } 346 | 347 | request.headers.forEach(function(name, values) { 348 | values.forEach(function(value) { 349 | xhr.setRequestHeader(name, value) 350 | }) 351 | }) 352 | xhr.send() 353 | }) 354 | } 355 | fetch.Promise = self.Promise; // you could change it to your favorite alternative 356 | self.fetch.polyfill = true 357 | })(window); 358 | -------------------------------------------------------------------------------- /assets/Script/Lib/Fetch.js.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.4", 3 | "uuid": "c0278ad9-28ec-4efa-96b4-ed588df58b75", 4 | "isPlugin": true, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/Script/MainScene.ts: -------------------------------------------------------------------------------- 1 | const {ccclass, property} = cc._decorator; 2 | 3 | @ccclass 4 | export default class MainScene extends cc.Component { 5 | 6 | @property(cc.Node) 7 | btn: cc.Node = null; 8 | 9 | onLoad() { 10 | // init logic 11 | this.btn.on(cc.Node.EventType.TOUCH_END, () => { 12 | cc.director.loadScene('gameScene'); 13 | }); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /assets/Script/MainScene.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.4", 3 | "uuid": "04cd376e-579b-4965-a7a5-ee35928324a6", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/Script/Star.ts: -------------------------------------------------------------------------------- 1 | const { ccclass, property } = cc._decorator; 2 | 3 | @ccclass 4 | export default class Star extends cc.Component { 5 | 6 | // @property(cc.Label) 7 | // label: cc.Label; 8 | 9 | // @property(cc.Integer) 10 | // row: number = 0; 11 | 12 | // @property(cc.Integer) 13 | // col: number = 0; 14 | 15 | onLoad() { 16 | // init logic 17 | this.node.setContentSize(64, 64); 18 | } 19 | 20 | test() { 21 | cc.log('aaa'); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /assets/Script/Star.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.4", 3 | "uuid": "4cacf4f2-b856-440b-92c9-e2da382773b1", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/Script/SuperClass.ts: -------------------------------------------------------------------------------- 1 | const {ccclass, property, executionOrder} = cc._decorator; 2 | 3 | @ccclass 4 | @executionOrder(1) 5 | export default class SuperClass extends cc.Component { 6 | 7 | @property(cc.Label) 8 | label: cc.Label; 9 | 10 | @property({ 11 | default: "hello" 12 | }) 13 | text: string = 'hello'; 14 | 15 | async onLoad() { 16 | // init logic 17 | } 18 | 19 | protected async testAsync(): Promise { 20 | return new Promise((resolve, reject) => { 21 | setTimeout(() => { 22 | resolve("Hello, World!"); 23 | }, 1000) 24 | }) 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /assets/Script/SuperClass.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.4", 3 | "uuid": "7cd6a9b6-20a8-4253-bce4-0a7da1289315", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/Script/utils.ts: -------------------------------------------------------------------------------- 1 | 2 | let _visibleSize: cc.Size; 3 | 4 | export function setVisibleSize(size: cc.Size): void { 5 | this._visibleSize = size; 6 | } 7 | 8 | export function getVisibleSize(): cc.Size { 9 | return this._visibleSize; 10 | } 11 | 12 | export function getStarPosition(row: number, col: number): cc.Vec2 { 13 | // 一个star的宽度和高度都是64 14 | const w = 64; 15 | const h = 64; 16 | const zeroX = (w - this._visibleSize.width) >> 1; 17 | const zeroY = (h - this._visibleSize.height) >> 1; 18 | let x = zeroX + col * w; 19 | let y = zeroY + (9 - row) * 64; 20 | return new cc.Vec2(x, y); 21 | } -------------------------------------------------------------------------------- /assets/Script/utils.ts.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.4", 3 | "uuid": "2d56d46c-bcf8-4dad-9740-8857abcd12fd", 4 | "isPlugin": false, 5 | "loadPluginInWeb": true, 6 | "loadPluginInNative": true, 7 | "loadPluginInEditor": false, 8 | "subMetas": {} 9 | } -------------------------------------------------------------------------------- /assets/Texture.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "7b81d4e8-ec84-4716-968d-500ac1d78a54", 4 | "isGroup": false, 5 | "subMetas": {} 6 | } -------------------------------------------------------------------------------- /assets/Texture/back.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hongjie104/Star/d33d7418a46098e95c2866c8c352d7c7b45fe42c/assets/Texture/back.jpg -------------------------------------------------------------------------------- /assets/Texture/back.jpg.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.0", 3 | "uuid": "c7402698-a8f7-49d5-8c20-c6834d897614", 4 | "type": "sprite", 5 | "wrapMode": "clamp", 6 | "filterMode": "bilinear", 7 | "subMetas": { 8 | "back": { 9 | "ver": "1.0.3", 10 | "uuid": "6ce3a2b0-72e2-43f8-98c7-f76c359496a0", 11 | "rawTextureUuid": "c7402698-a8f7-49d5-8c20-c6834d897614", 12 | "trimType": "auto", 13 | "trimThreshold": 1, 14 | "rotated": false, 15 | "offsetX": 0, 16 | "offsetY": 0, 17 | "trimX": 0, 18 | "trimY": 0, 19 | "width": 640, 20 | "height": 960, 21 | "rawWidth": 640, 22 | "rawHeight": 960, 23 | "borderTop": 0, 24 | "borderBottom": 0, 25 | "borderLeft": 0, 26 | "borderRight": 0, 27 | "subMetas": {} 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /assets/Texture/gameScene.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "7aeb05c3-1614-4258-9e77-8e11ccffa58c", 4 | "isGroup": false, 5 | "subMetas": {} 6 | } -------------------------------------------------------------------------------- /assets/Texture/gameScene/hong0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hongjie104/Star/d33d7418a46098e95c2866c8c352d7c7b45fe42c/assets/Texture/gameScene/hong0.png -------------------------------------------------------------------------------- /assets/Texture/gameScene/hong0.png.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.0", 3 | "uuid": "3bdbe76e-36a6-4bb1-8c51-e706c54c1bfe", 4 | "type": "sprite", 5 | "wrapMode": "clamp", 6 | "filterMode": "bilinear", 7 | "subMetas": { 8 | "hong0": { 9 | "ver": "1.0.3", 10 | "uuid": "5dbb78c7-7b9a-4491-bfef-039374c4cec6", 11 | "rawTextureUuid": "3bdbe76e-36a6-4bb1-8c51-e706c54c1bfe", 12 | "trimType": "auto", 13 | "trimThreshold": 1, 14 | "rotated": false, 15 | "offsetX": 0, 16 | "offsetY": 0, 17 | "trimX": 0, 18 | "trimY": 0, 19 | "width": 72, 20 | "height": 72, 21 | "rawWidth": 72, 22 | "rawHeight": 72, 23 | "borderTop": 0, 24 | "borderBottom": 0, 25 | "borderLeft": 0, 26 | "borderRight": 0, 27 | "subMetas": {} 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /assets/Texture/gameScene/hong0.prefab: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "", 5 | "_objFlags": 0, 6 | "_rawFiles": null, 7 | "data": { 8 | "__id__": 1 9 | } 10 | }, 11 | { 12 | "__type__": "cc.Node", 13 | "_name": "hong0", 14 | "_objFlags": 0, 15 | "_parent": null, 16 | "_children": [], 17 | "_tag": -1, 18 | "_active": true, 19 | "_components": [ 20 | { 21 | "__id__": 2 22 | }, 23 | { 24 | "__id__": 3 25 | } 26 | ], 27 | "_prefab": { 28 | "__id__": 4 29 | }, 30 | "_id": "", 31 | "_opacity": 255, 32 | "_color": { 33 | "__type__": "cc.Color", 34 | "r": 255, 35 | "g": 255, 36 | "b": 255, 37 | "a": 255 38 | }, 39 | "_cascadeOpacityEnabled": true, 40 | "_anchorPoint": { 41 | "__type__": "cc.Vec2", 42 | "x": 0.5, 43 | "y": 0.5 44 | }, 45 | "_contentSize": { 46 | "__type__": "cc.Size", 47 | "width": 72, 48 | "height": 72 49 | }, 50 | "_rotationX": 0, 51 | "_rotationY": 0, 52 | "_scaleX": 1, 53 | "_scaleY": 1, 54 | "_position": { 55 | "__type__": "cc.Vec2", 56 | "x": 0, 57 | "y": 0 58 | }, 59 | "_skewX": 0, 60 | "_skewY": 0, 61 | "_localZOrder": 0, 62 | "_globalZOrder": 0, 63 | "_opacityModifyRGB": false, 64 | "groupIndex": 0 65 | }, 66 | { 67 | "__type__": "cc.Sprite", 68 | "_name": "", 69 | "_objFlags": 0, 70 | "node": { 71 | "__id__": 1 72 | }, 73 | "_enabled": true, 74 | "_spriteFrame": { 75 | "__uuid__": "5dbb78c7-7b9a-4491-bfef-039374c4cec6" 76 | }, 77 | "_type": 0, 78 | "_sizeMode": 1, 79 | "_fillType": 0, 80 | "_fillCenter": { 81 | "__type__": "cc.Vec2", 82 | "x": 0, 83 | "y": 0 84 | }, 85 | "_fillStart": 0, 86 | "_fillRange": 0, 87 | "_isTrimmedMode": true, 88 | "_srcBlendFactor": 770, 89 | "_dstBlendFactor": 771, 90 | "_atlas": null 91 | }, 92 | { 93 | "__type__": "4cacfTyuFZEC5LJ4to4J3Ox", 94 | "_name": "", 95 | "_objFlags": 0, 96 | "node": { 97 | "__id__": 1 98 | }, 99 | "_enabled": true 100 | }, 101 | { 102 | "__type__": "cc.PrefabInfo", 103 | "root": { 104 | "__id__": 1 105 | }, 106 | "asset": { 107 | "__uuid__": "2e4bad69-c95b-4a49-bd36-e6c56f0c978d" 108 | }, 109 | "fileId": "3ce42ZJi/xJkKqheLZw01PA", 110 | "sync": false 111 | } 112 | ] -------------------------------------------------------------------------------- /assets/Texture/gameScene/hong0.prefab.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.0", 3 | "uuid": "2e4bad69-c95b-4a49-bd36-e6c56f0c978d", 4 | "asyncLoadAssets": false, 5 | "subMetas": {} 6 | } -------------------------------------------------------------------------------- /assets/Texture/gameScene/jin0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hongjie104/Star/d33d7418a46098e95c2866c8c352d7c7b45fe42c/assets/Texture/gameScene/jin0.png -------------------------------------------------------------------------------- /assets/Texture/gameScene/jin0.png.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.0", 3 | "uuid": "6147003c-5cf8-4763-82d1-40f8ceabd4c9", 4 | "type": "sprite", 5 | "wrapMode": "clamp", 6 | "filterMode": "bilinear", 7 | "subMetas": { 8 | "jin0": { 9 | "ver": "1.0.3", 10 | "uuid": "3f32af1a-a10d-4ff7-8427-e65c7f8f5ea2", 11 | "rawTextureUuid": "6147003c-5cf8-4763-82d1-40f8ceabd4c9", 12 | "trimType": "auto", 13 | "trimThreshold": 1, 14 | "rotated": false, 15 | "offsetX": 0, 16 | "offsetY": 0, 17 | "trimX": 0, 18 | "trimY": 0, 19 | "width": 72, 20 | "height": 72, 21 | "rawWidth": 72, 22 | "rawHeight": 72, 23 | "borderTop": 0, 24 | "borderBottom": 0, 25 | "borderLeft": 0, 26 | "borderRight": 0, 27 | "subMetas": {} 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /assets/Texture/gameScene/jin0.prefab: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "", 5 | "_objFlags": 0, 6 | "_rawFiles": null, 7 | "data": { 8 | "__id__": 1 9 | } 10 | }, 11 | { 12 | "__type__": "cc.Node", 13 | "_name": "jin0", 14 | "_objFlags": 0, 15 | "_parent": null, 16 | "_children": [], 17 | "_tag": -1, 18 | "_active": true, 19 | "_components": [ 20 | { 21 | "__id__": 2 22 | }, 23 | { 24 | "__id__": 3 25 | } 26 | ], 27 | "_prefab": { 28 | "__id__": 4 29 | }, 30 | "_id": "", 31 | "_opacity": 255, 32 | "_color": { 33 | "__type__": "cc.Color", 34 | "r": 255, 35 | "g": 255, 36 | "b": 255, 37 | "a": 255 38 | }, 39 | "_cascadeOpacityEnabled": true, 40 | "_anchorPoint": { 41 | "__type__": "cc.Vec2", 42 | "x": 0.5, 43 | "y": 0.5 44 | }, 45 | "_contentSize": { 46 | "__type__": "cc.Size", 47 | "width": 72, 48 | "height": 72 49 | }, 50 | "_rotationX": 0, 51 | "_rotationY": 0, 52 | "_scaleX": 1, 53 | "_scaleY": 1, 54 | "_position": { 55 | "__type__": "cc.Vec2", 56 | "x": 0, 57 | "y": 0 58 | }, 59 | "_skewX": 0, 60 | "_skewY": 0, 61 | "_localZOrder": 0, 62 | "_globalZOrder": 0, 63 | "_opacityModifyRGB": false, 64 | "groupIndex": 0 65 | }, 66 | { 67 | "__type__": "cc.Sprite", 68 | "_name": "", 69 | "_objFlags": 0, 70 | "node": { 71 | "__id__": 1 72 | }, 73 | "_enabled": true, 74 | "_spriteFrame": { 75 | "__uuid__": "3f32af1a-a10d-4ff7-8427-e65c7f8f5ea2" 76 | }, 77 | "_type": 0, 78 | "_sizeMode": 1, 79 | "_fillType": 0, 80 | "_fillCenter": { 81 | "__type__": "cc.Vec2", 82 | "x": 0, 83 | "y": 0 84 | }, 85 | "_fillStart": 0, 86 | "_fillRange": 0, 87 | "_isTrimmedMode": true, 88 | "_srcBlendFactor": 770, 89 | "_dstBlendFactor": 771, 90 | "_atlas": null 91 | }, 92 | { 93 | "__type__": "4cacfTyuFZEC5LJ4to4J3Ox", 94 | "_name": "", 95 | "_objFlags": 0, 96 | "node": { 97 | "__id__": 1 98 | }, 99 | "_enabled": true 100 | }, 101 | { 102 | "__type__": "cc.PrefabInfo", 103 | "root": { 104 | "__id__": 1 105 | }, 106 | "asset": { 107 | "__uuid__": "f50bfc9e-7e66-43e2-8d24-8e9e5aadb6d3" 108 | }, 109 | "fileId": "d722d262elJPLKyvQLgr3Ix", 110 | "sync": false 111 | } 112 | ] -------------------------------------------------------------------------------- /assets/Texture/gameScene/jin0.prefab.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.0", 3 | "uuid": "f50bfc9e-7e66-43e2-8d24-8e9e5aadb6d3", 4 | "asyncLoadAssets": false, 5 | "subMetas": {} 6 | } -------------------------------------------------------------------------------- /assets/Texture/gameScene/lan0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hongjie104/Star/d33d7418a46098e95c2866c8c352d7c7b45fe42c/assets/Texture/gameScene/lan0.png -------------------------------------------------------------------------------- /assets/Texture/gameScene/lan0.png.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.0", 3 | "uuid": "5a3a7d40-b393-480a-89d1-eb0d1394698c", 4 | "type": "sprite", 5 | "wrapMode": "clamp", 6 | "filterMode": "bilinear", 7 | "subMetas": { 8 | "lan0": { 9 | "ver": "1.0.3", 10 | "uuid": "f51a9f41-582b-43aa-8687-bb7be1a5c491", 11 | "rawTextureUuid": "5a3a7d40-b393-480a-89d1-eb0d1394698c", 12 | "trimType": "auto", 13 | "trimThreshold": 1, 14 | "rotated": false, 15 | "offsetX": 0, 16 | "offsetY": 0, 17 | "trimX": 0, 18 | "trimY": 0, 19 | "width": 72, 20 | "height": 72, 21 | "rawWidth": 72, 22 | "rawHeight": 72, 23 | "borderTop": 0, 24 | "borderBottom": 0, 25 | "borderLeft": 0, 26 | "borderRight": 0, 27 | "subMetas": {} 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /assets/Texture/gameScene/lan0.prefab: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "", 5 | "_objFlags": 0, 6 | "_rawFiles": null, 7 | "data": { 8 | "__id__": 1 9 | } 10 | }, 11 | { 12 | "__type__": "cc.Node", 13 | "_name": "lan0", 14 | "_objFlags": 0, 15 | "_parent": null, 16 | "_children": [], 17 | "_tag": -1, 18 | "_active": true, 19 | "_components": [ 20 | { 21 | "__id__": 2 22 | }, 23 | { 24 | "__id__": 3 25 | } 26 | ], 27 | "_prefab": { 28 | "__id__": 4 29 | }, 30 | "_id": "", 31 | "_opacity": 255, 32 | "_color": { 33 | "__type__": "cc.Color", 34 | "r": 255, 35 | "g": 255, 36 | "b": 255, 37 | "a": 255 38 | }, 39 | "_cascadeOpacityEnabled": true, 40 | "_anchorPoint": { 41 | "__type__": "cc.Vec2", 42 | "x": 0.5, 43 | "y": 0.5 44 | }, 45 | "_contentSize": { 46 | "__type__": "cc.Size", 47 | "width": 72, 48 | "height": 72 49 | }, 50 | "_rotationX": 0, 51 | "_rotationY": 0, 52 | "_scaleX": 1, 53 | "_scaleY": 1, 54 | "_position": { 55 | "__type__": "cc.Vec2", 56 | "x": 0, 57 | "y": 0 58 | }, 59 | "_skewX": 0, 60 | "_skewY": 0, 61 | "_localZOrder": 0, 62 | "_globalZOrder": 0, 63 | "_opacityModifyRGB": false, 64 | "groupIndex": 0 65 | }, 66 | { 67 | "__type__": "cc.Sprite", 68 | "_name": "", 69 | "_objFlags": 0, 70 | "node": { 71 | "__id__": 1 72 | }, 73 | "_enabled": true, 74 | "_spriteFrame": { 75 | "__uuid__": "f51a9f41-582b-43aa-8687-bb7be1a5c491" 76 | }, 77 | "_type": 0, 78 | "_sizeMode": 1, 79 | "_fillType": 0, 80 | "_fillCenter": { 81 | "__type__": "cc.Vec2", 82 | "x": 0, 83 | "y": 0 84 | }, 85 | "_fillStart": 0, 86 | "_fillRange": 0, 87 | "_isTrimmedMode": true, 88 | "_srcBlendFactor": 770, 89 | "_dstBlendFactor": 771, 90 | "_atlas": null 91 | }, 92 | { 93 | "__type__": "4cacfTyuFZEC5LJ4to4J3Ox", 94 | "_name": "", 95 | "_objFlags": 0, 96 | "node": { 97 | "__id__": 1 98 | }, 99 | "_enabled": true 100 | }, 101 | { 102 | "__type__": "cc.PrefabInfo", 103 | "root": { 104 | "__id__": 1 105 | }, 106 | "asset": { 107 | "__uuid__": "617930ff-6395-4c4b-8a00-986fdd4a7adb" 108 | }, 109 | "fileId": "8bb62kXkxJBsY0p4Yt0Qy/f", 110 | "sync": false 111 | } 112 | ] -------------------------------------------------------------------------------- /assets/Texture/gameScene/lan0.prefab.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.0", 3 | "uuid": "617930ff-6395-4c4b-8a00-986fdd4a7adb", 4 | "asyncLoadAssets": false, 5 | "subMetas": {} 6 | } -------------------------------------------------------------------------------- /assets/Texture/gameScene/lv0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hongjie104/Star/d33d7418a46098e95c2866c8c352d7c7b45fe42c/assets/Texture/gameScene/lv0.png -------------------------------------------------------------------------------- /assets/Texture/gameScene/lv0.png.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.0", 3 | "uuid": "2bfa5805-a6b3-483f-addf-b9fac270edc5", 4 | "type": "sprite", 5 | "wrapMode": "clamp", 6 | "filterMode": "bilinear", 7 | "subMetas": { 8 | "lv0": { 9 | "ver": "1.0.3", 10 | "uuid": "a0e50242-f8c8-4f53-984f-e35393da1dfe", 11 | "rawTextureUuid": "2bfa5805-a6b3-483f-addf-b9fac270edc5", 12 | "trimType": "auto", 13 | "trimThreshold": 1, 14 | "rotated": false, 15 | "offsetX": 0, 16 | "offsetY": 0, 17 | "trimX": 0, 18 | "trimY": 0, 19 | "width": 72, 20 | "height": 72, 21 | "rawWidth": 72, 22 | "rawHeight": 72, 23 | "borderTop": 0, 24 | "borderBottom": 0, 25 | "borderLeft": 0, 26 | "borderRight": 0, 27 | "subMetas": {} 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /assets/Texture/gameScene/lv0.prefab: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "", 5 | "_objFlags": 0, 6 | "_rawFiles": null, 7 | "data": { 8 | "__id__": 1 9 | } 10 | }, 11 | { 12 | "__type__": "cc.Node", 13 | "_name": "lv0", 14 | "_objFlags": 0, 15 | "_parent": null, 16 | "_children": [], 17 | "_tag": -1, 18 | "_active": true, 19 | "_components": [ 20 | { 21 | "__id__": 2 22 | }, 23 | { 24 | "__id__": 3 25 | } 26 | ], 27 | "_prefab": { 28 | "__id__": 4 29 | }, 30 | "_id": "", 31 | "_opacity": 255, 32 | "_color": { 33 | "__type__": "cc.Color", 34 | "r": 255, 35 | "g": 255, 36 | "b": 255, 37 | "a": 255 38 | }, 39 | "_cascadeOpacityEnabled": true, 40 | "_anchorPoint": { 41 | "__type__": "cc.Vec2", 42 | "x": 0.5, 43 | "y": 0.5 44 | }, 45 | "_contentSize": { 46 | "__type__": "cc.Size", 47 | "width": 72, 48 | "height": 72 49 | }, 50 | "_rotationX": 0, 51 | "_rotationY": 0, 52 | "_scaleX": 1, 53 | "_scaleY": 1, 54 | "_position": { 55 | "__type__": "cc.Vec2", 56 | "x": 0, 57 | "y": 0 58 | }, 59 | "_skewX": 0, 60 | "_skewY": 0, 61 | "_localZOrder": 0, 62 | "_globalZOrder": 0, 63 | "_opacityModifyRGB": false, 64 | "groupIndex": 0 65 | }, 66 | { 67 | "__type__": "cc.Sprite", 68 | "_name": "", 69 | "_objFlags": 0, 70 | "node": { 71 | "__id__": 1 72 | }, 73 | "_enabled": true, 74 | "_spriteFrame": { 75 | "__uuid__": "a0e50242-f8c8-4f53-984f-e35393da1dfe" 76 | }, 77 | "_type": 0, 78 | "_sizeMode": 1, 79 | "_fillType": 0, 80 | "_fillCenter": { 81 | "__type__": "cc.Vec2", 82 | "x": 0, 83 | "y": 0 84 | }, 85 | "_fillStart": 0, 86 | "_fillRange": 0, 87 | "_isTrimmedMode": true, 88 | "_srcBlendFactor": 770, 89 | "_dstBlendFactor": 771, 90 | "_atlas": null 91 | }, 92 | { 93 | "__type__": "4cacfTyuFZEC5LJ4to4J3Ox", 94 | "_name": "", 95 | "_objFlags": 0, 96 | "node": { 97 | "__id__": 1 98 | }, 99 | "_enabled": true 100 | }, 101 | { 102 | "__type__": "cc.PrefabInfo", 103 | "root": { 104 | "__id__": 1 105 | }, 106 | "asset": { 107 | "__uuid__": "1ee2703a-608b-4d8a-8ab4-77eab06312d8" 108 | }, 109 | "fileId": "09761dgzEFGgLmaxdzs7qMa", 110 | "sync": false 111 | } 112 | ] -------------------------------------------------------------------------------- /assets/Texture/gameScene/lv0.prefab.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.0", 3 | "uuid": "1ee2703a-608b-4d8a-8ab4-77eab06312d8", 4 | "asyncLoadAssets": false, 5 | "subMetas": {} 6 | } -------------------------------------------------------------------------------- /assets/Texture/gameScene/zi0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hongjie104/Star/d33d7418a46098e95c2866c8c352d7c7b45fe42c/assets/Texture/gameScene/zi0.png -------------------------------------------------------------------------------- /assets/Texture/gameScene/zi0.png.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.0", 3 | "uuid": "b45b8543-c3cd-44e6-8add-4d6618bbdc62", 4 | "type": "sprite", 5 | "wrapMode": "clamp", 6 | "filterMode": "bilinear", 7 | "subMetas": { 8 | "zi0": { 9 | "ver": "1.0.3", 10 | "uuid": "d61d339b-db32-4096-a4dd-f4f0f5c4f099", 11 | "rawTextureUuid": "b45b8543-c3cd-44e6-8add-4d6618bbdc62", 12 | "trimType": "auto", 13 | "trimThreshold": 1, 14 | "rotated": false, 15 | "offsetX": 0, 16 | "offsetY": 0, 17 | "trimX": 0, 18 | "trimY": 0, 19 | "width": 72, 20 | "height": 72, 21 | "rawWidth": 72, 22 | "rawHeight": 72, 23 | "borderTop": 0, 24 | "borderBottom": 0, 25 | "borderLeft": 0, 26 | "borderRight": 0, 27 | "subMetas": {} 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /assets/Texture/gameScene/zi0.prefab: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "__type__": "cc.Prefab", 4 | "_name": "", 5 | "_objFlags": 0, 6 | "_rawFiles": null, 7 | "data": { 8 | "__id__": 1 9 | } 10 | }, 11 | { 12 | "__type__": "cc.Node", 13 | "_name": "zi0", 14 | "_objFlags": 0, 15 | "_parent": null, 16 | "_children": [], 17 | "_tag": -1, 18 | "_active": true, 19 | "_components": [ 20 | { 21 | "__id__": 2 22 | }, 23 | { 24 | "__id__": 3 25 | } 26 | ], 27 | "_prefab": { 28 | "__id__": 4 29 | }, 30 | "_id": "", 31 | "_opacity": 255, 32 | "_color": { 33 | "__type__": "cc.Color", 34 | "r": 255, 35 | "g": 255, 36 | "b": 255, 37 | "a": 255 38 | }, 39 | "_cascadeOpacityEnabled": true, 40 | "_anchorPoint": { 41 | "__type__": "cc.Vec2", 42 | "x": 0.5, 43 | "y": 0.5 44 | }, 45 | "_contentSize": { 46 | "__type__": "cc.Size", 47 | "width": 72, 48 | "height": 72 49 | }, 50 | "_rotationX": 0, 51 | "_rotationY": 0, 52 | "_scaleX": 1, 53 | "_scaleY": 1, 54 | "_position": { 55 | "__type__": "cc.Vec2", 56 | "x": 0, 57 | "y": 0 58 | }, 59 | "_skewX": 0, 60 | "_skewY": 0, 61 | "_localZOrder": 0, 62 | "_globalZOrder": 0, 63 | "_opacityModifyRGB": false, 64 | "groupIndex": 0 65 | }, 66 | { 67 | "__type__": "cc.Sprite", 68 | "_name": "", 69 | "_objFlags": 0, 70 | "node": { 71 | "__id__": 1 72 | }, 73 | "_enabled": true, 74 | "_spriteFrame": { 75 | "__uuid__": "d61d339b-db32-4096-a4dd-f4f0f5c4f099" 76 | }, 77 | "_type": 0, 78 | "_sizeMode": 1, 79 | "_fillType": 0, 80 | "_fillCenter": { 81 | "__type__": "cc.Vec2", 82 | "x": 0, 83 | "y": 0 84 | }, 85 | "_fillStart": 0, 86 | "_fillRange": 0, 87 | "_isTrimmedMode": true, 88 | "_srcBlendFactor": 770, 89 | "_dstBlendFactor": 771, 90 | "_atlas": null 91 | }, 92 | { 93 | "__type__": "4cacfTyuFZEC5LJ4to4J3Ox", 94 | "_name": "", 95 | "_objFlags": 0, 96 | "node": { 97 | "__id__": 1 98 | }, 99 | "_enabled": true 100 | }, 101 | { 102 | "__type__": "cc.PrefabInfo", 103 | "root": { 104 | "__id__": 1 105 | }, 106 | "asset": { 107 | "__uuid__": "2108edc9-61a7-4d8c-b477-a629cdd900da" 108 | }, 109 | "fileId": "8f28bAJOjpL/KMKtdamf3TH", 110 | "sync": false 111 | } 112 | ] -------------------------------------------------------------------------------- /assets/Texture/gameScene/zi0.prefab.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.0", 3 | "uuid": "2108edc9-61a7-4d8c-b477-a629cdd900da", 4 | "asyncLoadAssets": false, 5 | "subMetas": {} 6 | } -------------------------------------------------------------------------------- /assets/Texture/mainScene.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.1", 3 | "uuid": "112ddafd-8cbf-4086-9406-279fdb26f780", 4 | "isGroup": false, 5 | "subMetas": {} 6 | } -------------------------------------------------------------------------------- /assets/Texture/mainScene/bolibeijing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hongjie104/Star/d33d7418a46098e95c2866c8c352d7c7b45fe42c/assets/Texture/mainScene/bolibeijing.png -------------------------------------------------------------------------------- /assets/Texture/mainScene/bolibeijing.png.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.0", 3 | "uuid": "54092e03-df87-4761-85db-0fd1b7f96739", 4 | "type": "sprite", 5 | "wrapMode": "clamp", 6 | "filterMode": "bilinear", 7 | "subMetas": { 8 | "bolibeijing": { 9 | "ver": "1.0.3", 10 | "uuid": "26be7fe5-e645-448c-9b61-03d71bc06e91", 11 | "rawTextureUuid": "54092e03-df87-4761-85db-0fd1b7f96739", 12 | "trimType": "auto", 13 | "trimThreshold": 1, 14 | "rotated": false, 15 | "offsetX": 0, 16 | "offsetY": 0, 17 | "trimX": 0, 18 | "trimY": 0, 19 | "width": 833, 20 | "height": 857, 21 | "rawWidth": 833, 22 | "rawHeight": 857, 23 | "borderTop": 0, 24 | "borderBottom": 0, 25 | "borderLeft": 0, 26 | "borderRight": 0, 27 | "subMetas": {} 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /assets/Texture/mainScene/dabaoxiang.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hongjie104/Star/d33d7418a46098e95c2866c8c352d7c7b45fe42c/assets/Texture/mainScene/dabaoxiang.png -------------------------------------------------------------------------------- /assets/Texture/mainScene/dabaoxiang.png.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.0", 3 | "uuid": "25a62e4b-08d9-43b7-8910-f43372630b57", 4 | "type": "sprite", 5 | "wrapMode": "clamp", 6 | "filterMode": "bilinear", 7 | "subMetas": { 8 | "dabaoxiang": { 9 | "ver": "1.0.3", 10 | "uuid": "c29ffb0f-600e-4818-8afe-56ecee46184d", 11 | "rawTextureUuid": "25a62e4b-08d9-43b7-8910-f43372630b57", 12 | "trimType": "auto", 13 | "trimThreshold": 1, 14 | "rotated": false, 15 | "offsetX": 0, 16 | "offsetY": 0, 17 | "trimX": 0, 18 | "trimY": 0, 19 | "width": 257, 20 | "height": 96, 21 | "rawWidth": 257, 22 | "rawHeight": 96, 23 | "borderTop": 0, 24 | "borderBottom": 0, 25 | "borderLeft": 0, 26 | "borderRight": 0, 27 | "subMetas": {} 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /assets/Texture/mainScene/dabaoxiang1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hongjie104/Star/d33d7418a46098e95c2866c8c352d7c7b45fe42c/assets/Texture/mainScene/dabaoxiang1.png -------------------------------------------------------------------------------- /assets/Texture/mainScene/dabaoxiang1.png.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.0", 3 | "uuid": "8bc69e87-5b74-4f90-af06-709c33773382", 4 | "type": "sprite", 5 | "wrapMode": "clamp", 6 | "filterMode": "bilinear", 7 | "subMetas": { 8 | "dabaoxiang1": { 9 | "ver": "1.0.3", 10 | "uuid": "608e43b2-c0c3-49a5-8a28-d25c4be6ef5b", 11 | "rawTextureUuid": "8bc69e87-5b74-4f90-af06-709c33773382", 12 | "trimType": "auto", 13 | "trimThreshold": 1, 14 | "rotated": false, 15 | "offsetX": 0, 16 | "offsetY": 0, 17 | "trimX": 0, 18 | "trimY": 0, 19 | "width": 256, 20 | "height": 94, 21 | "rawWidth": 256, 22 | "rawHeight": 94, 23 | "borderTop": 0, 24 | "borderBottom": 0, 25 | "borderLeft": 0, 26 | "borderRight": 0, 27 | "subMetas": {} 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /assets/Texture/mainScene/duihuan11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hongjie104/Star/d33d7418a46098e95c2866c8c352d7c7b45fe42c/assets/Texture/mainScene/duihuan11.png -------------------------------------------------------------------------------- /assets/Texture/mainScene/duihuan11.png.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.0", 3 | "uuid": "2c1e3cb0-aade-43e1-8f65-04eef3ee8b9c", 4 | "type": "sprite", 5 | "wrapMode": "clamp", 6 | "filterMode": "bilinear", 7 | "subMetas": { 8 | "duihuan11": { 9 | "ver": "1.0.3", 10 | "uuid": "a2d91870-0070-4f6e-9d18-80924228ebb6", 11 | "rawTextureUuid": "2c1e3cb0-aade-43e1-8f65-04eef3ee8b9c", 12 | "trimType": "auto", 13 | "trimThreshold": 1, 14 | "rotated": false, 15 | "offsetX": 0, 16 | "offsetY": 0, 17 | "trimX": 0, 18 | "trimY": 0, 19 | "width": 189, 20 | "height": 173, 21 | "rawWidth": 189, 22 | "rawHeight": 173, 23 | "borderTop": 0, 24 | "borderBottom": 0, 25 | "borderLeft": 0, 26 | "borderRight": 0, 27 | "subMetas": {} 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /assets/Texture/mainScene/huodong.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hongjie104/Star/d33d7418a46098e95c2866c8c352d7c7b45fe42c/assets/Texture/mainScene/huodong.png -------------------------------------------------------------------------------- /assets/Texture/mainScene/huodong.png.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.0", 3 | "uuid": "e28b59d0-1db3-4996-98c5-6bfb08e36e99", 4 | "type": "sprite", 5 | "wrapMode": "clamp", 6 | "filterMode": "bilinear", 7 | "subMetas": { 8 | "huodong": { 9 | "ver": "1.0.3", 10 | "uuid": "85c90e7a-43de-4569-a056-e4becedbd2a9", 11 | "rawTextureUuid": "e28b59d0-1db3-4996-98c5-6bfb08e36e99", 12 | "trimType": "auto", 13 | "trimThreshold": 1, 14 | "rotated": false, 15 | "offsetX": 0, 16 | "offsetY": 0, 17 | "trimX": 0, 18 | "trimY": 0, 19 | "width": 189, 20 | "height": 173, 21 | "rawWidth": 189, 22 | "rawHeight": 173, 23 | "borderTop": 0, 24 | "borderBottom": 0, 25 | "borderLeft": 0, 26 | "borderRight": 0, 27 | "subMetas": {} 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /assets/Texture/mainScene/rank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hongjie104/Star/d33d7418a46098e95c2866c8c352d7c7b45fe42c/assets/Texture/mainScene/rank.png -------------------------------------------------------------------------------- /assets/Texture/mainScene/rank.png.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.0", 3 | "uuid": "f220bf9a-429c-48d2-9d2f-d8acbadddef6", 4 | "type": "sprite", 5 | "wrapMode": "clamp", 6 | "filterMode": "bilinear", 7 | "subMetas": { 8 | "rank": { 9 | "ver": "1.0.3", 10 | "uuid": "664a34f4-4fed-46d2-8f58-f85033064847", 11 | "rawTextureUuid": "f220bf9a-429c-48d2-9d2f-d8acbadddef6", 12 | "trimType": "auto", 13 | "trimThreshold": 1, 14 | "rotated": false, 15 | "offsetX": 0, 16 | "offsetY": 0, 17 | "trimX": 0, 18 | "trimY": 0, 19 | "width": 189, 20 | "height": 173, 21 | "rawWidth": 189, 22 | "rawHeight": 173, 23 | "borderTop": 0, 24 | "borderBottom": 0, 25 | "borderLeft": 0, 26 | "borderRight": 0, 27 | "subMetas": {} 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /assets/Texture/mainScene/shoop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hongjie104/Star/d33d7418a46098e95c2866c8c352d7c7b45fe42c/assets/Texture/mainScene/shoop.png -------------------------------------------------------------------------------- /assets/Texture/mainScene/shoop.png.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.0", 3 | "uuid": "4597b741-9e02-4f2d-8510-e8470b558280", 4 | "type": "sprite", 5 | "wrapMode": "clamp", 6 | "filterMode": "bilinear", 7 | "subMetas": { 8 | "shoop": { 9 | "ver": "1.0.3", 10 | "uuid": "58605151-f614-40c7-81f1-0f7d3e18adcf", 11 | "rawTextureUuid": "4597b741-9e02-4f2d-8510-e8470b558280", 12 | "trimType": "auto", 13 | "trimThreshold": 1, 14 | "rotated": false, 15 | "offsetX": 0, 16 | "offsetY": 0, 17 | "trimX": 0, 18 | "trimY": 0, 19 | "width": 189, 20 | "height": 173, 21 | "rawWidth": 189, 22 | "rawHeight": 173, 23 | "borderTop": 0, 24 | "borderBottom": 0, 25 | "borderLeft": 0, 26 | "borderRight": 0, 27 | "subMetas": {} 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /assets/Texture/mainScene/sprite-14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hongjie104/Star/d33d7418a46098e95c2866c8c352d7c7b45fe42c/assets/Texture/mainScene/sprite-14.png -------------------------------------------------------------------------------- /assets/Texture/mainScene/sprite-14.png.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.0", 3 | "uuid": "bde17bba-9ad5-4c93-b3fd-05d65ee86ca6", 4 | "type": "sprite", 5 | "wrapMode": "clamp", 6 | "filterMode": "bilinear", 7 | "subMetas": { 8 | "sprite-14": { 9 | "ver": "1.0.3", 10 | "uuid": "04b274f4-b0cd-4584-8751-541a931bfa93", 11 | "rawTextureUuid": "bde17bba-9ad5-4c93-b3fd-05d65ee86ca6", 12 | "trimType": "auto", 13 | "trimThreshold": 1, 14 | "rotated": false, 15 | "offsetX": 0, 16 | "offsetY": 0, 17 | "trimX": 0, 18 | "trimY": 0, 19 | "width": 232, 20 | "height": 59, 21 | "rawWidth": 232, 22 | "rawHeight": 59, 23 | "borderTop": 0, 24 | "borderBottom": 0, 25 | "borderLeft": 0, 26 | "borderRight": 0, 27 | "subMetas": {} 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /assets/Texture/mainScene/vip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hongjie104/Star/d33d7418a46098e95c2866c8c352d7c7b45fe42c/assets/Texture/mainScene/vip.png -------------------------------------------------------------------------------- /assets/Texture/mainScene/vip.png.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.0", 3 | "uuid": "807070b0-9d50-4d24-8e92-6061be2fdad6", 4 | "type": "sprite", 5 | "wrapMode": "clamp", 6 | "filterMode": "bilinear", 7 | "subMetas": { 8 | "vip": { 9 | "ver": "1.0.3", 10 | "uuid": "699ee825-1c68-47a9-8fc8-108203000947", 11 | "rawTextureUuid": "807070b0-9d50-4d24-8e92-6061be2fdad6", 12 | "trimType": "auto", 13 | "trimThreshold": 1, 14 | "rotated": false, 15 | "offsetX": 0, 16 | "offsetY": 0, 17 | "trimX": 0, 18 | "trimY": 0, 19 | "width": 178, 20 | "height": 81, 21 | "rawWidth": 178, 22 | "rawHeight": 81, 23 | "borderTop": 0, 24 | "borderBottom": 0, 25 | "borderLeft": 0, 26 | "borderRight": 0, 27 | "subMetas": {} 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /assets/Texture/mainScene/vip1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hongjie104/Star/d33d7418a46098e95c2866c8c352d7c7b45fe42c/assets/Texture/mainScene/vip1.png -------------------------------------------------------------------------------- /assets/Texture/mainScene/vip1.png.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.0", 3 | "uuid": "eb9a05a6-e040-49e7-a8ec-c2b5654542d6", 4 | "type": "sprite", 5 | "wrapMode": "clamp", 6 | "filterMode": "bilinear", 7 | "subMetas": { 8 | "vip1": { 9 | "ver": "1.0.3", 10 | "uuid": "1d4d0a84-a1f6-47d4-a851-07e03e02fa24", 11 | "rawTextureUuid": "eb9a05a6-e040-49e7-a8ec-c2b5654542d6", 12 | "trimType": "auto", 13 | "trimThreshold": 1, 14 | "rotated": false, 15 | "offsetX": 0, 16 | "offsetY": 0, 17 | "trimX": 0, 18 | "trimY": 0, 19 | "width": 178, 20 | "height": 95, 21 | "rawWidth": 178, 22 | "rawHeight": 95, 23 | "borderTop": 0, 24 | "borderBottom": 0, 25 | "borderLeft": 0, 26 | "borderRight": 0, 27 | "subMetas": {} 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /assets/Texture/singleColor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hongjie104/Star/d33d7418a46098e95c2866c8c352d7c7b45fe42c/assets/Texture/singleColor.png -------------------------------------------------------------------------------- /assets/Texture/singleColor.png.meta: -------------------------------------------------------------------------------- 1 | { 2 | "ver": "1.0.0", 3 | "uuid": "a8027877-d8d6-4645-97a0-52d4a0123dba", 4 | "type": "sprite", 5 | "wrapMode": "clamp", 6 | "filterMode": "bilinear", 7 | "subMetas": { 8 | "singleColor": { 9 | "ver": "1.0.3", 10 | "uuid": "410fb916-8721-4663-bab8-34397391ace7", 11 | "rawTextureUuid": "a8027877-d8d6-4645-97a0-52d4a0123dba", 12 | "trimType": "auto", 13 | "trimThreshold": 1, 14 | "rotated": false, 15 | "offsetX": 0, 16 | "offsetY": 0, 17 | "trimX": 0, 18 | "trimY": 0, 19 | "width": 2, 20 | "height": 2, 21 | "rawWidth": 2, 22 | "rawHeight": 2, 23 | "borderTop": 0, 24 | "borderBottom": 0, 25 | "borderLeft": 0, 26 | "borderRight": 0, 27 | "subMetas": {} 28 | } 29 | } 30 | } -------------------------------------------------------------------------------- /jsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es6", 4 | "module": "commonjs", 5 | "experimentalDecorators": true 6 | }, 7 | "exclude": [ 8 | "node_modules", 9 | ".vscode", 10 | "library", 11 | "local", 12 | "settings", 13 | "temp" 14 | ] 15 | } -------------------------------------------------------------------------------- /project.json: -------------------------------------------------------------------------------- 1 | { 2 | "engine": "cocos2d-html5", 3 | "packages": "packages" 4 | } -------------------------------------------------------------------------------- /settings/builder.json: -------------------------------------------------------------------------------- 1 | { 2 | "appKey": "", 3 | "appSecret": "", 4 | "excludeScenes": [], 5 | "includeAnySDK": false, 6 | "includeSdk": [ 7 | "anysdk" 8 | ], 9 | "inlineSpriteFrames": true, 10 | "inlineSpriteFrames_native": true, 11 | "mergeStartScene": false, 12 | "oauthLoginServer": "", 13 | "optimizeHotUpdate": false, 14 | "orientation": { 15 | "landscapeLeft": false, 16 | "landscapeRight": false, 17 | "portrait": true, 18 | "upsideDown": false 19 | }, 20 | "packageName": "org.hongjie.star", 21 | "privateKey": "", 22 | "renderMode": "0", 23 | "startScene": "2d2f792f-a40c-49bb-a189-ed176a246e49", 24 | "title": "star", 25 | "webOrientation": "auto" 26 | } -------------------------------------------------------------------------------- /settings/builder.panel.json: -------------------------------------------------------------------------------- 1 | { 2 | "excludeScenes": [], 3 | "packageName": "org.cocos2d.helloworld", 4 | "platform": "web-mobile", 5 | "startScene": "2d2f792f-a40c-49bb-a189-ed176a246e49", 6 | "title": "HelloWorld" 7 | } -------------------------------------------------------------------------------- /settings/project.json: -------------------------------------------------------------------------------- 1 | { 2 | "collision-matrix": [ 3 | [ 4 | true 5 | ] 6 | ], 7 | "design-resolution-height": 960, 8 | "design-resolution-width": 640, 9 | "excluded-modules": [], 10 | "fit-height": false, 11 | "fit-width": true, 12 | "group-list": [ 13 | "default" 14 | ], 15 | "simulator-orientation": false, 16 | "simulator-resolution": { 17 | "height": 640, 18 | "width": 960 19 | }, 20 | "start-scene": "current", 21 | "use-customize-simulator": false, 22 | "use-project-simulator-setting": false 23 | } -------------------------------------------------------------------------------- /template-banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hongjie104/Star/d33d7418a46098e95c2866c8c352d7c7b45fe42c/template-banner.png -------------------------------------------------------------------------------- /template.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "TEMPLATES.helloworld-ts.name", 3 | "desc": "TEMPLATES.helloworld-ts.desc", 4 | "banner": "template-banner.png" 5 | } -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "lib": [ "dom", "es5", "es2015.promise" ], 5 | "target": "es5", 6 | "experimentalDecorators": true 7 | }, 8 | "exclude": [ 9 | "node_modules" 10 | ] 11 | } --------------------------------------------------------------------------------