Citrus 10 tháng trước cách đây
mục cha
commit
cf4012852c
100 tập tin đã thay đổi với 2259 bổ sung386 xóa
  1. 48 5
      assets/Editer/bgscroll.ts
  2. 34 7
      assets/Editer/edLayout.ts
  3. 13 0
      assets/LoadScene.meta
  4. 1435 0
      assets/LoadScene/LoadScene.fire
  5. 8 0
      assets/LoadScene/LoadScene.fire.meta
  6. 13 0
      assets/LoadScene/Sp.meta
  7. BIN
      assets/LoadScene/Sp/1.png
  8. 10 10
      assets/LoadScene/Sp/1.png.meta
  9. BIN
      assets/LoadScene/Sp/2.png
  10. 10 10
      assets/LoadScene/Sp/2.png.meta
  11. BIN
      assets/LoadScene/Sp/4.png
  12. 10 10
      assets/LoadScene/Sp/4.png.meta
  13. BIN
      assets/LoadScene/Sp/5.png
  14. 38 0
      assets/LoadScene/Sp/5.png.meta
  15. BIN
      assets/LoadScene/Sp/7.png
  16. 38 0
      assets/LoadScene/Sp/7.png.meta
  17. BIN
      assets/LoadScene/Sp/8.png
  18. 38 0
      assets/LoadScene/Sp/8.png.meta
  19. 16 6
      assets/Script/AudioManager.ts
  20. 19 3
      assets/Script/Character/Parabola.ts
  21. 3 3
      assets/Script/Hall.ts
  22. 14 4
      assets/Script/LoadManager.ts
  23. 77 0
      assets/Script/LoadScene.ts
  24. 10 0
      assets/Script/LoadScene.ts.meta
  25. 38 5
      assets/Script/Map/MyMap.ts
  26. 46 12
      assets/Script/Shop.ts
  27. 39 2
      assets/Script/Template/MyComponent.ts
  28. 1 1
      assets/Script/Template/RewardMnr.ts
  29. 4 4
      assets/resources.meta
  30. BIN
      assets/resources/ShopCharacter/small role 1.png
  31. BIN
      assets/resources/ShopCharacter/small role 2.png
  32. BIN
      assets/resources/ShopCharacter/small role 3.png
  33. 21 0
      assets/sub.meta
  34. 0 0
      assets/sub/Scene.meta
  35. 0 0
      assets/sub/Scene/Editer.fire
  36. 0 0
      assets/sub/Scene/Editer.fire.meta
  37. 8 8
      assets/sub/Scene/Game.fire
  38. 0 0
      assets/sub/Scene/Game.fire.meta
  39. 268 296
      assets/sub/Scene/Hall.fire
  40. 0 0
      assets/sub/Scene/Hall.fire.meta
  41. 0 0
      assets/sub/Texture.meta
  42. 0 0
      assets/sub/Texture/Btn.meta
  43. 0 0
      assets/sub/Texture/Btn/Get gold button.png
  44. 0 0
      assets/sub/Texture/Btn/Get gold button.png.meta
  45. 0 0
      assets/sub/Texture/Btn/Select cursor 1.png
  46. 0 0
      assets/sub/Texture/Btn/Select cursor 1.png.meta
  47. 0 0
      assets/sub/Texture/Btn/Skin button 1.png
  48. 0 0
      assets/sub/Texture/Btn/Skin button 1.png.meta
  49. 0 0
      assets/sub/Texture/Btn/Skin button 2.png
  50. 0 0
      assets/sub/Texture/Btn/Skin button 2.png.meta
  51. 0 0
      assets/sub/Texture/Btn/Use button.png
  52. 0 0
      assets/sub/Texture/Btn/Use button.png.meta
  53. 0 0
      assets/sub/Texture/Btn/Using.png
  54. 0 0
      assets/sub/Texture/Btn/Using.png.meta
  55. 0 0
      assets/sub/Texture/GameProp.meta
  56. 0 0
      assets/sub/Texture/GameUI.meta
  57. 0 0
      assets/sub/Texture/GameUI/brand.png
  58. 0 0
      assets/sub/Texture/GameUI/brand.png.meta
  59. 0 0
      assets/sub/Texture/GameUI/daliwang.png
  60. 0 0
      assets/sub/Texture/GameUI/daliwang.png.meta
  61. 0 0
      assets/sub/Texture/GameUI/dian.png
  62. 0 0
      assets/sub/Texture/GameUI/dian.png.meta
  63. 0 0
      assets/sub/Texture/GameUI/gongxihuade.png
  64. 0 0
      assets/sub/Texture/GameUI/gongxihuade.png.meta
  65. 0 0
      assets/sub/Texture/GameUI/guang.png
  66. 0 0
      assets/sub/Texture/GameUI/guang.png.meta
  67. 0 0
      assets/sub/Texture/GameUI/guanggao.png
  68. 0 0
      assets/sub/Texture/GameUI/guanggao.png.meta
  69. 0 0
      assets/sub/Texture/GameUI/wushizhongli.png
  70. 0 0
      assets/sub/Texture/GameUI/wushizhongli.png.meta
  71. 0 0
      assets/sub/Texture/GameUI/xuxian.png
  72. 0 0
      assets/sub/Texture/GameUI/xuxian.png.meta
  73. 0 0
      assets/sub/Texture/Pop.meta
  74. 0 0
      assets/sub/Texture/Pop/FX.png
  75. 0 0
      assets/sub/Texture/Pop/FX.png.meta
  76. 0 0
      assets/sub/Texture/Pop/click.png
  77. 0 0
      assets/sub/Texture/Pop/click.png.meta
  78. 0 0
      assets/sub/Texture/Pop/music.png
  79. 0 0
      assets/sub/Texture/Pop/music.png.meta
  80. 0 0
      assets/sub/Texture/Pop/no button.png
  81. 0 0
      assets/sub/Texture/Pop/no button.png.meta
  82. 0 0
      assets/sub/Texture/Pop/setup.png
  83. 0 0
      assets/sub/Texture/Pop/setup.png.meta
  84. 0 0
      assets/sub/Texture/Pop/yes button.png
  85. 0 0
      assets/sub/Texture/Pop/yes button.png.meta
  86. 0 0
      assets/sub/Texture/Pop/开关 关@2x.png
  87. 0 0
      assets/sub/Texture/Pop/开关 关@2x.png.meta
  88. 0 0
      assets/sub/Texture/Pop/开关 开@2x.png
  89. 0 0
      assets/sub/Texture/Pop/开关 开@2x.png.meta
  90. 0 0
      assets/sub/Texture/Prefab.meta
  91. 0 0
      assets/sub/Texture/Prefab/Gold.prefab
  92. 0 0
      assets/sub/Texture/Prefab/Gold.prefab.meta
  93. 0 0
      assets/sub/Texture/Shop.meta
  94. 0 0
      assets/sub/Texture/Shop/Character background frame not purchased.png
  95. 0 0
      assets/sub/Texture/Shop/Character background frame not purchased.png.meta
  96. 0 0
      assets/sub/Texture/Shop/Character background.png
  97. 0 0
      assets/sub/Texture/Shop/Character background.png.meta
  98. 0 0
      assets/sub/Texture/Shop/Character introduction.png
  99. 0 0
      assets/sub/Texture/Shop/Character introduction.png.meta
  100. 0 0
      assets/sub/Texture/Shop/Exit button.png

+ 48 - 5
assets/Editer/bgscroll.ts

