fix sceneExplore problem
Showing
36 changed files
with
4863 additions
and
1163 deletions
| ... | @@ -41,8 +41,8 @@ | ... | @@ -41,8 +41,8 @@ |
| 41 | }, | 41 | }, |
| 42 | "_scale": { | 42 | "_scale": { |
| 43 | "__type__": "cc.Vec3", | 43 | "__type__": "cc.Vec3", |
| 44 | "x": 0.1, | 44 | "x": 0.3763671875, |
| 45 | "y": 0.1, | 45 | "y": 0.3763671875, |
| 46 | "z": 1 | 46 | "z": 1 |
| 47 | }, | 47 | }, |
| 48 | "_quat": { | 48 | "_quat": { |
| ... | @@ -72,16 +72,34 @@ | ... | @@ -72,16 +72,34 @@ |
| 72 | }, | 72 | }, |
| 73 | { | 73 | { |
| 74 | "__id__": 8 | 74 | "__id__": 8 |
| 75 | }, | ||
| 76 | { | ||
| 77 | "__id__": 18 | ||
| 78 | }, | ||
| 79 | { | ||
| 80 | "__id__": 20 | ||
| 81 | }, | ||
| 82 | { | ||
| 83 | "__id__": 22 | ||
| 84 | }, | ||
| 85 | { | ||
| 86 | "__id__": 24 | ||
| 87 | }, | ||
| 88 | { | ||
| 89 | "__id__": 43 | ||
| 90 | }, | ||
| 91 | { | ||
| 92 | "__id__": 47 | ||
| 75 | } | 93 | } |
| 76 | ], | 94 | ], |
| 77 | "_active": true, | 95 | "_active": true, |
| 78 | "_level": 0, | 96 | "_level": 0, |
| 79 | "_components": [ | 97 | "_components": [ |
| 80 | { | 98 | { |
| 81 | "__id__": 10 | 99 | "__id__": 49 |
| 82 | }, | 100 | }, |
| 83 | { | 101 | { |
| 84 | "__id__": 11 | 102 | "__id__": 50 |
| 85 | } | 103 | } |
| 86 | ], | 104 | ], |
| 87 | "_prefab": null, | 105 | "_prefab": null, |
| ... | @@ -95,8 +113,8 @@ | ... | @@ -95,8 +113,8 @@ |
| 95 | }, | 113 | }, |
| 96 | "_contentSize": { | 114 | "_contentSize": { |
| 97 | "__type__": "cc.Size", | 115 | "__type__": "cc.Size", |
| 98 | "width": 960, | 116 | "width": 1280, |
| 99 | "height": 640 | 117 | "height": 720 |
| 100 | }, | 118 | }, |
| 101 | "_anchorPoint": { | 119 | "_anchorPoint": { |
| 102 | "__type__": "cc.Vec2", | 120 | "__type__": "cc.Vec2", |
| ... | @@ -105,8 +123,8 @@ | ... | @@ -105,8 +123,8 @@ |
| 105 | }, | 123 | }, |
| 106 | "_position": { | 124 | "_position": { |
| 107 | "__type__": "cc.Vec3", | 125 | "__type__": "cc.Vec3", |
| 108 | "x": 480, | 126 | "x": 640, |
| 109 | "y": 320, | 127 | "y": 360, |
| 110 | "z": 0 | 128 | "z": 0 |
| 111 | }, | 129 | }, |
| 112 | "_scale": { | 130 | "_scale": { |
| ... | @@ -316,22 +334,155 @@ | ... | @@ -316,22 +334,155 @@ |
| 316 | "__uuid__": "e0232f2e-c019-4cec-ac64-1cdf42ad3792" | 334 | "__uuid__": "e0232f2e-c019-4cec-ac64-1cdf42ad3792" |
| 317 | } | 335 | } |
| 318 | ], | 336 | ], |
| 319 | "playOnLoad": true, | 337 | "playOnLoad": false, |
| 320 | "_id": "c6mMiohwNG6pU+M0q1YOzM" | 338 | "_id": "c6mMiohwNG6pU+M0q1YOzM" |
| 321 | }, | 339 | }, |
| 322 | { | 340 | { |
| 323 | "__type__": "cc.Node", | 341 | "__type__": "cc.Node", |
| 324 | "_name": "Hero", | 342 | "_name": "Progress", |
| 325 | "_objFlags": 0, | 343 | "_objFlags": 0, |
| 326 | "_parent": { | 344 | "_parent": { |
| 327 | "__id__": 2 | 345 | "__id__": 2 |
| 328 | }, | 346 | }, |
| 329 | "_children": [], | 347 | "_children": [ |
| 348 | { | ||
| 349 | "__id__": 9 | ||
| 350 | }, | ||
| 351 | { | ||
| 352 | "__id__": 14 | ||
| 353 | }, | ||
| 354 | { | ||
| 355 | "__id__": 16 | ||
| 356 | } | ||
| 357 | ], | ||
| 330 | "_active": true, | 358 | "_active": true, |
| 331 | "_level": 1, | 359 | "_level": 1, |
| 360 | "_components": [], | ||
| 361 | "_prefab": null, | ||
| 362 | "_opacity": 255, | ||
| 363 | "_color": { | ||
| 364 | "__type__": "cc.Color", | ||
| 365 | "r": 255, | ||
| 366 | "g": 255, | ||
| 367 | "b": 255, | ||
| 368 | "a": 255 | ||
| 369 | }, | ||
| 370 | "_contentSize": { | ||
| 371 | "__type__": "cc.Size", | ||
| 372 | "width": 415, | ||
| 373 | "height": 40 | ||
| 374 | }, | ||
| 375 | "_anchorPoint": { | ||
| 376 | "__type__": "cc.Vec2", | ||
| 377 | "x": 0.5, | ||
| 378 | "y": 0.5 | ||
| 379 | }, | ||
| 380 | "_position": { | ||
| 381 | "__type__": "cc.Vec3", | ||
| 382 | "x": 0, | ||
| 383 | "y": 280, | ||
| 384 | "z": 0 | ||
| 385 | }, | ||
| 386 | "_scale": { | ||
| 387 | "__type__": "cc.Vec3", | ||
| 388 | "x": 0.6, | ||
| 389 | "y": 0.6, | ||
| 390 | "z": 1 | ||
| 391 | }, | ||
| 392 | "_rotationX": 0, | ||
| 393 | "_rotationY": 0, | ||
| 394 | "_quat": { | ||
| 395 | "__type__": "cc.Quat", | ||
| 396 | "x": 0, | ||
| 397 | "y": 0, | ||
| 398 | "z": 0, | ||
| 399 | "w": 1 | ||
| 400 | }, | ||
| 401 | "_skewX": 0, | ||
| 402 | "_skewY": 0, | ||
| 403 | "groupIndex": 0, | ||
| 404 | "_id": "2eAATV56JP56vIk+zlekuq" | ||
| 405 | }, | ||
| 406 | { | ||
| 407 | "__type__": "cc.Node", | ||
| 408 | "_name": "scrollViewBg", | ||
| 409 | "_objFlags": 0, | ||
| 410 | "_parent": { | ||
| 411 | "__id__": 8 | ||
| 412 | }, | ||
| 413 | "_children": [ | ||
| 414 | { | ||
| 415 | "__id__": 10 | ||
| 416 | } | ||
| 417 | ], | ||
| 418 | "_active": true, | ||
| 419 | "_level": 2, | ||
| 332 | "_components": [ | 420 | "_components": [ |
| 333 | { | 421 | { |
| 422 | "__id__": 13 | ||
| 423 | } | ||
| 424 | ], | ||
| 425 | "_prefab": null, | ||
| 426 | "_opacity": 255, | ||
| 427 | "_color": { | ||
| 428 | "__type__": "cc.Color", | ||
| 429 | "r": 255, | ||
| 430 | "g": 255, | ||
| 431 | "b": 255, | ||
| 432 | "a": 255 | ||
| 433 | }, | ||
| 434 | "_contentSize": { | ||
| 435 | "__type__": "cc.Size", | ||
| 436 | "width": 800, | ||
| 437 | "height": 60 | ||
| 438 | }, | ||
| 439 | "_anchorPoint": { | ||
| 440 | "__type__": "cc.Vec2", | ||
| 441 | "x": 0.5, | ||
| 442 | "y": 0.5 | ||
| 443 | }, | ||
| 444 | "_position": { | ||
| 445 | "__type__": "cc.Vec3", | ||
| 446 | "x": 0, | ||
| 447 | "y": 0, | ||
| 448 | "z": 0 | ||
| 449 | }, | ||
| 450 | "_scale": { | ||
| 451 | "__type__": "cc.Vec3", | ||
| 452 | "x": 1, | ||
| 453 | "y": 1, | ||
| 454 | "z": 1 | ||
| 455 | }, | ||
| 456 | "_rotationX": 0, | ||
| 457 | "_rotationY": 0, | ||
| 458 | "_quat": { | ||
| 459 | "__type__": "cc.Quat", | ||
| 460 | "x": 0, | ||
| 461 | "y": 0, | ||
| 462 | "z": 0, | ||
| 463 | "w": 1 | ||
| 464 | }, | ||
| 465 | "_skewX": 0, | ||
| 466 | "_skewY": 0, | ||
| 467 | "groupIndex": 0, | ||
| 468 | "_id": "59YkTwsl1KpKQhyE7R6uK/" | ||
| 469 | }, | ||
| 470 | { | ||
| 471 | "__type__": "cc.Node", | ||
| 472 | "_name": "scrollViewBar", | ||
| 473 | "_objFlags": 0, | ||
| 474 | "_parent": { | ||
| 334 | "__id__": 9 | 475 | "__id__": 9 |
| 476 | }, | ||
| 477 | "_children": [], | ||
| 478 | "_active": true, | ||
| 479 | "_level": 6, | ||
| 480 | "_components": [ | ||
| 481 | { | ||
| 482 | "__id__": 11 | ||
| 483 | }, | ||
| 484 | { | ||
| 485 | "__id__": 12 | ||
| 335 | } | 486 | } |
| 336 | ], | 487 | ], |
| 337 | "_prefab": null, | 488 | "_prefab": null, |
| ... | @@ -346,17 +497,17 @@ | ... | @@ -346,17 +497,17 @@ |
| 346 | "_contentSize": { | 497 | "_contentSize": { |
| 347 | "__type__": "cc.Size", | 498 | "__type__": "cc.Size", |
| 348 | "width": 0, | 499 | "width": 0, |
| 349 | "height": 0 | 500 | "height": 60 |
| 350 | }, | 501 | }, |
| 351 | "_anchorPoint": { | 502 | "_anchorPoint": { |
| 352 | "__type__": "cc.Vec2", | 503 | "__type__": "cc.Vec2", |
| 353 | "x": 0.5, | 504 | "x": 0, |
| 354 | "y": 0.5 | 505 | "y": 0.5 |
| 355 | }, | 506 | }, |
| 356 | "_position": { | 507 | "_position": { |
| 357 | "__type__": "cc.Vec3", | 508 | "__type__": "cc.Vec3", |
| 358 | "x": -229, | 509 | "x": -400, |
| 359 | "y": -220, | 510 | "y": 0, |
| 360 | "z": 0 | 511 | "z": 0 |
| 361 | }, | 512 | }, |
| 362 | "_scale": { | 513 | "_scale": { |
| ... | @@ -377,84 +528,1700 @@ | ... | @@ -377,84 +528,1700 @@ |
| 377 | "_skewX": 0, | 528 | "_skewX": 0, |
| 378 | "_skewY": 0, | 529 | "_skewY": 0, |
| 379 | "groupIndex": 0, | 530 | "groupIndex": 0, |
| 380 | "_id": "8cq0Mn63pN2YDLO5ii37LQ" | 531 | "_id": "45kW/w/kNAraG18mHtlBos" |
| 381 | }, | 532 | }, |
| 382 | { | 533 | { |
| 383 | "__type__": "dragonBones.ArmatureDisplay", | 534 | "__type__": "cc.Sprite", |
| 384 | "_name": "", | 535 | "_name": "", |
| 385 | "_objFlags": 0, | 536 | "_objFlags": 0, |
| 386 | "node": { | 537 | "node": { |
| 387 | "__id__": 8 | 538 | "__id__": 10 |
| 388 | }, | 539 | }, |
| 389 | "_enabled": true, | 540 | "_enabled": true, |
| 390 | "_armatureName": "armatureName", | 541 | "_srcBlendFactor": 770, |
| 391 | "_animationName": "Animation1", | 542 | "_dstBlendFactor": 771, |
| 392 | "_preCacheMode": 0, | 543 | "_spriteFrame": { |
| 393 | "_cacheMode": 0, | 544 | "__uuid__": "786069cb-0eaf-4cb1-9a45-38df6c47c36d" |
| 394 | "playTimes": -1, | ||
| 395 | "premultipliedAlpha": false, | ||
| 396 | "_armatureKey": "e3ad9b78-ae63-4929-81c2-5781ca616f08#cdd960ea-e3ab-4991-a37d-3f8f88243de7", | ||
| 397 | "_accTime": 0, | ||
| 398 | "_playCount": 0, | ||
| 399 | "_frameCache": null, | ||
| 400 | "_curFrame": null, | ||
| 401 | "_playing": false, | ||
| 402 | "_armatureCache": null, | ||
| 403 | "_N$dragonAsset": { | ||
| 404 | "__uuid__": "e3ad9b78-ae63-4929-81c2-5781ca616f08" | ||
| 405 | }, | 545 | }, |
| 406 | "_N$dragonAtlasAsset": { | 546 | "_type": 1, |
| 407 | "__uuid__": "cdd960ea-e3ab-4991-a37d-3f8f88243de7" | 547 | "_sizeMode": 0, |
| 548 | "_fillType": 0, | ||
| 549 | "_fillCenter": { | ||
| 550 | "__type__": "cc.Vec2", | ||
| 551 | "x": 0, | ||
| 552 | "y": 0 | ||
| 408 | }, | 553 | }, |
| 409 | "_N$_defaultArmatureIndex": 0, | 554 | "_fillStart": 0, |
| 410 | "_N$_animationIndex": 1, | 555 | "_fillRange": 0, |
| 411 | "_N$_defaultCacheMode": 0, | 556 | "_isTrimmedMode": true, |
| 412 | "_N$timeScale": 1, | 557 | "_state": 0, |
| 413 | "_N$debugBones": false, | 558 | "_atlas": null, |
| 414 | "_N$enableBatch": false, | 559 | "_id": "2bWRYWIJdMBY+wH3nRpcHE" |
| 415 | "_id": "69fvvqS0tJHpuXMcwVczRW" | ||
| 416 | }, | 560 | }, |
| 417 | { | 561 | { |
| 418 | "__type__": "cc.Canvas", | 562 | "__type__": "cc.Widget", |
| 419 | "_name": "", | 563 | "_name": "", |
| 420 | "_objFlags": 0, | 564 | "_objFlags": 0, |
| 421 | "node": { | 565 | "node": { |
| 422 | "__id__": 2 | 566 | "__id__": 10 |
| 423 | }, | 567 | }, |
| 424 | "_enabled": true, | 568 | "_enabled": true, |
| 425 | "_designResolution": { | 569 | "alignMode": 2, |
| 426 | "__type__": "cc.Size", | 570 | "_target": null, |
| 427 | "width": 960, | 571 | "_alignFlags": 8, |
| 428 | "height": 640 | 572 | "_left": 0, |
| 429 | }, | 573 | "_right": 0, |
| 430 | "_fitWidth": false, | 574 | "_top": 0, |
| 431 | "_fitHeight": true, | 575 | "_bottom": 0, |
| 432 | "_id": "72z44+175OfaMOhtsD1Huo" | 576 | "_verticalCenter": 0, |
| 577 | "_horizontalCenter": 0, | ||
| 578 | "_isAbsLeft": true, | ||
| 579 | "_isAbsRight": true, | ||
| 580 | "_isAbsTop": true, | ||
| 581 | "_isAbsBottom": true, | ||
| 582 | "_isAbsHorizontalCenter": true, | ||
| 583 | "_isAbsVerticalCenter": true, | ||
| 584 | "_originalWidth": 0, | ||
| 585 | "_originalHeight": 0, | ||
| 586 | "_id": "f8sYgmM9FOOKoOmw4wJpSI" | ||
| 433 | }, | 587 | }, |
| 434 | { | 588 | { |
| 435 | "__type__": "46717GP6RtOGobAYIAnkxCA", | 589 | "__type__": "cc.Sprite", |
| 436 | "_name": "", | 590 | "_name": "", |
| 437 | "_objFlags": 0, | 591 | "_objFlags": 0, |
| 438 | "node": { | 592 | "node": { |
| 439 | "__id__": 2 | 593 | "__id__": 9 |
| 440 | }, | 594 | }, |
| 441 | "_enabled": true, | 595 | "_enabled": true, |
| 442 | "_cLog": null, | 596 | "_srcBlendFactor": 770, |
| 443 | "_cApplication": null, | 597 | "_dstBlendFactor": 771, |
| 444 | "_cFocus": null, | 598 | "_spriteFrame": { |
| 445 | "_aFocusTargets": [], | 599 | "__uuid__": "f8a583a9-3227-402e-badd-2c187cd3c0ae" |
| 446 | "_fiCurrentFocus": null, | 600 | }, |
| 447 | "_iSceneStatus": 0, | 601 | "_type": 0, |
| 448 | "_fFocusScaleFactor": 1.06, | 602 | "_sizeMode": 0, |
| 449 | "_bIsFocusInit": false, | 603 | "_fillType": 0, |
| 450 | "_oSceneContext": null, | 604 | "_fillCenter": { |
| 451 | "_oNextSceneParameter": null, | 605 | "__type__": "cc.Vec2", |
| 452 | "_compPlayer": null, | 606 | "x": 0, |
| 453 | "_aTouchContext": [], | 607 | "y": 0 |
| 454 | "_defaultBackScene": null, | 608 | }, |
| 455 | "_oFocusScaleFactorInfo": null, | 609 | "_fillStart": 0, |
| 456 | "holdClick": false, | 610 | "_fillRange": 0, |
| 457 | "_bShowExitBox": false, | 611 | "_isTrimmedMode": true, |
| 612 | "_state": 0, | ||
| 613 | "_atlas": null, | ||
| 614 | "_id": "32Niy7XUdAM6pQ8aPBgqod" | ||
| 615 | }, | ||
| 616 | { | ||
| 617 | "__type__": "cc.Node", | ||
| 618 | "_name": "New Label", | ||
| 619 | "_objFlags": 0, | ||
| 620 | "_parent": { | ||
| 621 | "__id__": 8 | ||
| 622 | }, | ||
| 623 | "_children": [], | ||
| 624 | "_active": true, | ||
| 625 | "_level": 2, | ||
| 626 | "_components": [ | ||
| 627 | { | ||
| 628 | "__id__": 15 | ||
| 629 | } | ||
| 630 | ], | ||
| 631 | "_prefab": null, | ||
| 632 | "_opacity": 255, | ||
| 633 | "_color": { | ||
| 634 | "__type__": "cc.Color", | ||
| 635 | "r": 255, | ||
| 636 | "g": 255, | ||
| 637 | "b": 255, | ||
| 638 | "a": 255 | ||
| 639 | }, | ||
| 640 | "_contentSize": { | ||
| 641 | "__type__": "cc.Size", | ||
| 642 | "width": 64, | ||
| 643 | "height": 32 | ||
| 644 | }, | ||
| 645 | "_anchorPoint": { | ||
| 646 | "__type__": "cc.Vec2", | ||
| 647 | "x": 0.5, | ||
| 648 | "y": 0.5 | ||
| 649 | }, | ||
| 650 | "_position": { | ||
| 651 | "__type__": "cc.Vec3", | ||
| 652 | "x": 274.2, | ||
| 653 | "y": 0, | ||
| 654 | "z": 0 | ||
| 655 | }, | ||
| 656 | "_scale": { | ||
| 657 | "__type__": "cc.Vec3", | ||
| 658 | "x": 1, | ||
| 659 | "y": 1, | ||
| 660 | "z": 1 | ||
| 661 | }, | ||
| 662 | "_rotationX": 0, | ||
| 663 | "_rotationY": 0, | ||
| 664 | "_quat": { | ||
| 665 | "__type__": "cc.Quat", | ||
| 666 | "x": 0, | ||
| 667 | "y": 0, | ||
| 668 | "z": 0, | ||
| 669 | "w": 1 | ||
| 670 | }, | ||
| 671 | "_skewX": 0, | ||
| 672 | "_skewY": 0, | ||
| 673 | "groupIndex": 0, | ||
| 674 | "_id": "a7kDVmRDVLfaQlEu+UMCj6" | ||
| 675 | }, | ||
| 676 | { | ||
| 677 | "__type__": "cc.Label", | ||
| 678 | "_name": "", | ||
| 679 | "_objFlags": 0, | ||
| 680 | "node": { | ||
| 681 | "__id__": 14 | ||
| 682 | }, | ||
| 683 | "_enabled": true, | ||
| 684 | "_useOriginalSize": false, | ||
| 685 | "_string": "进度", | ||
| 686 | "_N$string": "进度", | ||
| 687 | "_fontSize": 32, | ||
| 688 | "_lineHeight": 32, | ||
| 689 | "_enableWrapText": true, | ||
| 690 | "_N$file": null, | ||
| 691 | "_isSystemFontUsed": true, | ||
| 692 | "_spacingX": 0, | ||
| 693 | "_batchAsBitmap": false, | ||
| 694 | "_N$horizontalAlign": 1, | ||
| 695 | "_N$verticalAlign": 1, | ||
| 696 | "_N$fontFamily": "Arial", | ||
| 697 | "_N$overflow": 0, | ||
| 698 | "_N$cacheMode": 0, | ||
| 699 | "_id": "6ackMb7bJMcJ0kJcDsIAD1" | ||
| 700 | }, | ||
| 701 | { | ||
| 702 | "__type__": "cc.Node", | ||
| 703 | "_name": "progress", | ||
| 704 | "_objFlags": 0, | ||
| 705 | "_parent": { | ||
| 706 | "__id__": 8 | ||
| 707 | }, | ||
| 708 | "_children": [], | ||
| 709 | "_active": true, | ||
| 710 | "_level": 2, | ||
| 711 | "_components": [ | ||
| 712 | { | ||
| 713 | "__id__": 17 | ||
| 714 | } | ||
| 715 | ], | ||
| 716 | "_prefab": null, | ||
| 717 | "_opacity": 255, | ||
| 718 | "_color": { | ||
| 719 | "__type__": "cc.Color", | ||
| 720 | "r": 255, | ||
| 721 | "g": 255, | ||
| 722 | "b": 255, | ||
| 723 | "a": 255 | ||
| 724 | }, | ||
| 725 | "_contentSize": { | ||
| 726 | "__type__": "cc.Size", | ||
| 727 | "width": 100, | ||
| 728 | "height": 32 | ||
| 729 | }, | ||
| 730 | "_anchorPoint": { | ||
| 731 | "__type__": "cc.Vec2", | ||
| 732 | "x": 0.5, | ||
| 733 | "y": 0.5 | ||
| 734 | }, | ||
| 735 | "_position": { | ||
| 736 | "__type__": "cc.Vec3", | ||
| 737 | "x": 361.1, | ||
| 738 | "y": 0, | ||
| 739 | "z": 0 | ||
| 740 | }, | ||
| 741 | "_scale": { | ||
| 742 | "__type__": "cc.Vec3", | ||
| 743 | "x": 1, | ||
| 744 | "y": 1, | ||
| 745 | "z": 1 | ||
| 746 | }, | ||
| 747 | "_rotationX": 0, | ||
| 748 | "_rotationY": 0, | ||
| 749 | "_quat": { | ||
| 750 | "__type__": "cc.Quat", | ||
| 751 | "x": 0, | ||
| 752 | "y": 0, | ||
| 753 | "z": 0, | ||
| 754 | "w": 1 | ||
| 755 | }, | ||
| 756 | "_skewX": 0, | ||
| 757 | "_skewY": 0, | ||
| 758 | "groupIndex": 0, | ||
| 759 | "_id": "77BKNz5UROHIL9383NaoEt" | ||
| 760 | }, | ||
| 761 | { | ||
| 762 | "__type__": "cc.Label", | ||
| 763 | "_name": "", | ||
| 764 | "_objFlags": 0, | ||
| 765 | "node": { | ||
| 766 | "__id__": 16 | ||
| 767 | }, | ||
| 768 | "_enabled": true, | ||
| 769 | "_useOriginalSize": false, | ||
| 770 | "_string": "0%", | ||
| 771 | "_N$string": "0%", | ||
| 772 | "_fontSize": 32, | ||
| 773 | "_lineHeight": 32, | ||
| 774 | "_enableWrapText": true, | ||
| 775 | "_N$file": null, | ||
| 776 | "_isSystemFontUsed": true, | ||
| 777 | "_spacingX": 0, | ||
| 778 | "_batchAsBitmap": false, | ||
| 779 | "_N$horizontalAlign": 0, | ||
| 780 | "_N$verticalAlign": 1, | ||
| 781 | "_N$fontFamily": "Arial", | ||
| 782 | "_N$overflow": 1, | ||
| 783 | "_N$cacheMode": 0, | ||
| 784 | "_id": "93coTaINxOdJTfuaZKF6Yb" | ||
| 785 | }, | ||
| 786 | { | ||
| 787 | "__type__": "cc.Node", | ||
| 788 | "_name": "Hero", | ||
| 789 | "_objFlags": 0, | ||
| 790 | "_parent": { | ||
| 791 | "__id__": 2 | ||
| 792 | }, | ||
| 793 | "_children": [], | ||
| 794 | "_active": true, | ||
| 795 | "_level": 1, | ||
| 796 | "_components": [ | ||
| 797 | { | ||
| 798 | "__id__": 19 | ||
| 799 | } | ||
| 800 | ], | ||
| 801 | "_prefab": null, | ||
| 802 | "_opacity": 255, | ||
| 803 | "_color": { | ||
| 804 | "__type__": "cc.Color", | ||
| 805 | "r": 255, | ||
| 806 | "g": 255, | ||
| 807 | "b": 255, | ||
| 808 | "a": 255 | ||
| 809 | }, | ||
| 810 | "_contentSize": { | ||
| 811 | "__type__": "cc.Size", | ||
| 812 | "width": 0, | ||
| 813 | "height": 0 | ||
| 814 | }, | ||
| 815 | "_anchorPoint": { | ||
| 816 | "__type__": "cc.Vec2", | ||
| 817 | "x": 0.5, | ||
| 818 | "y": 0.5 | ||
| 819 | }, | ||
| 820 | "_position": { | ||
| 821 | "__type__": "cc.Vec3", | ||
| 822 | "x": -229, | ||
| 823 | "y": -220, | ||
| 824 | "z": 0 | ||
| 825 | }, | ||
| 826 | "_scale": { | ||
| 827 | "__type__": "cc.Vec3", | ||
| 828 | "x": 1, | ||
| 829 | "y": 1, | ||
| 830 | "z": 1 | ||
| 831 | }, | ||
| 832 | "_rotationX": 0, | ||
| 833 | "_rotationY": 0, | ||
| 834 | "_quat": { | ||
| 835 | "__type__": "cc.Quat", | ||
| 836 | "x": 0, | ||
| 837 | "y": 0, | ||
| 838 | "z": 0, | ||
| 839 | "w": 1 | ||
| 840 | }, | ||
| 841 | "_skewX": 0, | ||
| 842 | "_skewY": 0, | ||
| 843 | "groupIndex": 0, | ||
| 844 | "_id": "8cq0Mn63pN2YDLO5ii37LQ" | ||
| 845 | }, | ||
| 846 | { | ||
| 847 | "__type__": "dragonBones.ArmatureDisplay", | ||
| 848 | "_name": "", | ||
| 849 | "_objFlags": 0, | ||
| 850 | "node": { | ||
| 851 | "__id__": 18 | ||
| 852 | }, | ||
| 853 | "_enabled": true, | ||
| 854 | "_armatureName": "armatureName", | ||
| 855 | "_animationName": "", | ||
| 856 | "_preCacheMode": 0, | ||
| 857 | "_cacheMode": 0, | ||
| 858 | "playTimes": -1, | ||
| 859 | "premultipliedAlpha": false, | ||
| 860 | "_armatureKey": "12fcf88d-19e6-4c0e-a0e9-90493cbd8988#3348c645-59e4-4bf2-b5ac-02172ce7f044", | ||
| 861 | "_accTime": 0, | ||
| 862 | "_playCount": 0, | ||
| 863 | "_frameCache": null, | ||
| 864 | "_curFrame": null, | ||
| 865 | "_playing": false, | ||
| 866 | "_armatureCache": null, | ||
| 867 | "_N$dragonAsset": { | ||
| 868 | "__uuid__": "12fcf88d-19e6-4c0e-a0e9-90493cbd8988" | ||
| 869 | }, | ||
| 870 | "_N$dragonAtlasAsset": { | ||
| 871 | "__uuid__": "3348c645-59e4-4bf2-b5ac-02172ce7f044" | ||
| 872 | }, | ||
| 873 | "_N$_defaultArmatureIndex": 0, | ||
| 874 | "_N$_animationIndex": 0, | ||
| 875 | "_N$_defaultCacheMode": 0, | ||
| 876 | "_N$timeScale": 1, | ||
| 877 | "_N$debugBones": false, | ||
| 878 | "_N$enableBatch": false, | ||
| 879 | "_id": "69fvvqS0tJHpuXMcwVczRW" | ||
| 880 | }, | ||
| 881 | { | ||
| 882 | "__type__": "cc.Node", | ||
| 883 | "_name": "Next", | ||
| 884 | "_objFlags": 0, | ||
| 885 | "_parent": { | ||
| 886 | "__id__": 2 | ||
| 887 | }, | ||
| 888 | "_children": [], | ||
| 889 | "_active": true, | ||
| 890 | "_level": 1, | ||
| 891 | "_components": [ | ||
| 892 | { | ||
| 893 | "__id__": 21 | ||
| 894 | } | ||
| 895 | ], | ||
| 896 | "_prefab": null, | ||
| 897 | "_opacity": 255, | ||
| 898 | "_color": { | ||
| 899 | "__type__": "cc.Color", | ||
| 900 | "r": 255, | ||
| 901 | "g": 255, | ||
| 902 | "b": 255, | ||
| 903 | "a": 255 | ||
| 904 | }, | ||
| 905 | "_contentSize": { | ||
| 906 | "__type__": "cc.Size", | ||
| 907 | "width": 74, | ||
| 908 | "height": 77 | ||
| 909 | }, | ||
| 910 | "_anchorPoint": { | ||
| 911 | "__type__": "cc.Vec2", | ||
| 912 | "x": 0.5, | ||
| 913 | "y": 0.5 | ||
| 914 | }, | ||
| 915 | "_position": { | ||
| 916 | "__type__": "cc.Vec3", | ||
| 917 | "x": 480, | ||
| 918 | "y": 0, | ||
| 919 | "z": 0 | ||
| 920 | }, | ||
| 921 | "_scale": { | ||
| 922 | "__type__": "cc.Vec3", | ||
| 923 | "x": 1, | ||
| 924 | "y": 1, | ||
| 925 | "z": 1 | ||
| 926 | }, | ||
| 927 | "_rotationX": 180, | ||
| 928 | "_rotationY": 180, | ||
| 929 | "_quat": { | ||
| 930 | "__type__": "cc.Quat", | ||
| 931 | "x": 0, | ||
| 932 | "y": 0, | ||
| 933 | "z": -1, | ||
| 934 | "w": 6.123233995736766e-17 | ||
| 935 | }, | ||
| 936 | "_skewX": 0, | ||
| 937 | "_skewY": 0, | ||
| 938 | "groupIndex": 0, | ||
| 939 | "_id": "c6I/k01aNOFJcS718x8VIy" | ||
| 940 | }, | ||
| 941 | { | ||
| 942 | "__type__": "cc.Sprite", | ||
| 943 | "_name": "", | ||
| 944 | "_objFlags": 0, | ||
| 945 | "node": { | ||
| 946 | "__id__": 20 | ||
| 947 | }, | ||
| 948 | "_enabled": true, | ||
| 949 | "_srcBlendFactor": 770, | ||
| 950 | "_dstBlendFactor": 771, | ||
| 951 | "_spriteFrame": { | ||
| 952 | "__uuid__": "71e82de4-bc43-4a5b-be8e-9317edef0b71" | ||
| 953 | }, | ||
| 954 | "_type": 0, | ||
| 955 | "_sizeMode": 1, | ||
| 956 | "_fillType": 0, | ||
| 957 | "_fillCenter": { | ||
| 958 | "__type__": "cc.Vec2", | ||
| 959 | "x": 0, | ||
| 960 | "y": 0 | ||
| 961 | }, | ||
| 962 | "_fillStart": 0, | ||
| 963 | "_fillRange": 0, | ||
| 964 | "_isTrimmedMode": true, | ||
| 965 | "_state": 0, | ||
| 966 | "_atlas": null, | ||
| 967 | "_id": "f7rbZH06RKU4aqdbBKTzwn" | ||
| 968 | }, | ||
| 969 | { | ||
| 970 | "__type__": "cc.Node", | ||
| 971 | "_name": "BackAScene", | ||
| 972 | "_objFlags": 0, | ||
| 973 | "_parent": { | ||
| 974 | "__id__": 2 | ||
| 975 | }, | ||
| 976 | "_children": [], | ||
| 977 | "_active": true, | ||
| 978 | "_level": 1, | ||
| 979 | "_components": [ | ||
| 980 | { | ||
| 981 | "__id__": 23 | ||
| 982 | } | ||
| 983 | ], | ||
| 984 | "_prefab": null, | ||
| 985 | "_opacity": 255, | ||
| 986 | "_color": { | ||
| 987 | "__type__": "cc.Color", | ||
| 988 | "r": 255, | ||
| 989 | "g": 255, | ||
| 990 | "b": 255, | ||
| 991 | "a": 255 | ||
| 992 | }, | ||
| 993 | "_contentSize": { | ||
| 994 | "__type__": "cc.Size", | ||
| 995 | "width": 53, | ||
| 996 | "height": 47 | ||
| 997 | }, | ||
| 998 | "_anchorPoint": { | ||
| 999 | "__type__": "cc.Vec2", | ||
| 1000 | "x": 0.5, | ||
| 1001 | "y": 0.5 | ||
| 1002 | }, | ||
| 1003 | "_position": { | ||
| 1004 | "__type__": "cc.Vec3", | ||
| 1005 | "x": -561, | ||
| 1006 | "y": 284, | ||
| 1007 | "z": 0 | ||
| 1008 | }, | ||
| 1009 | "_scale": { | ||
| 1010 | "__type__": "cc.Vec3", | ||
| 1011 | "x": 1, | ||
| 1012 | "y": 1, | ||
| 1013 | "z": 1 | ||
| 1014 | }, | ||
| 1015 | "_rotationX": 0, | ||
| 1016 | "_rotationY": 0, | ||
| 1017 | "_quat": { | ||
| 1018 | "__type__": "cc.Quat", | ||
| 1019 | "x": 0, | ||
| 1020 | "y": 0, | ||
| 1021 | "z": 0, | ||
| 1022 | "w": 1 | ||
| 1023 | }, | ||
| 1024 | "_skewX": 0, | ||
| 1025 | "_skewY": 0, | ||
| 1026 | "groupIndex": 0, | ||
| 1027 | "_id": "1aRm1a2Q1AKKSEqy4u9ytF" | ||
| 1028 | }, | ||
| 1029 | { | ||
| 1030 | "__type__": "cc.Sprite", | ||
| 1031 | "_name": "", | ||
| 1032 | "_objFlags": 0, | ||
| 1033 | "node": { | ||
| 1034 | "__id__": 22 | ||
| 1035 | }, | ||
| 1036 | "_enabled": true, | ||
| 1037 | "_srcBlendFactor": 770, | ||
| 1038 | "_dstBlendFactor": 771, | ||
| 1039 | "_spriteFrame": { | ||
| 1040 | "__uuid__": "e43d8224-1726-467f-a939-8ea9c8efc8bc" | ||
| 1041 | }, | ||
| 1042 | "_type": 0, | ||
| 1043 | "_sizeMode": 1, | ||
| 1044 | "_fillType": 0, | ||
| 1045 | "_fillCenter": { | ||
| 1046 | "__type__": "cc.Vec2", | ||
| 1047 | "x": 0, | ||
| 1048 | "y": 0 | ||
| 1049 | }, | ||
| 1050 | "_fillStart": 0, | ||
| 1051 | "_fillRange": 0, | ||
| 1052 | "_isTrimmedMode": true, | ||
| 1053 | "_state": 0, | ||
| 1054 | "_atlas": null, | ||
| 1055 | "_id": "83aOx9E9NJTreXPfGRohBc" | ||
| 1056 | }, | ||
| 1057 | { | ||
| 1058 | "__type__": "cc.Node", | ||
| 1059 | "_name": "PopWindow", | ||
| 1060 | "_objFlags": 0, | ||
| 1061 | "_parent": { | ||
| 1062 | "__id__": 2 | ||
| 1063 | }, | ||
| 1064 | "_children": [ | ||
| 1065 | { | ||
| 1066 | "__id__": 25 | ||
| 1067 | }, | ||
| 1068 | { | ||
| 1069 | "__id__": 27 | ||
| 1070 | }, | ||
| 1071 | { | ||
| 1072 | "__id__": 29 | ||
| 1073 | }, | ||
| 1074 | { | ||
| 1075 | "__id__": 31 | ||
| 1076 | }, | ||
| 1077 | { | ||
| 1078 | "__id__": 33 | ||
| 1079 | }, | ||
| 1080 | { | ||
| 1081 | "__id__": 35 | ||
| 1082 | }, | ||
| 1083 | { | ||
| 1084 | "__id__": 37 | ||
| 1085 | } | ||
| 1086 | ], | ||
| 1087 | "_active": false, | ||
| 1088 | "_level": 1, | ||
| 1089 | "_components": [], | ||
| 1090 | "_prefab": null, | ||
| 1091 | "_opacity": 255, | ||
| 1092 | "_color": { | ||
| 1093 | "__type__": "cc.Color", | ||
| 1094 | "r": 255, | ||
| 1095 | "g": 255, | ||
| 1096 | "b": 255, | ||
| 1097 | "a": 255 | ||
| 1098 | }, | ||
| 1099 | "_contentSize": { | ||
| 1100 | "__type__": "cc.Size", | ||
| 1101 | "width": 0, | ||
| 1102 | "height": 0 | ||
| 1103 | }, | ||
| 1104 | "_anchorPoint": { | ||
| 1105 | "__type__": "cc.Vec2", | ||
| 1106 | "x": 0.5, | ||
| 1107 | "y": 0.5 | ||
| 1108 | }, | ||
| 1109 | "_position": { | ||
| 1110 | "__type__": "cc.Vec3", | ||
| 1111 | "x": 0, | ||
| 1112 | "y": 0, | ||
| 1113 | "z": 0 | ||
| 1114 | }, | ||
| 1115 | "_scale": { | ||
| 1116 | "__type__": "cc.Vec3", | ||
| 1117 | "x": 1, | ||
| 1118 | "y": 1, | ||
| 1119 | "z": 1 | ||
| 1120 | }, | ||
| 1121 | "_rotationX": 0, | ||
| 1122 | "_rotationY": 0, | ||
| 1123 | "_quat": { | ||
| 1124 | "__type__": "cc.Quat", | ||
| 1125 | "x": 0, | ||
| 1126 | "y": 0, | ||
| 1127 | "z": 0, | ||
| 1128 | "w": 1 | ||
| 1129 | }, | ||
| 1130 | "_skewX": 0, | ||
| 1131 | "_skewY": 0, | ||
| 1132 | "groupIndex": 0, | ||
| 1133 | "_id": "c7Xmn7eARMt4UltaDNKcvH" | ||
| 1134 | }, | ||
| 1135 | { | ||
| 1136 | "__type__": "cc.Node", | ||
| 1137 | "_name": "New Sprite(Splash)", | ||
| 1138 | "_objFlags": 0, | ||
| 1139 | "_parent": { | ||
| 1140 | "__id__": 24 | ||
| 1141 | }, | ||
| 1142 | "_children": [], | ||
| 1143 | "_active": true, | ||
| 1144 | "_level": 2, | ||
| 1145 | "_components": [ | ||
| 1146 | { | ||
| 1147 | "__id__": 26 | ||
| 1148 | } | ||
| 1149 | ], | ||
| 1150 | "_prefab": null, | ||
| 1151 | "_opacity": 100, | ||
| 1152 | "_color": { | ||
| 1153 | "__type__": "cc.Color", | ||
| 1154 | "r": 0, | ||
| 1155 | "g": 0, | ||
| 1156 | "b": 0, | ||
| 1157 | "a": 255 | ||
| 1158 | }, | ||
| 1159 | "_contentSize": { | ||
| 1160 | "__type__": "cc.Size", | ||
| 1161 | "width": 1280, | ||
| 1162 | "height": 720 | ||
| 1163 | }, | ||
| 1164 | "_anchorPoint": { | ||
| 1165 | "__type__": "cc.Vec2", | ||
| 1166 | "x": 0.5, | ||
| 1167 | "y": 0.5 | ||
| 1168 | }, | ||
| 1169 | "_position": { | ||
| 1170 | "__type__": "cc.Vec3", | ||
| 1171 | "x": 0, | ||
| 1172 | "y": 0, | ||
| 1173 | "z": 0 | ||
| 1174 | }, | ||
| 1175 | "_scale": { | ||
| 1176 | "__type__": "cc.Vec3", | ||
| 1177 | "x": 1, | ||
| 1178 | "y": 1, | ||
| 1179 | "z": 1 | ||
| 1180 | }, | ||
| 1181 | "_rotationX": 0, | ||
| 1182 | "_rotationY": 0, | ||
| 1183 | "_quat": { | ||
| 1184 | "__type__": "cc.Quat", | ||
| 1185 | "x": 0, | ||
| 1186 | "y": 0, | ||
| 1187 | "z": 0, | ||
| 1188 | "w": 1 | ||
| 1189 | }, | ||
| 1190 | "_skewX": 0, | ||
| 1191 | "_skewY": 0, | ||
| 1192 | "groupIndex": 0, | ||
| 1193 | "_id": "f5sv/kwXVAm5Nzd+XAK33D" | ||
| 1194 | }, | ||
| 1195 | { | ||
| 1196 | "__type__": "cc.Sprite", | ||
| 1197 | "_name": "", | ||
| 1198 | "_objFlags": 0, | ||
| 1199 | "node": { | ||
| 1200 | "__id__": 25 | ||
| 1201 | }, | ||
| 1202 | "_enabled": true, | ||
| 1203 | "_srcBlendFactor": 770, | ||
| 1204 | "_dstBlendFactor": 771, | ||
| 1205 | "_spriteFrame": { | ||
| 1206 | "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91" | ||
| 1207 | }, | ||
| 1208 | "_type": 0, | ||
| 1209 | "_sizeMode": 0, | ||
| 1210 | "_fillType": 0, | ||
| 1211 | "_fillCenter": { | ||
| 1212 | "__type__": "cc.Vec2", | ||
| 1213 | "x": 0, | ||
| 1214 | "y": 0 | ||
| 1215 | }, | ||
| 1216 | "_fillStart": 0, | ||
| 1217 | "_fillRange": 0, | ||
| 1218 | "_isTrimmedMode": true, | ||
| 1219 | "_state": 0, | ||
| 1220 | "_atlas": null, | ||
| 1221 | "_id": "746CeGd2JBhbikBk8l+nQV" | ||
| 1222 | }, | ||
| 1223 | { | ||
| 1224 | "__type__": "cc.Node", | ||
| 1225 | "_name": "Bg", | ||
| 1226 | "_objFlags": 0, | ||
| 1227 | "_parent": { | ||
| 1228 | "__id__": 24 | ||
| 1229 | }, | ||
| 1230 | "_children": [], | ||
| 1231 | "_active": true, | ||
| 1232 | "_level": 2, | ||
| 1233 | "_components": [ | ||
| 1234 | { | ||
| 1235 | "__id__": 28 | ||
| 1236 | } | ||
| 1237 | ], | ||
| 1238 | "_prefab": null, | ||
| 1239 | "_opacity": 255, | ||
| 1240 | "_color": { | ||
| 1241 | "__type__": "cc.Color", | ||
| 1242 | "r": 255, | ||
| 1243 | "g": 255, | ||
| 1244 | "b": 255, | ||
| 1245 | "a": 255 | ||
| 1246 | }, | ||
| 1247 | "_contentSize": { | ||
| 1248 | "__type__": "cc.Size", | ||
| 1249 | "width": 800, | ||
| 1250 | "height": 400 | ||
| 1251 | }, | ||
| 1252 | "_anchorPoint": { | ||
| 1253 | "__type__": "cc.Vec2", | ||
| 1254 | "x": 0.5, | ||
| 1255 | "y": 0.5 | ||
| 1256 | }, | ||
| 1257 | "_position": { | ||
| 1258 | "__type__": "cc.Vec3", | ||
| 1259 | "x": 0, | ||
| 1260 | "y": 0, | ||
| 1261 | "z": 0 | ||
| 1262 | }, | ||
| 1263 | "_scale": { | ||
| 1264 | "__type__": "cc.Vec3", | ||
| 1265 | "x": 1, | ||
| 1266 | "y": 1, | ||
| 1267 | "z": 1 | ||
| 1268 | }, | ||
| 1269 | "_rotationX": 0, | ||
| 1270 | "_rotationY": 0, | ||
| 1271 | "_quat": { | ||
| 1272 | "__type__": "cc.Quat", | ||
| 1273 | "x": 0, | ||
| 1274 | "y": 0, | ||
| 1275 | "z": 0, | ||
| 1276 | "w": 1 | ||
| 1277 | }, | ||
| 1278 | "_skewX": 0, | ||
| 1279 | "_skewY": 0, | ||
| 1280 | "groupIndex": 0, | ||
| 1281 | "_id": "68SDdyglFLP4YQohOW7dXo" | ||
| 1282 | }, | ||
| 1283 | { | ||
| 1284 | "__type__": "cc.Sprite", | ||
| 1285 | "_name": "", | ||
| 1286 | "_objFlags": 0, | ||
| 1287 | "node": { | ||
| 1288 | "__id__": 27 | ||
| 1289 | }, | ||
| 1290 | "_enabled": true, | ||
| 1291 | "_srcBlendFactor": 770, | ||
| 1292 | "_dstBlendFactor": 771, | ||
| 1293 | "_spriteFrame": { | ||
| 1294 | "__uuid__": "260d622d-3a11-4350-8775-4a225ae5a348" | ||
| 1295 | }, | ||
| 1296 | "_type": 0, | ||
| 1297 | "_sizeMode": 0, | ||
| 1298 | "_fillType": 0, | ||
| 1299 | "_fillCenter": { | ||
| 1300 | "__type__": "cc.Vec2", | ||
| 1301 | "x": 0, | ||
| 1302 | "y": 0 | ||
| 1303 | }, | ||
| 1304 | "_fillStart": 0, | ||
| 1305 | "_fillRange": 0, | ||
| 1306 | "_isTrimmedMode": true, | ||
| 1307 | "_state": 0, | ||
| 1308 | "_atlas": null, | ||
| 1309 | "_id": "12tHTZ6GJORqw1oAmTp6Nl" | ||
| 1310 | }, | ||
| 1311 | { | ||
| 1312 | "__type__": "cc.Node", | ||
| 1313 | "_name": "Pic", | ||
| 1314 | "_objFlags": 0, | ||
| 1315 | "_parent": { | ||
| 1316 | "__id__": 24 | ||
| 1317 | }, | ||
| 1318 | "_children": [], | ||
| 1319 | "_active": true, | ||
| 1320 | "_level": 2, | ||
| 1321 | "_components": [ | ||
| 1322 | { | ||
| 1323 | "__id__": 30 | ||
| 1324 | } | ||
| 1325 | ], | ||
| 1326 | "_prefab": null, | ||
| 1327 | "_opacity": 255, | ||
| 1328 | "_color": { | ||
| 1329 | "__type__": "cc.Color", | ||
| 1330 | "r": 255, | ||
| 1331 | "g": 255, | ||
| 1332 | "b": 255, | ||
| 1333 | "a": 255 | ||
| 1334 | }, | ||
| 1335 | "_contentSize": { | ||
| 1336 | "__type__": "cc.Size", | ||
| 1337 | "width": 120, | ||
| 1338 | "height": 158 | ||
| 1339 | }, | ||
| 1340 | "_anchorPoint": { | ||
| 1341 | "__type__": "cc.Vec2", | ||
| 1342 | "x": 0.5, | ||
| 1343 | "y": 0.5 | ||
| 1344 | }, | ||
| 1345 | "_position": { | ||
| 1346 | "__type__": "cc.Vec3", | ||
| 1347 | "x": -256, | ||
| 1348 | "y": 24, | ||
| 1349 | "z": 0 | ||
| 1350 | }, | ||
| 1351 | "_scale": { | ||
| 1352 | "__type__": "cc.Vec3", | ||
| 1353 | "x": 1, | ||
| 1354 | "y": 1, | ||
| 1355 | "z": 1 | ||
| 1356 | }, | ||
| 1357 | "_rotationX": 0, | ||
| 1358 | "_rotationY": 0, | ||
| 1359 | "_quat": { | ||
| 1360 | "__type__": "cc.Quat", | ||
| 1361 | "x": 0, | ||
| 1362 | "y": 0, | ||
| 1363 | "z": 0, | ||
| 1364 | "w": 1 | ||
| 1365 | }, | ||
| 1366 | "_skewX": 0, | ||
| 1367 | "_skewY": 0, | ||
| 1368 | "groupIndex": 0, | ||
| 1369 | "_id": "f5U5j1IqRD1qHnO7wjRIZn" | ||
| 1370 | }, | ||
| 1371 | { | ||
| 1372 | "__type__": "cc.Sprite", | ||
| 1373 | "_name": "", | ||
| 1374 | "_objFlags": 0, | ||
| 1375 | "node": { | ||
| 1376 | "__id__": 29 | ||
| 1377 | }, | ||
| 1378 | "_enabled": true, | ||
| 1379 | "_srcBlendFactor": 770, | ||
| 1380 | "_dstBlendFactor": 771, | ||
| 1381 | "_spriteFrame": { | ||
| 1382 | "__uuid__": "30eaee90-b002-4d6c-a1c1-f252176a5890" | ||
| 1383 | }, | ||
| 1384 | "_type": 0, | ||
| 1385 | "_sizeMode": 1, | ||
| 1386 | "_fillType": 0, | ||
| 1387 | "_fillCenter": { | ||
| 1388 | "__type__": "cc.Vec2", | ||
| 1389 | "x": 0, | ||
| 1390 | "y": 0 | ||
| 1391 | }, | ||
| 1392 | "_fillStart": 0, | ||
| 1393 | "_fillRange": 0, | ||
| 1394 | "_isTrimmedMode": true, | ||
| 1395 | "_state": 0, | ||
| 1396 | "_atlas": null, | ||
| 1397 | "_id": "edRaQ9AYBLkJeT10tFNuHx" | ||
| 1398 | }, | ||
| 1399 | { | ||
| 1400 | "__type__": "cc.Node", | ||
| 1401 | "_name": "PicName", | ||
| 1402 | "_objFlags": 0, | ||
| 1403 | "_parent": { | ||
| 1404 | "__id__": 24 | ||
| 1405 | }, | ||
| 1406 | "_children": [], | ||
| 1407 | "_active": true, | ||
| 1408 | "_level": 2, | ||
| 1409 | "_components": [ | ||
| 1410 | { | ||
| 1411 | "__id__": 32 | ||
| 1412 | } | ||
| 1413 | ], | ||
| 1414 | "_prefab": null, | ||
| 1415 | "_opacity": 255, | ||
| 1416 | "_color": { | ||
| 1417 | "__type__": "cc.Color", | ||
| 1418 | "r": 0, | ||
| 1419 | "g": 0, | ||
| 1420 | "b": 0, | ||
| 1421 | "a": 255 | ||
| 1422 | }, | ||
| 1423 | "_contentSize": { | ||
| 1424 | "__type__": "cc.Size", | ||
| 1425 | "width": 160, | ||
| 1426 | "height": 32 | ||
| 1427 | }, | ||
| 1428 | "_anchorPoint": { | ||
| 1429 | "__type__": "cc.Vec2", | ||
| 1430 | "x": 0.5, | ||
| 1431 | "y": 0.5 | ||
| 1432 | }, | ||
| 1433 | "_position": { | ||
| 1434 | "__type__": "cc.Vec3", | ||
| 1435 | "x": -258, | ||
| 1436 | "y": -121, | ||
| 1437 | "z": 0 | ||
| 1438 | }, | ||
| 1439 | "_scale": { | ||
| 1440 | "__type__": "cc.Vec3", | ||
| 1441 | "x": 1, | ||
| 1442 | "y": 1, | ||
| 1443 | "z": 1 | ||
| 1444 | }, | ||
| 1445 | "_rotationX": 0, | ||
| 1446 | "_rotationY": 0, | ||
| 1447 | "_quat": { | ||
| 1448 | "__type__": "cc.Quat", | ||
| 1449 | "x": 0, | ||
| 1450 | "y": 0, | ||
| 1451 | "z": 0, | ||
| 1452 | "w": 1 | ||
| 1453 | }, | ||
| 1454 | "_skewX": 0, | ||
| 1455 | "_skewY": 0, | ||
| 1456 | "groupIndex": 0, | ||
| 1457 | "_id": "59E9HTcN1KxYbK2Tj+uLGw" | ||
| 1458 | }, | ||
| 1459 | { | ||
| 1460 | "__type__": "cc.Label", | ||
| 1461 | "_name": "", | ||
| 1462 | "_objFlags": 0, | ||
| 1463 | "node": { | ||
| 1464 | "__id__": 31 | ||
| 1465 | }, | ||
| 1466 | "_enabled": true, | ||
| 1467 | "_useOriginalSize": false, | ||
| 1468 | "_string": "寂寞的蜥蜴", | ||
| 1469 | "_N$string": "寂寞的蜥蜴", | ||
| 1470 | "_fontSize": 32, | ||
| 1471 | "_lineHeight": 32, | ||
| 1472 | "_enableWrapText": true, | ||
| 1473 | "_N$file": null, | ||
| 1474 | "_isSystemFontUsed": true, | ||
| 1475 | "_spacingX": 0, | ||
| 1476 | "_batchAsBitmap": false, | ||
| 1477 | "_N$horizontalAlign": 1, | ||
| 1478 | "_N$verticalAlign": 1, | ||
| 1479 | "_N$fontFamily": "Arial", | ||
| 1480 | "_N$overflow": 0, | ||
| 1481 | "_N$cacheMode": 0, | ||
| 1482 | "_id": "39SFV3HTRPEpggFj6I900q" | ||
| 1483 | }, | ||
| 1484 | { | ||
| 1485 | "__type__": "cc.Node", | ||
| 1486 | "_name": "Title", | ||
| 1487 | "_objFlags": 0, | ||
| 1488 | "_parent": { | ||
| 1489 | "__id__": 24 | ||
| 1490 | }, | ||
| 1491 | "_children": [], | ||
| 1492 | "_active": true, | ||
| 1493 | "_level": 2, | ||
| 1494 | "_components": [ | ||
| 1495 | { | ||
| 1496 | "__id__": 34 | ||
| 1497 | } | ||
| 1498 | ], | ||
| 1499 | "_prefab": null, | ||
| 1500 | "_opacity": 255, | ||
| 1501 | "_color": { | ||
| 1502 | "__type__": "cc.Color", | ||
| 1503 | "r": 0, | ||
| 1504 | "g": 0, | ||
| 1505 | "b": 0, | ||
| 1506 | "a": 255 | ||
| 1507 | }, | ||
| 1508 | "_contentSize": { | ||
| 1509 | "__type__": "cc.Size", | ||
| 1510 | "width": 480, | ||
| 1511 | "height": 80 | ||
| 1512 | }, | ||
| 1513 | "_anchorPoint": { | ||
| 1514 | "__type__": "cc.Vec2", | ||
| 1515 | "x": 0.5, | ||
| 1516 | "y": 0.5 | ||
| 1517 | }, | ||
| 1518 | "_position": { | ||
| 1519 | "__type__": "cc.Vec3", | ||
| 1520 | "x": 121, | ||
| 1521 | "y": 120, | ||
| 1522 | "z": 0 | ||
| 1523 | }, | ||
| 1524 | "_scale": { | ||
| 1525 | "__type__": "cc.Vec3", | ||
| 1526 | "x": 1, | ||
| 1527 | "y": 1, | ||
| 1528 | "z": 1 | ||
| 1529 | }, | ||
| 1530 | "_rotationX": 0, | ||
| 1531 | "_rotationY": 0, | ||
| 1532 | "_quat": { | ||
| 1533 | "__type__": "cc.Quat", | ||
| 1534 | "x": 0, | ||
| 1535 | "y": 0, | ||
| 1536 | "z": 0, | ||
| 1537 | "w": 1 | ||
| 1538 | }, | ||
| 1539 | "_skewX": 0, | ||
| 1540 | "_skewY": 0, | ||
| 1541 | "groupIndex": 0, | ||
| 1542 | "_id": "aaMbys6S5BBaobzD59dr/I" | ||
| 1543 | }, | ||
| 1544 | { | ||
| 1545 | "__type__": "cc.Label", | ||
| 1546 | "_name": "", | ||
| 1547 | "_objFlags": 0, | ||
| 1548 | "node": { | ||
| 1549 | "__id__": 33 | ||
| 1550 | }, | ||
| 1551 | "_enabled": true, | ||
| 1552 | "_useOriginalSize": false, | ||
| 1553 | "_string": "果然大家都不喜欢我,555(哭的更大声了)", | ||
| 1554 | "_N$string": "果然大家都不喜欢我,555(哭的更大声了)", | ||
| 1555 | "_fontSize": 30, | ||
| 1556 | "_lineHeight": 40, | ||
| 1557 | "_enableWrapText": true, | ||
| 1558 | "_N$file": null, | ||
| 1559 | "_isSystemFontUsed": true, | ||
| 1560 | "_spacingX": 0, | ||
| 1561 | "_batchAsBitmap": false, | ||
| 1562 | "_N$horizontalAlign": 0, | ||
| 1563 | "_N$verticalAlign": 0, | ||
| 1564 | "_N$fontFamily": "Arial", | ||
| 1565 | "_N$overflow": 1, | ||
| 1566 | "_N$cacheMode": 0, | ||
| 1567 | "_id": "a0GMu3WJhD9q6zPABtY30+" | ||
| 1568 | }, | ||
| 1569 | { | ||
| 1570 | "__type__": "cc.Node", | ||
| 1571 | "_name": "Close", | ||
| 1572 | "_objFlags": 0, | ||
| 1573 | "_parent": { | ||
| 1574 | "__id__": 24 | ||
| 1575 | }, | ||
| 1576 | "_children": [], | ||
| 1577 | "_active": true, | ||
| 1578 | "_level": 2, | ||
| 1579 | "_components": [ | ||
| 1580 | { | ||
| 1581 | "__id__": 36 | ||
| 1582 | } | ||
| 1583 | ], | ||
| 1584 | "_prefab": null, | ||
| 1585 | "_opacity": 255, | ||
| 1586 | "_color": { | ||
| 1587 | "__type__": "cc.Color", | ||
| 1588 | "r": 255, | ||
| 1589 | "g": 255, | ||
| 1590 | "b": 255, | ||
| 1591 | "a": 255 | ||
| 1592 | }, | ||
| 1593 | "_contentSize": { | ||
| 1594 | "__type__": "cc.Size", | ||
| 1595 | "width": 60, | ||
| 1596 | "height": 60 | ||
| 1597 | }, | ||
| 1598 | "_anchorPoint": { | ||
| 1599 | "__type__": "cc.Vec2", | ||
| 1600 | "x": 0.5, | ||
| 1601 | "y": 0.5 | ||
| 1602 | }, | ||
| 1603 | "_position": { | ||
| 1604 | "__type__": "cc.Vec3", | ||
| 1605 | "x": -344, | ||
| 1606 | "y": 145, | ||
| 1607 | "z": 0 | ||
| 1608 | }, | ||
| 1609 | "_scale": { | ||
| 1610 | "__type__": "cc.Vec3", | ||
| 1611 | "x": 1, | ||
| 1612 | "y": 1, | ||
| 1613 | "z": 1 | ||
| 1614 | }, | ||
| 1615 | "_rotationX": 0, | ||
| 1616 | "_rotationY": 0, | ||
| 1617 | "_quat": { | ||
| 1618 | "__type__": "cc.Quat", | ||
| 1619 | "x": 0, | ||
| 1620 | "y": 0, | ||
| 1621 | "z": 0, | ||
| 1622 | "w": 1 | ||
| 1623 | }, | ||
| 1624 | "_skewX": 0, | ||
| 1625 | "_skewY": 0, | ||
| 1626 | "groupIndex": 0, | ||
| 1627 | "_id": "9dgZAKFSlK3LqbaVAMXndB" | ||
| 1628 | }, | ||
| 1629 | { | ||
| 1630 | "__type__": "cc.Sprite", | ||
| 1631 | "_name": "", | ||
| 1632 | "_objFlags": 0, | ||
| 1633 | "node": { | ||
| 1634 | "__id__": 35 | ||
| 1635 | }, | ||
| 1636 | "_enabled": true, | ||
| 1637 | "_srcBlendFactor": 770, | ||
| 1638 | "_dstBlendFactor": 771, | ||
| 1639 | "_spriteFrame": { | ||
| 1640 | "__uuid__": "59262b31-5913-43a6-8075-23de6b2f9a06" | ||
| 1641 | }, | ||
| 1642 | "_type": 0, | ||
| 1643 | "_sizeMode": 0, | ||
| 1644 | "_fillType": 0, | ||
| 1645 | "_fillCenter": { | ||
| 1646 | "__type__": "cc.Vec2", | ||
| 1647 | "x": 0, | ||
| 1648 | "y": 0 | ||
| 1649 | }, | ||
| 1650 | "_fillStart": 0, | ||
| 1651 | "_fillRange": 0, | ||
| 1652 | "_isTrimmedMode": true, | ||
| 1653 | "_state": 0, | ||
| 1654 | "_atlas": null, | ||
| 1655 | "_id": "72ym1/1MRBzZ90TKfF/Yha" | ||
| 1656 | }, | ||
| 1657 | { | ||
| 1658 | "__type__": "cc.Node", | ||
| 1659 | "_name": "DialogListArea", | ||
| 1660 | "_objFlags": 0, | ||
| 1661 | "_parent": { | ||
| 1662 | "__id__": 24 | ||
| 1663 | }, | ||
| 1664 | "_children": [ | ||
| 1665 | { | ||
| 1666 | "__id__": 38 | ||
| 1667 | } | ||
| 1668 | ], | ||
| 1669 | "_active": true, | ||
| 1670 | "_level": 2, | ||
| 1671 | "_components": [], | ||
| 1672 | "_prefab": null, | ||
| 1673 | "_opacity": 255, | ||
| 1674 | "_color": { | ||
| 1675 | "__type__": "cc.Color", | ||
| 1676 | "r": 255, | ||
| 1677 | "g": 255, | ||
| 1678 | "b": 255, | ||
| 1679 | "a": 255 | ||
| 1680 | }, | ||
| 1681 | "_contentSize": { | ||
| 1682 | "__type__": "cc.Size", | ||
| 1683 | "width": 480, | ||
| 1684 | "height": 230 | ||
| 1685 | }, | ||
| 1686 | "_anchorPoint": { | ||
| 1687 | "__type__": "cc.Vec2", | ||
| 1688 | "x": 0.5, | ||
| 1689 | "y": 0.5 | ||
| 1690 | }, | ||
| 1691 | "_position": { | ||
| 1692 | "__type__": "cc.Vec3", | ||
| 1693 | "x": 123, | ||
| 1694 | "y": -41, | ||
| 1695 | "z": 0 | ||
| 1696 | }, | ||
| 1697 | "_scale": { | ||
| 1698 | "__type__": "cc.Vec3", | ||
| 1699 | "x": 1, | ||
| 1700 | "y": 1, | ||
| 1701 | "z": 1 | ||
| 1702 | }, | ||
| 1703 | "_rotationX": 0, | ||
| 1704 | "_rotationY": 0, | ||
| 1705 | "_quat": { | ||
| 1706 | "__type__": "cc.Quat", | ||
| 1707 | "x": 0, | ||
| 1708 | "y": 0, | ||
| 1709 | "z": 0, | ||
| 1710 | "w": 1 | ||
| 1711 | }, | ||
| 1712 | "_skewX": 0, | ||
| 1713 | "_skewY": 0, | ||
| 1714 | "groupIndex": 0, | ||
| 1715 | "_id": "deZ9qULilOp7oycBTO4qa4" | ||
| 1716 | }, | ||
| 1717 | { | ||
| 1718 | "__type__": "cc.Node", | ||
| 1719 | "_name": "DialogListWrapper", | ||
| 1720 | "_objFlags": 0, | ||
| 1721 | "_parent": { | ||
| 1722 | "__id__": 37 | ||
| 1723 | }, | ||
| 1724 | "_children": [ | ||
| 1725 | { | ||
| 1726 | "__id__": 39 | ||
| 1727 | } | ||
| 1728 | ], | ||
| 1729 | "_active": true, | ||
| 1730 | "_level": 0, | ||
| 1731 | "_components": [ | ||
| 1732 | { | ||
| 1733 | "__id__": 41 | ||
| 1734 | }, | ||
| 1735 | { | ||
| 1736 | "__id__": 42 | ||
| 1737 | } | ||
| 1738 | ], | ||
| 1739 | "_prefab": null, | ||
| 1740 | "_opacity": 255, | ||
| 1741 | "_color": { | ||
| 1742 | "__type__": "cc.Color", | ||
| 1743 | "r": 255, | ||
| 1744 | "g": 255, | ||
| 1745 | "b": 255, | ||
| 1746 | "a": 255 | ||
| 1747 | }, | ||
| 1748 | "_contentSize": { | ||
| 1749 | "__type__": "cc.Size", | ||
| 1750 | "width": 480, | ||
| 1751 | "height": 250 | ||
| 1752 | }, | ||
| 1753 | "_anchorPoint": { | ||
| 1754 | "__type__": "cc.Vec2", | ||
| 1755 | "x": 0.5, | ||
| 1756 | "y": 1 | ||
| 1757 | }, | ||
| 1758 | "_position": { | ||
| 1759 | "__type__": "cc.Vec3", | ||
| 1760 | "x": 0, | ||
| 1761 | "y": 105, | ||
| 1762 | "z": 0 | ||
| 1763 | }, | ||
| 1764 | "_scale": { | ||
| 1765 | "__type__": "cc.Vec3", | ||
| 1766 | "x": 1, | ||
| 1767 | "y": 1, | ||
| 1768 | "z": 1 | ||
| 1769 | }, | ||
| 1770 | "_rotationX": 0, | ||
| 1771 | "_rotationY": 0, | ||
| 1772 | "_quat": { | ||
| 1773 | "__type__": "cc.Quat", | ||
| 1774 | "x": 0, | ||
| 1775 | "y": 0, | ||
| 1776 | "z": 0, | ||
| 1777 | "w": 1 | ||
| 1778 | }, | ||
| 1779 | "_skewX": 0, | ||
| 1780 | "_skewY": 0, | ||
| 1781 | "groupIndex": 0, | ||
| 1782 | "_id": "f1Vk5G37dO4atwUXW/fvMq" | ||
| 1783 | }, | ||
| 1784 | { | ||
| 1785 | "__type__": "cc.Node", | ||
| 1786 | "_name": "DialogList", | ||
| 1787 | "_objFlags": 0, | ||
| 1788 | "_parent": { | ||
| 1789 | "__id__": 38 | ||
| 1790 | }, | ||
| 1791 | "_children": [], | ||
| 1792 | "_active": true, | ||
| 1793 | "_level": 0, | ||
| 1794 | "_components": [ | ||
| 1795 | { | ||
| 1796 | "__id__": 40 | ||
| 1797 | } | ||
| 1798 | ], | ||
| 1799 | "_prefab": null, | ||
| 1800 | "_opacity": 255, | ||
| 1801 | "_color": { | ||
| 1802 | "__type__": "cc.Color", | ||
| 1803 | "r": 255, | ||
| 1804 | "g": 255, | ||
| 1805 | "b": 255, | ||
| 1806 | "a": 255 | ||
| 1807 | }, | ||
| 1808 | "_contentSize": { | ||
| 1809 | "__type__": "cc.Size", | ||
| 1810 | "width": 0, | ||
| 1811 | "height": 0 | ||
| 1812 | }, | ||
| 1813 | "_anchorPoint": { | ||
| 1814 | "__type__": "cc.Vec2", | ||
| 1815 | "x": 0.5, | ||
| 1816 | "y": 1 | ||
| 1817 | }, | ||
| 1818 | "_position": { | ||
| 1819 | "__type__": "cc.Vec3", | ||
| 1820 | "x": 0, | ||
| 1821 | "y": -10, | ||
| 1822 | "z": 0 | ||
| 1823 | }, | ||
| 1824 | "_scale": { | ||
| 1825 | "__type__": "cc.Vec3", | ||
| 1826 | "x": 1, | ||
| 1827 | "y": 1, | ||
| 1828 | "z": 1 | ||
| 1829 | }, | ||
| 1830 | "_rotationX": 0, | ||
| 1831 | "_rotationY": 0, | ||
| 1832 | "_quat": { | ||
| 1833 | "__type__": "cc.Quat", | ||
| 1834 | "x": 0, | ||
| 1835 | "y": 0, | ||
| 1836 | "z": 0, | ||
| 1837 | "w": 1 | ||
| 1838 | }, | ||
| 1839 | "_skewX": 0, | ||
| 1840 | "_skewY": 0, | ||
| 1841 | "groupIndex": 0, | ||
| 1842 | "_id": "45wHhKEnlOZpegcni6He98" | ||
| 1843 | }, | ||
| 1844 | { | ||
| 1845 | "__type__": "cc.Widget", | ||
| 1846 | "_name": "", | ||
| 1847 | "_objFlags": 0, | ||
| 1848 | "node": { | ||
| 1849 | "__id__": 39 | ||
| 1850 | }, | ||
| 1851 | "_enabled": true, | ||
| 1852 | "alignMode": 1, | ||
| 1853 | "_target": null, | ||
| 1854 | "_alignFlags": 1, | ||
| 1855 | "_left": 0, | ||
| 1856 | "_right": 0, | ||
| 1857 | "_top": 10, | ||
| 1858 | "_bottom": 0, | ||
| 1859 | "_verticalCenter": 0, | ||
| 1860 | "_horizontalCenter": 0, | ||
| 1861 | "_isAbsLeft": true, | ||
| 1862 | "_isAbsRight": true, | ||
| 1863 | "_isAbsTop": true, | ||
| 1864 | "_isAbsBottom": true, | ||
| 1865 | "_isAbsHorizontalCenter": true, | ||
| 1866 | "_isAbsVerticalCenter": true, | ||
| 1867 | "_originalWidth": 0, | ||
| 1868 | "_originalHeight": 0, | ||
| 1869 | "_id": "cb5ADq2nBJR6liQWIVFJQ9" | ||
| 1870 | }, | ||
| 1871 | { | ||
| 1872 | "__type__": "cc.Mask", | ||
| 1873 | "_name": "", | ||
| 1874 | "_objFlags": 0, | ||
| 1875 | "node": { | ||
| 1876 | "__id__": 38 | ||
| 1877 | }, | ||
| 1878 | "_enabled": true, | ||
| 1879 | "_spriteFrame": null, | ||
| 1880 | "_type": 0, | ||
| 1881 | "_segments": 64, | ||
| 1882 | "_N$alphaThreshold": 1, | ||
| 1883 | "_N$inverted": false, | ||
| 1884 | "_id": "0acR/V7KRCY6FMTMTFBVHO" | ||
| 1885 | }, | ||
| 1886 | { | ||
| 1887 | "__type__": "cc.Widget", | ||
| 1888 | "_name": "", | ||
| 1889 | "_objFlags": 0, | ||
| 1890 | "node": { | ||
| 1891 | "__id__": 38 | ||
| 1892 | }, | ||
| 1893 | "_enabled": true, | ||
| 1894 | "alignMode": 1, | ||
| 1895 | "_target": null, | ||
| 1896 | "_alignFlags": 1, | ||
| 1897 | "_left": 0, | ||
| 1898 | "_right": 0, | ||
| 1899 | "_top": 10, | ||
| 1900 | "_bottom": 0, | ||
| 1901 | "_verticalCenter": 0, | ||
| 1902 | "_horizontalCenter": 0, | ||
| 1903 | "_isAbsLeft": true, | ||
| 1904 | "_isAbsRight": true, | ||
| 1905 | "_isAbsTop": true, | ||
| 1906 | "_isAbsBottom": true, | ||
| 1907 | "_isAbsHorizontalCenter": true, | ||
| 1908 | "_isAbsVerticalCenter": true, | ||
| 1909 | "_originalWidth": 0, | ||
| 1910 | "_originalHeight": 0, | ||
| 1911 | "_id": "63joEdR3pIBZNqqLaGR2n1" | ||
| 1912 | }, | ||
| 1913 | { | ||
| 1914 | "__type__": "cc.Node", | ||
| 1915 | "_name": "Remind", | ||
| 1916 | "_objFlags": 0, | ||
| 1917 | "_parent": { | ||
| 1918 | "__id__": 2 | ||
| 1919 | }, | ||
| 1920 | "_children": [ | ||
| 1921 | { | ||
| 1922 | "__id__": 44 | ||
| 1923 | } | ||
| 1924 | ], | ||
| 1925 | "_active": false, | ||
| 1926 | "_level": 1, | ||
| 1927 | "_components": [ | ||
| 1928 | { | ||
| 1929 | "__id__": 46 | ||
| 1930 | } | ||
| 1931 | ], | ||
| 1932 | "_prefab": null, | ||
| 1933 | "_opacity": 255, | ||
| 1934 | "_color": { | ||
| 1935 | "__type__": "cc.Color", | ||
| 1936 | "r": 233, | ||
| 1937 | "g": 243, | ||
| 1938 | "b": 1, | ||
| 1939 | "a": 255 | ||
| 1940 | }, | ||
| 1941 | "_contentSize": { | ||
| 1942 | "__type__": "cc.Size", | ||
| 1943 | "width": 720.09, | ||
| 1944 | "height": 60 | ||
| 1945 | }, | ||
| 1946 | "_anchorPoint": { | ||
| 1947 | "__type__": "cc.Vec2", | ||
| 1948 | "x": 0.5, | ||
| 1949 | "y": 0.5 | ||
| 1950 | }, | ||
| 1951 | "_position": { | ||
| 1952 | "__type__": "cc.Vec3", | ||
| 1953 | "x": 8, | ||
| 1954 | "y": 152, | ||
| 1955 | "z": 0 | ||
| 1956 | }, | ||
| 1957 | "_scale": { | ||
| 1958 | "__type__": "cc.Vec3", | ||
| 1959 | "x": 1, | ||
| 1960 | "y": 1, | ||
| 1961 | "z": 1 | ||
| 1962 | }, | ||
| 1963 | "_rotationX": 0, | ||
| 1964 | "_rotationY": 0, | ||
| 1965 | "_quat": { | ||
| 1966 | "__type__": "cc.Quat", | ||
| 1967 | "x": 0, | ||
| 1968 | "y": 0, | ||
| 1969 | "z": 0, | ||
| 1970 | "w": 1 | ||
| 1971 | }, | ||
| 1972 | "_skewX": 0, | ||
| 1973 | "_skewY": 0, | ||
| 1974 | "groupIndex": 0, | ||
| 1975 | "_id": "baQVAWnrxC87MvpnUD0QRo" | ||
| 1976 | }, | ||
| 1977 | { | ||
| 1978 | "__type__": "cc.Node", | ||
| 1979 | "_name": "Box", | ||
| 1980 | "_objFlags": 0, | ||
| 1981 | "_parent": { | ||
| 1982 | "__id__": 43 | ||
| 1983 | }, | ||
| 1984 | "_children": [], | ||
| 1985 | "_active": false, | ||
| 1986 | "_level": 2, | ||
| 1987 | "_components": [ | ||
| 1988 | { | ||
| 1989 | "__id__": 45 | ||
| 1990 | } | ||
| 1991 | ], | ||
| 1992 | "_prefab": null, | ||
| 1993 | "_opacity": 255, | ||
| 1994 | "_color": { | ||
| 1995 | "__type__": "cc.Color", | ||
| 1996 | "r": 255, | ||
| 1997 | "g": 255, | ||
| 1998 | "b": 255, | ||
| 1999 | "a": 255 | ||
| 2000 | }, | ||
| 2001 | "_contentSize": { | ||
| 2002 | "__type__": "cc.Size", | ||
| 2003 | "width": 196, | ||
| 2004 | "height": 168 | ||
| 2005 | }, | ||
| 2006 | "_anchorPoint": { | ||
| 2007 | "__type__": "cc.Vec2", | ||
| 2008 | "x": 0.5, | ||
| 2009 | "y": 0.5 | ||
| 2010 | }, | ||
| 2011 | "_position": { | ||
| 2012 | "__type__": "cc.Vec3", | ||
| 2013 | "x": 67, | ||
| 2014 | "y": -356, | ||
| 2015 | "z": 0 | ||
| 2016 | }, | ||
| 2017 | "_scale": { | ||
| 2018 | "__type__": "cc.Vec3", | ||
| 2019 | "x": 1, | ||
| 2020 | "y": 1, | ||
| 2021 | "z": 1 | ||
| 2022 | }, | ||
| 2023 | "_rotationX": 0, | ||
| 2024 | "_rotationY": 0, | ||
| 2025 | "_quat": { | ||
| 2026 | "__type__": "cc.Quat", | ||
| 2027 | "x": 0, | ||
| 2028 | "y": 0, | ||
| 2029 | "z": 0, | ||
| 2030 | "w": 1 | ||
| 2031 | }, | ||
| 2032 | "_skewX": 0, | ||
| 2033 | "_skewY": 0, | ||
| 2034 | "groupIndex": 0, | ||
| 2035 | "_id": "3dvz2swnNDh7XdDc0qQOeN" | ||
| 2036 | }, | ||
| 2037 | { | ||
| 2038 | "__type__": "cc.Sprite", | ||
| 2039 | "_name": "", | ||
| 2040 | "_objFlags": 0, | ||
| 2041 | "node": { | ||
| 2042 | "__id__": 44 | ||
| 2043 | }, | ||
| 2044 | "_enabled": true, | ||
| 2045 | "_srcBlendFactor": 770, | ||
| 2046 | "_dstBlendFactor": 771, | ||
| 2047 | "_spriteFrame": { | ||
| 2048 | "__uuid__": "3f55e57f-58ff-4674-80a1-4f3cb937762c" | ||
| 2049 | }, | ||
| 2050 | "_type": 0, | ||
| 2051 | "_sizeMode": 1, | ||
| 2052 | "_fillType": 0, | ||
| 2053 | "_fillCenter": { | ||
| 2054 | "__type__": "cc.Vec2", | ||
| 2055 | "x": 0, | ||
| 2056 | "y": 0 | ||
| 2057 | }, | ||
| 2058 | "_fillStart": 0, | ||
| 2059 | "_fillRange": 0, | ||
| 2060 | "_isTrimmedMode": true, | ||
| 2061 | "_state": 0, | ||
| 2062 | "_atlas": null, | ||
| 2063 | "_id": "f0ckbXjw5OMILRs/MrpcMA" | ||
| 2064 | }, | ||
| 2065 | { | ||
| 2066 | "__type__": "cc.Label", | ||
| 2067 | "_name": "", | ||
| 2068 | "_objFlags": 0, | ||
| 2069 | "node": { | ||
| 2070 | "__id__": 43 | ||
| 2071 | }, | ||
| 2072 | "_enabled": true, | ||
| 2073 | "_useOriginalSize": false, | ||
| 2074 | "_string": "找到了捷径,进度增加10%", | ||
| 2075 | "_N$string": "找到了捷径,进度增加10%", | ||
| 2076 | "_fontSize": 60, | ||
| 2077 | "_lineHeight": 60, | ||
| 2078 | "_enableWrapText": true, | ||
| 2079 | "_N$file": null, | ||
| 2080 | "_isSystemFontUsed": true, | ||
| 2081 | "_spacingX": 0, | ||
| 2082 | "_batchAsBitmap": false, | ||
| 2083 | "_N$horizontalAlign": 1, | ||
| 2084 | "_N$verticalAlign": 1, | ||
| 2085 | "_N$fontFamily": "Arial", | ||
| 2086 | "_N$overflow": 0, | ||
| 2087 | "_N$cacheMode": 0, | ||
| 2088 | "_id": "d1ETaUEJRJ4I3tHGzcvWJd" | ||
| 2089 | }, | ||
| 2090 | { | ||
| 2091 | "__type__": "cc.Node", | ||
| 2092 | "_name": "Animal", | ||
| 2093 | "_objFlags": 0, | ||
| 2094 | "_parent": { | ||
| 2095 | "__id__": 2 | ||
| 2096 | }, | ||
| 2097 | "_children": [], | ||
| 2098 | "_active": false, | ||
| 2099 | "_level": 1, | ||
| 2100 | "_components": [ | ||
| 2101 | { | ||
| 2102 | "__id__": 48 | ||
| 2103 | } | ||
| 2104 | ], | ||
| 2105 | "_prefab": null, | ||
| 2106 | "_opacity": 255, | ||
| 2107 | "_color": { | ||
| 2108 | "__type__": "cc.Color", | ||
| 2109 | "r": 255, | ||
| 2110 | "g": 255, | ||
| 2111 | "b": 255, | ||
| 2112 | "a": 255 | ||
| 2113 | }, | ||
| 2114 | "_contentSize": { | ||
| 2115 | "__type__": "cc.Size", | ||
| 2116 | "width": 120, | ||
| 2117 | "height": 158 | ||
| 2118 | }, | ||
| 2119 | "_anchorPoint": { | ||
| 2120 | "__type__": "cc.Vec2", | ||
| 2121 | "x": 0.5, | ||
| 2122 | "y": 0.5 | ||
| 2123 | }, | ||
| 2124 | "_position": { | ||
| 2125 | "__type__": "cc.Vec3", | ||
| 2126 | "x": 313, | ||
| 2127 | "y": -169, | ||
| 2128 | "z": 0 | ||
| 2129 | }, | ||
| 2130 | "_scale": { | ||
| 2131 | "__type__": "cc.Vec3", | ||
| 2132 | "x": 1, | ||
| 2133 | "y": 1, | ||
| 2134 | "z": 1 | ||
| 2135 | }, | ||
| 2136 | "_rotationX": 0, | ||
| 2137 | "_rotationY": 0, | ||
| 2138 | "_quat": { | ||
| 2139 | "__type__": "cc.Quat", | ||
| 2140 | "x": 0, | ||
| 2141 | "y": 0, | ||
| 2142 | "z": 0, | ||
| 2143 | "w": 1 | ||
| 2144 | }, | ||
| 2145 | "_skewX": 0, | ||
| 2146 | "_skewY": 0, | ||
| 2147 | "groupIndex": 0, | ||
| 2148 | "_id": "07HTUgAc5AQIy9uCvo8OfQ" | ||
| 2149 | }, | ||
| 2150 | { | ||
| 2151 | "__type__": "cc.Sprite", | ||
| 2152 | "_name": "", | ||
| 2153 | "_objFlags": 0, | ||
| 2154 | "node": { | ||
| 2155 | "__id__": 47 | ||
| 2156 | }, | ||
| 2157 | "_enabled": true, | ||
| 2158 | "_srcBlendFactor": 770, | ||
| 2159 | "_dstBlendFactor": 771, | ||
| 2160 | "_spriteFrame": { | ||
| 2161 | "__uuid__": "30eaee90-b002-4d6c-a1c1-f252176a5890" | ||
| 2162 | }, | ||
| 2163 | "_type": 0, | ||
| 2164 | "_sizeMode": 1, | ||
| 2165 | "_fillType": 0, | ||
| 2166 | "_fillCenter": { | ||
| 2167 | "__type__": "cc.Vec2", | ||
| 2168 | "x": 0, | ||
| 2169 | "y": 0 | ||
| 2170 | }, | ||
| 2171 | "_fillStart": 0, | ||
| 2172 | "_fillRange": 0, | ||
| 2173 | "_isTrimmedMode": true, | ||
| 2174 | "_state": 0, | ||
| 2175 | "_atlas": null, | ||
| 2176 | "_id": "e5YKxIZgdC9aB8m3CSkwWD" | ||
| 2177 | }, | ||
| 2178 | { | ||
| 2179 | "__type__": "cc.Canvas", | ||
| 2180 | "_name": "", | ||
| 2181 | "_objFlags": 0, | ||
| 2182 | "node": { | ||
| 2183 | "__id__": 2 | ||
| 2184 | }, | ||
| 2185 | "_enabled": true, | ||
| 2186 | "_designResolution": { | ||
| 2187 | "__type__": "cc.Size", | ||
| 2188 | "width": 1280, | ||
| 2189 | "height": 720 | ||
| 2190 | }, | ||
| 2191 | "_fitWidth": false, | ||
| 2192 | "_fitHeight": true, | ||
| 2193 | "_id": "72z44+175OfaMOhtsD1Huo" | ||
| 2194 | }, | ||
| 2195 | { | ||
| 2196 | "__type__": "46717GP6RtOGobAYIAnkxCA", | ||
| 2197 | "_name": "", | ||
| 2198 | "_objFlags": 0, | ||
| 2199 | "node": { | ||
| 2200 | "__id__": 2 | ||
| 2201 | }, | ||
| 2202 | "_enabled": true, | ||
| 2203 | "_cLog": null, | ||
| 2204 | "_cApplication": null, | ||
| 2205 | "_cFocus": null, | ||
| 2206 | "_aFocusTargets": [], | ||
| 2207 | "_fiCurrentFocus": null, | ||
| 2208 | "_iSceneStatus": 0, | ||
| 2209 | "_fFocusScaleFactor": 1.06, | ||
| 2210 | "_bIsFocusInit": false, | ||
| 2211 | "_oSceneContext": null, | ||
| 2212 | "_oNextSceneParameter": null, | ||
| 2213 | "_compPlayer": null, | ||
| 2214 | "_aTouchContext": [], | ||
| 2215 | "_defaultBackScene": null, | ||
| 2216 | "_oFocusScaleFactorInfo": null, | ||
| 2217 | "holdClick": false, | ||
| 2218 | "_bShowExitBox": false, | ||
| 2219 | "PFB_TYPE": { | ||
| 2220 | "__uuid__": "cbd54b30-9e7f-422c-b742-9b434a12b6da" | ||
| 2221 | }, | ||
| 2222 | "PFB_POP": { | ||
| 2223 | "__uuid__": "8fc297a9-26e1-4936-aaa0-59dffbb57d8d" | ||
| 2224 | }, | ||
| 458 | "_id": "01a+mE585Ho7WhSVhlk2o5" | 2225 | "_id": "01a+mE585Ho7WhSVhlk2o5" |
| 459 | } | 2226 | } |
| 460 | ] | 2227 | ] |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
This diff could not be displayed because it is too large.
| ... | @@ -6,37 +6,304 @@ var TVCanvas = require('TVCanvas'); | ... | @@ -6,37 +6,304 @@ var TVCanvas = require('TVCanvas'); |
| 6 | var TVScrollParameter = require('TVScrollParameter'); | 6 | var TVScrollParameter = require('TVScrollParameter'); |
| 7 | var ListView = require('ListView'); | 7 | var ListView = require('ListView'); |
| 8 | var ListCell = require('ListCell'); | 8 | var ListCell = require('ListCell'); |
| 9 | var xmlToJSON=require('xmlToJSON'); | 9 | var xmlToJSON = require('xmlToJSON'); |
| 10 | 10 | ||
| 11 | cc.Class({ | 11 | cc.Class({ |
| 12 | extends: TVCanvas, | 12 | extends: TVCanvas, |
| 13 | 13 | ||
| 14 | properties: { | 14 | properties: { |
| 15 | PFB_TYPE: { | ||
| 16 | default: null, | ||
| 17 | type: cc.Prefab, | ||
| 18 | }, | ||
| 19 | PFB_POP: { | ||
| 20 | default: null, | ||
| 21 | type: cc.Prefab, | ||
| 22 | }, | ||
| 23 | }, | ||
| 15 | 24 | ||
| 25 | start: function () { | ||
| 26 | this.bg_long.getComponent(cc.Animation).play(); //播放动画 | ||
| 27 | |||
| 28 | // this.schedule(()=>{ | ||
| 29 | // this.bg_long.getComponent(cc.Animation).pause(); //暂停播放动画 | ||
| 30 | // this.hero.getComponent(dragonBones.ArmatureDisplay)._armature.animation.stop(); | ||
| 31 | // },5); | ||
| 32 | this.scheduleOnce(() => { //指定0让回调函数在下一帧立即执行(推荐位初始化图片后,需等待下一帧操作) | ||
| 33 | this.bg_long.getComponent(cc.Animation).pause(); | ||
| 34 | }, 0); | ||
| 16 | }, | 35 | }, |
| 17 | 36 | ||
| 18 | onLoad: function () { | 37 | onLoad: function () { |
| 19 | this._super(); | 38 | this._super(); |
| 20 | 39 | ||
| 21 | var self=this; | 40 | this._aFocusTargets[1] = []; //弹窗焦点 |
| 41 | this._iSceneStatus = 0; //焦点层级 | ||
| 42 | this._remindString = this.node.getChildByName("Remind").getComponent(cc.Label); | ||
| 43 | this._progressString = cc.find("Progress/progress", this.node).getComponent(cc.Label); | ||
| 44 | this._progressBg = cc.find("Progress/scrollViewBg", this.node); | ||
| 45 | this._progressBar = cc.find("Progress/scrollViewBg/scrollViewBar", this.node); | ||
| 46 | |||
| 47 | this.totalTask = 0; //任务进度,根据配置表,每个 | ||
| 48 | this.bg_long = this.node.getChildByName("Bg_long"); | ||
| 49 | // this.bg_long.getComponent(cc.Animation).play(); //播放动画 | ||
| 50 | // this.bg_long.getComponent(cc.Animation).stop(); //暂停播放动画 | ||
| 51 | |||
| 52 | this.hero = this.node.getChildByName("Hero"); | ||
| 53 | // this.hero.getComponent(dragonBones.ArmatureDisplay).playAnimation(); | ||
| 54 | // this.hero.getComponent(dragonBones.ArmatureDisplay)._armature.animation.stop(); | ||
| 55 | |||
| 56 | var self = this; | ||
| 22 | //动态加载背景图,需指定类型(需要拼接图片),指定尺寸(目前使用的是7280*720) | 57 | //动态加载背景图,需指定类型(需要拼接图片),指定尺寸(目前使用的是7280*720) |
| 23 | cc.loader.loadRes("game/explore_plus", cc.Texture2D, function (err, texture) { | 58 | cc.loader.loadRes("game/explore_plus", cc.Texture2D, function (err, texture) { |
| 24 | self.node.getChildByName("Bg_long").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture); | 59 | self.bg_long.getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture); |
| 25 | }); | 60 | }); |
| 26 | 61 | ||
| 27 | cc.loader.loadRes("config/explore_config",function(err,str){ | 62 | //显示向右的动作指引 |
| 28 | cc.log("源xml--------------->"+str); | 63 | let actionUp = cc.moveTo(0.3, cc.v2(480, 0)); |
| 29 | // var result=xmlToJSON.parseString(str); | 64 | let actionDown = cc.moveTo(0.3, cc.v2(500, 0)); |
| 65 | this.node.getChildByName("Next").runAction(cc.repeatForever(cc.sequence(actionUp, actionDown))); | ||
| 66 | |||
| 67 | //分类框框 | ||
| 68 | this._nodeDialogListWrapper = cc.find("PopWindow/DialogListArea/DialogListWrapper", this.node); | ||
| 69 | this._nodeDialogList = cc.find("DialogList", this._nodeDialogListWrapper); | ||
| 70 | // this._nodeDialogList.addComponent(TVScrollParameter); | ||
| 71 | |||
| 72 | cc.loader.loadRes("config/explore_config", function (err, str) { | ||
| 30 | var x2js = new xmlToJSON(); | 73 | var x2js = new xmlToJSON(); |
| 31 | var result=x2js.xml_str2json(str); | 74 | self._exploreConfig = x2js.xml_str2json(str); //解析xml |
| 32 | cc.log("解析后xml------------>"+JSON.stringify(result)); | 75 | cc.log("解析后xml------------>" + JSON.stringify(self._exploreConfig)); |
| 33 | cc.log("解析后xml------------>"+result.root.explore[0]["_choice2"]); | 76 | // cc.log("解析后xml------------>"+result.root.explore[0]["_choice2"]); |
| 34 | // cc.log("解析后xml------------>"+result.root[0].explore[0]["_attr"].name["_value"]); | 77 | }); |
| 35 | }) | 78 | |
| 79 | this.initFocus(); | ||
| 80 | }, | ||
| 81 | |||
| 82 | initFocus: function () { | ||
| 83 | var fiNext = this.node.getChildByName("Next").addComponent(FocusInfo);// | ||
| 84 | this._aFocusTargets[0]['to_next'] = this.node.getChildByName("Next"); | ||
| 85 | fiNext.init( | ||
| 86 | null, true | ||
| 87 | ); | ||
| 88 | |||
| 89 | var fiClose = this.node.getChildByName("BackAScene").addComponent(FocusInfo);// | ||
| 90 | this._aFocusTargets[0]['to_back_scene'] = this.node.getChildByName("BackAScene"); | ||
| 91 | fiClose.init( | ||
| 92 | '', true | ||
| 93 | ); | ||
| 94 | |||
| 95 | var fiDiloaClose = cc.find("PopWindow/Close",this.node).addComponent(FocusInfo);// | ||
| 96 | this._aFocusTargets[1]['to_close_popwindow'] = cc.find("PopWindow/Close",this.node); | ||
| 97 | fiDiloaClose.init( | ||
| 98 | '{"click": [{"action": "Close"}]}', true | ||
| 99 | ); | ||
| 100 | |||
| 101 | var nodeFocus = new cc.Node('nodeFocus'); | ||
| 102 | this.node.addChild(nodeFocus, 10); | ||
| 103 | this._cFocus = this.node.getChildByName('nodeFocus').addComponent(TVFocus); | ||
| 104 | this._cFocus.init('focusContainer', this, | ||
| 105 | fiNext.getComponent(FocusInfo), | ||
| 106 | Common.SCREEN_WIDTH, Common.SCREEN_HEIGHT, 6, 4, 1.0); | ||
| 107 | // this._cFocus.hide(); //所有焦点都是隐藏的 | ||
| 108 | |||
| 109 | }, | ||
| 110 | |||
| 111 | keyDownDirection: function (Direct) { | ||
| 112 | var fiFocusTarget = null; | ||
| 113 | var fiCurrentFocus = this._fiCurrentFocus; | ||
| 114 | var oScrollParameter = null; | ||
| 115 | |||
| 116 | fiFocusTarget = this._cFocus.findTarget(fiCurrentFocus, this._aFocusTargets, this._iSceneStatus, Direct); | ||
| 117 | fiFocusTarget = this.checkFocusTarget(fiFocusTarget); | ||
| 118 | if (!fiFocusTarget) { return; } | ||
| 119 | // this._cFocus.flyFocus(this._fiCurrentFocus, fiFocusTarget, Direct, null, oScrollParameter); | ||
| 120 | // this.scheduleOnce(() => { //指定0让回调函数在下一帧立即执行(推荐位初始化图片后,需等待下一帧操作) | ||
| 121 | this._cFocus.flyFocus(this._fiCurrentFocus, fiFocusTarget, Direct, null, oScrollParameter); | ||
| 122 | // }, 0.5); | ||
| 123 | }, | ||
| 124 | |||
| 125 | checkFocusTarget: function (fiFocusTarget) { | ||
| 126 | return fiFocusTarget; | ||
| 127 | }, | ||
| 128 | |||
| 129 | onKeyDown: function (event) { | ||
| 130 | |||
| 131 | switch (event.keyCode) { | ||
| 132 | case cc.macro.KEY.up: | ||
| 133 | case Common.ANDROID_KEY.up: | ||
| 134 | this.keyDownDirection(Common.MOVE_DIRECTION_UP); | ||
| 135 | break; | ||
| 136 | case cc.macro.KEY.right: | ||
| 137 | case Common.ANDROID_KEY.right: | ||
| 138 | this.keyDownDirection(Common.MOVE_DIRECTION_RIGHT); | ||
| 139 | break; | ||
| 140 | case cc.macro.KEY.down: | ||
| 141 | case Common.ANDROID_KEY.down: | ||
| 142 | this.keyDownDirection(Common.MOVE_DIRECTION_DOWN); | ||
| 143 | break; | ||
| 144 | case cc.macro.KEY.left: | ||
| 145 | case Common.ANDROID_KEY.left: | ||
| 146 | this.keyDownDirection(Common.MOVE_DIRECTION_LEFT); | ||
| 147 | break; | ||
| 148 | case cc.macro.KEY.enter: | ||
| 149 | case cc.macro.KEY.space: | ||
| 150 | case Common.ANDROID_KEY.enter: | ||
| 151 | if (0 == this._fiCurrentFocus.node.getName().indexOf('Next')) { | ||
| 152 | this.nextTask(); | ||
| 153 | break; | ||
| 154 | }else if(0 == this._fiCurrentFocus.node.getName().indexOf('BackAScene')){ | ||
| 155 | this.backAScene(); | ||
| 156 | } | ||
| 157 | this.doCurrentFocusTVLinkAction(Common.TV_LINK_ACTION_CLICK); | ||
| 158 | break; | ||
| 159 | case cc.macro.KEY.backspace: | ||
| 160 | case Common.ANDROID_KEY.back: | ||
| 161 | this.backAScene(); | ||
| 162 | break; | ||
| 163 | } | ||
| 164 | }, | ||
| 165 | |||
| 166 | /** | ||
| 167 | * 点击触发下一个事件 | ||
| 168 | */ | ||
| 169 | nextTask: function () { | ||
| 170 | // cc.log("播放事件"); | ||
| 171 | if (this.totalTask == 5) { | ||
| 172 | this._remindString.string = "恭喜,您已经通关!"; | ||
| 173 | this._remindString.node.active = true; | ||
| 174 | this.scheduleOnce(() => { | ||
| 175 | this._remindString.node.active = false; | ||
| 176 | }, 3); | ||
| 177 | return ; | ||
| 178 | } | ||
| 179 | this.bg_long.getComponent(cc.Animation).resume(); //播放动画 | ||
| 180 | this.hero.getComponent(dragonBones.ArmatureDisplay).playAnimation(); | ||
| 181 | |||
| 182 | this.scheduleOnce(() => { | ||
| 183 | this.bg_long.getComponent(cc.Animation).pause(); //暂停播放动画 | ||
| 184 | this.hero.getComponent(dragonBones.ArmatureDisplay)._armature.animation.stop(); | ||
| 185 | |||
| 186 | let randomNum = this.random(1, 7); | ||
| 187 | cc.log("随机数-------->" + randomNum); | ||
| 188 | var exploreObj = this._exploreConfig.root.explore[randomNum - 1]; | ||
| 189 | // cc.log("对象----->" + JSON.stringify(exploreObj)); | ||
| 190 | var type = exploreObj["_type"]; | ||
| 191 | if (type == 1) { //选择事件,需要用户进行对话框选择,进入相应的功能 | ||
| 192 | this.totalTask += 1; | ||
| 193 | this.node.getChildByName("Animal").active = true; | ||
| 194 | this._nodeDialogList.removeAllChildren(); //先清理 | ||
| 195 | for (let i = 0; i < 2; i++) { | ||
| 196 | let nodeDialogCell = cc.instantiate(this.PFB_TYPE); | ||
| 197 | nodeDialogCell.y = -nodeDialogCell.height / 2 - i * (nodeDialogCell.height + 20); | ||
| 198 | this._nodeDialogList.addChild(nodeDialogCell, 10, "DialogCell_" + i); | ||
| 199 | //准备焦点坐标 | ||
| 200 | let fiDialogBlock = nodeDialogCell.addComponent(FocusInfo); | ||
| 201 | fiDialogBlock.init('{"click": [{"action": "ChangeScene","parameters": {"sceneName":"sceneProgram"}}]}', | ||
| 202 | true, null, null, 1.0); | ||
| 203 | this._aFocusTargets[1]['dialog_list_cell_' + i] = nodeDialogCell; | ||
| 204 | |||
| 205 | if (i == 0) { | ||
| 206 | //让小动物显示1秒再弹窗 | ||
| 207 | this.scheduleOnce(() => { | ||
| 208 | this._iSceneStatus = 1; | ||
| 209 | var fiFocusTarget = this._nodeDialogList.getChildByName("DialogCell_0").getComponent(FocusInfo); | ||
| 210 | this._cFocus.flyFocus(this._fiCurrentFocus, fiFocusTarget, Common.MOVE_DIRECTION_LEFT, null, null); | ||
| 211 | |||
| 212 | this.node.getChildByName("PopWindow").active = true; | ||
| 213 | this.node.getChildByName("PopWindow").zIndex = 10; | ||
| 214 | this.node.getChildByName("Next").zIndex = 0; | ||
| 215 | }, 1); | ||
| 216 | } | ||
| 217 | } | ||
| 218 | |||
| 219 | } else if (type == 2) { //奖励事件,触发后直接获得奖励 | ||
| 220 | this.totalTask += 1; | ||
| 221 | this._remindString.string = "恭喜您发现了宝箱!"; | ||
| 222 | this._remindString.node.active = true; | ||
| 223 | this._remindString.node.getChildByName("Box").active=true; | ||
| 224 | this.scheduleOnce(() => { | ||
| 225 | this._remindString.node.getChildByName("Box").active=false; | ||
| 226 | this._remindString.node.active = false; | ||
| 227 | }, 2); | ||
| 228 | |||
| 229 | let popItem=cc.instantiate(this.PFB_POP); | ||
| 230 | this.node.addChild(popItem,100); | ||
| 231 | this.node.anchorX=0; //解决飘窗显示位置不在屏幕中央的问题 | ||
| 232 | this.node.anchorY=0; | ||
| 233 | function fadeOutBack(){ | ||
| 234 | popItem.destroy(); //用完就销毁 | ||
| 235 | cc.log("处理飘窗彻底消失后的逻辑。。。。。。"); | ||
| 236 | }; | ||
| 237 | let fadeOut=cc.fadeOut(1.0); | ||
| 238 | let moveBy=cc.moveBy(1,cc.v2(0,200)); | ||
| 239 | popItem.runAction(moveBy); | ||
| 240 | popItem.runAction(cc.sequence(fadeOut,cc.callFunc(fadeOutBack))); | ||
| 241 | } else if (type == 3) { //倒退事件,触发后地图探索进度减少 | ||
| 242 | this.totalTask += 1; | ||
| 243 | this._remindString.string = "找到了捷径,进度增加20%"; | ||
| 244 | this._remindString.node.active = true; | ||
| 245 | this.scheduleOnce(() => { | ||
| 246 | this._remindString.node.active = false; | ||
| 247 | }, 2); | ||
| 248 | } else if (type == 4) { //前进事件,触发后地图探索进度增加 | ||
| 249 | if(this.totalTask>0) this.totalTask -= 1; | ||
| 250 | this._remindString.string = "迷路了,进度减少20%"; | ||
| 251 | this._remindString.node.active = true; | ||
| 252 | this.scheduleOnce(() => { | ||
| 253 | this._remindString.node.active = false; | ||
| 254 | }, 2); | ||
| 255 | } | ||
| 256 | cc.log("----------------" + this.totalTask); | ||
| 257 | //进度 | ||
| 258 | if (this.totalTask > 5) { | ||
| 259 | this._remindString.string = "恭喜,您已经通关!"; | ||
| 260 | this._remindString.node.active = true; | ||
| 261 | this.scheduleOnce(() => { | ||
| 262 | this._remindString.node.active = false; | ||
| 263 | }, 2); | ||
| 264 | } | ||
| 265 | else if (this.totalTask >= 0) { | ||
| 266 | this._progressString.string = 20 * this.totalTask + "%"; | ||
| 267 | this._progressBar.width = 20 * this.totalTask / 100 * 800; | ||
| 268 | cc.log("进度-----》" + this._progressBar.width); | ||
| 269 | } | ||
| 270 | }, 5); | ||
| 271 | }, | ||
| 272 | |||
| 273 | /** | ||
| 274 | 产生随机整数,包含下限值,包括上限值 | ||
| 275 | @param {Number} lower 下限 | ||
| 276 | @param {Number} upper 上限 | ||
| 277 | @return {Number} 返回在下限到上限之间的一个随机整数 | ||
| 278 | */ | ||
| 279 | random: function (lower, upper) { | ||
| 280 | return Math.floor(Math.random() * (upper - lower + 1)) + lower; | ||
| 36 | }, | 281 | }, |
| 37 | 282 | ||
| 38 | update:function(){ | 283 | doCurrentFocusTVLinkAction: function (strAction) { |
| 39 | // cc.log("背景图片-----------------》"+this.node.getChildByName("Bg_long").x); | 284 | let strTVLink = this._fiCurrentFocus.getTVLink(); |
| 285 | var joTVLink = null; | ||
| 286 | try { | ||
| 287 | joTVLink = JSON.parse(strTVLink); | ||
| 288 | let jaOperationList = joTVLink.click; | ||
| 289 | for (let i = 0; i < jaOperationList.length; i++) { | ||
| 290 | switch (jaOperationList[i].action) { | ||
| 291 | case 'Close': | ||
| 292 | this.node.getChildByName("Animal").active = false; | ||
| 293 | this.node.getChildByName("PopWindow").active = false; | ||
| 294 | this._iSceneStatus = 0; | ||
| 295 | var fiFocusTarget = this.node.getChildByName("Next").getComponent(FocusInfo); | ||
| 296 | this._cFocus.flyFocus(this._fiCurrentFocus, fiFocusTarget, Common.MOVE_DIRECTION_RIGHT, null, null); | ||
| 297 | break; | ||
| 298 | default: | ||
| 299 | this.doTVLinkAction(jaOperationList[i]); | ||
| 300 | break; | ||
| 301 | } | ||
| 302 | } | ||
| 303 | } catch (error) { | ||
| 304 | cc.log("runTVLinkAction Exception..." + error); | ||
| 305 | } | ||
| 40 | }, | 306 | }, |
| 41 | 307 | ||
| 308 | |||
| 42 | }); | 309 | }); | ... | ... |
| 1 | //游戏探索界面 | 1 | //游戏探索界面 |
| 2 | //ListView在显示只有1列的列表时,加载不到下一页信息,待排查! | ||
| 2 | var Common = require('Common'); | 3 | var Common = require('Common'); |
| 3 | var Network = require('Network'); | 4 | var Network = require('Network'); |
| 4 | var TVFocus = require('TVFocus'); | 5 | var TVFocus = require('TVFocus'); |
| ... | @@ -14,32 +15,38 @@ cc.Class({ | ... | @@ -14,32 +15,38 @@ cc.Class({ |
| 14 | extends: TVCanvas, | 15 | extends: TVCanvas, |
| 15 | 16 | ||
| 16 | properties: { | 17 | properties: { |
| 17 | activitySprite:cc.Sprite, | 18 | activitySprite: cc.Sprite, |
| 18 | roleSprite:cc.Sprite, | 19 | roleSprite: cc.Sprite, |
| 19 | taskSprite:cc.Sprite, | 20 | taskSprite: cc.Sprite, |
| 20 | achievementSprite:cc.Sprite, | 21 | achievementSprite: cc.Sprite, |
| 21 | shopSprite:cc.Sprite, | 22 | shopSprite: cc.Sprite, |
| 22 | closeTaskSprite:cc.Sprite, | 23 | closeTaskSprite: cc.Sprite, |
| 23 | closeAchievementSprite:cc.Sprite, | 24 | closeAchievementSprite: cc.Sprite, |
| 24 | closeActivitySprite:cc.Sprite, | 25 | closeActivitySprite: cc.Sprite, |
| 25 | roleAnim:dragonBones.ArmatureDisplay, | 26 | roleAnim: dragonBones.ArmatureDisplay, |
| 26 | pointer:cc.Sprite, //大转盘指针 | 27 | pointer: cc.Sprite, //大转盘指针 |
| 27 | pointerButton:cc.Node, //大转盘按钮 | 28 | pointerButton: cc.Sprite, //大转盘按钮 |
| 28 | PFB_GAME_TASKITEM: { | 29 | PFB_GAME_TASKITEM: { |
| 29 | default: null, | 30 | default: null, |
| 30 | type: cc.Prefab | 31 | type: cc.Prefab |
| 31 | }, | 32 | }, |
| 33 | PFB_POP: { | ||
| 34 | default: null, | ||
| 35 | type: cc.Prefab | ||
| 36 | }, | ||
| 32 | }, | 37 | }, |
| 33 | 38 | ||
| 34 | onLoad:function(){ | 39 | onLoad: function () { |
| 35 | this._super(); | 40 | this._super(); |
| 41 | |||
| 36 | this._aFocusTargets[1] = []; //任务弹窗焦点 | 42 | this._aFocusTargets[1] = []; //任务弹窗焦点 |
| 37 | this._aFocusTargets[2] = []; //成就弹窗焦点 | 43 | this._aFocusTargets[2] = []; //成就弹窗焦点 |
| 38 | this._aFocusTargets[3] = []; //活动大转盘弹窗 | 44 | this._aFocusTargets[3] = []; //活动大转盘弹窗 |
| 39 | this._iSceneStatus=0; //焦点层级 | 45 | this._iSceneStatus = 0; //焦点层级 |
| 46 | this.roleAnim.node.zIndex = 40; | ||
| 40 | this.initFocus(); | 47 | this.initFocus(); |
| 41 | 48 | ||
| 42 | cc.find("bgScrollView",this.node).getComponent(cc.ScrollView).scrollToLeft(); | 49 | cc.find("bgScrollView", this.node).getComponent(cc.ScrollView).scrollToLeft(); |
| 43 | 50 | ||
| 44 | //右分类框框 | 51 | //右分类框框 |
| 45 | this._nodeCategoryList = cc.find("task/task_panel/CategoryList", this.node); | 52 | this._nodeCategoryList = cc.find("task/task_panel/CategoryList", this.node); |
| ... | @@ -49,11 +56,11 @@ cc.Class({ | ... | @@ -49,11 +56,11 @@ cc.Class({ |
| 49 | 0, 0, 0, 0, //margin | 56 | 0, 0, 0, 0, //margin |
| 50 | 1, 1, | 57 | 1, 1, |
| 51 | function () { | 58 | function () { |
| 52 | this.getCategoryList(); | 59 | this.getTaskCategoryList(); |
| 53 | } | 60 | } |
| 54 | ); | 61 | ); |
| 55 | 62 | ||
| 56 | this._nodeAchievementList=cc.find("achievement/task_panel/CategoryList",this.node); | 63 | this._nodeAchievementList = cc.find("achievement/task_panel/CategoryList", this.node); |
| 57 | let lvNodeAchievementList = this._nodeAchievementList.addComponent(ListView); | 64 | let lvNodeAchievementList = this._nodeAchievementList.addComponent(ListView); |
| 58 | lvNodeAchievementList.init(this, 2, 1, 2, 3, 'GameAchievementCell', | 65 | lvNodeAchievementList.init(this, 2, 1, 2, 3, 'GameAchievementCell', |
| 59 | -140, 80,//起始位置 | 66 | -140, 80,//起始位置 |
| ... | @@ -66,17 +73,12 @@ cc.Class({ | ... | @@ -66,17 +73,12 @@ cc.Class({ |
| 66 | 73 | ||
| 67 | }, | 74 | }, |
| 68 | 75 | ||
| 69 | getCategoryList: function () { | 76 | getTaskCategoryList: function () { |
| 70 | var self = this; | ||
| 71 | let lvCategoryList = this._nodeCategoryList.getComponent(ListView); | 77 | let lvCategoryList = this._nodeCategoryList.getComponent(ListView); |
| 72 | let oCategoryRequestParameters = { | 78 | //请求列表 |
| 73 | "view": "json", | 79 | let oMediaParas = {}; |
| 74 | "collectionId": this._iDefaultCollectionId, | 80 | oMediaParas.categoryId = 9;// |
| 75 | // "appId": this._aTypeAppId[this._oSceneContext._iCurrentTypeIndex], | 81 | oMediaParas.appId = ""; |
| 76 | "sortByCollection": 1, | ||
| 77 | "sortField": "update_time", | ||
| 78 | "sortDirection": "desc" | ||
| 79 | }; | ||
| 80 | let iStart1 = 0; | 82 | let iStart1 = 0; |
| 81 | if (null != this._oSceneContext.categoryRecordIndexOfFirstCell) { | 83 | if (null != this._oSceneContext.categoryRecordIndexOfFirstCell) { |
| 82 | iStart1 = this._oSceneContext.categoryRecordIndexOfFirstCell; | 84 | iStart1 = this._oSceneContext.categoryRecordIndexOfFirstCell; |
| ... | @@ -84,10 +86,10 @@ cc.Class({ | ... | @@ -84,10 +86,10 @@ cc.Class({ |
| 84 | 86 | ||
| 85 | lvCategoryList.setDataSource( | 87 | lvCategoryList.setDataSource( |
| 86 | "GET", | 88 | "GET", |
| 87 | Common.TOPDRAW_API_SERVER_EDU + "User/ListMediaByCollection", | 89 | Common.TOPDRAW_API_SERVER_EDU + "Media/List", |
| 88 | oCategoryRequestParameters, | 90 | oMediaParas, |
| 89 | iStart1, (lvCategoryList.getShowCellRows() + lvCategoryList.getAlphaCellRows()) * lvCategoryList.getCellCountEachRow(), | 91 | iStart1, (lvCategoryList.getShowCellRows() + lvCategoryList.getAlphaCellRows()) * lvCategoryList.getCellCountEachRow(), |
| 90 | "", "" | 92 | null, null |
| 91 | ); | 93 | ); |
| 92 | 94 | ||
| 93 | lvCategoryList.loadData( | 95 | lvCategoryList.loadData( |
| ... | @@ -98,37 +100,31 @@ cc.Class({ | ... | @@ -98,37 +100,31 @@ cc.Class({ |
| 98 | // } else { | 100 | // } else { |
| 99 | // cc.find('BlankIcon', this.node).opacity = 0 | 101 | // cc.find('BlankIcon', this.node).opacity = 0 |
| 100 | // } | 102 | // } |
| 101 | strResponse = GameLobbyCategoryJson.gameCategory; //暂时采用假数据 | ||
| 102 | lvCategoryList.renderInitData(JSON.stringify(strResponse)); //将假数据转成字符串在给过去 | ||
| 103 | this._bIsCategoryListDataInit = true; | ||
| 104 | this._oSceneContext.categoryRecordIndexOfFirstCell = lvCategoryList.getRecordIndexOfFirstCellInPage(); | ||
| 105 | // this.checkDataReadyAndInitFocus(); | ||
| 106 | 103 | ||
| 107 | // lvCategoryList.renderInitData(strResponse, function () { | 104 | // strResponse = GameLobbyCategoryJson.gameCategory; //暂时采用假数据 |
| 105 | // lvCategoryList.renderInitData(JSON.stringify(strResponse)); //将假数据转成字符串在给过去 | ||
| 108 | // this._bIsCategoryListDataInit = true; | 106 | // this._bIsCategoryListDataInit = true; |
| 109 | // this._oSceneContext.categoryRecordIndexOfFirstCell = lvCategoryList.getRecordIndexOfFirstCellInPage(); | 107 | // this._oSceneContext.categoryRecordIndexOfFirstCell = lvCategoryList.getRecordIndexOfFirstCellInPage(); |
| 110 | // this.checkDataReadyAndInitFocus(); | 108 | // this.checkDataReadyAndInitFocus(); |
| 111 | // // this.changeEditorStatus(); | 109 | |
| 112 | // }); | 110 | lvCategoryList.renderInitData(strResponse, function () { |
| 111 | this._bIsCategoryListDataInit = true; | ||
| 112 | this._oSceneContext.categoryRecordIndexOfFirstCell = lvCategoryList.getRecordIndexOfFirstCellInPage(); | ||
| 113 | // this.checkDataReadyAndInitFocus(); | ||
| 114 | }); | ||
| 113 | }, | 115 | }, |
| 114 | null, | 116 | null, |
| 115 | this | 117 | this |
| 116 | ); | 118 | ); |
| 117 | |||
| 118 | var self = this; | ||
| 119 | this._iShowCellRows = 2; | ||
| 120 | this._iCellCountEachRow = 3; | ||
| 121 | }, | 119 | }, |
| 122 | 120 | ||
| 123 | getAchievementList:function(){ | 121 | getAchievementList: function () { |
| 124 | let lvCategoryList = this._nodeAchievementList.getComponent(ListView); | 122 | let lvCategoryList = this._nodeAchievementList.getComponent(ListView); |
| 125 | 123 | ||
| 126 | let oCategoryRequestParameters = { | 124 | //请求列表 |
| 127 | "view": "json", | 125 | let oMediaParas = {}; |
| 128 | "name": "starIndexnew", | 126 | oMediaParas.categoryId = 9;// |
| 129 | "sortField": "left", | 127 | oMediaParas.appId = ""; |
| 130 | "sortDirection": "desc", | ||
| 131 | }; | ||
| 132 | let iStart = 0; | 128 | let iStart = 0; |
| 133 | // //滚行:上翻-4,下翻+4, | 129 | // //滚行:上翻-4,下翻+4, |
| 134 | // //滚页:上翻-8,下翻+8 | 130 | // //滚页:上翻-8,下翻+8 |
| ... | @@ -142,16 +138,16 @@ cc.Class({ | ... | @@ -142,16 +138,16 @@ cc.Class({ |
| 142 | 138 | ||
| 143 | lvCategoryList.setDataSource( | 139 | lvCategoryList.setDataSource( |
| 144 | "GET", | 140 | "GET", |
| 145 | Common.TOPDRAW_API_SERVER + "Promotion/ListItemByName", | 141 | Common.TOPDRAW_API_SERVER_EDU + "Media/List", |
| 146 | oCategoryRequestParameters, | 142 | oMediaParas, |
| 147 | iStart, (lvCategoryList.getShowCellRows() + lvCategoryList.getAlphaCellRows()) * lvCategoryList.getCellCountEachRow(), | 143 | iStart, (lvCategoryList.getShowCellRows() + lvCategoryList.getAlphaCellRows()) * lvCategoryList.getCellCountEachRow(), |
| 148 | "left", "desc" | 144 | null, null |
| 149 | ); | 145 | ); |
| 150 | lvCategoryList.loadData( | 146 | lvCategoryList.loadData( |
| 151 | function (strResponse) { | 147 | function (strResponse) { |
| 152 | strResponse = GameLobbyCategoryJson.gameCategory; //暂时采用假数据 | 148 | // strResponse = GameLobbyCategoryJson.gameCategory; //暂时采用假数据 |
| 153 | // cc.log("网络列表:" + JSON.stringify(strResponse)); | 149 | // cc.log("网络列表:" + JSON.stringify(strResponse)); |
| 154 | lvCategoryList.renderInitData(JSON.stringify(strResponse)); //将假数据转成字符串在给过去 | 150 | lvCategoryList.renderInitData(strResponse); //将假数据转成字符串在给过去 |
| 155 | this._bIsCategoryListDataInit = true; | 151 | this._bIsCategoryListDataInit = true; |
| 156 | this._oSceneContext.categoryRecordIndexOfFirstCell = lvCategoryList.getRecordIndexOfFirstCellInPage(); | 152 | this._oSceneContext.categoryRecordIndexOfFirstCell = lvCategoryList.getRecordIndexOfFirstCellInPage(); |
| 157 | // this.checkDataReadyAndInitFocus(); | 153 | // this.checkDataReadyAndInitFocus(); |
| ... | @@ -163,6 +159,16 @@ cc.Class({ | ... | @@ -163,6 +159,16 @@ cc.Class({ |
| 163 | 159 | ||
| 164 | initFocus: function () { | 160 | initFocus: function () { |
| 165 | 161 | ||
| 162 | //弄各个小岛焦点 | ||
| 163 | for (let i = 1; i < 6; i++) { | ||
| 164 | let fiIslandSprite = cc.find("bgScrollView/viewport/content/island_" + i, this.node).addComponent(FocusInfo);// | ||
| 165 | this._aFocusTargets[0]['to_island' + i] = cc.find("bgScrollView/viewport/content/island_" + i, this.node); | ||
| 166 | fiIslandSprite.init( | ||
| 167 | '{"click": [{"action": "ChangeScene","parameters": {"sceneName":"sceneExploreNew"}}]}', | ||
| 168 | true, null, null, 1 | ||
| 169 | ); | ||
| 170 | } | ||
| 171 | |||
| 166 | var fiActivitySprite = this.activitySprite.addComponent(FocusInfo);// | 172 | var fiActivitySprite = this.activitySprite.addComponent(FocusInfo);// |
| 167 | this._aFocusTargets[0]['to_activity'] = this.activitySprite; | 173 | this._aFocusTargets[0]['to_activity'] = this.activitySprite; |
| 168 | fiActivitySprite.init( | 174 | fiActivitySprite.init( |
| ... | @@ -235,7 +241,24 @@ cc.Class({ | ... | @@ -235,7 +241,24 @@ cc.Class({ |
| 235 | fiFocusTarget = this._cFocus.findTarget(fiCurrentFocus, this._aFocusTargets, this._iSceneStatus, Direct); | 241 | fiFocusTarget = this._cFocus.findTarget(fiCurrentFocus, this._aFocusTargets, this._iSceneStatus, Direct); |
| 236 | fiFocusTarget = this.checkFocusTarget(fiFocusTarget); | 242 | fiFocusTarget = this.checkFocusTarget(fiFocusTarget); |
| 237 | if (!fiFocusTarget) { return; } | 243 | if (!fiFocusTarget) { return; } |
| 244 | //小岛之间跳转需要处理ScrollView | ||
| 245 | if (0 == fiFocusTarget.node.name.indexOf("island_")) { | ||
| 246 | this._cFocus.hide(); | ||
| 247 | } else { | ||
| 248 | this._cFocus.show(); | ||
| 249 | } | ||
| 250 | if (0 == this._fiCurrentFocus.node.name.indexOf("island_") && 0 == fiFocusTarget.node.name.indexOf("island_")) { | ||
| 251 | let index = fiFocusTarget.node.name.replace("island_", ""); | ||
| 252 | this.node.getChildByName("bgScrollView").getComponent(cc.ScrollView).scrollToPercentHorizontal(0.01 * 25 * (index - 1), 0.1); | ||
| 253 | |||
| 254 | // this._cFocus.hide(); | ||
| 255 | this.scheduleOnce(() => { | ||
| 256 | // this._cFocus.show(); | ||
| 238 | this._cFocus.flyFocus(this._fiCurrentFocus, fiFocusTarget, Direct, null, oScrollParameter); | 257 | this._cFocus.flyFocus(this._fiCurrentFocus, fiFocusTarget, Direct, null, oScrollParameter); |
| 258 | }, 0.1); | ||
| 259 | } else { | ||
| 260 | this._cFocus.flyFocus(this._fiCurrentFocus, fiFocusTarget, Direct, null, oScrollParameter); | ||
| 261 | } | ||
| 239 | }, | 262 | }, |
| 240 | 263 | ||
| 241 | checkFocusTarget: function (fiFocusTarget) { | 264 | checkFocusTarget: function (fiFocusTarget) { |
| ... | @@ -248,6 +271,25 @@ cc.Class({ | ... | @@ -248,6 +271,25 @@ cc.Class({ |
| 248 | switch (event.keyCode) { | 271 | switch (event.keyCode) { |
| 249 | case cc.macro.KEY.up: | 272 | case cc.macro.KEY.up: |
| 250 | case Common.ANDROID_KEY.up: | 273 | case Common.ANDROID_KEY.up: |
| 274 | if (this._bIsSongListMoving) { | ||
| 275 | return; | ||
| 276 | } | ||
| 277 | if (0 == this._fiCurrentFocus.node.getName().indexOf('GameTaskItemCell')) { | ||
| 278 | var index = parseInt(this._fiCurrentFocus.node.getName().replace('GameTaskItemCell', '')); | ||
| 279 | // cc.log("当前时多少条目:"+index); | ||
| 280 | let lvCategoryList = this._nodeCategoryList.getComponent(ListView); | ||
| 281 | if (lvCategoryList.scrollARowUp(index)) { | ||
| 282 | return; | ||
| 283 | } | ||
| 284 | } | ||
| 285 | if (0 == this._fiCurrentFocus.node.getName().indexOf('StarListCell')) { | ||
| 286 | var index = parseInt(this._fiCurrentFocus.node.getName().replace('StarListCell', '')); | ||
| 287 | // cc.log("当前时多少条目:"+index); | ||
| 288 | let lvCategoryList = this._nodeAchievementList.getComponent(ListView); | ||
| 289 | if (lvCategoryList.scrollARowUp(index)) { | ||
| 290 | return; | ||
| 291 | } | ||
| 292 | } | ||
| 251 | this.keyDownDirection(Common.MOVE_DIRECTION_UP); | 293 | this.keyDownDirection(Common.MOVE_DIRECTION_UP); |
| 252 | break; | 294 | break; |
| 253 | case cc.macro.KEY.right: | 295 | case cc.macro.KEY.right: |
| ... | @@ -256,6 +298,27 @@ cc.Class({ | ... | @@ -256,6 +298,27 @@ cc.Class({ |
| 256 | break; | 298 | break; |
| 257 | case cc.macro.KEY.down: | 299 | case cc.macro.KEY.down: |
| 258 | case Common.ANDROID_KEY.down: | 300 | case Common.ANDROID_KEY.down: |
| 301 | if (this._bIsSongListMoving) { | ||
| 302 | return; | ||
| 303 | } | ||
| 304 | if (0 == this._fiCurrentFocus.node.getName().indexOf('GameTaskItemCell')) { | ||
| 305 | var index = parseInt(this._fiCurrentFocus.node.getName().replace('GameTaskItemCell', '')); | ||
| 306 | // cc.log("当前时多少条目:"+index); | ||
| 307 | let lvCategoryList = this._nodeCategoryList.getComponent(ListView); | ||
| 308 | lvCategoryList.setStatusInScene(this._iSceneStatus); | ||
| 309 | if (lvCategoryList.scrollARowDown(null, index)) { | ||
| 310 | return; | ||
| 311 | } | ||
| 312 | } | ||
| 313 | if (0 == this._fiCurrentFocus.node.getName().indexOf('StarListCell')) { | ||
| 314 | var index = parseInt(this._fiCurrentFocus.node.getName().replace('StarListCell', '')); | ||
| 315 | // cc.log("当前时多少条目:"+index); | ||
| 316 | let lvCategoryList = this._nodeAchievementList.getComponent(ListView); | ||
| 317 | lvCategoryList.setStatusInScene(this._iSceneStatus); | ||
| 318 | if (lvCategoryList.scrollARowDown(null, index)) { | ||
| 319 | return; | ||
| 320 | } | ||
| 321 | } | ||
| 259 | this.keyDownDirection(Common.MOVE_DIRECTION_DOWN); | 322 | this.keyDownDirection(Common.MOVE_DIRECTION_DOWN); |
| 260 | break; | 323 | break; |
| 261 | case cc.macro.KEY.left: | 324 | case cc.macro.KEY.left: |
| ... | @@ -265,62 +328,62 @@ cc.Class({ | ... | @@ -265,62 +328,62 @@ cc.Class({ |
| 265 | case cc.macro.KEY.enter: | 328 | case cc.macro.KEY.enter: |
| 266 | case cc.macro.KEY.space: | 329 | case cc.macro.KEY.space: |
| 267 | case Common.ANDROID_KEY.enter: | 330 | case Common.ANDROID_KEY.enter: |
| 268 | if(0 == this._fiCurrentFocus.node.getName().indexOf('spriteTask')){ //任务 | 331 | if (0 == this._fiCurrentFocus.node.getName().indexOf('spriteTask')) { //任务 |
| 269 | cc.find("task",this.node).active=true; | 332 | cc.find("task", this.node).active = true; |
| 270 | this._iSceneStatus=1; | 333 | this._iSceneStatus = 1; |
| 271 | var fiFocusTarget = this._cFocus.findTarget(this._fiCurrentFocus, this._aFocusTargets, this._iSceneStatus, Common.MOVE_DIRECTION_LEFT); | 334 | var fiFocusTarget = this._cFocus.findTarget(this._fiCurrentFocus, this._aFocusTargets, this._iSceneStatus, Common.MOVE_DIRECTION_LEFT); |
| 272 | this._cFocus.flyFocus(this._fiCurrentFocus, fiFocusTarget, Common.MOVE_DIRECTION_LEFT, null, null); | 335 | this._cFocus.flyFocus(this._fiCurrentFocus, fiFocusTarget, Common.MOVE_DIRECTION_LEFT, null, null); |
| 273 | 336 | ||
| 274 | cc.find("task",this.node).zIndex=10; | 337 | cc.find("task", this.node).zIndex = 10; |
| 275 | this.activitySprite.node.zIndex=0; //这几个总是另类凸显出来 | 338 | this.activitySprite.node.zIndex = 0; //这几个总是另类凸显出来 |
| 276 | this.roleSprite.node.zIndex=0; | 339 | this.roleSprite.node.zIndex = 0; |
| 277 | this.taskSprite.node.zIndex=0; | 340 | this.taskSprite.node.zIndex = 0; |
| 278 | this.achievementSprite.node.zIndex=0; | 341 | this.achievementSprite.node.zIndex = 0; |
| 279 | this.shopSprite.node.zIndex=0; | 342 | this.shopSprite.node.zIndex = 0; |
| 280 | }else if(0 == this._fiCurrentFocus.node.getName().indexOf('spriteAchievement')){ //任务 | 343 | } else if (0 == this._fiCurrentFocus.node.getName().indexOf('spriteAchievement')) { //任务 |
| 281 | cc.find("achievement",this.node).active=true; | 344 | cc.find("achievement", this.node).active = true; |
| 282 | this._iSceneStatus=2; | 345 | this._iSceneStatus = 2; |
| 283 | var fiFocusTarget = this._cFocus.findTarget(this._fiCurrentFocus, this._aFocusTargets, this._iSceneStatus, Common.MOVE_DIRECTION_LEFT); | 346 | var fiFocusTarget = this._cFocus.findTarget(this._fiCurrentFocus, this._aFocusTargets, this._iSceneStatus, Common.MOVE_DIRECTION_LEFT); |
| 284 | this._cFocus.flyFocus(this._fiCurrentFocus, fiFocusTarget, Common.MOVE_DIRECTION_LEFT, null, null); | 347 | this._cFocus.flyFocus(this._fiCurrentFocus, fiFocusTarget, Common.MOVE_DIRECTION_LEFT, null, null); |
| 285 | 348 | ||
| 286 | cc.find("achievement",this.node).zIndex=10; | 349 | cc.find("achievement", this.node).zIndex = 10; |
| 287 | this.activitySprite.node.zIndex=0; //这几个总是另类凸显出来 | 350 | this.activitySprite.node.zIndex = 0; //这几个总是另类凸显出来 |
| 288 | this.roleSprite.node.zIndex=0; | 351 | this.roleSprite.node.zIndex = 0; |
| 289 | this.taskSprite.node.zIndex=0; | 352 | this.taskSprite.node.zIndex = 0; |
| 290 | this.achievementSprite.node.zIndex=0; | 353 | this.achievementSprite.node.zIndex = 0; |
| 291 | this.shopSprite.node.zIndex=0; | 354 | this.shopSprite.node.zIndex = 0; |
| 292 | }else if(0 == this._fiCurrentFocus.node.getName().indexOf('spriteActivity')){ //活动 | 355 | } else if (0 == this._fiCurrentFocus.node.getName().indexOf('spriteActivity')) { //活动 |
| 293 | cc.find("activity",this.node).active=true; | 356 | cc.find("activity", this.node).active = true; |
| 294 | this._iSceneStatus=3; | 357 | this._iSceneStatus = 3; |
| 295 | var fiFocusTarget = this._cFocus.findTarget(this._fiCurrentFocus, this._aFocusTargets, this._iSceneStatus, Common.MOVE_DIRECTION_LEFT); | 358 | var fiFocusTarget = this._cFocus.findTarget(this._fiCurrentFocus, this._aFocusTargets, this._iSceneStatus, Common.MOVE_DIRECTION_DOWN); |
| 296 | this._cFocus.flyFocus(this._fiCurrentFocus, fiFocusTarget, Common.MOVE_DIRECTION_LEFT, null, null); | 359 | this._cFocus.flyFocus(this._fiCurrentFocus, fiFocusTarget, Common.MOVE_DIRECTION_LEFT, null, null); |
| 297 | 360 | ||
| 298 | cc.find("activity",this.node).zIndex=10; | 361 | cc.find("activity", this.node).zIndex = 10; |
| 299 | this.activitySprite.node.zIndex=0; //这几个总是另类凸显出来 | 362 | this.activitySprite.node.zIndex = 0; //这几个总是另类凸显出来 |
| 300 | this.roleSprite.node.zIndex=0; | 363 | this.roleSprite.node.zIndex = 0; |
| 301 | this.taskSprite.node.zIndex=0; | 364 | this.taskSprite.node.zIndex = 0; |
| 302 | this.achievementSprite.node.zIndex=0; | 365 | this.achievementSprite.node.zIndex = 0; |
| 303 | this.shopSprite.node.zIndex=0; | 366 | this.shopSprite.node.zIndex = 0; |
| 304 | } | 367 | } |
| 305 | else if(0 == this._fiCurrentFocus.node.getName().indexOf('close')){ | 368 | else if (0 == this._fiCurrentFocus.node.getName().indexOf('close')) { |
| 306 | cc.find("task",this.node).active=false; | 369 | cc.find("task", this.node).active = false; |
| 307 | this._iSceneStatus=0; | 370 | this._iSceneStatus = 0; |
| 308 | var fiFocusTarget = this.taskSprite.getComponent(FocusInfo); | 371 | var fiFocusTarget = this.taskSprite.getComponent(FocusInfo); |
| 309 | this._cFocus.flyFocus(this._fiCurrentFocus, fiFocusTarget, Common.MOVE_DIRECTION_UP, null, null); | 372 | this._cFocus.flyFocus(this._fiCurrentFocus, fiFocusTarget, Common.MOVE_DIRECTION_UP, null, null); |
| 310 | }else if(0 == this._fiCurrentFocus.node.getName().indexOf('achievementClose')){ | 373 | } else if (0 == this._fiCurrentFocus.node.getName().indexOf('achievementClose')) { |
| 311 | cc.find("achievement",this.node).active=false; | 374 | cc.find("achievement", this.node).active = false; |
| 312 | this._iSceneStatus=0; | 375 | this._iSceneStatus = 0; |
| 313 | var fiFocusTarget = this.achievementSprite.getComponent(FocusInfo); | 376 | var fiFocusTarget = this.achievementSprite.getComponent(FocusInfo); |
| 314 | this._cFocus.flyFocus(this._fiCurrentFocus, fiFocusTarget, Common.MOVE_DIRECTION_UP, null, null); | 377 | this._cFocus.flyFocus(this._fiCurrentFocus, fiFocusTarget, Common.MOVE_DIRECTION_UP, null, null); |
| 315 | }else if(0 == this._fiCurrentFocus.node.getName().indexOf('activityClose')){ | 378 | } else if (0 == this._fiCurrentFocus.node.getName().indexOf('activityClose')) { |
| 316 | cc.find("activity",this.node).active=false; | 379 | cc.find("activity", this.node).active = false; |
| 317 | this._iSceneStatus=0; | 380 | this._iSceneStatus = 0; |
| 318 | var fiFocusTarget = this.activitySprite.getComponent(FocusInfo); | 381 | var fiFocusTarget = this.activitySprite.getComponent(FocusInfo); |
| 319 | this._cFocus.flyFocus(this._fiCurrentFocus, fiFocusTarget, Common.MOVE_DIRECTION_UP, null, null); | 382 | this._cFocus.flyFocus(this._fiCurrentFocus, fiFocusTarget, Common.MOVE_DIRECTION_UP, null, null); |
| 320 | }else if(0 == this._fiCurrentFocus.node.getName().indexOf('PointerButton')){ | 383 | } else if (0 == this._fiCurrentFocus.node.getName().indexOf('PointerButton')) { |
| 321 | this.pointerButtonStartControl(); | 384 | this.pointerButtonStartControl(); |
| 322 | } | 385 | } else |
| 323 | // this.doCurrentFocusTVLinkAction(Common.TV_LINK_ACTION_CLICK); | 386 | this.doCurrentFocusTVLinkAction(Common.TV_LINK_ACTION_CLICK); |
| 324 | break; | 387 | break; |
| 325 | case cc.macro.KEY.backspace: | 388 | case cc.macro.KEY.backspace: |
| 326 | case Common.ANDROID_KEY.back: | 389 | case Common.ANDROID_KEY.back: |
| ... | @@ -329,32 +392,51 @@ cc.Class({ | ... | @@ -329,32 +392,51 @@ cc.Class({ |
| 329 | } | 392 | } |
| 330 | }, | 393 | }, |
| 331 | 394 | ||
| 332 | pointerButtonStartControl:function(){ | 395 | pointerButtonStartControl: function () { |
| 333 | var _this=this; | 396 | var _this = this; |
| 334 | var clickTimes=6; //设置转盘指针转动多长时间 | 397 | var clickTimes = 6; //设置转盘指针转动多长时间 |
| 335 | var rounds=10; //设置转盘指针转动多少圈 | 398 | var rounds = 10; //设置转盘指针转动多少圈 |
| 336 | 399 | ||
| 337 | var awardAngleArr={ | 400 | var awardAngleArr = { |
| 338 | 1:{angle:parseInt(Math.random() * 35 + 5)}, | 401 | 1: { angle: parseInt(Math.random() * 35 + 5) }, |
| 339 | 2:{angle:parseInt(Math.random() * 35 + 42)}, | 402 | 2: { angle: parseInt(Math.random() * 35 + 42) }, |
| 340 | 3:{angle:parseInt(Math.random() * 35 + 82)}, | 403 | 3: { angle: parseInt(Math.random() * 35 + 82) }, |
| 341 | 4:{angle:parseInt(Math.random() * 35 + 122)}, | 404 | 4: { angle: parseInt(Math.random() * 35 + 122) }, |
| 342 | 5:{angle:parseInt(Math.random() * 35 + 162)}, | 405 | 5: { angle: parseInt(Math.random() * 35 + 162) }, |
| 343 | 6:{angle:parseInt(Math.random() * 35 + 202)}, | 406 | 6: { angle: parseInt(Math.random() * 35 + 202) }, |
| 344 | 7:{angle:parseInt(Math.random() * 35 + 242)}, | 407 | 7: { angle: parseInt(Math.random() * 35 + 242) }, |
| 345 | 8:{angle:parseInt(Math.random() * 35 + 282)}, | 408 | 8: { angle: parseInt(Math.random() * 35 + 282) }, |
| 346 | 9:{angle:parseInt(Math.random() * 35 + 322)}, | 409 | 9: { angle: parseInt(Math.random() * 35 + 322) }, |
| 347 | }; | 410 | }; |
| 348 | 411 | ||
| 349 | 412 | ||
| 350 | var adValue=9; //这里应该灵活获取角度 | 413 | var adValue = 9; //这里应该灵活获取角度 |
| 351 | function infoDelayShow(){ | 414 | var self=this; |
| 352 | _this.scheduleOnce(function(){ | 415 | function infoDelayShow() { |
| 416 | _this.scheduleOnce(function () { | ||
| 353 | cc.log("转盘转动结束,可以处理一些逻辑啦。。。"); | 417 | cc.log("转盘转动结束,可以处理一些逻辑啦。。。"); |
| 354 | },clickTimes+0.5); | 418 | cc.loader.loadRes("game/main/turntable_tomorrow", cc.Texture2D, function (err, texture) { |
| 419 | self.pointerButton.spriteFrame = new cc.SpriteFrame(texture); | ||
| 420 | }); | ||
| 421 | var fiFocusTarget = this._cFocus.findTarget(this._fiCurrentFocus, this._aFocusTargets, this._iSceneStatus, Common.MOVE_DIRECTION_LEFT); | ||
| 422 | this._cFocus.flyFocus(this._fiCurrentFocus, fiFocusTarget, Common.MOVE_DIRECTION_LEFT, null, null); | ||
| 423 | |||
| 424 | let popItem=cc.instantiate(this.PFB_POP); | ||
| 425 | this.node.addChild(popItem,100); | ||
| 426 | this.node.anchorX=0; //解决飘窗显示位置不在屏幕中央的问题 | ||
| 427 | this.node.anchorY=0; | ||
| 428 | function fadeOutBack(){ | ||
| 429 | popItem.destroy(); //用完就销毁 | ||
| 430 | cc.log("处理飘窗彻底消失后的逻辑。。。。。。"); | ||
| 431 | }; | ||
| 432 | let fadeOut=cc.fadeOut(1.0); | ||
| 433 | let moveBy=cc.moveBy(1,cc.v2(0,200)); | ||
| 434 | popItem.runAction(moveBy); | ||
| 435 | popItem.runAction(cc.sequence(fadeOut,cc.callFunc(fadeOutBack))); | ||
| 436 | }, clickTimes + 0.5); | ||
| 355 | }; | 437 | }; |
| 356 | 438 | ||
| 357 | var rotateBy=cc.rotateBy(clickTimes,awardAngleArr[adValue].angle+360*rounds); | 439 | var rotateBy = cc.rotateBy(clickTimes, awardAngleArr[adValue].angle + 360 * rounds); |
| 358 | _this.pointer.node.runAction(rotateBy).easing(cc.easeCubicActionOut(clickTimes)); | 440 | _this.pointer.node.runAction(rotateBy).easing(cc.easeCubicActionOut(clickTimes)); |
| 359 | // _this.pointerButton.destroy(); | 441 | // _this.pointerButton.destroy(); |
| 360 | infoDelayShow(); | 442 | infoDelayShow(); |
| ... | @@ -366,7 +448,7 @@ cc.Class({ | ... | @@ -366,7 +448,7 @@ cc.Class({ |
| 366 | var self = this; | 448 | var self = this; |
| 367 | let fiFrom = event.detail.from; | 449 | let fiFrom = event.detail.from; |
| 368 | if (0 == fiFrom.node.name.indexOf('sprite')) { | 450 | if (0 == fiFrom.node.name.indexOf('sprite')) { |
| 369 | fiFrom.node.getChildByName("active").active=false; | 451 | fiFrom.node.getChildByName("active").active = false; |
| 370 | } | 452 | } |
| 371 | }, | 453 | }, |
| 372 | 454 | ||
| ... | @@ -375,9 +457,13 @@ cc.Class({ | ... | @@ -375,9 +457,13 @@ cc.Class({ |
| 375 | var self = this; | 457 | var self = this; |
| 376 | let fiTo = event.detail.to; | 458 | let fiTo = event.detail.to; |
| 377 | if (0 == fiTo.node.name.indexOf('sprite')) { | 459 | if (0 == fiTo.node.name.indexOf('sprite')) { |
| 378 | fiTo.node.getChildByName("active").active=true; | 460 | fiTo.node.getChildByName("active").active = true; |
| 379 | } | 461 | } |
| 380 | 462 | ||
| 463 | if (0 == fiTo.node.name.indexOf('island')) { | ||
| 464 | this.roleAnim.node.x = fiTo.node.x; | ||
| 465 | this.roleAnim.node.y = fiTo.node.y; | ||
| 466 | } | ||
| 381 | }, | 467 | }, |
| 382 | 468 | ||
| 383 | doCurrentFocusTVLinkAction: function (strAction) { | 469 | doCurrentFocusTVLinkAction: function (strAction) { |
| ... | @@ -398,5 +484,13 @@ cc.Class({ | ... | @@ -398,5 +484,13 @@ cc.Class({ |
| 398 | } | 484 | } |
| 399 | }, | 485 | }, |
| 400 | 486 | ||
| 487 | onListScrollStart: function () { | ||
| 488 | this._bIsSongListMoving = true; | ||
| 489 | // cc.log("scroll start"); | ||
| 490 | }, | ||
| 491 | onListScrollEnd: function () { | ||
| 492 | this._bIsSongListMoving = false; | ||
| 493 | // cc.log("scroll completed"); | ||
| 494 | }, | ||
| 401 | 495 | ||
| 402 | }); | 496 | }); | ... | ... |
| ... | @@ -407,18 +407,18 @@ cc.Class({ | ... | @@ -407,18 +407,18 @@ cc.Class({ |
| 407 | } | 407 | } |
| 408 | } | 408 | } |
| 409 | 409 | ||
| 410 | if (0 == this._fiCurrentFocus.node.getName().indexOf('TopCell')) { | 410 | // if (0 == this._fiCurrentFocus.node.getName().indexOf('TopCell')) { |
| 411 | // fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame.setRect(cc.rect(0, 0, fiFrom.node.width, fiFrom.node.height)); | 411 | // // fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame.setRect(cc.rect(0, 0, fiFrom.node.width, fiFrom.node.height)); |
| 412 | let iIndex = fiFrom.node.name.replace("TopCell", ''); | 412 | // let iIndex = fiFrom.node.name.replace("TopCell", ''); |
| 413 | if (this._oInit.aTopImg[iIndex]) { | 413 | // if (this._oInit.aTopImg[iIndex]) { |
| 414 | Network.loadImageInNativeRuntime( | 414 | // Network.loadImageInNativeRuntime( |
| 415 | this._oInit.aTopImg[iIndex], | 415 | // this._oInit.aTopImg[iIndex], |
| 416 | function (texture) { | 416 | // function (texture) { |
| 417 | fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, fiFrom.node.width, fiFrom.node.height)); | 417 | // fiFrom.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, 0, fiFrom.node.width, fiFrom.node.height)); |
| 418 | }, null, this | 418 | // }, null, this |
| 419 | ); | 419 | // ); |
| 420 | } | 420 | // } |
| 421 | } | 421 | // } |
| 422 | }, | 422 | }, |
| 423 | 423 | ||
| 424 | onAfterFocusChange: function (event) { | 424 | onAfterFocusChange: function (event) { |
| ... | @@ -441,18 +441,18 @@ cc.Class({ | ... | @@ -441,18 +441,18 @@ cc.Class({ |
| 441 | this._oSceneContext._iCurrentLeftIndex = iIndex; | 441 | this._oSceneContext._iCurrentLeftIndex = iIndex; |
| 442 | } | 442 | } |
| 443 | 443 | ||
| 444 | if (0 == fiTo.node.getName().indexOf('TopCell')) { | 444 | // if (0 == fiTo.node.getName().indexOf('TopCell')) { |
| 445 | let iIndex = fiTo.node.name.replace("TopCell", ''); | 445 | // let iIndex = fiTo.node.name.replace("TopCell", ''); |
| 446 | // fiTo.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame.setRect(cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height)); | 446 | // // fiTo.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame.setRect(cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height)); |
| 447 | if (this._oInit.aTopImg[iIndex]) { | 447 | // if (this._oInit.aTopImg[iIndex]) { |
| 448 | Network.loadImageInNativeRuntime( | 448 | // Network.loadImageInNativeRuntime( |
| 449 | this._oInit.aTopImg[iIndex], | 449 | // this._oInit.aTopImg[iIndex], |
| 450 | function (texture) { | 450 | // function (texture) { |
| 451 | fiTo.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height)); | 451 | // fiTo.node.getChildByName("Pic").getComponent(cc.Sprite).spriteFrame = new cc.SpriteFrame(texture, cc.rect(0, fiTo.node.height, fiTo.node.width, fiTo.node.height)); |
| 452 | }, null, this | 452 | // }, null, this |
| 453 | ); | 453 | // ); |
| 454 | } | 454 | // } |
| 455 | } | 455 | // } |
| 456 | }, | 456 | }, |
| 457 | 457 | ||
| 458 | keyDownDirection: function (Direct) { | 458 | keyDownDirection: function (Direct) { | ... | ... |
| ... | @@ -14,7 +14,7 @@ cc.Class({ | ... | @@ -14,7 +14,7 @@ cc.Class({ |
| 14 | "name": "Navigator",/* 左侧导航 */ | 14 | "name": "Navigator",/* 左侧导航 */ |
| 15 | "layout": "vertical",//浮动式垂直布局 | 15 | "layout": "vertical",//浮动式垂直布局 |
| 16 | "position": [44, 98],//框架的起始坐标 | 16 | "position": [44, 98],//框架的起始坐标 |
| 17 | "childrenSize": [166, 94],//子元素尺寸 | 17 | "childrenSize": [159, 72],//子元素尺寸 |
| 18 | "childrenMargin": [0, 0, 3, 0],//子元素边距 | 18 | "childrenMargin": [0, 0, 3, 0],//子元素边距 |
| 19 | "dataContainer": "promotion_list",//列表名称 | 19 | "dataContainer": "promotion_list",//列表名称 |
| 20 | "data": {/* 对于数据比较少的采取这种方式或者本地数据 */ | 20 | "data": {/* 对于数据比较少的采取这种方式或者本地数据 */ |
| ... | @@ -39,7 +39,8 @@ cc.Class({ | ... | @@ -39,7 +39,8 @@ cc.Class({ |
| 39 | }, | 39 | }, |
| 40 | { | 40 | { |
| 41 | "name": "primarySchool", | 41 | "name": "primarySchool", |
| 42 | "tvlink": '{"click": [{"action": "changeLayout","parameters": {"layoutPath": "layout/waterfall_primarySchool.json"}}]}', | 42 | // "tvlink": '{"click": [{"action": "changeLayout","parameters": {"layoutPath": "layout/waterfall_primarySchool.json"}}]}', |
| 43 | "tvlink": '{"click": [{"action": "ChangeScene","parameters": {"sceneName":"sceneGame"}}]}', | ||
| 43 | "type": "promotion_item", | 44 | "type": "promotion_item", |
| 44 | "imageURL": "image/navigator/primary.png", | 45 | "imageURL": "image/navigator/primary.png", |
| 45 | "top": 360, | 46 | "top": 360, |
| ... | @@ -78,30 +79,30 @@ cc.Class({ | ... | @@ -78,30 +79,30 @@ cc.Class({ |
| 78 | "resultSet": [ | 79 | "resultSet": [ |
| 79 | { | 80 | { |
| 80 | "name": "收藏", | 81 | "name": "收藏", |
| 81 | "left": 822, | 82 | "left": 1104, |
| 82 | "top": 19, | 83 | "top": 35, |
| 83 | "width": 137, | 84 | "width": 38, |
| 84 | "height": 65, | 85 | "height": 38, |
| 85 | "tvlink": '{"click":[{"action":"ChangeScene","parameters":{"sceneName":"sceneDiary"}}]}', | 86 | "tvlink": '{"click":[{"action":"ChangeScene","parameters":{"sceneName":"sceneDiary"}}]}', |
| 86 | "type" : "promotion_item", | 87 | "type" : "promotion_item", |
| 87 | "imageURL": "image/addition/my.png" | 88 | "imageURL": "image/addition/my.png" |
| 88 | }, | 89 | }, |
| 89 | { | 90 | { |
| 90 | "name": "历史", | 91 | "name": "历史", |
| 91 | "left": 965, | 92 | "left": 1158, |
| 92 | "top": 19, | 93 | "top": 35, |
| 93 | "width": 137, | 94 | "width": 38, |
| 94 | "height": 65, | 95 | "height": 38, |
| 95 | "tvlink": '{"click":[{"action":"ChangeScene","parameters":{"sceneName":"sceneHistory"}}]}', | 96 | "tvlink": '{"click":[{"action":"ChangeScene","parameters":{"sceneName":"sceneHistory"}}]}', |
| 96 | "type" : "promotion_item", | 97 | "type" : "promotion_item", |
| 97 | "imageURL": "image/addition/history.png" | 98 | "imageURL": "image/addition/history.png" |
| 98 | }, | 99 | }, |
| 99 | { | 100 | { |
| 100 | "name": "搜索", | 101 | "name": "搜索", |
| 101 | "left": 1108, | 102 | "left": 1213, |
| 102 | "top": 19, | 103 | "top": 35, |
| 103 | "width": 137, | 104 | "width": 38, |
| 104 | "height": 65, | 105 | "height": 38, |
| 105 | "tvlink": '{"click":[{"action":"ChangeScene","parameters":{"sceneName":"sceneSearch"}}]}', | 106 | "tvlink": '{"click":[{"action":"ChangeScene","parameters":{"sceneName":"sceneSearch"}}]}', |
| 106 | "type" : "promotion_item", | 107 | "type" : "promotion_item", |
| 107 | "imageURL": "image/addition/search.png" | 108 | "imageURL": "image/addition/search.png" | ... | ... |
assets/Texture/anim/duck_role.meta
0 → 100644
assets/Texture/anim/duck_role/duck_ske.json
0 → 100644
| 1 | {"frameRate":60,"isGlobal":0,"armature":[{"bone":[{"name":"root","transform":{}},{"inheritScale":false,"transform":{"y":20.9393,"x":-3.83},"name":"Layer1","parent":"root"},{"length":112,"transform":{"y":-39.8899,"skX":90.9548,"skY":90.9548,"x":-2.4595},"parent":"root","inheritScale":false,"name":"Layer19"},{"length":101,"transform":{"y":-10.561,"skX":-38.9536,"skY":-38.9536,"x":-3.9265},"parent":"Layer19","inheritScale":false,"name":"Layer17"},{"length":81,"transform":{"y":-10.2153,"skX":-20.483,"skY":-20.483,"x":35.3347},"parent":"Layer19","inheritScale":false,"name":"Layer10"},{"length":78,"transform":{"y":10.034,"skX":15.7006,"skY":15.7006,"x":35.5472},"parent":"Layer19","inheritScale":false,"name":"Layer12"},{"length":82,"transform":{"y":16.279,"skX":40.4526,"skY":40.4526,"x":-1.6039},"parent":"Layer19","inheritScale":false,"name":"Layer14"},{"length":160,"transform":{"y":-1.7706,"skX":178.5993,"skY":178.5993,"x":-6.2804},"parent":"Layer19","inheritScale":false,"name":"Layer21"}],"type":"Armature","frameRate":60,"animation":[{"playTimes":0,"bone":[{"frame":[{"tweenEasing":0,"transform":{},"duration":15},{"tweenEasing":0,"transform":{"skX":-2.3659,"skY":-2.3659},"duration":15},{"tweenEasing":0,"transform":{},"duration":15},{"tweenEasing":0,"transform":{"skX":3.2177,"skY":3.2177},"duration":15},{"transform":{},"duration":0}],"name":"Layer21"},{"frame":[{"tweenEasing":0,"transform":{},"duration":15},{"tweenEasing":0,"transform":{"skX":13.2312,"skY":13.2312},"duration":15},{"tweenEasing":0,"transform":{"y":-2.5206,"skX":-12.3228,"skY":-12.3228,"x":1.2082},"duration":15},{"tweenEasing":0,"transform":{"y":-6.2492,"skX":-62.777,"skY":-62.777,"x":-0.1042},"duration":15},{"transform":{},"duration":0}],"name":"Layer14"},{"frame":[{"tweenEasing":0,"transform":{},"duration":15},{"tweenEasing":0,"transform":{"y":-4},"duration":15},{"tweenEasing":0,"transform":{},"duration":15},{"tweenEasing":0,"transform":{"y":-4},"duration":15},{"transform":{},"duration":0}],"name":"Layer19"},{"frame":[{"tweenEasing":0,"transform":{},"duration":15},{"tweenEasing":0,"transform":{"y":-7.499,"skX":-38.8025,"skY":-38.8025,"x":-0.125},"duration":15},{"tweenEasing":0,"transform":{},"duration":15},{"tweenEasing":0,"transform":{"y":2.4997,"skX":15.1876,"skY":15.1876,"x":0.0417},"duration":15},{"transform":{},"duration":0}],"name":"Layer12"},{"frame":[{"tweenEasing":0,"transform":{},"duration":15},{"tweenEasing":0,"transform":{"y":1.8748,"skX":32.7635,"skY":32.7635,"x":0.0313},"duration":15},{"tweenEasing":0,"transform":{},"duration":15},{"tweenEasing":0,"transform":{"y":-3.7496,"skX":-17.9195,"skY":-17.9195,"x":-0.0625},"duration":15},{"transform":{},"duration":0}],"name":"Layer10"},{"frame":[{"tweenEasing":0,"transform":{},"duration":15},{"tweenEasing":0,"transform":{"skX":-22.4995,"skY":-22.4995},"duration":15},{"tweenEasing":0,"transform":{},"duration":15},{"tweenEasing":0,"transform":{"y":1.2498,"skX":23.6194,"skY":23.6194,"x":0.0208},"duration":15},{"transform":{},"duration":0}],"name":"Layer17"},{"frame":[{"tweenEasing":0,"transform":{},"duration":15},{"tweenEasing":0,"transform":{"scX":0.9},"duration":15},{"tweenEasing":0,"transform":{},"duration":15},{"tweenEasing":0,"transform":{"scX":0.9},"duration":15},{"transform":{},"duration":0}],"name":"Layer1"},{"frame":[{"transform":{},"duration":60}],"name":"root"}],"slot":[{"frame":[{"tweenEasing":0,"duration":15},{"tweenEasing":0,"duration":15},{"tweenEasing":0,"duration":15},{"tweenEasing":0,"duration":15},{"tweenEasing":null,"duration":0}],"name":"Layer21"},{"frame":[{"tweenEasing":0,"duration":15},{"tweenEasing":0,"duration":15},{"tweenEasing":0,"duration":15},{"tweenEasing":0,"duration":15},{"tweenEasing":null,"duration":0}],"name":"Layer14"},{"frame":[{"tweenEasing":0,"duration":15},{"tweenEasing":0,"duration":15},{"tweenEasing":0,"duration":15},{"tweenEasing":0,"duration":15},{"tweenEasing":null,"duration":0}],"name":"Layer19"},{"frame":[{"tweenEasing":0,"duration":15},{"tweenEasing":0,"duration":15},{"tweenEasing":0,"duration":15},{"tweenEasing":0,"duration":15},{"tweenEasing":null,"duration":0}],"name":"Layer12"},{"frame":[{"tweenEasing":0,"duration":15},{"tweenEasing":0,"duration":15},{"tweenEasing":0,"duration":15},{"tweenEasing":0,"duration":15},{"tweenEasing":null,"duration":0}],"name":"Layer10"},{"frame":[{"tweenEasing":0,"duration":15},{"tweenEasing":0,"duration":15},{"tweenEasing":0,"duration":15},{"tweenEasing":0,"duration":15},{"tweenEasing":null,"duration":0}],"name":"Layer17"},{"frame":[{"tweenEasing":0,"duration":15},{"tweenEasing":0,"duration":15},{"tweenEasing":0,"duration":15},{"tweenEasing":0,"duration":15},{"tweenEasing":null,"duration":0}],"name":"Layer1"}],"ffd":[],"ik":[],"frame":[],"name":"Animation1","duration":60}],"defaultActions":[{"gotoAndPlay":"Animation1"}],"aabb":{"width":157,"y":-168.93573553683655,"height":194.87503553683655,"x":-89.9550723745457},"ik":[],"name":"armatureName","skin":[{"slot":[{"display":[{"path":"duck05","type":"image","name":"duck05","transform":{"y":2.0343,"skX":-60.474,"skY":-60.474,"x":8.4202}}],"name":"Layer10"},{"display":[{"path":"duck06","type":"image","name":"duck06","transform":{"y":-0.0025,"skX":-116.3619,"skY":-116.3619,"x":10.4107}}],"name":"Layer12"},{"display":[{"path":"duck03","type":"image","name":"duck03","transform":{"y":1.4731,"skX":-90.9548,"skY":-90.9548,"x":16.3561}}],"name":"Layer19"},{"display":[{"path":"duck02","type":"image","name":"duck02","transform":{"y":1.0493,"skX":-122.6046,"skY":-122.6045,"x":19.4616}}],"name":"Layer14"},{"display":[{"path":"duck01","type":"image","name":"duck01","transform":{"y":-10.4049,"skX":90.4459,"skY":90.4459,"x":59.8786}}],"name":"Layer21"},{"display":[{"path":"duck07","type":"image","name":"duck07","transform":{}}],"name":"Layer1"},{"display":[{"path":"duck04","type":"image","name":"duck04","transform":{"y":0.273,"skX":-52.0013,"skY":-52.0012,"x":19.2394}}],"name":"Layer17"}],"name":""}],"slot":[{"name":"Layer1","parent":"Layer1","color":{}},{"z":1,"name":"Layer17","parent":"Layer17","color":{}},{"z":2,"name":"Layer10","parent":"Layer10","color":{}},{"z":3,"name":"Layer12","parent":"Layer12","color":{}},{"z":4,"name":"Layer19","parent":"Layer19","color":{}},{"z":5,"name":"Layer14","parent":"Layer14","color":{}},{"z":6,"name":"Layer21","parent":"Layer21","color":{}}]}],"name":"duck","version":"5.0"} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | { | ||
| 2 | "ver": "1.0.0", | ||
| 3 | "uuid": "12fcf88d-19e6-4c0e-a0e9-90493cbd8988", | ||
| 4 | "dragonBonesJson": "{\"frameRate\":60,\"isGlobal\":0,\"armature\":[{\"bone\":[{\"name\":\"root\",\"transform\":{}},{\"inheritScale\":false,\"transform\":{\"y\":20.9393,\"x\":-3.83},\"name\":\"Layer1\",\"parent\":\"root\"},{\"length\":112,\"transform\":{\"y\":-39.8899,\"skX\":90.9548,\"skY\":90.9548,\"x\":-2.4595},\"parent\":\"root\",\"inheritScale\":false,\"name\":\"Layer19\"},{\"length\":101,\"transform\":{\"y\":-10.561,\"skX\":-38.9536,\"skY\":-38.9536,\"x\":-3.9265},\"parent\":\"Layer19\",\"inheritScale\":false,\"name\":\"Layer17\"},{\"length\":81,\"transform\":{\"y\":-10.2153,\"skX\":-20.483,\"skY\":-20.483,\"x\":35.3347},\"parent\":\"Layer19\",\"inheritScale\":false,\"name\":\"Layer10\"},{\"length\":78,\"transform\":{\"y\":10.034,\"skX\":15.7006,\"skY\":15.7006,\"x\":35.5472},\"parent\":\"Layer19\",\"inheritScale\":false,\"name\":\"Layer12\"},{\"length\":82,\"transform\":{\"y\":16.279,\"skX\":40.4526,\"skY\":40.4526,\"x\":-1.6039},\"parent\":\"Layer19\",\"inheritScale\":false,\"name\":\"Layer14\"},{\"length\":160,\"transform\":{\"y\":-1.7706,\"skX\":178.5993,\"skY\":178.5993,\"x\":-6.2804},\"parent\":\"Layer19\",\"inheritScale\":false,\"name\":\"Layer21\"}],\"type\":\"Armature\",\"frameRate\":60,\"animation\":[{\"playTimes\":0,\"bone\":[{\"frame\":[{\"tweenEasing\":0,\"transform\":{},\"duration\":15},{\"tweenEasing\":0,\"transform\":{\"skX\":-2.3659,\"skY\":-2.3659},\"duration\":15},{\"tweenEasing\":0,\"transform\":{},\"duration\":15},{\"tweenEasing\":0,\"transform\":{\"skX\":3.2177,\"skY\":3.2177},\"duration\":15},{\"transform\":{},\"duration\":0}],\"name\":\"Layer21\"},{\"frame\":[{\"tweenEasing\":0,\"transform\":{},\"duration\":15},{\"tweenEasing\":0,\"transform\":{\"skX\":13.2312,\"skY\":13.2312},\"duration\":15},{\"tweenEasing\":0,\"transform\":{\"y\":-2.5206,\"skX\":-12.3228,\"skY\":-12.3228,\"x\":1.2082},\"duration\":15},{\"tweenEasing\":0,\"transform\":{\"y\":-6.2492,\"skX\":-62.777,\"skY\":-62.777,\"x\":-0.1042},\"duration\":15},{\"transform\":{},\"duration\":0}],\"name\":\"Layer14\"},{\"frame\":[{\"tweenEasing\":0,\"transform\":{},\"duration\":15},{\"tweenEasing\":0,\"transform\":{\"y\":-4},\"duration\":15},{\"tweenEasing\":0,\"transform\":{},\"duration\":15},{\"tweenEasing\":0,\"transform\":{\"y\":-4},\"duration\":15},{\"transform\":{},\"duration\":0}],\"name\":\"Layer19\"},{\"frame\":[{\"tweenEasing\":0,\"transform\":{},\"duration\":15},{\"tweenEasing\":0,\"transform\":{\"y\":-7.499,\"skX\":-38.8025,\"skY\":-38.8025,\"x\":-0.125},\"duration\":15},{\"tweenEasing\":0,\"transform\":{},\"duration\":15},{\"tweenEasing\":0,\"transform\":{\"y\":2.4997,\"skX\":15.1876,\"skY\":15.1876,\"x\":0.0417},\"duration\":15},{\"transform\":{},\"duration\":0}],\"name\":\"Layer12\"},{\"frame\":[{\"tweenEasing\":0,\"transform\":{},\"duration\":15},{\"tweenEasing\":0,\"transform\":{\"y\":1.8748,\"skX\":32.7635,\"skY\":32.7635,\"x\":0.0313},\"duration\":15},{\"tweenEasing\":0,\"transform\":{},\"duration\":15},{\"tweenEasing\":0,\"transform\":{\"y\":-3.7496,\"skX\":-17.9195,\"skY\":-17.9195,\"x\":-0.0625},\"duration\":15},{\"transform\":{},\"duration\":0}],\"name\":\"Layer10\"},{\"frame\":[{\"tweenEasing\":0,\"transform\":{},\"duration\":15},{\"tweenEasing\":0,\"transform\":{\"skX\":-22.4995,\"skY\":-22.4995},\"duration\":15},{\"tweenEasing\":0,\"transform\":{},\"duration\":15},{\"tweenEasing\":0,\"transform\":{\"y\":1.2498,\"skX\":23.6194,\"skY\":23.6194,\"x\":0.0208},\"duration\":15},{\"transform\":{},\"duration\":0}],\"name\":\"Layer17\"},{\"frame\":[{\"tweenEasing\":0,\"transform\":{},\"duration\":15},{\"tweenEasing\":0,\"transform\":{\"scX\":0.9},\"duration\":15},{\"tweenEasing\":0,\"transform\":{},\"duration\":15},{\"tweenEasing\":0,\"transform\":{\"scX\":0.9},\"duration\":15},{\"transform\":{},\"duration\":0}],\"name\":\"Layer1\"},{\"frame\":[{\"transform\":{},\"duration\":60}],\"name\":\"root\"}],\"slot\":[{\"frame\":[{\"tweenEasing\":0,\"duration\":15},{\"tweenEasing\":0,\"duration\":15},{\"tweenEasing\":0,\"duration\":15},{\"tweenEasing\":0,\"duration\":15},{\"tweenEasing\":null,\"duration\":0}],\"name\":\"Layer21\"},{\"frame\":[{\"tweenEasing\":0,\"duration\":15},{\"tweenEasing\":0,\"duration\":15},{\"tweenEasing\":0,\"duration\":15},{\"tweenEasing\":0,\"duration\":15},{\"tweenEasing\":null,\"duration\":0}],\"name\":\"Layer14\"},{\"frame\":[{\"tweenEasing\":0,\"duration\":15},{\"tweenEasing\":0,\"duration\":15},{\"tweenEasing\":0,\"duration\":15},{\"tweenEasing\":0,\"duration\":15},{\"tweenEasing\":null,\"duration\":0}],\"name\":\"Layer19\"},{\"frame\":[{\"tweenEasing\":0,\"duration\":15},{\"tweenEasing\":0,\"duration\":15},{\"tweenEasing\":0,\"duration\":15},{\"tweenEasing\":0,\"duration\":15},{\"tweenEasing\":null,\"duration\":0}],\"name\":\"Layer12\"},{\"frame\":[{\"tweenEasing\":0,\"duration\":15},{\"tweenEasing\":0,\"duration\":15},{\"tweenEasing\":0,\"duration\":15},{\"tweenEasing\":0,\"duration\":15},{\"tweenEasing\":null,\"duration\":0}],\"name\":\"Layer10\"},{\"frame\":[{\"tweenEasing\":0,\"duration\":15},{\"tweenEasing\":0,\"duration\":15},{\"tweenEasing\":0,\"duration\":15},{\"tweenEasing\":0,\"duration\":15},{\"tweenEasing\":null,\"duration\":0}],\"name\":\"Layer17\"},{\"frame\":[{\"tweenEasing\":0,\"duration\":15},{\"tweenEasing\":0,\"duration\":15},{\"tweenEasing\":0,\"duration\":15},{\"tweenEasing\":0,\"duration\":15},{\"tweenEasing\":null,\"duration\":0}],\"name\":\"Layer1\"}],\"ffd\":[],\"ik\":[],\"frame\":[],\"name\":\"Animation1\",\"duration\":60}],\"defaultActions\":[{\"gotoAndPlay\":\"Animation1\"}],\"aabb\":{\"width\":157,\"y\":-168.93573553683655,\"height\":194.87503553683655,\"x\":-89.9550723745457},\"ik\":[],\"name\":\"armatureName\",\"skin\":[{\"slot\":[{\"display\":[{\"path\":\"duck05\",\"type\":\"image\",\"name\":\"duck05\",\"transform\":{\"y\":2.0343,\"skX\":-60.474,\"skY\":-60.474,\"x\":8.4202}}],\"name\":\"Layer10\"},{\"display\":[{\"path\":\"duck06\",\"type\":\"image\",\"name\":\"duck06\",\"transform\":{\"y\":-0.0025,\"skX\":-116.3619,\"skY\":-116.3619,\"x\":10.4107}}],\"name\":\"Layer12\"},{\"display\":[{\"path\":\"duck03\",\"type\":\"image\",\"name\":\"duck03\",\"transform\":{\"y\":1.4731,\"skX\":-90.9548,\"skY\":-90.9548,\"x\":16.3561}}],\"name\":\"Layer19\"},{\"display\":[{\"path\":\"duck02\",\"type\":\"image\",\"name\":\"duck02\",\"transform\":{\"y\":1.0493,\"skX\":-122.6046,\"skY\":-122.6045,\"x\":19.4616}}],\"name\":\"Layer14\"},{\"display\":[{\"path\":\"duck01\",\"type\":\"image\",\"name\":\"duck01\",\"transform\":{\"y\":-10.4049,\"skX\":90.4459,\"skY\":90.4459,\"x\":59.8786}}],\"name\":\"Layer21\"},{\"display\":[{\"path\":\"duck07\",\"type\":\"image\",\"name\":\"duck07\",\"transform\":{}}],\"name\":\"Layer1\"},{\"display\":[{\"path\":\"duck04\",\"type\":\"image\",\"name\":\"duck04\",\"transform\":{\"y\":0.273,\"skX\":-52.0013,\"skY\":-52.0012,\"x\":19.2394}}],\"name\":\"Layer17\"}],\"name\":\"\"}],\"slot\":[{\"name\":\"Layer1\",\"parent\":\"Layer1\",\"color\":{}},{\"z\":1,\"name\":\"Layer17\",\"parent\":\"Layer17\",\"color\":{}},{\"z\":2,\"name\":\"Layer10\",\"parent\":\"Layer10\",\"color\":{}},{\"z\":3,\"name\":\"Layer12\",\"parent\":\"Layer12\",\"color\":{}},{\"z\":4,\"name\":\"Layer19\",\"parent\":\"Layer19\",\"color\":{}},{\"z\":5,\"name\":\"Layer14\",\"parent\":\"Layer14\",\"color\":{}},{\"z\":6,\"name\":\"Layer21\",\"parent\":\"Layer21\",\"color\":{}}]}],\"name\":\"duck\",\"version\":\"5.0\"}", | ||
| 5 | "subMetas": {} | ||
| 6 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
assets/Texture/anim/duck_role/duck_tex.json
0 → 100644
| 1 | {"width":256,"imagePath":"duck_tex.png","height":256,"name":"duck","SubTexture":[{"width":66,"y":108,"height":10,"name":"duck07","x":160},{"width":35,"y":64,"height":40,"name":"duck04","x":160},{"width":24,"y":76,"height":30,"name":"duck05","x":197},{"width":24,"y":44,"height":30,"name":"duck06","x":222},{"width":60,"y":1,"height":61,"name":"duck03","x":160},{"width":27,"y":1,"height":41,"name":"duck02","x":222},{"width":157,"y":1,"height":126,"name":"duck01","x":1}]} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | { | ||
| 2 | "ver": "1.0.0", | ||
| 3 | "uuid": "3348c645-59e4-4bf2-b5ac-02172ce7f044", | ||
| 4 | "atlasJson": "{\"width\":256,\"imagePath\":\"duck_tex.png\",\"height\":256,\"name\":\"duck\",\"SubTexture\":[{\"width\":66,\"y\":108,\"height\":10,\"name\":\"duck07\",\"x\":160},{\"width\":35,\"y\":64,\"height\":40,\"name\":\"duck04\",\"x\":160},{\"width\":24,\"y\":76,\"height\":30,\"name\":\"duck05\",\"x\":197},{\"width\":24,\"y\":44,\"height\":30,\"name\":\"duck06\",\"x\":222},{\"width\":60,\"y\":1,\"height\":61,\"name\":\"duck03\",\"x\":160},{\"width\":27,\"y\":1,\"height\":41,\"name\":\"duck02\",\"x\":222},{\"width\":157,\"y\":1,\"height\":126,\"name\":\"duck01\",\"x\":1}]}", | ||
| 5 | "texture": "5d2ba554-a63a-4a5c-96d2-82152eff95b5", | ||
| 6 | "subMetas": {} | ||
| 7 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
assets/Texture/anim/duck_role/duck_tex.png
0 → 100644
21.7 KB
| 1 | { | ||
| 2 | "ver": "2.2.0", | ||
| 3 | "uuid": "5d2ba554-a63a-4a5c-96d2-82152eff95b5", | ||
| 4 | "type": "sprite", | ||
| 5 | "wrapMode": "clamp", | ||
| 6 | "filterMode": "bilinear", | ||
| 7 | "premultiplyAlpha": false, | ||
| 8 | "subMetas": { | ||
| 9 | "duck_tex": { | ||
| 10 | "ver": "1.0.4", | ||
| 11 | "uuid": "abf7a9c2-4fb6-4899-ba2b-2dc582b38b12", | ||
| 12 | "rawTextureUuid": "5d2ba554-a63a-4a5c-96d2-82152eff95b5", | ||
| 13 | "trimType": "auto", | ||
| 14 | "trimThreshold": 1, | ||
| 15 | "rotated": false, | ||
| 16 | "offsetX": -3, | ||
| 17 | "offsetY": 64, | ||
| 18 | "trimX": 1, | ||
| 19 | "trimY": 1, | ||
| 20 | "width": 248, | ||
| 21 | "height": 126, | ||
| 22 | "rawWidth": 256, | ||
| 23 | "rawHeight": 256, | ||
| 24 | "borderTop": 0, | ||
| 25 | "borderBottom": 0, | ||
| 26 | "borderLeft": 0, | ||
| 27 | "borderRight": 0, | ||
| 28 | "subMetas": {} | ||
| 29 | } | ||
| 30 | } | ||
| 31 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
assets/Texture/game/bg_loading_pop_2.png
0 → 100644
37.8 KB
| 1 | { | ||
| 2 | "ver": "2.2.0", | ||
| 3 | "uuid": "926267b5-de6e-4a3d-9f82-f5ec7006bd00", | ||
| 4 | "type": "sprite", | ||
| 5 | "wrapMode": "clamp", | ||
| 6 | "filterMode": "bilinear", | ||
| 7 | "premultiplyAlpha": false, | ||
| 8 | "subMetas": { | ||
| 9 | "bg_loading_pop_2": { | ||
| 10 | "ver": "1.0.4", | ||
| 11 | "uuid": "260d622d-3a11-4350-8775-4a225ae5a348", | ||
| 12 | "rawTextureUuid": "926267b5-de6e-4a3d-9f82-f5ec7006bd00", | ||
| 13 | "trimType": "auto", | ||
| 14 | "trimThreshold": 1, | ||
| 15 | "rotated": false, | ||
| 16 | "offsetX": 0, | ||
| 17 | "offsetY": 0, | ||
| 18 | "trimX": 0, | ||
| 19 | "trimY": 0, | ||
| 20 | "width": 635, | ||
| 21 | "height": 342, | ||
| 22 | "rawWidth": 635, | ||
| 23 | "rawHeight": 342, | ||
| 24 | "borderTop": 0, | ||
| 25 | "borderBottom": 0, | ||
| 26 | "borderLeft": 0, | ||
| 27 | "borderRight": 0, | ||
| 28 | "subMetas": {} | ||
| 29 | } | ||
| 30 | } | ||
| 31 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
assets/Texture/game/bg_shop_item_icon.png
0 → 100644
558 Bytes
| 1 | { | ||
| 2 | "ver": "2.2.0", | ||
| 3 | "uuid": "768a3cbe-ea2a-412a-9915-5ba206f2120b", | ||
| 4 | "type": "sprite", | ||
| 5 | "wrapMode": "clamp", | ||
| 6 | "filterMode": "bilinear", | ||
| 7 | "premultiplyAlpha": false, | ||
| 8 | "subMetas": { | ||
| 9 | "bg_shop_item_icon": { | ||
| 10 | "ver": "1.0.4", | ||
| 11 | "uuid": "20a09849-4fac-4159-ab45-65501e0f945b", | ||
| 12 | "rawTextureUuid": "768a3cbe-ea2a-412a-9915-5ba206f2120b", | ||
| 13 | "trimType": "auto", | ||
| 14 | "trimThreshold": 1, | ||
| 15 | "rotated": false, | ||
| 16 | "offsetX": 0, | ||
| 17 | "offsetY": 0, | ||
| 18 | "trimX": 0, | ||
| 19 | "trimY": 0, | ||
| 20 | "width": 75, | ||
| 21 | "height": 75, | ||
| 22 | "rawWidth": 75, | ||
| 23 | "rawHeight": 75, | ||
| 24 | "borderTop": 0, | ||
| 25 | "borderBottom": 0, | ||
| 26 | "borderLeft": 0, | ||
| 27 | "borderRight": 0, | ||
| 28 | "subMetas": {} | ||
| 29 | } | ||
| 30 | } | ||
| 31 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
assets/Texture/game/btn_back_2.png
0 → 100644
2.19 KB
assets/Texture/game/btn_back_2.png.meta
0 → 100644
| 1 | { | ||
| 2 | "ver": "2.2.0", | ||
| 3 | "uuid": "8618fb6f-4c3c-42b9-8357-e309a7155f28", | ||
| 4 | "type": "sprite", | ||
| 5 | "wrapMode": "clamp", | ||
| 6 | "filterMode": "bilinear", | ||
| 7 | "premultiplyAlpha": false, | ||
| 8 | "subMetas": { | ||
| 9 | "btn_back_2": { | ||
| 10 | "ver": "1.0.4", | ||
| 11 | "uuid": "e43d8224-1726-467f-a939-8ea9c8efc8bc", | ||
| 12 | "rawTextureUuid": "8618fb6f-4c3c-42b9-8357-e309a7155f28", | ||
| 13 | "trimType": "auto", | ||
| 14 | "trimThreshold": 1, | ||
| 15 | "rotated": false, | ||
| 16 | "offsetX": -0.5, | ||
| 17 | "offsetY": 0.5, | ||
| 18 | "trimX": 0, | ||
| 19 | "trimY": 0, | ||
| 20 | "width": 53, | ||
| 21 | "height": 47, | ||
| 22 | "rawWidth": 54, | ||
| 23 | "rawHeight": 48, | ||
| 24 | "borderTop": 0, | ||
| 25 | "borderBottom": 0, | ||
| 26 | "borderLeft": 0, | ||
| 27 | "borderRight": 0, | ||
| 28 | "subMetas": {} | ||
| 29 | } | ||
| 30 | } | ||
| 31 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
assets/Texture/game/btn_common_pop_close.png
0 → 100644
4.42 KB
| 1 | { | ||
| 2 | "ver": "2.2.0", | ||
| 3 | "uuid": "61ca46a0-2e29-48ab-9af7-c9b3ba0bc8ac", | ||
| 4 | "type": "sprite", | ||
| 5 | "wrapMode": "clamp", | ||
| 6 | "filterMode": "bilinear", | ||
| 7 | "premultiplyAlpha": false, | ||
| 8 | "subMetas": { | ||
| 9 | "btn_common_pop_close": { | ||
| 10 | "ver": "1.0.4", | ||
| 11 | "uuid": "59262b31-5913-43a6-8075-23de6b2f9a06", | ||
| 12 | "rawTextureUuid": "61ca46a0-2e29-48ab-9af7-c9b3ba0bc8ac", | ||
| 13 | "trimType": "auto", | ||
| 14 | "trimThreshold": 1, | ||
| 15 | "rotated": false, | ||
| 16 | "offsetX": 0, | ||
| 17 | "offsetY": 0, | ||
| 18 | "trimX": 0, | ||
| 19 | "trimY": 0, | ||
| 20 | "width": 82, | ||
| 21 | "height": 82, | ||
| 22 | "rawWidth": 82, | ||
| 23 | "rawHeight": 82, | ||
| 24 | "borderTop": 0, | ||
| 25 | "borderBottom": 0, | ||
| 26 | "borderLeft": 0, | ||
| 27 | "borderRight": 0, | ||
| 28 | "subMetas": {} | ||
| 29 | } | ||
| 30 | } | ||
| 31 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
assets/Texture/game/head_1.png
0 → 100644
15 KB
assets/Texture/game/head_1.png.meta
0 → 100644
| 1 | { | ||
| 2 | "ver": "2.2.0", | ||
| 3 | "uuid": "87254772-462f-487e-b3af-3c1b2c68de34", | ||
| 4 | "type": "sprite", | ||
| 5 | "wrapMode": "clamp", | ||
| 6 | "filterMode": "bilinear", | ||
| 7 | "premultiplyAlpha": false, | ||
| 8 | "subMetas": { | ||
| 9 | "head_1": { | ||
| 10 | "ver": "1.0.4", | ||
| 11 | "uuid": "55fbb89f-85d9-4bb8-8825-9cb5292881f5", | ||
| 12 | "rawTextureUuid": "87254772-462f-487e-b3af-3c1b2c68de34", | ||
| 13 | "trimType": "auto", | ||
| 14 | "trimThreshold": 1, | ||
| 15 | "rotated": false, | ||
| 16 | "offsetX": 0, | ||
| 17 | "offsetY": 0, | ||
| 18 | "trimX": 0, | ||
| 19 | "trimY": 0, | ||
| 20 | "width": 168, | ||
| 21 | "height": 220, | ||
| 22 | "rawWidth": 168, | ||
| 23 | "rawHeight": 220, | ||
| 24 | "borderTop": 0, | ||
| 25 | "borderBottom": 0, | ||
| 26 | "borderLeft": 0, | ||
| 27 | "borderRight": 0, | ||
| 28 | "subMetas": {} | ||
| 29 | } | ||
| 30 | } | ||
| 31 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
assets/Texture/game/icon_money.png
0 → 100644
13.1 KB
assets/Texture/game/icon_money.png.meta
0 → 100644
| 1 | { | ||
| 2 | "ver": "2.2.0", | ||
| 3 | "uuid": "00f32f7d-54fd-4c97-a226-b61561b33239", | ||
| 4 | "type": "sprite", | ||
| 5 | "wrapMode": "clamp", | ||
| 6 | "filterMode": "bilinear", | ||
| 7 | "premultiplyAlpha": false, | ||
| 8 | "subMetas": { | ||
| 9 | "icon_money": { | ||
| 10 | "ver": "1.0.4", | ||
| 11 | "uuid": "3f55e57f-58ff-4674-80a1-4f3cb937762c", | ||
| 12 | "rawTextureUuid": "00f32f7d-54fd-4c97-a226-b61561b33239", | ||
| 13 | "trimType": "auto", | ||
| 14 | "trimThreshold": 1, | ||
| 15 | "rotated": false, | ||
| 16 | "offsetX": 0, | ||
| 17 | "offsetY": 0, | ||
| 18 | "trimX": 0, | ||
| 19 | "trimY": 0, | ||
| 20 | "width": 196, | ||
| 21 | "height": 168, | ||
| 22 | "rawWidth": 196, | ||
| 23 | "rawHeight": 168, | ||
| 24 | "borderTop": 0, | ||
| 25 | "borderBottom": 0, | ||
| 26 | "borderLeft": 0, | ||
| 27 | "borderRight": 0, | ||
| 28 | "subMetas": {} | ||
| 29 | } | ||
| 30 | } | ||
| 31 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| ... | @@ -8,8 +8,7 @@ | ... | @@ -8,8 +8,7 @@ |
| 8 | "__id__": 1 | 8 | "__id__": 1 |
| 9 | }, | 9 | }, |
| 10 | "optimizationPolicy": 0, | 10 | "optimizationPolicy": 0, |
| 11 | "asyncLoadAssets": false, | 11 | "asyncLoadAssets": false |
| 12 | "readonly": false | ||
| 13 | }, | 12 | }, |
| 14 | { | 13 | { |
| 15 | "__type__": "cc.Node", | 14 | "__type__": "cc.Node", |
| ... | @@ -44,8 +43,8 @@ | ... | @@ -44,8 +43,8 @@ |
| 44 | }, | 43 | }, |
| 45 | "_contentSize": { | 44 | "_contentSize": { |
| 46 | "__type__": "cc.Size", | 45 | "__type__": "cc.Size", |
| 47 | "width": 40, | 46 | "width": 159, |
| 48 | "height": 36 | 47 | "height": 72 |
| 49 | }, | 48 | }, |
| 50 | "_anchorPoint": { | 49 | "_anchorPoint": { |
| 51 | "__type__": "cc.Vec2", | 50 | "__type__": "cc.Vec2", |
| ... | @@ -64,18 +63,18 @@ | ... | @@ -64,18 +63,18 @@ |
| 64 | "y": 1, | 63 | "y": 1, |
| 65 | "z": 1 | 64 | "z": 1 |
| 66 | }, | 65 | }, |
| 67 | "_eulerAngles": { | 66 | "_rotationX": 0, |
| 68 | "__type__": "cc.Vec3", | 67 | "_rotationY": 0, |
| 68 | "_quat": { | ||
| 69 | "__type__": "cc.Quat", | ||
| 69 | "x": 0, | 70 | "x": 0, |
| 70 | "y": 0, | 71 | "y": 0, |
| 71 | "z": 0 | 72 | "z": 0, |
| 73 | "w": 1 | ||
| 72 | }, | 74 | }, |
| 73 | "_skewX": 0, | 75 | "_skewX": 0, |
| 74 | "_skewY": 0, | 76 | "_skewY": 0, |
| 75 | "_is3DNode": false, | ||
| 76 | "groupIndex": 0, | 77 | "groupIndex": 0, |
| 77 | "_rotationX": 0, | ||
| 78 | "_rotationY": 0, | ||
| 79 | "_id": "" | 78 | "_id": "" |
| 80 | }, | 79 | }, |
| 81 | { | 80 | { |
| ... | @@ -106,8 +105,8 @@ | ... | @@ -106,8 +105,8 @@ |
| 106 | }, | 105 | }, |
| 107 | "_contentSize": { | 106 | "_contentSize": { |
| 108 | "__type__": "cc.Size", | 107 | "__type__": "cc.Size", |
| 109 | "width": 40, | 108 | "width": 159, |
| 110 | "height": 36 | 109 | "height": 72 |
| 111 | }, | 110 | }, |
| 112 | "_anchorPoint": { | 111 | "_anchorPoint": { |
| 113 | "__type__": "cc.Vec2", | 112 | "__type__": "cc.Vec2", |
| ... | @@ -126,18 +125,18 @@ | ... | @@ -126,18 +125,18 @@ |
| 126 | "y": 1, | 125 | "y": 1, |
| 127 | "z": 1 | 126 | "z": 1 |
| 128 | }, | 127 | }, |
| 129 | "_eulerAngles": { | 128 | "_rotationX": 0, |
| 130 | "__type__": "cc.Vec3", | 129 | "_rotationY": 0, |
| 130 | "_quat": { | ||
| 131 | "__type__": "cc.Quat", | ||
| 131 | "x": 0, | 132 | "x": 0, |
| 132 | "y": 0, | 133 | "y": 0, |
| 133 | "z": 0 | 134 | "z": 0, |
| 135 | "w": 1 | ||
| 134 | }, | 136 | }, |
| 135 | "_skewX": 0, | 137 | "_skewX": 0, |
| 136 | "_skewY": 0, | 138 | "_skewY": 0, |
| 137 | "_is3DNode": false, | ||
| 138 | "groupIndex": 0, | 139 | "groupIndex": 0, |
| 139 | "_rotationX": 0, | ||
| 140 | "_rotationY": 0, | ||
| 141 | "_id": "" | 140 | "_id": "" |
| 142 | }, | 141 | }, |
| 143 | { | 142 | { |
| ... | @@ -148,11 +147,6 @@ | ... | @@ -148,11 +147,6 @@ |
| 148 | "__id__": 2 | 147 | "__id__": 2 |
| 149 | }, | 148 | }, |
| 150 | "_enabled": true, | 149 | "_enabled": true, |
| 151 | "_materials": [ | ||
| 152 | { | ||
| 153 | "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" | ||
| 154 | } | ||
| 155 | ], | ||
| 156 | "_srcBlendFactor": 770, | 150 | "_srcBlendFactor": 770, |
| 157 | "_dstBlendFactor": 771, | 151 | "_dstBlendFactor": 771, |
| 158 | "_spriteFrame": null, | 152 | "_spriteFrame": null, |
| ... | @@ -167,6 +161,7 @@ | ... | @@ -167,6 +161,7 @@ |
| 167 | "_fillStart": 0, | 161 | "_fillStart": 0, |
| 168 | "_fillRange": 0, | 162 | "_fillRange": 0, |
| 169 | "_isTrimmedMode": true, | 163 | "_isTrimmedMode": true, |
| 164 | "_state": 0, | ||
| 170 | "_atlas": null, | 165 | "_atlas": null, |
| 171 | "_id": "" | 166 | "_id": "" |
| 172 | }, | 167 | }, |
| ... | @@ -192,9 +187,9 @@ | ... | @@ -192,9 +187,9 @@ |
| 192 | "alignMode": 1, | 187 | "alignMode": 1, |
| 193 | "_target": null, | 188 | "_target": null, |
| 194 | "_alignFlags": 9, | 189 | "_alignFlags": 9, |
| 195 | "_left": -20, | 190 | "_left": -79.5, |
| 196 | "_right": 0, | 191 | "_right": 0, |
| 197 | "_top": 702, | 192 | "_top": 684, |
| 198 | "_bottom": 0, | 193 | "_bottom": 0, |
| 199 | "_verticalCenter": 0, | 194 | "_verticalCenter": 0, |
| 200 | "_horizontalCenter": 0, | 195 | "_horizontalCenter": 0, | ... | ... |
| 1 | <root> | 1 | <root> |
| 2 | 2 | ||
| 3 | <explore id="1" id2="1" name="555,没人陪我玩,好寂寞。" type="1" map="1" choice1="陪陪蜥蜴,和它交朋友" choice2="陪它去看《小猪佩奇》,开朗的孩子朋友多。" function="1:500054" image="xiyi.png" reward="10001:100"/> | 3 | <explore id="1" id2="1" name="555,没人陪我玩,好寂寞。" type="1" map="1" choice1="陪陪蜥蜴,和它交朋友" choice2="陪它去看《小猪佩奇》,开朗的孩子朋友多。" function="1:500054" image="xiyi.png" reward="10001:100"/> |
| 4 | <explore id="2" id2="1" name="555,没人陪我玩,好寂寞。" type="1" map="1" choice1="陪陪蜥蜴,和它交朋友" choice2="去玩叠蛋糕给它看,这个小游戏可好玩了!" function="2:300056" image="xiyi.png" reward="10001:100"/> | 4 | <explore id="2" id2="1" name="555,没人陪我玩,好寂寞。" type="2" map="1" choice1="陪陪蜥蜴,和它交朋友" choice2="去玩叠蛋糕给它看,这个小游戏可好玩了!" function="2:300056" image="xiyi.png" reward="10001:100"/> |
| 5 | <explore id="3" id2="1" name="555,没人陪我玩,好寂寞。" type="1" map="1" choice1="陪陪蜥蜴,和它交朋友" choice2="和小狗一起听儿歌:工程车之歌" function="3:18897" image="xiyi.png" reward="10001:100"/> | 5 | <explore id="3" id2="1" name="555,没人陪我玩,好寂寞。" type="2" map="1" choice1="陪陪蜥蜴,和它交朋友" choice2="和小狗一起听儿歌:工程车之歌" function="3:18897" image="xiyi.png" reward="10001:100"/> |
| 6 | <explore id="4" id2="1" name="555,没人陪我玩,好寂寞。" type="1" map="1" choice1="我想和别的小动物一起玩。" choice2="" function="1:500054" image="xiyi.png" reward="10001:100"/> | 6 | <explore id="4" id2="1" name="555,没人陪我玩,好寂寞。" type="1" map="1" choice1="我想和别的小动物一起玩。" choice2="" function="1:500054" image="xiyi.png" reward="10001:100"/> |
| 7 | <explore id="5" id2="1" name="捡到一个宝箱。" type="2" map="1" choice1="" choice2="" function="1:500054" image="baoxiang.png" reward="10001:100"/> | 7 | <explore id="5" id2="1" name="捡到一个宝箱。" type="2" map="1" choice1="" choice2="" function="1:500054" image="baoxiang.png" reward="10001:100"/> |
| 8 | <explore id="6" id2="1" name="迷路了,进度减少10%" type="3" map="1" choice1="" choice2="" function="1:500054" image="xiyi.png" reward="10001:100"/> | 8 | <explore id="6" id2="1" name="迷路了,进度减少10%" type="3" map="1" choice1="" choice2="" function="1:500054" image="xiyi.png" reward="10001:100"/> | ... | ... |
5.05 KB
| 1 | { | ||
| 2 | "ver": "2.2.0", | ||
| 3 | "uuid": "55a2f65d-ae2f-430d-997a-a183b03af495", | ||
| 4 | "type": "sprite", | ||
| 5 | "wrapMode": "clamp", | ||
| 6 | "filterMode": "bilinear", | ||
| 7 | "premultiplyAlpha": false, | ||
| 8 | "subMetas": { | ||
| 9 | "turntable_tomorrow": { | ||
| 10 | "ver": "1.0.4", | ||
| 11 | "uuid": "94bfdc3d-6b0f-4a61-b0f0-beed62e88578", | ||
| 12 | "rawTextureUuid": "55a2f65d-ae2f-430d-997a-a183b03af495", | ||
| 13 | "trimType": "auto", | ||
| 14 | "trimThreshold": 1, | ||
| 15 | "rotated": false, | ||
| 16 | "offsetX": 0, | ||
| 17 | "offsetY": 0, | ||
| 18 | "trimX": 0, | ||
| 19 | "trimY": 1, | ||
| 20 | "width": 94, | ||
| 21 | "height": 97, | ||
| 22 | "rawWidth": 94, | ||
| 23 | "rawHeight": 99, | ||
| 24 | "borderTop": 0, | ||
| 25 | "borderBottom": 0, | ||
| 26 | "borderLeft": 0, | ||
| 27 | "borderRight": 0, | ||
| 28 | "subMetas": {} | ||
| 29 | } | ||
| 30 | } | ||
| 31 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
assets/resources/game/main/xiyi.png
0 → 100644
17.5 KB
assets/resources/game/main/xiyi.png.meta
0 → 100644
| 1 | { | ||
| 2 | "ver": "2.2.0", | ||
| 3 | "uuid": "21e522fa-4f5a-4dbe-8880-d68215b08d1a", | ||
| 4 | "type": "sprite", | ||
| 5 | "wrapMode": "clamp", | ||
| 6 | "filterMode": "bilinear", | ||
| 7 | "premultiplyAlpha": false, | ||
| 8 | "subMetas": { | ||
| 9 | "xiyi": { | ||
| 10 | "ver": "1.0.4", | ||
| 11 | "uuid": "30eaee90-b002-4d6c-a1c1-f252176a5890", | ||
| 12 | "rawTextureUuid": "21e522fa-4f5a-4dbe-8880-d68215b08d1a", | ||
| 13 | "trimType": "auto", | ||
| 14 | "trimThreshold": 1, | ||
| 15 | "rotated": false, | ||
| 16 | "offsetX": 0, | ||
| 17 | "offsetY": 0, | ||
| 18 | "trimX": 0, | ||
| 19 | "trimY": 0, | ||
| 20 | "width": 120, | ||
| 21 | "height": 158, | ||
| 22 | "rawWidth": 120, | ||
| 23 | "rawHeight": 158, | ||
| 24 | "borderTop": 0, | ||
| 25 | "borderBottom": 0, | ||
| 26 | "borderLeft": 0, | ||
| 27 | "borderRight": 0, | ||
| 28 | "subMetas": {} | ||
| 29 | } | ||
| 30 | } | ||
| 31 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
assets/resources/prefab/pfbDialogCell.prefab
0 → 100644
| 1 | [ | ||
| 2 | { | ||
| 3 | "__type__": "cc.Prefab", | ||
| 4 | "_name": "", | ||
| 5 | "_objFlags": 0, | ||
| 6 | "_native": "", | ||
| 7 | "data": { | ||
| 8 | "__id__": 1 | ||
| 9 | }, | ||
| 10 | "optimizationPolicy": 0, | ||
| 11 | "asyncLoadAssets": false | ||
| 12 | }, | ||
| 13 | { | ||
| 14 | "__type__": "cc.Node", | ||
| 15 | "_name": "pfbDialogCell", | ||
| 16 | "_objFlags": 0, | ||
| 17 | "_parent": null, | ||
| 18 | "_children": [ | ||
| 19 | { | ||
| 20 | "__id__": 2 | ||
| 21 | }, | ||
| 22 | { | ||
| 23 | "__id__": 5 | ||
| 24 | } | ||
| 25 | ], | ||
| 26 | "_active": true, | ||
| 27 | "_level": 1, | ||
| 28 | "_components": [], | ||
| 29 | "_prefab": { | ||
| 30 | "__id__": 8 | ||
| 31 | }, | ||
| 32 | "_opacity": 255, | ||
| 33 | "_color": { | ||
| 34 | "__type__": "cc.Color", | ||
| 35 | "r": 255, | ||
| 36 | "g": 255, | ||
| 37 | "b": 255, | ||
| 38 | "a": 255 | ||
| 39 | }, | ||
| 40 | "_contentSize": { | ||
| 41 | "__type__": "cc.Size", | ||
| 42 | "width": 450, | ||
| 43 | "height": 40 | ||
| 44 | }, | ||
| 45 | "_anchorPoint": { | ||
| 46 | "__type__": "cc.Vec2", | ||
| 47 | "x": 0.5, | ||
| 48 | "y": 0.5 | ||
| 49 | }, | ||
| 50 | "_position": { | ||
| 51 | "__type__": "cc.Vec3", | ||
| 52 | "x": 0, | ||
| 53 | "y": 0, | ||
| 54 | "z": 0 | ||
| 55 | }, | ||
| 56 | "_scale": { | ||
| 57 | "__type__": "cc.Vec3", | ||
| 58 | "x": 1, | ||
| 59 | "y": 1, | ||
| 60 | "z": 1 | ||
| 61 | }, | ||
| 62 | "_rotationX": 0, | ||
| 63 | "_rotationY": 0, | ||
| 64 | "_quat": { | ||
| 65 | "__type__": "cc.Quat", | ||
| 66 | "x": 0, | ||
| 67 | "y": 0, | ||
| 68 | "z": 0, | ||
| 69 | "w": 1 | ||
| 70 | }, | ||
| 71 | "_skewX": 0, | ||
| 72 | "_skewY": 0, | ||
| 73 | "groupIndex": 0, | ||
| 74 | "_id": "" | ||
| 75 | }, | ||
| 76 | { | ||
| 77 | "__type__": "cc.Node", | ||
| 78 | "_name": "Icon", | ||
| 79 | "_objFlags": 0, | ||
| 80 | "_parent": { | ||
| 81 | "__id__": 1 | ||
| 82 | }, | ||
| 83 | "_children": [], | ||
| 84 | "_active": true, | ||
| 85 | "_level": 0, | ||
| 86 | "_components": [ | ||
| 87 | { | ||
| 88 | "__id__": 3 | ||
| 89 | } | ||
| 90 | ], | ||
| 91 | "_prefab": { | ||
| 92 | "__id__": 4 | ||
| 93 | }, | ||
| 94 | "_opacity": 255, | ||
| 95 | "_color": { | ||
| 96 | "__type__": "cc.Color", | ||
| 97 | "r": 255, | ||
| 98 | "g": 255, | ||
| 99 | "b": 255, | ||
| 100 | "a": 255 | ||
| 101 | }, | ||
| 102 | "_contentSize": { | ||
| 103 | "__type__": "cc.Size", | ||
| 104 | "width": 20, | ||
| 105 | "height": 20 | ||
| 106 | }, | ||
| 107 | "_anchorPoint": { | ||
| 108 | "__type__": "cc.Vec2", | ||
| 109 | "x": 0.5, | ||
| 110 | "y": 0.5 | ||
| 111 | }, | ||
| 112 | "_position": { | ||
| 113 | "__type__": "cc.Vec3", | ||
| 114 | "x": -222, | ||
| 115 | "y": 0, | ||
| 116 | "z": 0 | ||
| 117 | }, | ||
| 118 | "_scale": { | ||
| 119 | "__type__": "cc.Vec3", | ||
| 120 | "x": 1, | ||
| 121 | "y": 1, | ||
| 122 | "z": 1 | ||
| 123 | }, | ||
| 124 | "_rotationX": 0, | ||
| 125 | "_rotationY": 0, | ||
| 126 | "_quat": { | ||
| 127 | "__type__": "cc.Quat", | ||
| 128 | "x": 0, | ||
| 129 | "y": 0, | ||
| 130 | "z": 0, | ||
| 131 | "w": 1 | ||
| 132 | }, | ||
| 133 | "_skewX": 0, | ||
| 134 | "_skewY": 0, | ||
| 135 | "groupIndex": 0, | ||
| 136 | "_id": "" | ||
| 137 | }, | ||
| 138 | { | ||
| 139 | "__type__": "cc.Sprite", | ||
| 140 | "_name": "", | ||
| 141 | "_objFlags": 0, | ||
| 142 | "node": { | ||
| 143 | "__id__": 2 | ||
| 144 | }, | ||
| 145 | "_enabled": true, | ||
| 146 | "_srcBlendFactor": 770, | ||
| 147 | "_dstBlendFactor": 771, | ||
| 148 | "_spriteFrame": null, | ||
| 149 | "_type": 0, | ||
| 150 | "_sizeMode": 1, | ||
| 151 | "_fillType": 0, | ||
| 152 | "_fillCenter": { | ||
| 153 | "__type__": "cc.Vec2", | ||
| 154 | "x": 0, | ||
| 155 | "y": 0 | ||
| 156 | }, | ||
| 157 | "_fillStart": 0, | ||
| 158 | "_fillRange": 0, | ||
| 159 | "_isTrimmedMode": true, | ||
| 160 | "_state": 0, | ||
| 161 | "_atlas": null, | ||
| 162 | "_id": "" | ||
| 163 | }, | ||
| 164 | { | ||
| 165 | "__type__": "cc.PrefabInfo", | ||
| 166 | "root": { | ||
| 167 | "__id__": 1 | ||
| 168 | }, | ||
| 169 | "asset": { | ||
| 170 | "__uuid__": "cbd54b30-9e7f-422c-b742-9b434a12b6da" | ||
| 171 | }, | ||
| 172 | "fileId": "592x6ksi9BRrRAJCVkUIic", | ||
| 173 | "sync": false | ||
| 174 | }, | ||
| 175 | { | ||
| 176 | "__type__": "cc.Node", | ||
| 177 | "_name": "Content", | ||
| 178 | "_objFlags": 0, | ||
| 179 | "_parent": { | ||
| 180 | "__id__": 1 | ||
| 181 | }, | ||
| 182 | "_children": [], | ||
| 183 | "_active": true, | ||
| 184 | "_level": 2, | ||
| 185 | "_components": [ | ||
| 186 | { | ||
| 187 | "__id__": 6 | ||
| 188 | } | ||
| 189 | ], | ||
| 190 | "_prefab": { | ||
| 191 | "__id__": 7 | ||
| 192 | }, | ||
| 193 | "_opacity": 255, | ||
| 194 | "_color": { | ||
| 195 | "__type__": "cc.Color", | ||
| 196 | "r": 0, | ||
| 197 | "g": 0, | ||
| 198 | "b": 0, | ||
| 199 | "a": 255 | ||
| 200 | }, | ||
| 201 | "_contentSize": { | ||
| 202 | "__type__": "cc.Size", | ||
| 203 | "width": 450, | ||
| 204 | "height": 40 | ||
| 205 | }, | ||
| 206 | "_anchorPoint": { | ||
| 207 | "__type__": "cc.Vec2", | ||
| 208 | "x": 0.5, | ||
| 209 | "y": 0.5 | ||
| 210 | }, | ||
| 211 | "_position": { | ||
| 212 | "__type__": "cc.Vec3", | ||
| 213 | "x": 0, | ||
| 214 | "y": 0, | ||
| 215 | "z": 0 | ||
| 216 | }, | ||
| 217 | "_scale": { | ||
| 218 | "__type__": "cc.Vec3", | ||
| 219 | "x": 1, | ||
| 220 | "y": 1, | ||
| 221 | "z": 1 | ||
| 222 | }, | ||
| 223 | "_rotationX": 0, | ||
| 224 | "_rotationY": 0, | ||
| 225 | "_quat": { | ||
| 226 | "__type__": "cc.Quat", | ||
| 227 | "x": 0, | ||
| 228 | "y": 0, | ||
| 229 | "z": 0, | ||
| 230 | "w": 1 | ||
| 231 | }, | ||
| 232 | "_skewX": 0, | ||
| 233 | "_skewY": 0, | ||
| 234 | "groupIndex": 0, | ||
| 235 | "_id": "" | ||
| 236 | }, | ||
| 237 | { | ||
| 238 | "__type__": "cc.Label", | ||
| 239 | "_name": "", | ||
| 240 | "_objFlags": 0, | ||
| 241 | "node": { | ||
| 242 | "__id__": 5 | ||
| 243 | }, | ||
| 244 | "_enabled": true, | ||
| 245 | "_useOriginalSize": false, | ||
| 246 | "_string": "陪他去看《小猪佩奇》,开朗的孩子朋友多", | ||
| 247 | "_N$string": "陪他去看《小猪佩奇》,开朗的孩子朋友多", | ||
| 248 | "_fontSize": 40, | ||
| 249 | "_lineHeight": 40, | ||
| 250 | "_enableWrapText": true, | ||
| 251 | "_N$file": null, | ||
| 252 | "_isSystemFontUsed": true, | ||
| 253 | "_spacingX": 0, | ||
| 254 | "_batchAsBitmap": false, | ||
| 255 | "_N$horizontalAlign": 1, | ||
| 256 | "_N$verticalAlign": 1, | ||
| 257 | "_N$fontFamily": "Arial", | ||
| 258 | "_N$overflow": 2, | ||
| 259 | "_N$cacheMode": 0, | ||
| 260 | "_id": "" | ||
| 261 | }, | ||
| 262 | { | ||
| 263 | "__type__": "cc.PrefabInfo", | ||
| 264 | "root": { | ||
| 265 | "__id__": 1 | ||
| 266 | }, | ||
| 267 | "asset": { | ||
| 268 | "__uuid__": "cbd54b30-9e7f-422c-b742-9b434a12b6da" | ||
| 269 | }, | ||
| 270 | "fileId": "83YAY8oi5FD67hDNJN+Ezb", | ||
| 271 | "sync": false | ||
| 272 | }, | ||
| 273 | { | ||
| 274 | "__type__": "cc.PrefabInfo", | ||
| 275 | "root": { | ||
| 276 | "__id__": 1 | ||
| 277 | }, | ||
| 278 | "asset": { | ||
| 279 | "__uuid__": "cbd54b30-9e7f-422c-b742-9b434a12b6da" | ||
| 280 | }, | ||
| 281 | "fileId": "43je+l5UZHppZNWqV9PaIl", | ||
| 282 | "sync": false | ||
| 283 | } | ||
| 284 | ] | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | [ | ||
| 2 | { | ||
| 3 | "__type__": "cc.Prefab", | ||
| 4 | "_name": "", | ||
| 5 | "_objFlags": 0, | ||
| 6 | "_native": "", | ||
| 7 | "data": { | ||
| 8 | "__id__": 1 | ||
| 9 | }, | ||
| 10 | "optimizationPolicy": 0, | ||
| 11 | "asyncLoadAssets": false | ||
| 12 | }, | ||
| 13 | { | ||
| 14 | "__type__": "cc.Node", | ||
| 15 | "_name": "pfbShowCategory", | ||
| 16 | "_objFlags": 0, | ||
| 17 | "_parent": null, | ||
| 18 | "_children": [ | ||
| 19 | { | ||
| 20 | "__id__": 2 | ||
| 21 | }, | ||
| 22 | { | ||
| 23 | "__id__": 5 | ||
| 24 | }, | ||
| 25 | { | ||
| 26 | "__id__": 8 | ||
| 27 | }, | ||
| 28 | { | ||
| 29 | "__id__": 11 | ||
| 30 | } | ||
| 31 | ], | ||
| 32 | "_active": true, | ||
| 33 | "_level": 1, | ||
| 34 | "_components": [ | ||
| 35 | { | ||
| 36 | "__id__": 14 | ||
| 37 | } | ||
| 38 | ], | ||
| 39 | "_prefab": { | ||
| 40 | "__id__": 15 | ||
| 41 | }, | ||
| 42 | "_opacity": 255, | ||
| 43 | "_color": { | ||
| 44 | "__type__": "cc.Color", | ||
| 45 | "r": 255, | ||
| 46 | "g": 255, | ||
| 47 | "b": 255, | ||
| 48 | "a": 255 | ||
| 49 | }, | ||
| 50 | "_contentSize": { | ||
| 51 | "__type__": "cc.Size", | ||
| 52 | "width": 499, | ||
| 53 | "height": 109 | ||
| 54 | }, | ||
| 55 | "_anchorPoint": { | ||
| 56 | "__type__": "cc.Vec2", | ||
| 57 | "x": 0.5, | ||
| 58 | "y": 0.5 | ||
| 59 | }, | ||
| 60 | "_position": { | ||
| 61 | "__type__": "cc.Vec3", | ||
| 62 | "x": 0, | ||
| 63 | "y": 0, | ||
| 64 | "z": 0 | ||
| 65 | }, | ||
| 66 | "_scale": { | ||
| 67 | "__type__": "cc.Vec3", | ||
| 68 | "x": 1, | ||
| 69 | "y": 1, | ||
| 70 | "z": 1 | ||
| 71 | }, | ||
| 72 | "_rotationX": 0, | ||
| 73 | "_rotationY": 0, | ||
| 74 | "_quat": { | ||
| 75 | "__type__": "cc.Quat", | ||
| 76 | "x": 0, | ||
| 77 | "y": 0, | ||
| 78 | "z": 0, | ||
| 79 | "w": 1 | ||
| 80 | }, | ||
| 81 | "_skewX": 0, | ||
| 82 | "_skewY": 0, | ||
| 83 | "groupIndex": 0, | ||
| 84 | "_id": "" | ||
| 85 | }, | ||
| 86 | { | ||
| 87 | "__type__": "cc.Node", | ||
| 88 | "_name": "New Sprite(Splash)", | ||
| 89 | "_objFlags": 0, | ||
| 90 | "_parent": { | ||
| 91 | "__id__": 1 | ||
| 92 | }, | ||
| 93 | "_children": [], | ||
| 94 | "_active": true, | ||
| 95 | "_level": 2, | ||
| 96 | "_components": [ | ||
| 97 | { | ||
| 98 | "__id__": 3 | ||
| 99 | } | ||
| 100 | ], | ||
| 101 | "_prefab": { | ||
| 102 | "__id__": 4 | ||
| 103 | }, | ||
| 104 | "_opacity": 255, | ||
| 105 | "_color": { | ||
| 106 | "__type__": "cc.Color", | ||
| 107 | "r": 0, | ||
| 108 | "g": 0, | ||
| 109 | "b": 0, | ||
| 110 | "a": 255 | ||
| 111 | }, | ||
| 112 | "_contentSize": { | ||
| 113 | "__type__": "cc.Size", | ||
| 114 | "width": 499, | ||
| 115 | "height": 109 | ||
| 116 | }, | ||
| 117 | "_anchorPoint": { | ||
| 118 | "__type__": "cc.Vec2", | ||
| 119 | "x": 0.5, | ||
| 120 | "y": 0.5 | ||
| 121 | }, | ||
| 122 | "_position": { | ||
| 123 | "__type__": "cc.Vec3", | ||
| 124 | "x": 0, | ||
| 125 | "y": 0, | ||
| 126 | "z": 0 | ||
| 127 | }, | ||
| 128 | "_scale": { | ||
| 129 | "__type__": "cc.Vec3", | ||
| 130 | "x": 1, | ||
| 131 | "y": 1, | ||
| 132 | "z": 1 | ||
| 133 | }, | ||
| 134 | "_rotationX": 0, | ||
| 135 | "_rotationY": 0, | ||
| 136 | "_quat": { | ||
| 137 | "__type__": "cc.Quat", | ||
| 138 | "x": 0, | ||
| 139 | "y": 0, | ||
| 140 | "z": 0, | ||
| 141 | "w": 1 | ||
| 142 | }, | ||
| 143 | "_skewX": 0, | ||
| 144 | "_skewY": 0, | ||
| 145 | "groupIndex": 0, | ||
| 146 | "_id": "" | ||
| 147 | }, | ||
| 148 | { | ||
| 149 | "__type__": "cc.Sprite", | ||
| 150 | "_name": "", | ||
| 151 | "_objFlags": 0, | ||
| 152 | "node": { | ||
| 153 | "__id__": 2 | ||
| 154 | }, | ||
| 155 | "_enabled": true, | ||
| 156 | "_srcBlendFactor": 770, | ||
| 157 | "_dstBlendFactor": 771, | ||
| 158 | "_spriteFrame": { | ||
| 159 | "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91" | ||
| 160 | }, | ||
| 161 | "_type": 0, | ||
| 162 | "_sizeMode": 0, | ||
| 163 | "_fillType": 0, | ||
| 164 | "_fillCenter": { | ||
| 165 | "__type__": "cc.Vec2", | ||
| 166 | "x": 0, | ||
| 167 | "y": 0 | ||
| 168 | }, | ||
| 169 | "_fillStart": 0, | ||
| 170 | "_fillRange": 0, | ||
| 171 | "_isTrimmedMode": true, | ||
| 172 | "_state": 0, | ||
| 173 | "_atlas": null, | ||
| 174 | "_id": "" | ||
| 175 | }, | ||
| 176 | { | ||
| 177 | "__type__": "cc.PrefabInfo", | ||
| 178 | "root": { | ||
| 179 | "__id__": 1 | ||
| 180 | }, | ||
| 181 | "asset": { | ||
| 182 | "__uuid__": "8fc297a9-26e1-4936-aaa0-59dffbb57d8d" | ||
| 183 | }, | ||
| 184 | "fileId": "e4M4WCL31CNrUEnnaC/ZIS", | ||
| 185 | "sync": false | ||
| 186 | }, | ||
| 187 | { | ||
| 188 | "__type__": "cc.Node", | ||
| 189 | "_name": "New Sprite", | ||
| 190 | "_objFlags": 0, | ||
| 191 | "_parent": { | ||
| 192 | "__id__": 1 | ||
| 193 | }, | ||
| 194 | "_children": [], | ||
| 195 | "_active": true, | ||
| 196 | "_level": 2, | ||
| 197 | "_components": [ | ||
| 198 | { | ||
| 199 | "__id__": 6 | ||
| 200 | } | ||
| 201 | ], | ||
| 202 | "_prefab": { | ||
| 203 | "__id__": 7 | ||
| 204 | }, | ||
| 205 | "_opacity": 255, | ||
| 206 | "_color": { | ||
| 207 | "__type__": "cc.Color", | ||
| 208 | "r": 255, | ||
| 209 | "g": 255, | ||
| 210 | "b": 255, | ||
| 211 | "a": 255 | ||
| 212 | }, | ||
| 213 | "_contentSize": { | ||
| 214 | "__type__": "cc.Size", | ||
| 215 | "width": 75, | ||
| 216 | "height": 75 | ||
| 217 | }, | ||
| 218 | "_anchorPoint": { | ||
| 219 | "__type__": "cc.Vec2", | ||
| 220 | "x": 0.5, | ||
| 221 | "y": 0.5 | ||
| 222 | }, | ||
| 223 | "_position": { | ||
| 224 | "__type__": "cc.Vec3", | ||
| 225 | "x": -132, | ||
| 226 | "y": 0, | ||
| 227 | "z": 0 | ||
| 228 | }, | ||
| 229 | "_scale": { | ||
| 230 | "__type__": "cc.Vec3", | ||
| 231 | "x": 1, | ||
| 232 | "y": 1, | ||
| 233 | "z": 1 | ||
| 234 | }, | ||
| 235 | "_rotationX": 0, | ||
| 236 | "_rotationY": 0, | ||
| 237 | "_quat": { | ||
| 238 | "__type__": "cc.Quat", | ||
| 239 | "x": 0, | ||
| 240 | "y": 0, | ||
| 241 | "z": 0, | ||
| 242 | "w": 1 | ||
| 243 | }, | ||
| 244 | "_skewX": 0, | ||
| 245 | "_skewY": 0, | ||
| 246 | "groupIndex": 0, | ||
| 247 | "_id": "" | ||
| 248 | }, | ||
| 249 | { | ||
| 250 | "__type__": "cc.Sprite", | ||
| 251 | "_name": "", | ||
| 252 | "_objFlags": 0, | ||
| 253 | "node": { | ||
| 254 | "__id__": 5 | ||
| 255 | }, | ||
| 256 | "_enabled": true, | ||
| 257 | "_srcBlendFactor": 770, | ||
| 258 | "_dstBlendFactor": 771, | ||
| 259 | "_spriteFrame": { | ||
| 260 | "__uuid__": "20a09849-4fac-4159-ab45-65501e0f945b" | ||
| 261 | }, | ||
| 262 | "_type": 0, | ||
| 263 | "_sizeMode": 1, | ||
| 264 | "_fillType": 0, | ||
| 265 | "_fillCenter": { | ||
| 266 | "__type__": "cc.Vec2", | ||
| 267 | "x": 0, | ||
| 268 | "y": 0 | ||
| 269 | }, | ||
| 270 | "_fillStart": 0, | ||
| 271 | "_fillRange": 0, | ||
| 272 | "_isTrimmedMode": true, | ||
| 273 | "_state": 0, | ||
| 274 | "_atlas": null, | ||
| 275 | "_id": "" | ||
| 276 | }, | ||
| 277 | { | ||
| 278 | "__type__": "cc.PrefabInfo", | ||
| 279 | "root": { | ||
| 280 | "__id__": 1 | ||
| 281 | }, | ||
| 282 | "asset": { | ||
| 283 | "__uuid__": "8fc297a9-26e1-4936-aaa0-59dffbb57d8d" | ||
| 284 | }, | ||
| 285 | "fileId": "29CRPS5n1LD55GZeLNDFrY", | ||
| 286 | "sync": false | ||
| 287 | }, | ||
| 288 | { | ||
| 289 | "__type__": "cc.Node", | ||
| 290 | "_name": "Pic", | ||
| 291 | "_objFlags": 0, | ||
| 292 | "_parent": { | ||
| 293 | "__id__": 1 | ||
| 294 | }, | ||
| 295 | "_children": [], | ||
| 296 | "_active": true, | ||
| 297 | "_level": 2, | ||
| 298 | "_components": [ | ||
| 299 | { | ||
| 300 | "__id__": 9 | ||
| 301 | } | ||
| 302 | ], | ||
| 303 | "_prefab": { | ||
| 304 | "__id__": 10 | ||
| 305 | }, | ||
| 306 | "_opacity": 255, | ||
| 307 | "_color": { | ||
| 308 | "__type__": "cc.Color", | ||
| 309 | "r": 255, | ||
| 310 | "g": 255, | ||
| 311 | "b": 255, | ||
| 312 | "a": 255 | ||
| 313 | }, | ||
| 314 | "_contentSize": { | ||
| 315 | "__type__": "cc.Size", | ||
| 316 | "width": 61, | ||
| 317 | "height": 61 | ||
| 318 | }, | ||
| 319 | "_anchorPoint": { | ||
| 320 | "__type__": "cc.Vec2", | ||
| 321 | "x": 0.5, | ||
| 322 | "y": 0.5 | ||
| 323 | }, | ||
| 324 | "_position": { | ||
| 325 | "__type__": "cc.Vec3", | ||
| 326 | "x": -133, | ||
| 327 | "y": 0, | ||
| 328 | "z": 0 | ||
| 329 | }, | ||
| 330 | "_scale": { | ||
| 331 | "__type__": "cc.Vec3", | ||
| 332 | "x": 1, | ||
| 333 | "y": 1, | ||
| 334 | "z": 1 | ||
| 335 | }, | ||
| 336 | "_rotationX": 0, | ||
| 337 | "_rotationY": 0, | ||
| 338 | "_quat": { | ||
| 339 | "__type__": "cc.Quat", | ||
| 340 | "x": 0, | ||
| 341 | "y": 0, | ||
| 342 | "z": 0, | ||
| 343 | "w": 1 | ||
| 344 | }, | ||
| 345 | "_skewX": 0, | ||
| 346 | "_skewY": 0, | ||
| 347 | "groupIndex": 0, | ||
| 348 | "_id": "" | ||
| 349 | }, | ||
| 350 | { | ||
| 351 | "__type__": "cc.Sprite", | ||
| 352 | "_name": "", | ||
| 353 | "_objFlags": 0, | ||
| 354 | "node": { | ||
| 355 | "__id__": 8 | ||
| 356 | }, | ||
| 357 | "_enabled": true, | ||
| 358 | "_srcBlendFactor": 770, | ||
| 359 | "_dstBlendFactor": 771, | ||
| 360 | "_spriteFrame": { | ||
| 361 | "__uuid__": "437d0612-8583-46d0-ad75-46a400680bbb" | ||
| 362 | }, | ||
| 363 | "_type": 0, | ||
| 364 | "_sizeMode": 1, | ||
| 365 | "_fillType": 0, | ||
| 366 | "_fillCenter": { | ||
| 367 | "__type__": "cc.Vec2", | ||
| 368 | "x": 0, | ||
| 369 | "y": 0 | ||
| 370 | }, | ||
| 371 | "_fillStart": 0, | ||
| 372 | "_fillRange": 0, | ||
| 373 | "_isTrimmedMode": true, | ||
| 374 | "_state": 0, | ||
| 375 | "_atlas": null, | ||
| 376 | "_id": "" | ||
| 377 | }, | ||
| 378 | { | ||
| 379 | "__type__": "cc.PrefabInfo", | ||
| 380 | "root": { | ||
| 381 | "__id__": 1 | ||
| 382 | }, | ||
| 383 | "asset": { | ||
| 384 | "__uuid__": "8fc297a9-26e1-4936-aaa0-59dffbb57d8d" | ||
| 385 | }, | ||
| 386 | "fileId": "38ud78dPJMv4KKCPooxuqe", | ||
| 387 | "sync": false | ||
| 388 | }, | ||
| 389 | { | ||
| 390 | "__type__": "cc.Node", | ||
| 391 | "_name": "Txt", | ||
| 392 | "_objFlags": 0, | ||
| 393 | "_parent": { | ||
| 394 | "__id__": 1 | ||
| 395 | }, | ||
| 396 | "_children": [], | ||
| 397 | "_active": true, | ||
| 398 | "_level": 2, | ||
| 399 | "_components": [ | ||
| 400 | { | ||
| 401 | "__id__": 12 | ||
| 402 | } | ||
| 403 | ], | ||
| 404 | "_prefab": { | ||
| 405 | "__id__": 13 | ||
| 406 | }, | ||
| 407 | "_opacity": 255, | ||
| 408 | "_color": { | ||
| 409 | "__type__": "cc.Color", | ||
| 410 | "r": 255, | ||
| 411 | "g": 255, | ||
| 412 | "b": 255, | ||
| 413 | "a": 255 | ||
| 414 | }, | ||
| 415 | "_contentSize": { | ||
| 416 | "__type__": "cc.Size", | ||
| 417 | "width": 300, | ||
| 418 | "height": 40 | ||
| 419 | }, | ||
| 420 | "_anchorPoint": { | ||
| 421 | "__type__": "cc.Vec2", | ||
| 422 | "x": 0.5, | ||
| 423 | "y": 0.5 | ||
| 424 | }, | ||
| 425 | "_position": { | ||
| 426 | "__type__": "cc.Vec3", | ||
| 427 | "x": 66, | ||
| 428 | "y": 0, | ||
| 429 | "z": 0 | ||
| 430 | }, | ||
| 431 | "_scale": { | ||
| 432 | "__type__": "cc.Vec3", | ||
| 433 | "x": 1, | ||
| 434 | "y": 1, | ||
| 435 | "z": 1 | ||
| 436 | }, | ||
| 437 | "_rotationX": 0, | ||
| 438 | "_rotationY": 0, | ||
| 439 | "_quat": { | ||
| 440 | "__type__": "cc.Quat", | ||
| 441 | "x": 0, | ||
| 442 | "y": 0, | ||
| 443 | "z": 0, | ||
| 444 | "w": 1 | ||
| 445 | }, | ||
| 446 | "_skewX": 0, | ||
| 447 | "_skewY": 0, | ||
| 448 | "groupIndex": 0, | ||
| 449 | "_id": "" | ||
| 450 | }, | ||
| 451 | { | ||
| 452 | "__type__": "cc.Label", | ||
| 453 | "_name": "", | ||
| 454 | "_objFlags": 0, | ||
| 455 | "node": { | ||
| 456 | "__id__": 11 | ||
| 457 | }, | ||
| 458 | "_enabled": true, | ||
| 459 | "_useOriginalSize": false, | ||
| 460 | "_string": "获取宠物饼干*7200", | ||
| 461 | "_N$string": "获取宠物饼干*7200", | ||
| 462 | "_fontSize": 40, | ||
| 463 | "_lineHeight": 40, | ||
| 464 | "_enableWrapText": true, | ||
| 465 | "_N$file": null, | ||
| 466 | "_isSystemFontUsed": true, | ||
| 467 | "_spacingX": 0, | ||
| 468 | "_batchAsBitmap": false, | ||
| 469 | "_N$horizontalAlign": 1, | ||
| 470 | "_N$verticalAlign": 1, | ||
| 471 | "_N$fontFamily": "Arial", | ||
| 472 | "_N$overflow": 2, | ||
| 473 | "_N$cacheMode": 0, | ||
| 474 | "_id": "" | ||
| 475 | }, | ||
| 476 | { | ||
| 477 | "__type__": "cc.PrefabInfo", | ||
| 478 | "root": { | ||
| 479 | "__id__": 1 | ||
| 480 | }, | ||
| 481 | "asset": { | ||
| 482 | "__uuid__": "8fc297a9-26e1-4936-aaa0-59dffbb57d8d" | ||
| 483 | }, | ||
| 484 | "fileId": "a0QHVGyY1JEbOrO+g9hWvC", | ||
| 485 | "sync": false | ||
| 486 | }, | ||
| 487 | { | ||
| 488 | "__type__": "cc.Widget", | ||
| 489 | "_name": "", | ||
| 490 | "_objFlags": 0, | ||
| 491 | "node": { | ||
| 492 | "__id__": 1 | ||
| 493 | }, | ||
| 494 | "_enabled": true, | ||
| 495 | "alignMode": 1, | ||
| 496 | "_target": null, | ||
| 497 | "_alignFlags": 9, | ||
| 498 | "_left": -249.5, | ||
| 499 | "_right": 0, | ||
| 500 | "_top": 665.5, | ||
| 501 | "_bottom": 0, | ||
| 502 | "_verticalCenter": 0, | ||
| 503 | "_horizontalCenter": 0, | ||
| 504 | "_isAbsLeft": true, | ||
| 505 | "_isAbsRight": true, | ||
| 506 | "_isAbsTop": true, | ||
| 507 | "_isAbsBottom": true, | ||
| 508 | "_isAbsHorizontalCenter": true, | ||
| 509 | "_isAbsVerticalCenter": true, | ||
| 510 | "_originalWidth": 0, | ||
| 511 | "_originalHeight": 0, | ||
| 512 | "_id": "" | ||
| 513 | }, | ||
| 514 | { | ||
| 515 | "__type__": "cc.PrefabInfo", | ||
| 516 | "root": { | ||
| 517 | "__id__": 1 | ||
| 518 | }, | ||
| 519 | "asset": { | ||
| 520 | "__uuid__": "8fc297a9-26e1-4936-aaa0-59dffbb57d8d" | ||
| 521 | }, | ||
| 522 | "fileId": "f3FKYd7SJEvrs4s48MPI1G", | ||
| 523 | "sync": false | ||
| 524 | } | ||
| 525 | ] | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or sign in to post a comment