@@ -34,8 +34,28 @@ export default class NewClass extends cc.Component {
         let bgprefabs = this.node.getChildByName("view").getChildByName("bg1")
 
         for (let index = 1; index < 444; index++) {
-            const url = "bg/bg" + index
-            cc.resources.load(url, cc.SpriteFrame, (err, spriteframe) => {
+            const url = "res/bg/bg" + index
+            // cc.resources.load(url, cc.SpriteFrame, (err, spriteframe) => {
+            //     if (err) {
+            //         return
+            //     }
+            //     let a = cc.instantiate(bgprefabs);
+            //     let sprite = a.getComponent(cc.Sprite);
+            //     a.parent = content
+            //     a.active = true
+            //     sprite.spriteFrame = spriteframe;
+
+
+            //     a.on('touchstart', () => {
+            //         if (window['selectNode']) {
+            //             let tempSprite = window['selectNode'].getComponent(cc.Sprite) as cc.Sprite
+            //             tempSprite.spriteFrame = spriteframe
+            //         }
+            //     })
+            // });
+            
+            let bundle = cc.assetManager.getBundle("sub");
+            bundle.load(url, cc.SpriteFrame, (err: Error, spriteframe: cc.SpriteFrame) => {
                 if (err) {
                     return
                 }
@@ -60,8 +80,31 @@ export default class NewClass extends cc.Component {
         let footstepcontent = footstep.getChildByName("view").getChildByName("content")
 
         for (let index = 0; index < 3000; index++) {
-            const url = "footstep/footstep" + index
-            cc.resources.load(url, cc.Prefab, (err, Prefab) => {
+            const url = "res/footstep/footstep" + index
+            // cc.resources.load(url, cc.Prefab, (err, Prefab) => {
+            //     if (err) {
+            //         return
+            //     }
+
+            //     let a = cc.instantiate(Prefab);
+            //     a.parent = footstepcontent
+            //     a.active = true
+            //     a.setContentSize(80, 80)
+
+            //     a.on('touchstart', () => {
+
+            //         console.log(1);
+
+            //         if (window['selectNode']) {
+            //             let temppp = cc.instantiate(Prefab)
+            //             temppp.parent = window['selectNode']
+            //             temppp.addComponent(footstepmove)
+            //         }
+            //     })
+            // });
+
+            let bundle = cc.assetManager.getBundle("sub");
+            bundle.load(url, cc.Prefab, (err: Error, Prefab) => {
                 if (err) {
                     return
                 }
@@ -74,7 +117,7 @@ export default class NewClass extends cc.Component {
                 a.on('touchstart', () => {
 
                     console.log(1);
-                    
+
                     if (window['selectNode']) {
                         let temppp = cc.instantiate(Prefab)
                         temppp.parent = window['selectNode']

+ 34 - 7
assets/Editer/edLayout.ts

@@ -41,7 +41,7 @@ type maptype = {
 @ccclass
 export default class edLayout extends cc.Component {
 
- 
+
 
     Click: cc.Node = null;
 
@@ -308,8 +308,18 @@ export default class edLayout extends cc.Component {
             const node = this.node.children[i];
             const data = mmmp[i];
 
-            const url = "bg/bg" + data.bg
-            cc.resources.load(url, cc.SpriteFrame, (err, spriteframe) => {
+            const url = "res/bg/bg" + data.bg
+            // cc.resources.load(url, cc.SpriteFrame, (err, spriteframe) => {
+            //     if (err) {
+            //         return
+            //     }
+
+            //     let sprite = node.getComponent(cc.Sprite);
+            //     sprite.spriteFrame = spriteframe;
+            // });
+
+            let bundle = cc.assetManager.getBundle("sub");
+            bundle.load(url, cc.SpriteFrame, (err: Error, spriteframe) => {
                 if (err) {
                     return
                 }
@@ -318,11 +328,29 @@ export default class edLayout extends cc.Component {
                 sprite.spriteFrame = spriteframe;
             });
 
+
+
             for (let j = 0; j < data.fs.length; j++) {
                 const element = data.fs[j];
 
-                const url = "footstep/footstep" + element['sp']
-                cc.resources.load(url, cc.Prefab, (err, Prefab) => {
+                const url = "res/footstep/footstep" + element['sp']
+                // cc.resources.load(url, cc.Prefab, (err, Prefab) => {
+                //     if (err) {
+                //         return
+                //     }
+
+                //     let a = cc.instantiate(Prefab);
+                //     a.parent = node
+                //     a.active = true
+
+                //     a.setPosition(element['x'], element['y'])
+                //     a.setRotation(element['ro'])
+                //     a.setScale(element['sc'])
+                //     a.addComponent(footstepmove)
+                // });
+
+                let bundle = cc.assetManager.getBundle("sub");
+                bundle.load(url, cc.Prefab, (err: Error, Prefab) => {
                     if (err) {
                         return
                     }
@@ -335,9 +363,8 @@ export default class edLayout extends cc.Component {
                     a.setRotation(element['ro'])
                     a.setScale(element['sc'])
                     a.addComponent(footstepmove)
-
-
                 });
+    
             }
         }
     }

+ 13 - 0
assets/LoadScene.meta

@@ -0,0 +1,13 @@
+{
+  "ver": "1.1.3",
+  "uuid": "f9d63acc-6da3-4eff-8c44-e068d39897a6",
+  "importer": "folder",
+  "isBundle": false,
+  "bundleName": "",
+  "priority": 1,
+  "compressionType": {},
+  "optimizeHotUpdate": {},
+  "inlineSpriteFrames": {},
+  "isRemoteBundle": {},
+  "subMetas": {}
+}

+ 1435 - 0
assets/LoadScene/LoadScene.fire

@@ -0,0 +1,1435 @@
+[
+  {
+    "__type__": "cc.SceneAsset",
+    "_name": "",
+    "_objFlags": 0,
+    "_native": "",
+    "scene": {
+      "__id__": 1
+    }
+  },
+  {
+    "__type__": "cc.Scene",
+    "_objFlags": 0,
+    "_parent": null,
+    "_children": [
+      {
+        "__id__": 2
+      }
+    ],
+    "_active": false,
+    "_components": [],
+    "_prefab": null,
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 0,
+      "height": 0
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        0,
+        0,
+        0,
+        0,
+        0,
+        1,
+        1,
+        1,
+        1
+      ]
+    },
+    "_is3DNode": true,
+    "_groupIndex": 0,
+    "groupIndex": 0,
+    "autoReleaseAssets": false,
+    "_id": "18364748-5d4d-4a13-ba80-24a58690c521"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "Canvas",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [
+      {
+        "__id__": 3
+      },
+      {
+        "__id__": 5
+      },
+      {
+        "__id__": 23
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 31
+      },
+      {
+        "__id__": 32
+      },
+      {
+        "__id__": 33
+      }
+    ],
+    "_prefab": null,
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 252,
+      "g": 252,
+      "b": 252,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 750,
+      "height": 1624
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        375,
+        812,
+        0,
+        0,
+        0,
+        0,
+        1,
+        1,
+        1,
+        1
+      ]
+    },
+    "_eulerAngles": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_skewX": 0,
+    "_skewY": 0,
+    "_is3DNode": false,
+    "_groupIndex": 0,
+    "groupIndex": 0,
+    "_id": "a286bbGknJLZpRpxROV6M94"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "Main Camera",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 2
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 4
+      }
+    ],
+    "_prefab": null,
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 0,
+      "height": 0
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        0,
+        0,
+        0,
+        0,
+        0,
+        1,
+        1,
+        1,
+        1
+      ]
+    },
+    "_eulerAngles": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_skewX": 0,
+    "_skewY": 0,
+    "_is3DNode": false,
+    "_groupIndex": 0,
+    "groupIndex": 0,
+    "_id": "85OVmg6EVLoKbdmeaHrmFN"
+  },
+  {
+    "__type__": "cc.Camera",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 3
+    },
+    "_enabled": true,
+    "_cullingMask": 4294967295,
+    "_clearFlags": 7,
+    "_backgroundColor": {
+      "__type__": "cc.Color",
+      "r": 0,
+      "g": 0,
+      "b": 0,
+      "a": 255
+    },
+    "_depth": -1,
+    "_zoomRatio": 1,
+    "_targetTexture": null,
+    "_fov": 60,
+    "_orthoSize": 10,
+    "_nearClip": 1,
+    "_farClip": 4096,
+    "_ortho": true,
+    "_rect": {
+      "__type__": "cc.Rect",
+      "x": 0,
+      "y": 0,
+      "width": 1,
+      "height": 1
+    },
+    "_renderStages": 1,
+    "_alignWithScreen": true,
+    "_id": "e5jb+TvOJBKYayWZDPk8cb"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "bg",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 2
+    },
+    "_children": [
+      {
+        "__id__": 6
+      },
+      {
+        "__id__": 13
+      },
+      {
+        "__id__": 15
+      },
+      {
+        "__id__": 18
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 21
+      },
+      {
+        "__id__": 22
+      }
+    ],
+    "_prefab": null,
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 750,
+      "height": 1624
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        0,
+        0,
+        0,
+        0,
+        0,
+        1,
+        1,
+        1,
+        1
+      ]
+    },
+    "_eulerAngles": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_skewX": 0,
+    "_skewY": 0,
+    "_is3DNode": false,
+    "_groupIndex": 0,
+    "groupIndex": 0,
+    "_id": "39Wjg8okJMQoCixc0/JJ3y"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "StartGame",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 5
+    },
+    "_children": [
+      {
+        "__id__": 7
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 10
+      },
+      {
+        "__id__": 12
+      }
+    ],
+    "_prefab": null,
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 331.9,
+      "height": 175.4
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        -303.081,
+        0,
+        0,
+        0,
+        0,
+        1,
+        1,
+        1,
+        1
+      ]
+    },
+    "_eulerAngles": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_skewX": 0,
+    "_skewY": 0,
+    "_is3DNode": false,
+    "_groupIndex": 0,
+    "groupIndex": 0,
+    "_id": "59YHz/MjtH6ZzA9CoNpAXQ"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "Background",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 6
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 8
+      },
+      {
+        "__id__": 9
+      }
+    ],
+    "_prefab": null,
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 331.9,
+      "height": 175.4
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        0,
+        0,
+        0,
+        0,
+        0,
+        1,
+        1,
+        1,
+        0
+      ]
+    },
+    "_eulerAngles": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_skewX": 0,
+    "_skewY": 0,
+    "_is3DNode": false,
+    "_groupIndex": 0,
+    "groupIndex": 0,
+    "_id": "84O5S2jDtAtZ9cEivBafg1"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 7
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "34a18619-3d04-48cd-bcd7-faf2c07e01fe"
+    },
+    "_type": 1,
+    "_sizeMode": 0,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": "65kvJbHXRICoUdFa40h1eD"
+  },
+  {
+    "__type__": "cc.Widget",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 7
+    },
+    "_enabled": true,
+    "alignMode": 0,
+    "_target": null,
+    "_alignFlags": 45,
+    "_left": 0,
+    "_right": 0,
+    "_top": 0,
+    "_bottom": 0,
+    "_verticalCenter": 0,
+    "_horizontalCenter": 0,
+    "_isAbsLeft": true,
+    "_isAbsRight": true,
+    "_isAbsTop": true,
+    "_isAbsBottom": true,
+    "_isAbsHorizontalCenter": true,
+    "_isAbsVerticalCenter": true,
+    "_originalWidth": 100,
+    "_originalHeight": 40,
+    "_id": "36bXqQ3Z5AXqnuIZ9x/jJG"
+  },
+  {
+    "__type__": "cc.Button",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 6
+    },
+    "_enabled": true,
+    "_normalMaterial": null,
+    "_grayMaterial": null,
+    "duration": 0.1,
+    "zoomScale": 1.05,
+    "clickEvents": [
+      {
+        "__id__": 11
+      }
+    ],
+    "_N$interactable": true,
+    "_N$enableAutoGrayEffect": false,
+    "_N$transition": 3,
+    "transition": 3,
+    "_N$normalColor": {
+      "__type__": "cc.Color",
+      "r": 230,
+      "g": 230,
+      "b": 230,
+      "a": 255
+    },
+    "_N$pressedColor": {
+      "__type__": "cc.Color",
+      "r": 200,
+      "g": 200,
+      "b": 200,
+      "a": 255
+    },
+    "pressedColor": {
+      "__type__": "cc.Color",
+      "r": 200,
+      "g": 200,
+      "b": 200,
+      "a": 255
+    },
+    "_N$hoverColor": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "hoverColor": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_N$disabledColor": {
+      "__type__": "cc.Color",
+      "r": 120,
+      "g": 120,
+      "b": 120,
+      "a": 200
+    },
+    "_N$normalSprite": {
+      "__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
+    },
+    "_N$pressedSprite": {
+      "__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
+    },
+    "pressedSprite": {
+      "__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a"
+    },
+    "_N$hoverSprite": {
+      "__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
+    },
+    "hoverSprite": {
+      "__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952"
+    },
+    "_N$disabledSprite": {
+      "__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
+    },
+    "_N$target": {
+      "__id__": 7
+    },
+    "_id": "7dk34ps69JZrKSmqTSAugz"
+  },
+  {
+    "__type__": "cc.ClickEvent",
+    "target": {
+      "__id__": 2
+    },
+    "component": "",
+    "_componentId": "c20cdOv4sdIuIbVvg0eQIQh",
+    "handler": "StartGame",
+    "customEventData": ""
+  },
+  {
+    "__type__": "cc.Widget",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 6
+    },
+    "_enabled": true,
+    "alignMode": 1,
+    "_target": null,
+    "_alignFlags": 4,
+    "_left": 0,
+    "_right": 0,
+    "_top": 0,
+    "_bottom": 421.219,
+    "_verticalCenter": 0,
+    "_horizontalCenter": 0,
+    "_isAbsLeft": true,
+    "_isAbsRight": true,
+    "_isAbsTop": true,
+    "_isAbsBottom": true,
+    "_isAbsHorizontalCenter": true,
+    "_isAbsVerticalCenter": true,
+    "_originalWidth": 0,
+    "_originalHeight": 0,
+    "_id": "fefn9bmmBKVafmR2VQwZWL"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "logoName",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 5
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 14
+      }
+    ],
+    "_prefab": null,
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 1007,
+      "height": 909
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        386.116,
+        0,
+        0,
+        0,
+        0,
+        1,
+        0.5,
+        0.5,
+        1
+      ]
+    },
+    "_eulerAngles": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_skewX": 0,
+    "_skewY": 0,
+    "_is3DNode": false,
+    "_groupIndex": 0,
+    "groupIndex": 0,
+    "_id": "29wdQntLREToXTjAVrSFpw"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 13
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": null,
+    "_type": 0,
+    "_sizeMode": 1,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": "c3Owhyh1NAu5JBnv0wI2zc"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "GongGao",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 5
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 16
+      },
+      {
+        "__id__": 17
+      }
+    ],
+    "_prefab": null,
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 559.224,
+      "height": 88.776
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        5.684341886080802e-14,
+        -626.667,
+        0,
+        0,
+        0,
+        0,
+        1,
+        1,
+        1,
+        1
+      ]
+    },
+    "_eulerAngles": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_skewX": 0,
+    "_skewY": 0,
+    "_is3DNode": false,
+    "_groupIndex": 0,
+    "groupIndex": 0,
+    "_id": "32+S5oGx9BQauItIyLHkV8"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 15
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "e129d4da-57ff-400f-94a7-ff38ce468088"
+    },
+    "_type": 0,
+    "_sizeMode": 0,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": "18FRaf5SFLVJv6YLkIIFm0"
+  },
+  {
+    "__type__": "cc.Widget",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 15
+    },
+    "_enabled": true,
+    "alignMode": 1,
+    "_target": null,
+    "_alignFlags": 44,
+    "_left": 95.38800000000003,
+    "_right": 95.38799999999992,
+    "_top": 0,
+    "_bottom": 140.9449999999999,
+    "_verticalCenter": 0,
+    "_horizontalCenter": 0,
+    "_isAbsLeft": true,
+    "_isAbsRight": true,
+    "_isAbsTop": true,
+    "_isAbsBottom": true,
+    "_isAbsHorizontalCenter": true,
+    "_isAbsVerticalCenter": true,
+    "_originalWidth": 690.4,
+    "_originalHeight": 0,
+    "_id": "7b4vkbnNlC9bllvfWihszs"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "ageTips",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 5
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 19
+      },
+      {
+        "__id__": 20
+      }
+    ],
+    "_prefab": null,
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 124,
+      "height": 162
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        331.6,
+        -648.358,
+        0,
+        0,
+        0,
+        0,
+        1,
+        0.7,
+        0.7,
+        1
+      ]
+    },
+    "_eulerAngles": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_skewX": 0,
+    "_skewY": 0,
+    "_is3DNode": false,
+    "_groupIndex": 0,
+    "groupIndex": 0,
+    "_id": "47659gkFBBhZ8vCTzzSoTd"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 18
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "22f24b6a-ed2d-49d7-820f-2419b9915fd2"
+    },
+    "_type": 0,
+    "_sizeMode": 1,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": "bdcsDIxzZK74y0/DSv6UvP"
+  },
+  {
+    "__type__": "cc.Widget",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 18
+    },
+    "_enabled": true,
+    "alignMode": 1,
+    "_target": null,
+    "_alignFlags": 36,
+    "_left": 0,
+    "_right": 0,
+    "_top": 0,
+    "_bottom": 106.94199999999995,
+    "_verticalCenter": 0,
+    "_horizontalCenter": 0,
+    "_isAbsLeft": true,
+    "_isAbsRight": true,
+    "_isAbsTop": true,
+    "_isAbsBottom": true,
+    "_isAbsHorizontalCenter": true,
+    "_isAbsVerticalCenter": true,
+    "_originalWidth": 0,
+    "_originalHeight": 0,
+    "_id": "42CydmPQJJ+oyZqXebQ/D7"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 5
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "821caffc-744e-4f8d-bc99-1e11d3f0a7ae"
+    },
+    "_type": 0,
+    "_sizeMode": 0,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": "2dvnvjxGRGLpfSMX8c2unK"
+  },
+  {
+    "__type__": "cc.Widget",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 5
+    },
+    "_enabled": true,
+    "alignMode": 1,
+    "_target": null,
+    "_alignFlags": 45,
+    "_left": 0,
+    "_right": 0,
+    "_top": 0,
+    "_bottom": 0,
+    "_verticalCenter": 0,
+    "_horizontalCenter": 0,
+    "_isAbsLeft": true,
+    "_isAbsRight": true,
+    "_isAbsTop": true,
+    "_isAbsBottom": true,
+    "_isAbsHorizontalCenter": true,
+    "_isAbsVerticalCenter": true,
+    "_originalWidth": 0,
+    "_originalHeight": 0,
+    "_id": "01pP+UFl1MSJf4jAkUShtI"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "New ProgressBar",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 2
+    },
+    "_children": [
+      {
+        "__id__": 24
+      },
+      {
+        "__id__": 26
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 28
+      },
+      {
+        "__id__": 29
+      },
+      {
+        "__id__": 30
+      }
+    ],
+    "_prefab": null,
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 402.4,
+      "height": 48.7
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        -451.462,
+        0,
+        0,
+        0,
+        0,
+        1,
+        1,
+        1,
+        1
+      ]
+    },
+    "_eulerAngles": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_skewX": 0,
+    "_skewY": 0,
+    "_is3DNode": false,
+    "_groupIndex": 0,
+    "groupIndex": 0,
+    "_id": "83MmlXCGhNSa0b+0CfxZP2"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "bar",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 23
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 25
+      }
+    ],
+    "_prefab": null,
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 0,
+      "height": 74.4
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        -198.3,
+        2.4,
+        0,
+        0,
+        0,
+        0,
+        1,
+        0.5,
+        0.5,
+        1
+      ]
+    },
+    "_eulerAngles": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_skewX": 0,
+    "_skewY": 0,
+    "_is3DNode": false,
+    "_groupIndex": 0,
+    "groupIndex": 0,
+    "_id": "32ACE7polB+5AjI4R/xYYm"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 24
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "9c0d6818-4a9a-4aac-81c6-5368add6de5c"
+    },
+    "_type": 1,
+    "_sizeMode": 0,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": "9do4URTZdEa7c0q1vf9v6x"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "New Label",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 23
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 27
+      }
+    ],
+    "_prefab": null,
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 0,
+      "height": 37.8
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        -50.412,
+        0,
+        0,
+        0,
+        0,
+        1,
+        1,
+        1,
+        1
+      ]
+    },
+    "_eulerAngles": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_skewX": 0,
+    "_skewY": 0,
+    "_is3DNode": false,
+    "_groupIndex": 0,
+    "groupIndex": 0,
+    "_id": "67RR9LZpFJ+KY+ivEyWebF"
+  },
+  {
+    "__type__": "cc.Label",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 26
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_string": "",
+    "_N$string": "",
+    "_fontSize": 30,
+    "_lineHeight": 30,
+    "_enableWrapText": true,
+    "_N$file": null,
+    "_isSystemFontUsed": true,
+    "_spacingX": 0,
+    "_batchAsBitmap": false,
+    "_styleFlags": 1,
+    "_underlineHeight": 0,
+    "_N$horizontalAlign": 1,
+    "_N$verticalAlign": 1,
+    "_N$fontFamily": "Arial",
+    "_N$overflow": 0,
+    "_N$cacheMode": 0,
+    "_id": "395TQDby1L6IVy2RJDTqKC"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 23
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "a43b6efa-8839-4dd2-923f-4b60f1ae6edf"
+    },
+    "_type": 1,
+    "_sizeMode": 0,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": "96U1Et7W1OnJwHM20ShQyg"
+  },
+  {
+    "__type__": "cc.Widget",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 23
+    },
+    "_enabled": true,
+    "alignMode": 1,
+    "_target": null,
+    "_alignFlags": 4,
+    "_left": 0,
+    "_right": 0,
+    "_top": 0,
+    "_bottom": 336.188,
+    "_verticalCenter": 0,
+    "_horizontalCenter": 0,
+    "_isAbsLeft": true,
+    "_isAbsRight": true,
+    "_isAbsTop": true,
+    "_isAbsBottom": true,
+    "_isAbsHorizontalCenter": true,
+    "_isAbsVerticalCenter": true,
+    "_originalWidth": 0,
+    "_originalHeight": 0,
+    "_id": "27BUFbmGJMh7HuMYJ4F6tN"
+  },
+  {
+    "__type__": "cc.ProgressBar",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 23
+    },
+    "_enabled": true,
+    "_N$totalLength": 795,
+    "_N$barSprite": {
+      "__id__": 25
+    },
+    "_N$mode": 0,
+    "_N$progress": 0,
+    "_N$reverse": false,
+    "_id": "57D1niLFNPka6LTzKz3+SH"
+  },
+  {
+    "__type__": "cc.Canvas",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 2
+    },
+    "_enabled": true,
+    "_designResolution": {
+      "__type__": "cc.Size",
+      "width": 750,
+      "height": 1624
+    },
+    "_fitWidth": false,
+    "_fitHeight": true,
+    "_id": "b42DrKIf9Hr6FInPlWMROO"
+  },
+  {
+    "__type__": "cc.Widget",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 2
+    },
+    "_enabled": true,
+    "alignMode": 1,
+    "_target": null,
+    "_alignFlags": 45,
+    "_left": 0,
+    "_right": 0,
+    "_top": 0,
+    "_bottom": 0,
+    "_verticalCenter": 0,
+    "_horizontalCenter": 0,
+    "_isAbsLeft": true,
+    "_isAbsRight": true,
+    "_isAbsTop": true,
+    "_isAbsBottom": true,
+    "_isAbsHorizontalCenter": true,
+    "_isAbsVerticalCenter": true,
+    "_originalWidth": 0,
+    "_originalHeight": 0,
+    "_id": "99gg41LT1KhocyDpwWNiT6"
+  },
+  {
+    "__type__": "c20cdOv4sdIuIbVvg0eQIQh",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 2
+    },
+    "_enabled": true,
+    "StartGameNode": {
+      "__id__": 6
+    },
+    "progress": {
+      "__id__": 30
+    },
+    "launchDesc": {
+      "__id__": 27
+    },
+    "_id": "4f07tOA9VCAasjEB786V8j"
+  }
+]

+ 8 - 0
assets/LoadScene/LoadScene.fire.meta

@@ -0,0 +1,8 @@
+{
+  "ver": "1.3.2",
+  "uuid": "18364748-5d4d-4a13-ba80-24a58690c521",
+  "importer": "scene",
+  "asyncLoadAssets": false,
+  "autoReleaseAssets": false,
+  "subMetas": {}
+}

+ 13 - 0
assets/LoadScene/Sp.meta

@@ -0,0 +1,13 @@
+{
+  "ver": "1.1.3",
+  "uuid": "74888a4f-ae51-4d20-b638-22c24d0a7ff5",
+  "importer": "folder",
+  "isBundle": false,
+  "bundleName": "",
+  "priority": 1,
+  "compressionType": {},
+  "optimizeHotUpdate": {},
+  "inlineSpriteFrames": {},
+  "isRemoteBundle": {},
+  "subMetas": {}
+}

BIN
assets/LoadScene/Sp/1.png


+ 10 - 10
assets/resources/ShopCharacter/small role 3.png.meta → assets/LoadScene/Sp/1.png.meta

@@ -1,6 +1,6 @@
 {
   "ver": "2.3.7",
-  "uuid": "4b769119-58cb-48a5-a24f-f0996d8f214f",
+  "uuid": "1a67b3b5-7b62-4cc7-a856-23063635e56f",
   "importer": "texture",
   "type": "sprite",
   "wrapMode": "clamp",
@@ -8,15 +8,15 @@
   "premultiplyAlpha": false,
   "genMipmaps": false,
   "packable": true,
-  "width": 192,
-  "height": 200,
+  "width": 1572,
+  "height": 3408,
   "platformSettings": {},
   "subMetas": {
-    "small role 3": {
+    "1": {
       "ver": "1.0.6",
-      "uuid": "ddac585f-281d-4f6f-b648-1bec5ad732ff",
+      "uuid": "821caffc-744e-4f8d-bc99-1e11d3f0a7ae",
       "importer": "sprite-frame",
-      "rawTextureUuid": "4b769119-58cb-48a5-a24f-f0996d8f214f",
+      "rawTextureUuid": "1a67b3b5-7b62-4cc7-a856-23063635e56f",
       "trimType": "auto",
       "trimThreshold": 1,
       "rotated": false,
@@ -24,10 +24,10 @@
       "offsetY": 0,
       "trimX": 0,
       "trimY": 0,
-      "width": 192,
-      "height": 200,
-      "rawWidth": 192,
-      "rawHeight": 200,
+      "width": 1572,
+      "height": 3408,
+      "rawWidth": 1572,
+      "rawHeight": 3408,
       "borderTop": 0,
       "borderBottom": 0,
       "borderLeft": 0,

BIN
assets/LoadScene/Sp/2.png


+ 10 - 10
assets/resources/ShopCharacter/small role 1.png.meta → assets/LoadScene/Sp/2.png.meta

@@ -1,6 +1,6 @@
 {
   "ver": "2.3.7",
-  "uuid": "003b457d-246b-434d-9ba4-738ef510bd39",
+  "uuid": "7f362966-145a-4dc1-b23c-6428afd48b99",
   "importer": "texture",
   "type": "sprite",
   "wrapMode": "clamp",
@@ -8,15 +8,15 @@
   "premultiplyAlpha": false,
   "genMipmaps": false,
   "packable": true,
-  "width": 147,
-  "height": 195,
+  "width": 611,
+  "height": 277,
   "platformSettings": {},
   "subMetas": {
-    "small role 1": {
+    "2": {
       "ver": "1.0.6",
-      "uuid": "4897b9de-bdd3-4720-90c2-ad828b392e23",
+      "uuid": "34a18619-3d04-48cd-bcd7-faf2c07e01fe",
       "importer": "sprite-frame",
-      "rawTextureUuid": "003b457d-246b-434d-9ba4-738ef510bd39",
+      "rawTextureUuid": "7f362966-145a-4dc1-b23c-6428afd48b99",
       "trimType": "auto",
       "trimThreshold": 1,
       "rotated": false,
@@ -24,10 +24,10 @@
       "offsetY": 0,
       "trimX": 0,
       "trimY": 0,
-      "width": 147,
-      "height": 195,
-      "rawWidth": 147,
-      "rawHeight": 195,
+      "width": 611,
+      "height": 277,
+      "rawWidth": 611,
+      "rawHeight": 277,
       "borderTop": 0,
       "borderBottom": 0,
       "borderLeft": 0,

BIN
assets/LoadScene/Sp/4.png


+ 10 - 10
assets/resources/ShopCharacter/small role 2.png.meta → assets/LoadScene/Sp/4.png.meta

@@ -1,6 +1,6 @@
 {
   "ver": "2.3.7",
-  "uuid": "5799a8cd-06b4-46cf-995c-8782c9938d22",
+  "uuid": "ed31dc11-ce5b-41a3-88ef-c6fa4ee83918",
   "importer": "texture",
   "type": "sprite",
   "wrapMode": "clamp",
@@ -8,15 +8,15 @@
   "premultiplyAlpha": false,
   "genMipmaps": false,
   "packable": true,
-  "width": 121,
-  "height": 157,
+  "width": 863,
+  "height": 137,
   "platformSettings": {},
   "subMetas": {
-    "small role 2": {
+    "4": {
       "ver": "1.0.6",
-      "uuid": "208d38e6-616d-4eaf-ae07-a0bd1eee5479",
+      "uuid": "e129d4da-57ff-400f-94a7-ff38ce468088",
       "importer": "sprite-frame",
-      "rawTextureUuid": "5799a8cd-06b4-46cf-995c-8782c9938d22",
+      "rawTextureUuid": "ed31dc11-ce5b-41a3-88ef-c6fa4ee83918",
       "trimType": "auto",
       "trimThreshold": 1,
       "rotated": false,
@@ -24,10 +24,10 @@
       "offsetY": 0,
       "trimX": 0,
       "trimY": 0,
-      "width": 121,
-      "height": 157,
-      "rawWidth": 121,
-      "rawHeight": 157,
+      "width": 863,
+      "height": 137,
+      "rawWidth": 863,
+      "rawHeight": 137,
       "borderTop": 0,
       "borderBottom": 0,
       "borderLeft": 0,

BIN
assets/LoadScene/Sp/5.png


+ 38 - 0
assets/LoadScene/Sp/5.png.meta

@@ -0,0 +1,38 @@
+{
+  "ver": "2.3.7",
+  "uuid": "a9ea6b6d-2d66-4a85-af19-2be872264ec1",
+  "importer": "texture",
+  "type": "sprite",
+  "wrapMode": "clamp",
+  "filterMode": "bilinear",
+  "premultiplyAlpha": false,
+  "genMipmaps": false,
+  "packable": true,
+  "width": 132,
+  "height": 170,
+  "platformSettings": {},
+  "subMetas": {
+    "5": {
+      "ver": "1.0.6",
+      "uuid": "22f24b6a-ed2d-49d7-820f-2419b9915fd2",
+      "importer": "sprite-frame",
+      "rawTextureUuid": "a9ea6b6d-2d66-4a85-af19-2be872264ec1",
+      "trimType": "auto",
+      "trimThreshold": 1,
+      "rotated": false,
+      "offsetX": 0,
+      "offsetY": 0,
+      "trimX": 4,
+      "trimY": 4,
+      "width": 124,
+      "height": 162,
+      "rawWidth": 132,
+      "rawHeight": 170,
+      "borderTop": 0,
+      "borderBottom": 0,
+      "borderLeft": 0,
+      "borderRight": 0,
+      "subMetas": {}
+    }
+  }
+}

BIN
assets/LoadScene/Sp/7.png


+ 38 - 0
assets/LoadScene/Sp/7.png.meta

@@ -0,0 +1,38 @@
+{
+  "ver": "2.3.7",
+  "uuid": "d0863ce5-d1b9-426a-918b-c5cc0c5a5246",
+  "importer": "texture",
+  "type": "sprite",
+  "wrapMode": "clamp",
+  "filterMode": "bilinear",
+  "premultiplyAlpha": false,
+  "genMipmaps": false,
+  "packable": true,
+  "width": 952,
+  "height": 94,
+  "platformSettings": {},
+  "subMetas": {
+    "7": {
+      "ver": "1.0.6",
+      "uuid": "a43b6efa-8839-4dd2-923f-4b60f1ae6edf",
+      "importer": "sprite-frame",
+      "rawTextureUuid": "d0863ce5-d1b9-426a-918b-c5cc0c5a5246",
+      "trimType": "auto",
+      "trimThreshold": 1,
+      "rotated": false,
+      "offsetX": 0,
+      "offsetY": 0,
+      "trimX": 0,
+      "trimY": 0,
+      "width": 952,
+      "height": 94,
+      "rawWidth": 952,
+      "rawHeight": 94,
+      "borderTop": 0,
+      "borderBottom": 0,
+      "borderLeft": 0,
+      "borderRight": 0,
+      "subMetas": {}
+    }
+  }
+}

BIN
assets/LoadScene/Sp/8.png


+ 38 - 0
assets/LoadScene/Sp/8.png.meta

@@ -0,0 +1,38 @@
+{
+  "ver": "2.3.7",
+  "uuid": "c248bbc8-8d83-4ddb-9ef2-dcf1d8cb5e1e",
+  "importer": "texture",
+  "type": "sprite",
+  "wrapMode": "clamp",
+  "filterMode": "bilinear",
+  "premultiplyAlpha": false,
+  "genMipmaps": false,
+  "packable": true,
+  "width": 366,
+  "height": 70,
+  "platformSettings": {},
+  "subMetas": {
+    "8": {
+      "ver": "1.0.6",
+      "uuid": "9c0d6818-4a9a-4aac-81c6-5368add6de5c",
+      "importer": "sprite-frame",
+      "rawTextureUuid": "c248bbc8-8d83-4ddb-9ef2-dcf1d8cb5e1e",
+      "trimType": "auto",
+      "trimThreshold": 1,
+      "rotated": false,
+      "offsetX": 0,
+      "offsetY": 0,
+      "trimX": 0,
+      "trimY": 0,
+      "width": 366,
+      "height": 70,
+      "rawWidth": 366,
+      "rawHeight": 70,
+      "borderTop": 24,
+      "borderBottom": 23,
+      "borderLeft": 20,
+      "borderRight": 23,
+      "subMetas": {}
+    }
+  }
+}

+ 16 - 6
assets/Script/AudioManager.ts

@@ -5,12 +5,12 @@ import LocalData from "./LocalData";
 
 export default class AudioManager {
     public static readonly instance: AudioManager = new AudioManager();
-    public static HALL_BG_MUSIC = "Audio/通用bgm";
-    public static Game_BG_MUSIC = "Audio/通用bgm";
-    public static BUTTON_EFFECT1 = "Audio/btn1";
+    public static HALL_BG_MUSIC = "res/Audio/通用bgm";
+    public static Game_BG_MUSIC = "res/Audio/通用bgm";
+    public static BUTTON_EFFECT1 = "res/Audio/btn1";
 
-    public static eatJinbi = "Audio/吃金币音效";
-    public static 预发射音效 = "Audio/预发射音效";
+    public static eatJinbi = "res/Audio/吃金币音效";
+    public static 预发射音效 = "res/Audio/预发射音效";
 
 
 
@@ -38,13 +38,23 @@ export default class AudioManager {
 
     public getSoundUrl(path: string): Promise<cc.AudioClip> {
         return new Promise<cc.AudioClip>((re, rj) => {
-            cc.loader.loadRes(path, cc.AudioClip, (error: Error, resource: cc.AudioClip) => {
+            // cc.loader.loadRes(path, cc.AudioClip, (error: Error, resource: cc.AudioClip) => {
+            //     if (!error) {
+            //         re(resource);
+            //     } else {
+            //         re(null);
+            //     }
+            // });
+
+            let bundle = cc.assetManager.getBundle("sub");
+            bundle.load(path, cc.AudioClip, (error: Error, resource: cc.AudioClip) => {
                 if (!error) {
                     re(resource);
                 } else {
                     re(null);
                 }
             });
+
         })
     }
     public playBg(path: string) {

+ 19 - 3
assets/Script/Character/Parabola.ts

@@ -15,8 +15,21 @@ export default class Parabola extends cc.Component {
 
     prefab: cc.Node = null
     start() {
-        const url = `Parabola/${this.ParabolaID}`
-        cc.resources.load(url, cc.SpriteFrame, (err, SpriteFrame) => {
+        const url = `res/Parabola/${this.ParabolaID}`
+        // cc.resources.load(url, cc.SpriteFrame, (err, SpriteFrame) => {
+        //     if (err) {
+        //         return
+        //     }
+        //     let SubNode = new cc.Node()
+        //     SubNode.addComponent(cc.Sprite).spriteFrame = SpriteFrame
+        //     SubNode.setAnchorPoint(0.5, 0.5)
+        //     SubNode.setScale(0.8)
+        //     this.prefab = SubNode
+        // });
+
+
+        let bundle = cc.assetManager.getBundle("sub");
+        bundle.load(url, cc.SpriteFrame, (err: Error, SpriteFrame) => {
             if (err) {
                 return
             }
@@ -26,6 +39,9 @@ export default class Parabola extends cc.Component {
             SubNode.setScale(0.8)
             this.prefab = SubNode
         });
+
+
+
     }
 
 
@@ -41,7 +57,7 @@ export default class Parabola extends cc.Component {
             temp.parent = this.node
             temp.active = true
             temp.setPosition(x, y)
-     
+
         }
 
         this.ChildIndex++

+ 3 - 3
assets/Script/Hall.ts

@@ -36,7 +36,7 @@ export default class Hall extends cc.Component {
     ClickSet() {
         cc.log('ClickSet');
         (async () => {
-            const url = "Pop/Set"
+            const url = "res/Pop/Set"
             let Prefab = await LoadManager.instance.LoadAssets<cc.Prefab>(url);
             if (cc.isValid(Prefab)) {
                 let a = cc.instantiate(Prefab);
@@ -57,7 +57,7 @@ export default class Hall extends cc.Component {
         return
         cc.log('ClickMeiRiJiangLi');
         (async () => {
-            const url = "Pop/Sign"
+            const url = "res/Pop/Sign"
             let Prefab = await LoadManager.instance.LoadAssets<cc.Prefab>(url);
             if (cc.isValid(Prefab)) {
                 let a = cc.instantiate(Prefab);
@@ -74,7 +74,7 @@ export default class Hall extends cc.Component {
     ClickShop() {
         cc.log('ClickShop');
         (async () => {
-            const url = "Pop/Shop"
+            const url = "res/Pop/Shop"
             let Prefab = await LoadManager.instance.LoadAssets<cc.Prefab>(url);
             if (cc.isValid(Prefab)) {
                 let a = cc.instantiate(Prefab);

+ 14 - 4
assets/Script/LoadManager.ts

@@ -1,22 +1,32 @@
 
 // import LocalData from "../Template/LocalData";
 
- 
+
 
 export default class LoadManager {
     public static readonly instance: LoadManager = new LoadManager();
 
- 
+
     LoadAssets<T extends cc.Asset>(path: string): Promise<T> {
         return new Promise((resolve, reject) => {
-            cc.resources.load(path, (err, Asset: T) => {
+            // cc.resources.load(path, (err, Asset: T) => {
+            //     if (err) {
+            //         cc.error(`加载${path}失败`)
+            //         reject(err)
+            //         return
+            //     }
+            //     resolve(Asset)
+            // })
+
+            let bundle = cc.assetManager.getBundle("sub");
+            bundle.load(path, (err: Error, Asset: T) => {
                 if (err) {
                     cc.error(`加载${path}失败`)
                     reject(err)
                     return
                 }
                 resolve(Asset)
-            })
+            });
         })
     }
 }

+ 77 - 0
assets/Script/LoadScene.ts

@@ -0,0 +1,77 @@
+// Learn TypeScript:
+//  - https://docs.cocos.com/creator/2.4/manual/en/scripting/typescript.html
+// Learn Attribute:
+//  - https://docs.cocos.com/creator/2.4/manual/en/scripting/reference/attributes.html
+// Learn life-cycle callbacks:
+//  - https://docs.cocos.com/creator/2.4/manual/en/scripting/life-cycle-callbacks.html
+
+
+
+const { ccclass, property } = cc._decorator;
+
+@ccclass
+export default class LoadScene extends cc.Component {
+
+
+    //开始按钮
+    @property(cc.Node)
+    StartGameNode: cc.Node = null
+
+
+    //开始按钮
+    @property(cc.ProgressBar)
+    progress: cc.ProgressBar = null
+
+    progressNum: number = null
+
+    @property(cc.Label)
+    launchDesc: cc.Label = null
+
+    start() {
+
+
+        this.StartGameNode.active = false
+
+        this.LoadBundle('sub').then((e) => {
+            cc.director.preloadScene("Hall", (curcomplete, totalcount) => {
+                this.progress.progress = (((curcomplete / totalcount) / 2) + 0.5)
+                this.updatelaunchDesc()
+            }, () => {
+                this.StartGameNode.active = true
+            })
+        })
+    }
+    protected update(dt: number): void {
+        if (this.progress.progress < 0.5) {
+            this.progress.progress += 0.02
+            this.updatelaunchDesc()
+        }
+    }
+
+    updatelaunchDesc() {
+        this.launchDesc.string = `${(this.progress.progress * 100).toFixed(0)}%`;
+    }
+
+
+    StartGame() {
+
+        console.error('Hall');
+        
+        cc.director.loadScene("Hall")
+    }
+
+
+    LoadBundle(path: string): Promise<cc.AssetManager.Bundle> {
+        return new Promise((resolve, reject) => {
+            cc.assetManager.loadBundle(path, (err, bundle) => {
+                if (err) {
+                    console.log('加载Bundle失败')
+                    reject(err)
+                    return;
+                }
+                resolve(bundle)
+            });
+        })
+    }
+
+}

+ 10 - 0
assets/Script/LoadScene.ts.meta

@@ -0,0 +1,10 @@
+{
+  "ver": "1.1.0",
+  "uuid": "c20cd3af-e2c7-48b8-86d5-be0d1e408421",
+  "importer": "typescript",
+  "isPlugin": false,
+  "loadPluginInWeb": true,
+  "loadPluginInNative": true,
+  "loadPluginInEditor": false,
+  "subMetas": {}
+}

+ 38 - 5
assets/Script/Map/MyMap.ts

@@ -80,7 +80,13 @@ export default class MyMap extends cc.Component {
     }
 
     public Load(level: string) {
-        cc.resources.load("json/map" + level, cc.JsonAsset, this.LoadDone.bind(this));
+        // cc.resources.load("json/map" + level, cc.JsonAsset, this.LoadDone.bind(this));
+
+
+
+        let bundle = cc.assetManager.getBundle("sub");
+        bundle.load("res/json/map" + level, cc.JsonAsset, this.LoadDone.bind(this));
+
     }
 
     private LoadDone(error: Error, resource: cc.JsonAsset) {
@@ -158,7 +164,7 @@ export default class MyMap extends cc.Component {
         }
 
 
-            
+
         this.InitCharacterPrefab()
 
         return
@@ -170,7 +176,7 @@ export default class MyMap extends cc.Component {
     InitCharacterPrefab() {
         (async () => {
             let RoleSkin = LocalData.getInstance().getCurrentCharacterSkin();
-            let Prefab = await LoadManager.instance.LoadAssets<cc.Prefab>('Role/Role' + RoleSkin);
+            let Prefab = await LoadManager.instance.LoadAssets<cc.Prefab>('res/Role/Role' + RoleSkin);
             if (cc.isValid(Prefab)) {
                 let PrefabNode = cc.instantiate(Prefab)
 
@@ -337,18 +343,43 @@ export default class MyMap extends cc.Component {
         if (this.node.getChildByName('bg' + SubMap.Id).getComponent(cc.Sprite)?.spriteFrame?.name == 'bg' + SubMap.SubMapData.bg) {
 
         } else {
-            cc.resources.load('bg/bg' + SubMap.SubMapData.bg, cc.SpriteFrame, (err, SpriteFrame) => {
+            // cc.resources.load('bg/bg' + SubMap.SubMapData.bg, cc.SpriteFrame, (err, SpriteFrame) => {
+            //     if (err) {
+            //         console.log("bg_error:" + err);
+            //         return
+            //     }
+            //     this.node.getChildByName('bg' + SubMap.Id).getComponent(cc.Sprite).spriteFrame = SpriteFrame
+            // });
+
+            let bundle = cc.assetManager.getBundle("sub");
+            bundle.load('res/bg/bg' + SubMap.SubMapData.bg, cc.SpriteFrame, (err: Error, SpriteFrame) => {
                 if (err) {
                     console.log("bg_error:" + err);
                     return
                 }
                 this.node.getChildByName('bg' + SubMap.Id).getComponent(cc.Sprite).spriteFrame = SpriteFrame
             });
+
+
         }
         for (let j = 0; j < SubMap.SubMapData.fs.length; j++) {
             const fs = SubMap.SubMapData.fs[j];
 
-            cc.resources.load('footstep/footstep' + fs.sp, cc.Prefab, (err, Prefab) => {
+            // cc.resources.load('footstep/footstep' + fs.sp, cc.Prefab, (err, Prefab) => {
+            //     if (err) {
+            //         console.log("bg_error:" + err);
+            //         return
+            //     }
+            //     let SubPrefab = cc.instantiate(Prefab)
+            //     SubPrefab.setPosition(fs.x, fs.y)
+            //     SubPrefab.angle = -fs.ro
+            //     SubPrefab.setScale(fs.sc)
+            //     SubPrefab.active = true
+            //     this.node.getChildByName('bg' + SubMap.Id).addChild(SubPrefab)
+            // });
+
+            let bundle = cc.assetManager.getBundle("sub");
+            bundle.load('res/footstep/footstep' + fs.sp, cc.Prefab, (err: Error, Prefab) => {
                 if (err) {
                     console.log("bg_error:" + err);
                     return
@@ -360,6 +391,8 @@ export default class MyMap extends cc.Component {
                 SubPrefab.active = true
                 this.node.getChildByName('bg' + SubMap.Id).addChild(SubPrefab)
             });
+
+
         }
     }
 

+ 46 - 12
assets/Script/Shop.ts

@@ -15,7 +15,9 @@ type CharacterSkinType = {
     name: string,
     introduce: string,
     image: string,
+    imageMain: string,
     imageSp: cc.SpriteFrame,
+    imageSpMain: cc.SpriteFrame,
     price: number,
     id: number,
 }
@@ -65,7 +67,14 @@ export default class Shop extends MyComponent {
     onLoad(): void {
         super.onLoad()
         this.regEvent(EventName.changeGold, this.UpdataGold, this)
-        cc.resources.load("json/Skin", cc.JsonAsset, this.LoadDone.bind(this));
+        // cc.resources.load("json/Skin", cc.JsonAsset, this.LoadDone.bind(this));
+
+
+
+        let bundle = cc.assetManager.getBundle("sub");
+        bundle.load("res/json/Skin", cc.JsonAsset, this.LoadDone.bind(this));
+
+
     }
     start() {
         this.scheduleOnce(() => {
@@ -105,7 +114,7 @@ export default class Shop extends MyComponent {
 
                 let temp_node = cc.instantiate(this.CharacterSkinPrefab)
                 this.content.addChild(temp_node)
-                let Skin = temp_node.getChildByName("Skin")
+                let Skin = temp_node.getChildByName("Skin").getChildByName("Skin")
                 //加入发光节点
                 this.LightNodes.push(temp_node.getChildByName("checkbox"))
 
@@ -138,24 +147,31 @@ export default class Shop extends MyComponent {
 
                 //加载图
                 const url = element.image
-                cc.resources.load(url, cc.SpriteFrame, (err, spriteframe) => {
-                    if (!err) {
 
+                let bundle = cc.assetManager.getBundle("sub");
+                bundle.load(url, cc.SpriteFrame, (err: Error, spriteframe) => {
+                    if (!err) {
                         element.imageSp = spriteframe
                         Skin.getComponent(cc.Sprite).spriteFrame = spriteframe
 
-
                         temp_node['CharacterSkin'] = element
                     }
                 });
 
+                bundle.load(element.imageMain, cc.SpriteFrame, (err: Error, spriteframe) => {
+                    if (!err) {
+                        element.imageSpMain = spriteframe
+                    }
+                });
+
+
 
 
                 //添加点击事件
                 temp_node.on('touchstart', () => {
                     let temp = temp_node['CharacterSkin'] as CharacterSkinType
 
-                    this.ShowCharacterSprite.spriteFrame = temp.imageSp
+                    this.ShowCharacterSprite.spriteFrame = temp.imageSpMain
                     this.ShowCharacterintroduce.string = temp.introduce
                     this.ShowCharacterName.string = temp.name
 
@@ -172,7 +188,7 @@ export default class Shop extends MyComponent {
 
                 let temp_node = cc.instantiate(this.CharacterSkinPrefab)
                 this.content.addChild(temp_node)
-                let Skin = temp_node.getChildByName("Skin")
+                let Skin = temp_node.getChildByName("Skin").getChildByName("Skin")
                 //加入发光节点
                 this.LightNodes.push(temp_node.getChildByName("checkbox"))
 
@@ -205,7 +221,20 @@ export default class Shop extends MyComponent {
 
                 //加载图
                 const url = element.image
-                cc.resources.load(url, cc.SpriteFrame, (err, spriteframe) => {
+                // cc.resources.load(url, cc.SpriteFrame, (err, spriteframe) => {
+                //     if (!err) {
+
+                //         element.imageSp = spriteframe
+                //         Skin.getComponent(cc.Sprite).spriteFrame = spriteframe
+
+
+                //         temp_node['ParabolaSkin'] = element
+                //     }
+                // });
+
+
+                let bundle = cc.assetManager.getBundle("sub");
+                bundle.load(url, cc.SpriteFrame, (err: Error, spriteframe) => {
                     if (!err) {
 
                         element.imageSp = spriteframe
@@ -215,6 +244,11 @@ export default class Shop extends MyComponent {
                         temp_node['ParabolaSkin'] = element
                     }
                 });
+                bundle.load(element.imageMain, cc.SpriteFrame, (err: Error, spriteframe) => {
+                    if (!err) {
+                        element.imageSpMain = spriteframe
+                    }
+                });
 
 
 
@@ -222,7 +256,7 @@ export default class Shop extends MyComponent {
                 temp_node.on('touchstart', () => {
                     let temp = temp_node['ParabolaSkin'] as CharacterSkinType
 
-                    this.ShowCharacterSprite.spriteFrame = temp.imageSp
+                    this.ShowCharacterSprite.spriteFrame = temp.imageSpMain
                     this.ShowCharacterintroduce.string = temp.introduce
                     this.ShowCharacterName.string = temp.name
 
@@ -397,7 +431,7 @@ export default class Shop extends MyComponent {
                     this.updataSetScrollView()
 
                 } else {
-         
+
                     let temp: PopType = new PopType()
                     temp.string = EventLabel.OpenVideo
                     temp.Title = '提示'
@@ -435,9 +469,9 @@ export default class Shop extends MyComponent {
                     this.updataSetScrollView()
 
                 } else {
-      
+
                     let temp: PopType = new PopType()
-                    temp.string =  EventLabel.OpenVideo
+                    temp.string = EventLabel.OpenVideo
                     temp.Title = '提示'
                     temp.OK = () => {
                         this.OpenAD()

+ 39 - 2
assets/Script/Template/MyComponent.ts

@@ -79,8 +79,42 @@ export default class MyComponent extends cc.Component {
     }
 
     Pop(_PopType: PopType) {
-        const url = "Pop/Pop"
-        cc.resources.load(url, cc.Prefab, (err, Prefab) => {
+        const url = "res/Pop/Pop"
+        // cc.resources.load(url, cc.Prefab, (err, Prefab) => {
+        //     if (err) {
+        //         return
+        //     }
+        //     let a = cc.instantiate(Prefab);
+        //     a.parent = cc.Canvas.instance.node
+        //     a.active = true
+
+
+        //     let Title = a.getChildByName("Title").getComponent(cc.Label)
+        //     let Label = a.getChildByName("Label").getComponent(cc.Label)
+
+        //     Title.string = _PopType.Title
+        //     Label.string = _PopType.string
+
+
+        //     let no = a.getChildByName("no button")
+        //     let yes = a.getChildByName("yes button")
+
+        //     //添加点击事件
+        //     no.on('touchstart', () => {
+        //         _PopType.Fail()
+        //         a.destroy()
+        //     })
+
+        //     //添加点击事件
+        //     yes.on('touchstart', () => {
+        //         _PopType.OK()
+        //         a.destroy()
+        //     })
+        // });
+
+        
+        let bundle = cc.assetManager.getBundle("sub");
+        bundle.load(url, cc.Prefab, (err: Error, Prefab) => {
             if (err) {
                 return
             }
@@ -111,6 +145,9 @@ export default class MyComponent extends cc.Component {
                 a.destroy()
             })
         });
+
+
+
     }
 
 

+ 1 - 1
assets/Script/Template/RewardMnr.ts

@@ -109,7 +109,7 @@ export default class RewardMnr {
     // 1虚线 2超级跳 3 飞
     PopAward(num: AwardType) {
         (async () => {
-            const url = "Pop/Award"
+            const url = "res/Pop/Award"
             let Prefab = await LoadManager.instance.LoadAssets<cc.Prefab>(url);
             if (cc.isValid(Prefab)) {
                 let a = cc.instantiate(Prefab);

+ 4 - 4
assets/resources.meta

@@ -1,10 +1,10 @@
 {
   "ver": "1.1.3",
-  "uuid": "8ec489ea-7269-4668-9d3a-bb816a2882ba",
+  "uuid": "e24a5a78-17f0-498c-8f86-5e7a0b5561fc",
   "importer": "folder",
-  "isBundle": true,
-  "bundleName": "resources",
-  "priority": 8,
+  "isBundle": false,
+  "bundleName": "",
+  "priority": 1,
   "compressionType": {},
   "optimizeHotUpdate": {},
   "inlineSpriteFrames": {},

BIN
assets/resources/ShopCharacter/small role 1.png


BIN
assets/resources/ShopCharacter/small role 2.png


BIN
assets/resources/ShopCharacter/small role 3.png


+ 21 - 0
assets/sub.meta

@@ -0,0 +1,21 @@
+{
+  "ver": "1.1.3",
+  "uuid": "a8d70b1d-b97b-4a38-8ebf-8d476b3489c6",
+  "importer": "folder",
+  "isBundle": true,
+  "bundleName": "sub",
+  "priority": 1,
+  "compressionType": {
+    "wechatgame": "subpackage"
+  },
+  "optimizeHotUpdate": {
+    "wechatgame": false
+  },
+  "inlineSpriteFrames": {
+    "wechatgame": false
+  },
+  "isRemoteBundle": {
+    "wechatgame": false
+  },
+  "subMetas": {}
+}

+ 0 - 0
assets/Scene.meta → assets/sub/Scene.meta


+ 0 - 0
assets/Scene/Editer.fire → assets/sub/Scene/Editer.fire


+ 0 - 0
assets/Scene/Editer.fire.meta → assets/sub/Scene/Editer.fire.meta


+ 8 - 8
assets/Scene/Game.fire → assets/sub/Scene/Game.fire

@@ -1328,7 +1328,7 @@
       "ctor": "Float64Array",
       "array": [
         0,
-        594.5,
+        544.243,
         0,
         0,
         0,
@@ -2071,7 +2071,7 @@
       "__uuid__": "d21f83d4-6cb0-4397-a015-e084a4c4ba90"
     },
     "_type": 0,
-    "_sizeMode": 1,
+    "_sizeMode": 0,
     "_fillType": 0,
     "_fillCenter": {
       "__type__": "cc.Vec2",
@@ -2095,10 +2095,10 @@
     "alignMode": 1,
     "_target": null,
     "_alignFlags": 1,
-    "_left": 0,
-    "_right": 0,
-    "_top": -2.5,
-    "_bottom": 0,
+    "_left": 242.5,
+    "_right": 242.5,
+    "_top": 47.75699999999995,
+    "_bottom": 1184,
     "_verticalCenter": 0,
     "_horizontalCenter": 0,
     "_isAbsLeft": true,
@@ -2107,8 +2107,8 @@
     "_isAbsBottom": true,
     "_isAbsHorizontalCenter": true,
     "_isAbsVerticalCenter": true,
-    "_originalWidth": 0,
-    "_originalHeight": 0,
+    "_originalWidth": 265,
+    "_originalHeight": 150,
     "_id": "44EqDLlwtM+69Ed9N3KEHh"
   },
   {

+ 0 - 0
assets/Scene/Game.fire.meta → assets/sub/Scene/Game.fire.meta


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 268 - 296
assets/sub/Scene/Hall.fire


+ 0 - 0
assets/Scene/Hall.fire.meta → assets/sub/Scene/Hall.fire.meta


+ 0 - 0
assets/Texture.meta → assets/sub/Texture.meta


+ 0 - 0
assets/Texture/Btn.meta → assets/sub/Texture/Btn.meta


+ 0 - 0
assets/Texture/Btn/Get gold button.png → assets/sub/Texture/Btn/Get gold button.png


+ 0 - 0
assets/Texture/Btn/Get gold button.png.meta → assets/sub/Texture/Btn/Get gold button.png.meta


+ 0 - 0
assets/Texture/Btn/Select cursor 1.png → assets/sub/Texture/Btn/Select cursor 1.png


+ 0 - 0
assets/Texture/Btn/Select cursor 1.png.meta → assets/sub/Texture/Btn/Select cursor 1.png.meta


+ 0 - 0
assets/Texture/Btn/Skin button 1.png → assets/sub/Texture/Btn/Skin button 1.png


+ 0 - 0
assets/Texture/Btn/Skin button 1.png.meta → assets/sub/Texture/Btn/Skin button 1.png.meta


+ 0 - 0
assets/Texture/Btn/Skin button 2.png → assets/sub/Texture/Btn/Skin button 2.png


+ 0 - 0
assets/Texture/Btn/Skin button 2.png.meta → assets/sub/Texture/Btn/Skin button 2.png.meta


+ 0 - 0
assets/Texture/Btn/Use button.png → assets/sub/Texture/Btn/Use button.png


+ 0 - 0
assets/Texture/Btn/Use button.png.meta → assets/sub/Texture/Btn/Use button.png.meta


+ 0 - 0
assets/Texture/Btn/Using.png → assets/sub/Texture/Btn/Using.png


+ 0 - 0
assets/Texture/Btn/Using.png.meta → assets/sub/Texture/Btn/Using.png.meta


+ 0 - 0
assets/Texture/GameProp.meta → assets/sub/Texture/GameProp.meta


+ 0 - 0
assets/Texture/GameUI.meta → assets/sub/Texture/GameUI.meta


+ 0 - 0
assets/Texture/GameUI/brand.png → assets/sub/Texture/GameUI/brand.png


+ 0 - 0
assets/Texture/GameUI/brand.png.meta → assets/sub/Texture/GameUI/brand.png.meta


+ 0 - 0
assets/Texture/GameUI/daliwang.png → assets/sub/Texture/GameUI/daliwang.png


+ 0 - 0
assets/Texture/GameUI/daliwang.png.meta → assets/sub/Texture/GameUI/daliwang.png.meta


+ 0 - 0
assets/Texture/GameUI/dian.png → assets/sub/Texture/GameUI/dian.png


+ 0 - 0
assets/Texture/GameUI/dian.png.meta → assets/sub/Texture/GameUI/dian.png.meta


+ 0 - 0
assets/Texture/GameUI/gongxihuade.png → assets/sub/Texture/GameUI/gongxihuade.png


+ 0 - 0
assets/Texture/GameUI/gongxihuade.png.meta → assets/sub/Texture/GameUI/gongxihuade.png.meta


+ 0 - 0
assets/Texture/GameUI/guang.png → assets/sub/Texture/GameUI/guang.png


+ 0 - 0
assets/Texture/GameUI/guang.png.meta → assets/sub/Texture/GameUI/guang.png.meta


+ 0 - 0
assets/Texture/GameUI/guanggao.png → assets/sub/Texture/GameUI/guanggao.png


+ 0 - 0
assets/Texture/GameUI/guanggao.png.meta → assets/sub/Texture/GameUI/guanggao.png.meta


+ 0 - 0
assets/Texture/GameUI/wushizhongli.png → assets/sub/Texture/GameUI/wushizhongli.png


+ 0 - 0
assets/Texture/GameUI/wushizhongli.png.meta → assets/sub/Texture/GameUI/wushizhongli.png.meta


+ 0 - 0
assets/Texture/GameUI/xuxian.png → assets/sub/Texture/GameUI/xuxian.png


+ 0 - 0
assets/Texture/GameUI/xuxian.png.meta → assets/sub/Texture/GameUI/xuxian.png.meta


+ 0 - 0
assets/Texture/Pop.meta → assets/sub/Texture/Pop.meta


+ 0 - 0
assets/Texture/Pop/FX.png → assets/sub/Texture/Pop/FX.png


+ 0 - 0
assets/Texture/Pop/FX.png.meta → assets/sub/Texture/Pop/FX.png.meta


+ 0 - 0
assets/Texture/Pop/click.png → assets/sub/Texture/Pop/click.png


+ 0 - 0
assets/Texture/Pop/click.png.meta → assets/sub/Texture/Pop/click.png.meta


+ 0 - 0
assets/Texture/Pop/music.png → assets/sub/Texture/Pop/music.png


+ 0 - 0
assets/Texture/Pop/music.png.meta → assets/sub/Texture/Pop/music.png.meta


+ 0 - 0
assets/Texture/Pop/no button.png → assets/sub/Texture/Pop/no button.png


+ 0 - 0
assets/Texture/Pop/no button.png.meta → assets/sub/Texture/Pop/no button.png.meta


+ 0 - 0
assets/Texture/Pop/setup.png → assets/sub/Texture/Pop/setup.png


+ 0 - 0
assets/Texture/Pop/setup.png.meta → assets/sub/Texture/Pop/setup.png.meta


+ 0 - 0
assets/Texture/Pop/yes button.png → assets/sub/Texture/Pop/yes button.png


+ 0 - 0
assets/Texture/Pop/yes button.png.meta → assets/sub/Texture/Pop/yes button.png.meta


+ 0 - 0
assets/Texture/Pop/开关 关@2x.png → assets/sub/Texture/Pop/开关 关@2x.png


+ 0 - 0
assets/Texture/Pop/开关 关@2x.png.meta → assets/sub/Texture/Pop/开关 关@2x.png.meta


+ 0 - 0
assets/Texture/Pop/开关 开@2x.png → assets/sub/Texture/Pop/开关 开@2x.png


+ 0 - 0
assets/Texture/Pop/开关 开@2x.png.meta → assets/sub/Texture/Pop/开关 开@2x.png.meta


+ 0 - 0
assets/Texture/Prefab.meta → assets/sub/Texture/Prefab.meta


+ 0 - 0
assets/Texture/Prefab/Gold.prefab → assets/sub/Texture/Prefab/Gold.prefab


+ 0 - 0
assets/Texture/Prefab/Gold.prefab.meta → assets/sub/Texture/Prefab/Gold.prefab.meta


+ 0 - 0
assets/Texture/Shop.meta → assets/sub/Texture/Shop.meta


+ 0 - 0
assets/Texture/Shop/Character background frame not purchased.png → assets/sub/Texture/Shop/Character background frame not purchased.png


+ 0 - 0
assets/Texture/Shop/Character background frame not purchased.png.meta → assets/sub/Texture/Shop/Character background frame not purchased.png.meta


+ 0 - 0
assets/Texture/Shop/Character background.png → assets/sub/Texture/Shop/Character background.png


+ 0 - 0
assets/Texture/Shop/Character background.png.meta → assets/sub/Texture/Shop/Character background.png.meta


+ 0 - 0
assets/Texture/Shop/Character introduction.png → assets/sub/Texture/Shop/Character introduction.png


+ 0 - 0
assets/Texture/Shop/Character introduction.png.meta → assets/sub/Texture/Shop/Character introduction.png.meta


+ 0 - 0
assets/Texture/Shop/Exit button.png → assets/sub/Texture/Shop/Exit button.png


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác