0224995 2 meses atrás
pai
commit
9b93a151c1

+ 9 - 0
assets/Animation.meta

@@ -0,0 +1,9 @@
+{
+  "ver": "1.2.0",
+  "importer": "directory",
+  "imported": true,
+  "uuid": "2cab2683-1e7d-433a-bd63-0b38027b5dff",
+  "files": [],
+  "subMetas": {},
+  "userData": {}
+}

+ 88 - 0
assets/Animation/carrotIdle.anim

@@ -0,0 +1,88 @@
+[
+  {
+    "__type__": "cc.AnimationClip",
+    "_name": "carrotIdle",
+    "_objFlags": 0,
+    "__editorExtras__": {
+      "embeddedPlayerGroups": []
+    },
+    "_native": "",
+    "sample": 30,
+    "speed": 1,
+    "wrapMode": 2,
+    "enableTrsBlending": false,
+    "_duration": 1.0333333333333334,
+    "_hash": 500763545,
+    "_tracks": [
+      {
+        "__id__": 1
+      }
+    ],
+    "_exoticAnimation": null,
+    "_events": [],
+    "_embeddedPlayers": [],
+    "_additiveSettings": {
+      "__id__": 6
+    },
+    "_auxiliaryCurveEntries": []
+  },
+  {
+    "__type__": "cc.animation.ObjectTrack",
+    "_binding": {
+      "__type__": "cc.animation.TrackBinding",
+      "path": {
+        "__id__": 2
+      },
+      "proxy": null
+    },
+    "_channel": {
+      "__id__": 4
+    }
+  },
+  {
+    "__type__": "cc.animation.TrackPath",
+    "_paths": [
+      {
+        "__id__": 3
+      },
+      "spriteFrame"
+    ]
+  },
+  {
+    "__type__": "cc.animation.ComponentPath",
+    "component": "cc.Sprite"
+  },
+  {
+    "__type__": "cc.animation.Channel",
+    "_curve": {
+      "__id__": 5
+    }
+  },
+  {
+    "__type__": "cc.ObjectCurve",
+    "_times": [
+      0.06666666666666667,
+      0.5,
+      1
+    ],
+    "_values": [
+      {
+        "__uuid__": "ac0aae0f-3272-4440-acb2-8aad28c0022f@2b0fc",
+        "__expectedType__": "cc.SpriteFrame"
+      },
+      {
+        "__uuid__": "ac0aae0f-3272-4440-acb2-8aad28c0022f@6d99d",
+        "__expectedType__": "cc.SpriteFrame"
+      },
+      {
+        "__uuid__": "ac0aae0f-3272-4440-acb2-8aad28c0022f@da4b8",
+        "__expectedType__": "cc.SpriteFrame"
+      }
+    ]
+  },
+  {
+    "__type__": "cc.AnimationClipAdditiveSettings",
+    "enabled": false,
+    "refClip": null
+  }
+]

+ 13 - 0
assets/Animation/carrotIdle.anim.meta

@@ -0,0 +1,13 @@
+{
+  "ver": "2.0.3",
+  "importer": "animation-clip",
+  "imported": true,
+  "uuid": "010dcff4-5966-4fb4-ade0-64b294461cba",
+  "files": [
+    ".cconb"
+  ],
+  "subMetas": {},
+  "userData": {
+    "name": "carrotIdle"
+  }
+}

+ 113 - 0
assets/Animation/carrotInjured.anim

@@ -0,0 +1,113 @@
+[
+  {
+    "__type__": "cc.AnimationClip",
+    "_name": "carrotInjured",
+    "_objFlags": 0,
+    "__editorExtras__": {
+      "embeddedPlayerGroups": []
+    },
+    "_native": "",
+    "sample": 60,
+    "speed": 0.5,
+    "wrapMode": 1,
+    "enableTrsBlending": false,
+    "_duration": 1.1833333333333333,
+    "_hash": 500763545,
+    "_tracks": [
+      {
+        "__id__": 1
+      }
+    ],
+    "_exoticAnimation": null,
+    "_events": [],
+    "_embeddedPlayers": [],
+    "_additiveSettings": {
+      "__id__": 6
+    },
+    "_auxiliaryCurveEntries": []
+  },
+  {
+    "__type__": "cc.animation.ObjectTrack",
+    "_binding": {
+      "__type__": "cc.animation.TrackBinding",
+      "path": {
+        "__id__": 2
+      },
+      "proxy": null
+    },
+    "_channel": {
+      "__id__": 4
+    }
+  },
+  {
+    "__type__": "cc.animation.TrackPath",
+    "_paths": [
+      {
+        "__id__": 3
+      },
+      "spriteFrame"
+    ]
+  },
+  {
+    "__type__": "cc.animation.ComponentPath",
+    "component": "cc.Sprite"
+  },
+  {
+    "__type__": "cc.animation.Channel",
+    "_curve": {
+      "__id__": 5
+    }
+  },
+  {
+    "__type__": "cc.ObjectCurve",
+    "_times": [
+      0,
+      0.16666666666666666,
+      0.3333333333333333,
+      0.5,
+      0.6666666666666666,
+      0.8333333333333334,
+      1,
+      1.1666666666666667
+    ],
+    "_values": [
+      {
+        "__uuid__": "ac0aae0f-3272-4440-acb2-8aad28c0022f@f8dab",
+        "__expectedType__": "cc.SpriteFrame"
+      },
+      {
+        "__uuid__": "ac0aae0f-3272-4440-acb2-8aad28c0022f@7341a",
+        "__expectedType__": "cc.SpriteFrame"
+      },
+      {
+        "__uuid__": "ac0aae0f-3272-4440-acb2-8aad28c0022f@b699d",
+        "__expectedType__": "cc.SpriteFrame"
+      },
+      {
+        "__uuid__": "ac0aae0f-3272-4440-acb2-8aad28c0022f@12325",
+        "__expectedType__": "cc.SpriteFrame"
+      },
+      {
+        "__uuid__": "ac0aae0f-3272-4440-acb2-8aad28c0022f@b105d",
+        "__expectedType__": "cc.SpriteFrame"
+      },
+      {
+        "__uuid__": "ac0aae0f-3272-4440-acb2-8aad28c0022f@0c5df",
+        "__expectedType__": "cc.SpriteFrame"
+      },
+      {
+        "__uuid__": "ac0aae0f-3272-4440-acb2-8aad28c0022f@b3243",
+        "__expectedType__": "cc.SpriteFrame"
+      },
+      {
+        "__uuid__": "ac0aae0f-3272-4440-acb2-8aad28c0022f@5ac58",
+        "__expectedType__": "cc.SpriteFrame"
+      }
+    ]
+  },
+  {
+    "__type__": "cc.AnimationClipAdditiveSettings",
+    "enabled": false,
+    "refClip": null
+  }
+]

+ 13 - 0
assets/Animation/carrotInjured.anim.meta

@@ -0,0 +1,13 @@
+{
+  "ver": "2.0.3",
+  "importer": "animation-clip",
+  "imported": true,
+  "uuid": "85ab6ce2-d1f3-4bd7-9a05-ffd82d67b207",
+  "files": [
+    ".cconb"
+  ],
+  "subMetas": {},
+  "userData": {
+    "name": "carrotInjured"
+  }
+}

+ 113 - 0
assets/Animation/carrotTension.anim

@@ -0,0 +1,113 @@
+[
+  {
+    "__type__": "cc.AnimationClip",
+    "_name": "carrotTension",
+    "_objFlags": 0,
+    "__editorExtras__": {
+      "embeddedPlayerGroups": []
+    },
+    "_native": "",
+    "sample": 60,
+    "speed": 1,
+    "wrapMode": 2,
+    "enableTrsBlending": false,
+    "_duration": 1.4166666666666667,
+    "_hash": 500763545,
+    "_tracks": [
+      {
+        "__id__": 1
+      }
+    ],
+    "_exoticAnimation": null,
+    "_events": [],
+    "_embeddedPlayers": [],
+    "_additiveSettings": {
+      "__id__": 6
+    },
+    "_auxiliaryCurveEntries": []
+  },
+  {
+    "__type__": "cc.animation.ObjectTrack",
+    "_binding": {
+      "__type__": "cc.animation.TrackBinding",
+      "path": {
+        "__id__": 2
+      },
+      "proxy": null
+    },
+    "_channel": {
+      "__id__": 4
+    }
+  },
+  {
+    "__type__": "cc.animation.TrackPath",
+    "_paths": [
+      {
+        "__id__": 3
+      },
+      "spriteFrame"
+    ]
+  },
+  {
+    "__type__": "cc.animation.ComponentPath",
+    "component": "cc.Sprite"
+  },
+  {
+    "__type__": "cc.animation.Channel",
+    "_curve": {
+      "__id__": 5
+    }
+  },
+  {
+    "__type__": "cc.ObjectCurve",
+    "_times": [
+      0,
+      0.2,
+      0.4166666666666667,
+      0.6,
+      0.8,
+      1,
+      1.2,
+      1.4
+    ],
+    "_values": [
+      {
+        "__uuid__": "ac0aae0f-3272-4440-acb2-8aad28c0022f@a9b23",
+        "__expectedType__": "cc.SpriteFrame"
+      },
+      {
+        "__uuid__": "ac0aae0f-3272-4440-acb2-8aad28c0022f@ff24c",
+        "__expectedType__": "cc.SpriteFrame"
+      },
+      {
+        "__uuid__": "ac0aae0f-3272-4440-acb2-8aad28c0022f@bad3c",
+        "__expectedType__": "cc.SpriteFrame"
+      },
+      {
+        "__uuid__": "ac0aae0f-3272-4440-acb2-8aad28c0022f@059a2",
+        "__expectedType__": "cc.SpriteFrame"
+      },
+      {
+        "__uuid__": "ac0aae0f-3272-4440-acb2-8aad28c0022f@74a23",
+        "__expectedType__": "cc.SpriteFrame"
+      },
+      {
+        "__uuid__": "ac0aae0f-3272-4440-acb2-8aad28c0022f@60284",
+        "__expectedType__": "cc.SpriteFrame"
+      },
+      {
+        "__uuid__": "ac0aae0f-3272-4440-acb2-8aad28c0022f@42f10",
+        "__expectedType__": "cc.SpriteFrame"
+      },
+      {
+        "__uuid__": "ac0aae0f-3272-4440-acb2-8aad28c0022f@265d1",
+        "__expectedType__": "cc.SpriteFrame"
+      }
+    ]
+  },
+  {
+    "__type__": "cc.AnimationClipAdditiveSettings",
+    "enabled": false,
+    "refClip": null
+  }
+]

+ 13 - 0
assets/Animation/carrotTension.anim.meta

@@ -0,0 +1,13 @@
+{
+  "ver": "2.0.3",
+  "importer": "animation-clip",
+  "imported": true,
+  "uuid": "a62882fb-901e-46c6-919e-e8ebf53ed8cf",
+  "files": [
+    ".cconb"
+  ],
+  "subMetas": {},
+  "userData": {
+    "name": "carrotTension"
+  }
+}

+ 51 - 20
assets/Prefab/CountDown.prefab

@@ -26,10 +26,13 @@
     "_components": [
       {
         "__id__": 20
+      },
+      {
+        "__id__": 22
       }
     ],
     "_prefab": {
-      "__id__": 22
+      "__id__": 24
     },
     "_lpos": {
       "__type__": "cc.Vec3",
@@ -51,7 +54,7 @@
       "z": 1
     },
     "_mobility": 0,
-    "_layer": 1073741824,
+    "_layer": 33554432,
     "_euler": {
       "__type__": "cc.Vec3",
       "x": 0,
@@ -108,7 +111,7 @@
       "z": 1
     },
     "_mobility": 0,
-    "_layer": 1073741824,
+    "_layer": 33554432,
     "_euler": {
       "__type__": "cc.Vec3",
       "x": 0,
@@ -140,8 +143,8 @@
     },
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": 0.082,
-      "y": 2.2,
+      "x": 0.828,
+      "y": 2.608,
       "z": 0
     },
     "_lrot": {
@@ -158,7 +161,7 @@
       "z": 1
     },
     "_mobility": 0,
-    "_layer": 1073741824,
+    "_layer": 33554432,
     "_euler": {
       "__type__": "cc.Vec3",
       "x": 0,
@@ -186,14 +189,14 @@
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
-      "x": 0.82,
+      "x": 0.83,
       "y": 0.55
     },
     "_id": ""
   },
   {
     "__type__": "cc.CompPrefabInfo",
-    "fileId": "52+2Gr9xhAhYa+oYTD5+LB"
+    "fileId": "34lZjTdwlCYKCXAXCgYnTl"
   },
   {
     "__type__": "cc.Sprite",
@@ -238,7 +241,7 @@
   },
   {
     "__type__": "cc.CompPrefabInfo",
-    "fileId": "425PbnFkBLqJiGD553oHfT"
+    "fileId": "a9KyKKKCNKCqWG3hAvLEE5"
   },
   {
     "__type__": "cc.PrefabInfo",
@@ -248,7 +251,7 @@
     "asset": {
       "__id__": 0
     },
-    "fileId": "a1qsLtGlFDMKBFJ5ymnnKZ",
+    "fileId": "46+Nu0wJdGo5nG/o+o0oiQ",
     "instance": null,
     "targetOverrides": null,
     "nestedPrefabInstanceRoots": null
@@ -294,7 +297,7 @@
       "z": 1
     },
     "_mobility": 0,
-    "_layer": 1073741824,
+    "_layer": 33554432,
     "_euler": {
       "__type__": "cc.Vec3",
       "x": 0,
@@ -329,7 +332,7 @@
   },
   {
     "__type__": "cc.CompPrefabInfo",
-    "fileId": "bdKZk28M9BmamlqD36mLTh"
+    "fileId": "e5qUANjG5NaKk9b6iObbRf"
   },
   {
     "__type__": "cc.Sprite",
@@ -374,7 +377,7 @@
   },
   {
     "__type__": "cc.CompPrefabInfo",
-    "fileId": "168sQBm7tCpbwppdCmw/GR"
+    "fileId": "3bHMxX2wlD95AioUwi2Bpu"
   },
   {
     "__type__": "cc.PrefabInfo",
@@ -384,7 +387,7 @@
     "asset": {
       "__id__": 0
     },
-    "fileId": "78EWHQ1mFPNI1sEjJUUeqn",
+    "fileId": "bcSAaU4lpK0Luu82Iu5oHB",
     "instance": null,
     "targetOverrides": null,
     "nestedPrefabInstanceRoots": null
@@ -415,7 +418,7 @@
   },
   {
     "__type__": "cc.CompPrefabInfo",
-    "fileId": "ccsfKVBSNEioxBoeNEssYJ"
+    "fileId": "f6brFqIUNAP5A+nC2G8NgM"
   },
   {
     "__type__": "cc.Sprite",
@@ -460,7 +463,7 @@
   },
   {
     "__type__": "cc.CompPrefabInfo",
-    "fileId": "8fkdyzrG5El4aH9FfGTJFW"
+    "fileId": "92P1jd/sdLvYtZyDQU3ZSk"
   },
   {
     "__type__": "cc.PrefabInfo",
@@ -470,13 +473,13 @@
     "asset": {
       "__id__": 0
     },
-    "fileId": "f91e0DQMND6IV+/BwdJCmi",
+    "fileId": "40xXzTexNLvZvlF2esrRO/",
     "instance": null,
     "targetOverrides": null,
     "nestedPrefabInstanceRoots": null
   },
   {
-    "__type__": "692a1l28AhLbbFvcp62IBPj",
+    "__type__": "cc.UITransform",
     "_name": "",
     "_objFlags": 0,
     "__editorExtras__": {},
@@ -487,6 +490,34 @@
     "__prefab": {
       "__id__": 21
     },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 100,
+      "height": 100
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "cfkqiRDKtA9KaMRZi8kz+C"
+  },
+  {
+    "__type__": "692a1l28AhLbbFvcp62IBPj",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 1
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 23
+    },
     "countdown_12": {
       "__id__": 3
     },
@@ -512,7 +543,7 @@
   },
   {
     "__type__": "cc.CompPrefabInfo",
-    "fileId": "50SmnIdOhPo5d5egac+xxh"
+    "fileId": "17NiHHNTtCZ5OlX6EofRXn"
   },
   {
     "__type__": "cc.PrefabInfo",
@@ -522,7 +553,7 @@
     "asset": {
       "__id__": 0
     },
-    "fileId": "6fIK62bKBEqpgkmsIteq70",
+    "fileId": "d3nv0hGx1GfonfdcNTKtLz",
     "targetOverrides": null
   }
 ]

+ 1 - 1
assets/Prefab/CountDown.prefab.meta

@@ -2,7 +2,7 @@
   "ver": "1.1.50",
   "importer": "prefab",
   "imported": true,
-  "uuid": "7e8bd4ec-9799-4c1a-a581-99ea0db4895b",
+  "uuid": "059f4316-e815-4e7f-af18-fc104ce3f1f5",
   "files": [
     ".json"
   ],

+ 23 - 1
assets/Prefab/menu_bg.prefab

@@ -41,10 +41,13 @@
       },
       {
         "__id__": 41
+      },
+      {
+        "__id__": 43
       }
     ],
     "_prefab": {
-      "__id__": 43
+      "__id__": 45
     },
     "_lpos": {
       "__type__": "cc.Vec3",
@@ -1020,6 +1023,24 @@
     "__type__": "cc.CompPrefabInfo",
     "fileId": "73eDQXrJpPiqE5Mt89C+vJ"
   },
+  {
+    "__type__": "cc.BlockInputEvents",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 1
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 44
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "28njRioG9DhaTRMn/rW7vA"
+  },
   {
     "__type__": "cc.PrefabInfo",
     "root": {
@@ -1029,6 +1050,7 @@
       "__id__": 0
     },
     "fileId": "73BYTrghJNeYU6Eu80L/+V",
+    "instance": null,
     "targetOverrides": null
   }
 ]

+ 1335 - 363
assets/Scene/MainScene.scene

@@ -23,7 +23,7 @@
     "_active": true,
     "_components": [],
     "_prefab": {
-      "__id__": 54
+      "__id__": 74
     },
     "_lpos": {
       "__type__": "cc.Vec3",
@@ -54,7 +54,7 @@
     },
     "autoReleaseAssets": false,
     "_globals": {
-      "__id__": 55
+      "__id__": 75
     },
     "_id": "c72c6c69-975b-4f6b-a208-9d0dcde54d79"
   },
@@ -80,22 +80,25 @@
         "__id__": 11
       },
       {
-        "__id__": 20
+        "__id__": 17
       },
       {
-        "__id__": 29
+        "__id__": 66
       }
     ],
     "_active": true,
     "_components": [
       {
-        "__id__": 51
+        "__id__": 70
       },
       {
-        "__id__": 52
+        "__id__": 71
       },
       {
-        "__id__": 53
+        "__id__": 72
+      },
+      {
+        "__id__": 73
       }
     ],
     "_prefab": null,
@@ -437,130 +440,6 @@
     "_atlas": null,
     "_id": "43vpgn24pFVbb6v7SuW6Qa"
   },
-  {
-    "__type__": "cc.Node",
-    "_objFlags": 0,
-    "_parent": {
-      "__id__": 2
-    },
-    "_prefab": {
-      "__id__": 12
-    },
-    "__editorExtras__": {}
-  },
-  {
-    "__type__": "cc.PrefabInfo",
-    "root": {
-      "__id__": 11
-    },
-    "asset": {
-      "__uuid__": "7e8bd4ec-9799-4c1a-a581-99ea0db4895b",
-      "__expectedType__": "cc.Prefab"
-    },
-    "fileId": "6fIK62bKBEqpgkmsIteq70",
-    "instance": {
-      "__id__": 13
-    },
-    "targetOverrides": null,
-    "nestedPrefabInstanceRoots": null
-  },
-  {
-    "__type__": "cc.PrefabInstance",
-    "fileId": "de5JJbD/xFa55kK/MjDERb",
-    "prefabRootNode": null,
-    "mountedChildren": [],
-    "mountedComponents": [],
-    "propertyOverrides": [
-      {
-        "__id__": 14
-      },
-      {
-        "__id__": 16
-      },
-      {
-        "__id__": 17
-      },
-      {
-        "__id__": 18
-      },
-      {
-        "__id__": 19
-      }
-    ],
-    "removedComponents": []
-  },
-  {
-    "__type__": "CCPropertyOverrideInfo",
-    "targetInfo": {
-      "__id__": 15
-    },
-    "propertyPath": [
-      "_name"
-    ],
-    "value": "CountDown"
-  },
-  {
-    "__type__": "cc.TargetInfo",
-    "localID": [
-      "6fIK62bKBEqpgkmsIteq70"
-    ]
-  },
-  {
-    "__type__": "CCPropertyOverrideInfo",
-    "targetInfo": {
-      "__id__": 15
-    },
-    "propertyPath": [
-      "_lpos"
-    ],
-    "value": {
-      "__type__": "cc.Vec3",
-      "x": 0,
-      "y": 0,
-      "z": 0
-    }
-  },
-  {
-    "__type__": "CCPropertyOverrideInfo",
-    "targetInfo": {
-      "__id__": 15
-    },
-    "propertyPath": [
-      "_lrot"
-    ],
-    "value": {
-      "__type__": "cc.Quat",
-      "x": 0,
-      "y": 0,
-      "z": 0,
-      "w": 1
-    }
-  },
-  {
-    "__type__": "CCPropertyOverrideInfo",
-    "targetInfo": {
-      "__id__": 15
-    },
-    "propertyPath": [
-      "_euler"
-    ],
-    "value": {
-      "__type__": "cc.Vec3",
-      "x": 0,
-      "y": 0,
-      "z": 0
-    }
-  },
-  {
-    "__type__": "CCPropertyOverrideInfo",
-    "targetInfo": {
-      "__id__": 15
-    },
-    "propertyPath": [
-      "_active"
-    ],
-    "value": false
-  },
   {
     "__type__": "cc.Node",
     "_name": "TiledMap",
@@ -571,19 +450,16 @@
     },
     "_children": [
       {
-        "__id__": 21
-      },
-      {
-        "__id__": 24
+        "__id__": 12
       }
     ],
     "_active": true,
     "_components": [
       {
-        "__id__": 27
+        "__id__": 15
       },
       {
-        "__id__": 28
+        "__id__": 16
       }
     ],
     "_prefab": null,
@@ -622,16 +498,16 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "_parent": {
-      "__id__": 20
+      "__id__": 11
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 22
+        "__id__": 13
       },
       {
-        "__id__": 23
+        "__id__": 14
       }
     ],
     "_prefab": null,
@@ -670,7 +546,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 21
+      "__id__": 12
     },
     "_enabled": true,
     "__prefab": null,
@@ -692,128 +568,19 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 21
+      "__id__": 12
     },
     "_enabled": true,
     "__prefab": null,
     "_id": "52Qw2KI+5FWZFNIXgXqh8D"
   },
-  {
-    "__type__": "cc.Node",
-    "_name": "hlb4",
-    "_objFlags": 0,
-    "__editorExtras__": {},
-    "_parent": {
-      "__id__": 20
-    },
-    "_children": [],
-    "_active": true,
-    "_components": [
-      {
-        "__id__": 25
-      },
-      {
-        "__id__": 26
-      }
-    ],
-    "_prefab": null,
-    "_lpos": {
-      "__type__": "cc.Vec3",
-      "x": 376.259,
-      "y": 178.907,
-      "z": 0
-    },
-    "_lrot": {
-      "__type__": "cc.Quat",
-      "x": 0,
-      "y": 0,
-      "z": 0,
-      "w": 1
-    },
-    "_lscale": {
-      "__type__": "cc.Vec3",
-      "x": 1,
-      "y": 1,
-      "z": 1
-    },
-    "_mobility": 0,
-    "_layer": 33554432,
-    "_euler": {
-      "__type__": "cc.Vec3",
-      "x": 0,
-      "y": 0,
-      "z": 0
-    },
-    "_id": "9dTkRv3hBKmr42EQACrf8I"
-  },
-  {
-    "__type__": "cc.UITransform",
-    "_name": "",
-    "_objFlags": 0,
-    "__editorExtras__": {},
-    "node": {
-      "__id__": 24
-    },
-    "_enabled": true,
-    "__prefab": null,
-    "_contentSize": {
-      "__type__": "cc.Size",
-      "width": 77,
-      "height": 106
-    },
-    "_anchorPoint": {
-      "__type__": "cc.Vec2",
-      "x": 0.5,
-      "y": 0.5
-    },
-    "_id": "b9bFG+NG9M55I5ftbFQ71w"
-  },
-  {
-    "__type__": "cc.Sprite",
-    "_name": "",
-    "_objFlags": 0,
-    "__editorExtras__": {},
-    "node": {
-      "__id__": 24
-    },
-    "_enabled": true,
-    "__prefab": null,
-    "_customMaterial": null,
-    "_srcBlendFactor": 2,
-    "_dstBlendFactor": 4,
-    "_color": {
-      "__type__": "cc.Color",
-      "r": 255,
-      "g": 255,
-      "b": 255,
-      "a": 255
-    },
-    "_spriteFrame": {
-      "__uuid__": "ac0aae0f-3272-4440-acb2-8aad28c0022f@b105d",
-      "__expectedType__": "cc.SpriteFrame"
-    },
-    "_type": 0,
-    "_fillType": 0,
-    "_sizeMode": 1,
-    "_fillCenter": {
-      "__type__": "cc.Vec2",
-      "x": 0,
-      "y": 0
-    },
-    "_fillStart": 0,
-    "_fillRange": 0,
-    "_isTrimmedMode": true,
-    "_useGrayscale": false,
-    "_atlas": null,
-    "_id": "caItj/GvBGV7XjLYqwqWAs"
-  },
   {
     "__type__": "cc.UITransform",
     "_name": "",
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 20
+      "__id__": 11
     },
     "_enabled": true,
     "__prefab": null,
@@ -835,7 +602,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 20
+      "__id__": 11
     },
     "_enabled": true,
     "__prefab": null,
@@ -857,25 +624,28 @@
     },
     "_children": [
       {
-        "__id__": 30
+        "__id__": 18
       },
       {
-        "__id__": 33
+        "__id__": 21
       },
       {
-        "__id__": 36
+        "__id__": 24
       },
       {
-        "__id__": 40
+        "__id__": 29
       },
       {
-        "__id__": 45
+        "__id__": 34
+      },
+      {
+        "__id__": 39
       }
     ],
     "_active": true,
     "_components": [
       {
-        "__id__": 50
+        "__id__": 65
       }
     ],
     "_prefab": null,
@@ -914,16 +684,16 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "_parent": {
-      "__id__": 29
+      "__id__": 17
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 31
+        "__id__": 19
       },
       {
-        "__id__": 32
+        "__id__": 20
       }
     ],
     "_prefab": null,
@@ -962,7 +732,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 30
+      "__id__": 18
     },
     "_enabled": true,
     "__prefab": null,
@@ -984,7 +754,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 30
+      "__id__": 18
     },
     "_enabled": true,
     "__prefab": null,
@@ -1023,16 +793,16 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "_parent": {
-      "__id__": 29
+      "__id__": 17
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 34
+        "__id__": 22
       },
       {
-        "__id__": 35
+        "__id__": 23
       }
     ],
     "_prefab": null,
@@ -1071,7 +841,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 33
+      "__id__": 21
     },
     "_enabled": true,
     "__prefab": null,
@@ -1093,7 +863,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 33
+      "__id__": 21
     },
     "_enabled": true,
     "__prefab": null,
@@ -1132,19 +902,19 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "_parent": {
-      "__id__": 29
+      "__id__": 17
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 37
+        "__id__": 25
       },
       {
-        "__id__": 38
+        "__id__": 26
       },
       {
-        "__id__": 39
+        "__id__": 27
       }
     ],
     "_prefab": null,
@@ -1183,7 +953,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 36
+      "__id__": 24
     },
     "_enabled": true,
     "__prefab": null,
@@ -1205,7 +975,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 36
+      "__id__": 24
     },
     "_enabled": true,
     "__prefab": null,
@@ -1244,11 +1014,15 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 36
+      "__id__": 24
     },
     "_enabled": true,
     "__prefab": null,
-    "clickEvents": [],
+    "clickEvents": [
+      {
+        "__id__": 28
+      }
+    ],
     "_interactable": true,
     "_transition": 2,
     "_normalColor": {
@@ -1292,29 +1066,39 @@
     "_duration": 0.1,
     "_zoomScale": 1.2,
     "_target": {
-      "__id__": 36
+      "__id__": 24
     },
     "_id": "6c3/yliSlBXaPBHmzqqCfd"
   },
+  {
+    "__type__": "cc.ClickEvent",
+    "target": {
+      "__id__": 17
+    },
+    "component": "",
+    "_componentId": "fbfafaCmx9I1L+QDG/G50o5",
+    "handler": "onBtnMore",
+    "customEventData": ""
+  },
   {
     "__type__": "cc.Node",
     "_name": "BtnPause",
     "_objFlags": 0,
     "__editorExtras__": {},
     "_parent": {
-      "__id__": 29
+      "__id__": 17
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 41
+        "__id__": 30
       },
       {
-        "__id__": 42
+        "__id__": 31
       },
       {
-        "__id__": 43
+        "__id__": 32
       }
     ],
     "_prefab": null,
@@ -1353,7 +1137,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 40
+      "__id__": 29
     },
     "_enabled": true,
     "__prefab": null,
@@ -1375,7 +1159,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 40
+      "__id__": 29
     },
     "_enabled": true,
     "__prefab": null,
@@ -1414,13 +1198,13 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 40
+      "__id__": 29
     },
     "_enabled": true,
     "__prefab": null,
     "clickEvents": [
       {
-        "__id__": 44
+        "__id__": 33
       }
     ],
     "_interactable": true,
@@ -1466,14 +1250,14 @@
     "_duration": 0.1,
     "_zoomScale": 1.2,
     "_target": {
-      "__id__": 40
+      "__id__": 29
     },
     "_id": "b6XBtfRZNIlZ/DmmsFIcdP"
   },
   {
     "__type__": "cc.ClickEvent",
     "target": {
-      "__id__": 29
+      "__id__": 17
     },
     "component": "",
     "_componentId": "fbfafaCmx9I1L+QDG/G50o5",
@@ -1486,19 +1270,19 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "_parent": {
-      "__id__": 29
+      "__id__": 17
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 46
+        "__id__": 35
       },
       {
-        "__id__": 47
+        "__id__": 36
       },
       {
-        "__id__": 48
+        "__id__": 37
       }
     ],
     "_prefab": null,
@@ -1537,7 +1321,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 45
+      "__id__": 34
     },
     "_enabled": true,
     "__prefab": null,
@@ -1559,7 +1343,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 45
+      "__id__": 34
     },
     "_enabled": true,
     "__prefab": null,
@@ -1598,13 +1382,13 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 45
+      "__id__": 34
     },
     "_enabled": true,
     "__prefab": null,
     "clickEvents": [
       {
-        "__id__": 49
+        "__id__": 38
       }
     ],
     "_interactable": true,
@@ -1650,14 +1434,14 @@
     "_duration": 0.1,
     "_zoomScale": 1.2,
     "_target": {
-      "__id__": 45
+      "__id__": 34
     },
     "_id": "05S3dcU1RBqYQY01oDfm1l"
   },
   {
     "__type__": "cc.ClickEvent",
     "target": {
-      "__id__": 29
+      "__id__": 17
     },
     "component": "",
     "_componentId": "fbfafaCmx9I1L+QDG/G50o5",
@@ -1665,27 +1449,122 @@
     "customEventData": ""
   },
   {
-    "__type__": "fbfafaCmx9I1L+QDG/G50o5",
-    "_name": "",
+    "__type__": "cc.Node",
+    "_name": "Dialog",
     "_objFlags": 0,
     "__editorExtras__": {},
-    "node": {
-      "__id__": 29
+    "_parent": {
+      "__id__": 17
     },
-    "_enabled": true,
-    "__prefab": null,
-    "btnSpeed": {
-      "__id__": 48
+    "_children": [
+      {
+        "__id__": 40
+      },
+      {
+        "__id__": 44
+      },
+      {
+        "__id__": 47
+      },
+      {
+        "__id__": 51
+      },
+      {
+        "__id__": 55
+      },
+      {
+        "__id__": 59
+      }
+    ],
+    "_active": false,
+    "_components": [
+      {
+        "__id__": 63
+      },
+      {
+        "__id__": 64
+      }
+    ],
+    "_prefab": null,
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
     },
-    "imgSpeed_1": {
-      "__uuid__": "e104c27b-9803-4bed-bb01-f58171e15ac9@326b4",
-      "__expectedType__": "cc.SpriteFrame"
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
     },
-    "imgSpeed_2": {
-      "__uuid__": "e104c27b-9803-4bed-bb01-f58171e15ac9@6821f",
-      "__expectedType__": "cc.SpriteFrame"
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
     },
-    "_id": "64xmf2GdFAQI65oik8nSLs"
+    "_mobility": 0,
+    "_layer": 1073741824,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": "73N0CtWnNEn64SLyc61v0M"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "BgOpacity",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": {
+      "__id__": 39
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 41
+      },
+      {
+        "__id__": 42
+      },
+      {
+        "__id__": 43
+      }
+    ],
+    "_prefab": null,
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_mobility": 0,
+    "_layer": 1073741824,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": "adkujICQZEq51jm6KQFEJO"
   },
   {
     "__type__": "cc.UITransform",
@@ -1693,7 +1572,7 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 2
+      "__id__": 40
     },
     "_enabled": true,
     "__prefab": null,
@@ -1707,92 +1586,1185 @@
       "x": 0.5,
       "y": 0.5
     },
-    "_id": "d6rUX5yfhMlKoWX2bSbawx"
+    "_id": "e1SYB1/PhOvpvipG1+GIqk"
   },
   {
-    "__type__": "cc.Canvas",
+    "__type__": "cc.Sprite",
     "_name": "",
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 2
+      "__id__": 40
     },
     "_enabled": true,
     "__prefab": null,
-    "_cameraComponent": {
-      "__id__": 4
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 14,
+      "g": 13,
+      "b": 13,
+      "a": 255
     },
-    "_alignCanvasWithScreen": true,
-    "_id": "12O/ljcVlEqLmVm3U2gEOQ"
+    "_spriteFrame": {
+      "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "_type": 0,
+    "_fillType": 0,
+    "_sizeMode": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_useGrayscale": false,
+    "_atlas": null,
+    "_id": "8cHY0PqG1CTZL0RZUgzID6"
   },
   {
-    "__type__": "cc.Widget",
+    "__type__": "cc.UIOpacity",
     "_name": "",
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 2
+      "__id__": 40
     },
     "_enabled": true,
     "__prefab": null,
-    "_alignFlags": 45,
-    "_target": null,
-    "_left": 0,
-    "_right": 0,
-    "_top": 5.684341886080802e-14,
-    "_bottom": 5.684341886080802e-14,
-    "_horizontalCenter": 0,
-    "_verticalCenter": 0,
-    "_isAbsLeft": true,
-    "_isAbsRight": true,
-    "_isAbsTop": true,
-    "_isAbsBottom": true,
-    "_isAbsHorizontalCenter": true,
-    "_isAbsVerticalCenter": true,
-    "_originalWidth": 0,
-    "_originalHeight": 0,
-    "_alignMode": 2,
-    "_lockFlags": 0,
-    "_id": "c5V1EV8IpMtrIvY1OE9t2u"
+    "_opacity": 125,
+    "_id": "11GxmaMnBAgqaKqcL5mqM4"
   },
   {
-    "__type__": "cc.PrefabInfo",
-    "root": null,
-    "asset": null,
-    "fileId": "c72c6c69-975b-4f6b-a208-9d0dcde54d79",
-    "instance": null,
-    "targetOverrides": null,
-    "nestedPrefabInstanceRoots": [
+    "__type__": "cc.Node",
+    "_name": "menu_bg",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": {
+      "__id__": 39
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
       {
-        "__id__": 11
+        "__id__": 45
+      },
+      {
+        "__id__": 46
       }
-    ]
+    ],
+    "_prefab": null,
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_mobility": 0,
+    "_layer": 1073741824,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": "e4QT3K2hFOUp7eXDJ2tbe7"
   },
   {
-    "__type__": "cc.SceneGlobals",
-    "ambient": {
-      "__id__": 56
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 44
     },
-    "shadows": {
-      "__id__": 57
+    "_enabled": true,
+    "__prefab": null,
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 442,
+      "height": 338
     },
-    "_skybox": {
-      "__id__": 58
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": "480QbSpqBOVY67Qgw6P1KA"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 44
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_spriteFrame": {
+      "__uuid__": "c2000706-b131-4e95-a5d7-013d9a24d8a4@1d9ad",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "_type": 0,
+    "_fillType": 0,
+    "_sizeMode": 1,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_useGrayscale": false,
+    "_atlas": null,
+    "_id": "8cF79bYi1EfJnZaO8epl5K"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "BtnResume",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": {
+      "__id__": 39
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 48
+      },
+      {
+        "__id__": 49
+      },
+      {
+        "__id__": 50
+      }
+    ],
+    "_prefab": null,
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": -13.379,
+      "y": 102.083,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 2.5,
+      "y": 2,
+      "z": 1
+    },
+    "_mobility": 0,
+    "_layer": 1073741824,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": "f7SG+TZihH1pbXV/POZ6Ix"
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 47
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 100,
+      "height": 40
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": "3acEkWPahGQ5gQLeZZAgTR"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 47
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_spriteFrame": {
+      "__uuid__": "c2000706-b131-4e95-a5d7-013d9a24d8a4@134a3",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "_type": 1,
+    "_fillType": 0,
+    "_sizeMode": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_useGrayscale": false,
+    "_atlas": null,
+    "_id": "76tVG6KIVNYoeVMgRvOW/F"
+  },
+  {
+    "__type__": "cc.Button",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 47
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "clickEvents": [],
+    "_interactable": true,
+    "_transition": 2,
+    "_normalColor": {
+      "__type__": "cc.Color",
+      "r": 214,
+      "g": 214,
+      "b": 214,
+      "a": 255
+    },
+    "_hoverColor": {
+      "__type__": "cc.Color",
+      "r": 211,
+      "g": 211,
+      "b": 211,
+      "a": 255
+    },
+    "_pressedColor": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_disabledColor": {
+      "__type__": "cc.Color",
+      "r": 124,
+      "g": 124,
+      "b": 124,
+      "a": 255
+    },
+    "_normalSprite": {
+      "__uuid__": "c2000706-b131-4e95-a5d7-013d9a24d8a4@134a3",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "_hoverSprite": null,
+    "_pressedSprite": {
+      "__uuid__": "c2000706-b131-4e95-a5d7-013d9a24d8a4@b347e",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "_disabledSprite": null,
+    "_duration": 0.1,
+    "_zoomScale": 1.2,
+    "_target": {
+      "__id__": 47
+    },
+    "_id": "75lHkwfNxGIZyWrP0AcoEP"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "BtnRestart",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": {
+      "__id__": 39
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 52
+      },
+      {
+        "__id__": 53
+      },
+      {
+        "__id__": 54
+      }
+    ],
+    "_prefab": null,
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": -13.513,
+      "y": 8,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 2.5,
+      "y": 2,
+      "z": 1
+    },
+    "_mobility": 0,
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": "8413SMA6hDHaNG2xST4oCH"
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 51
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 100,
+      "height": 40
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": "7cWadIte9BjouAkvRKvEbh"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 51
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_spriteFrame": {
+      "__uuid__": "c2000706-b131-4e95-a5d7-013d9a24d8a4@c7ebf",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "_type": 1,
+    "_fillType": 0,
+    "_sizeMode": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_useGrayscale": false,
+    "_atlas": null,
+    "_id": "8e26uVsutDJJUFEB8GpzQg"
+  },
+  {
+    "__type__": "cc.Button",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 51
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "clickEvents": [],
+    "_interactable": true,
+    "_transition": 2,
+    "_normalColor": {
+      "__type__": "cc.Color",
+      "r": 214,
+      "g": 214,
+      "b": 214,
+      "a": 255
+    },
+    "_hoverColor": {
+      "__type__": "cc.Color",
+      "r": 211,
+      "g": 211,
+      "b": 211,
+      "a": 255
+    },
+    "_pressedColor": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_disabledColor": {
+      "__type__": "cc.Color",
+      "r": 124,
+      "g": 124,
+      "b": 124,
+      "a": 255
+    },
+    "_normalSprite": {
+      "__uuid__": "c2000706-b131-4e95-a5d7-013d9a24d8a4@c7ebf",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "_hoverSprite": null,
+    "_pressedSprite": {
+      "__uuid__": "c2000706-b131-4e95-a5d7-013d9a24d8a4@d35b9",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "_disabledSprite": null,
+    "_duration": 0.1,
+    "_zoomScale": 1.2,
+    "_target": {
+      "__id__": 51
+    },
+    "_id": "cf2F8+4R1PK75H3j9L3g4U"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "BtnSelect",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": {
+      "__id__": 39
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 56
+      },
+      {
+        "__id__": 57
+      },
+      {
+        "__id__": 58
+      }
+    ],
+    "_prefab": null,
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": -12.77,
+      "y": -86.595,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 2.5,
+      "y": 2,
+      "z": 1
+    },
+    "_mobility": 0,
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": "9azg9B2fBHFotgSQ6fXWwS"
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 55
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 100,
+      "height": 40
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": "34Q2Ms6cRJDb9GnPznOcr6"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 55
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_spriteFrame": {
+      "__uuid__": "c2000706-b131-4e95-a5d7-013d9a24d8a4@f501c",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "_type": 1,
+    "_fillType": 0,
+    "_sizeMode": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_useGrayscale": false,
+    "_atlas": null,
+    "_id": "daEWsW/tVMM7nZoRjjVzD9"
+  },
+  {
+    "__type__": "cc.Button",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 55
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "clickEvents": [],
+    "_interactable": true,
+    "_transition": 2,
+    "_normalColor": {
+      "__type__": "cc.Color",
+      "r": 214,
+      "g": 214,
+      "b": 214,
+      "a": 255
+    },
+    "_hoverColor": {
+      "__type__": "cc.Color",
+      "r": 211,
+      "g": 211,
+      "b": 211,
+      "a": 255
+    },
+    "_pressedColor": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_disabledColor": {
+      "__type__": "cc.Color",
+      "r": 124,
+      "g": 124,
+      "b": 124,
+      "a": 255
+    },
+    "_normalSprite": {
+      "__uuid__": "c2000706-b131-4e95-a5d7-013d9a24d8a4@f501c",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "_hoverSprite": null,
+    "_pressedSprite": {
+      "__uuid__": "c2000706-b131-4e95-a5d7-013d9a24d8a4@7c6d3",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "_disabledSprite": null,
+    "_duration": 0.1,
+    "_zoomScale": 1.2,
+    "_target": {
+      "__id__": 55
+    },
+    "_id": "eeDYD2EIpH7r15I+oYxE+9"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "BtnQuit",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": {
+      "__id__": 39
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 60
+      },
+      {
+        "__id__": 61
+      },
+      {
+        "__id__": 62
+      }
+    ],
+    "_prefab": null,
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 134.38800000000003,
+      "y": 163.78500000000003,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_mobility": 0,
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": "12nERo2TZMVJ7YJrD2W8Lh"
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 59
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 50,
+      "height": 50
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": "42yx/8qqFGFLfSsuy0UY2I"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 59
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_spriteFrame": {
+      "__uuid__": "d190c982-4f13-4a3b-889d-bd57aaa6f369@12554",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "_type": 1,
+    "_fillType": 0,
+    "_sizeMode": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_useGrayscale": false,
+    "_atlas": null,
+    "_id": "36GjDdTTRF67a5avsAomCT"
+  },
+  {
+    "__type__": "cc.Button",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 59
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "clickEvents": [],
+    "_interactable": true,
+    "_transition": 2,
+    "_normalColor": {
+      "__type__": "cc.Color",
+      "r": 214,
+      "g": 214,
+      "b": 214,
+      "a": 255
+    },
+    "_hoverColor": {
+      "__type__": "cc.Color",
+      "r": 211,
+      "g": 211,
+      "b": 211,
+      "a": 255
+    },
+    "_pressedColor": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_disabledColor": {
+      "__type__": "cc.Color",
+      "r": 124,
+      "g": 124,
+      "b": 124,
+      "a": 255
+    },
+    "_normalSprite": {
+      "__uuid__": "d190c982-4f13-4a3b-889d-bd57aaa6f369@12554",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "_hoverSprite": null,
+    "_pressedSprite": {
+      "__uuid__": "d190c982-4f13-4a3b-889d-bd57aaa6f369@0d547",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "_disabledSprite": null,
+    "_duration": 0.1,
+    "_zoomScale": 1.2,
+    "_target": {
+      "__id__": 59
+    },
+    "_id": "d7e0iVyPBODbYGW+9MKuFd"
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 39
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 960,
+      "height": 640
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": "c8hh5kRvBLe4qaAg7pylVb"
+  },
+  {
+    "__type__": "cc.BlockInputEvents",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 39
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "_id": "87wPhEFfFJ+q4zcXdi73lT"
+  },
+  {
+    "__type__": "fbfafaCmx9I1L+QDG/G50o5",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 17
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "btnSpeed": {
+      "__id__": 37
+    },
+    "imgSpeed_1": {
+      "__uuid__": "e104c27b-9803-4bed-bb01-f58171e15ac9@326b4",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "imgSpeed_2": {
+      "__uuid__": "e104c27b-9803-4bed-bb01-f58171e15ac9@6821f",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "btnPause": {
+      "__id__": 32
+    },
+    "imgPause_1": {
+      "__uuid__": "e104c27b-9803-4bed-bb01-f58171e15ac9@920e2",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "imgPause_2": {
+      "__uuid__": "e104c27b-9803-4bed-bb01-f58171e15ac9@7d505",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "imgMenuCenter_1": {
+      "__uuid__": "e104c27b-9803-4bed-bb01-f58171e15ac9@6a672",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "imgMenuCenter_2": {
+      "__uuid__": "e104c27b-9803-4bed-bb01-f58171e15ac9@e14db",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "_id": "64xmf2GdFAQI65oik8nSLs"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "hlb21",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": {
+      "__id__": 2
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 67
+      },
+      {
+        "__id__": 68
+      },
+      {
+        "__id__": 69
+      }
+    ],
+    "_prefab": null,
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 366.584,
+      "y": 143.525,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_mobility": 0,
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": "86Iy/9jfZJw5fWLnAXOXKQ"
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 66
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 75,
+      "height": 106
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": "eaJteNgztAUIzzSASXjA3y"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 66
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_spriteFrame": {
+      "__uuid__": "ac0aae0f-3272-4440-acb2-8aad28c0022f@2b0fc",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "_type": 0,
+    "_fillType": 0,
+    "_sizeMode": 1,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_useGrayscale": false,
+    "_atlas": null,
+    "_id": "2aFZRv/IdLTIalSvJreT2z"
+  },
+  {
+    "__type__": "cc.Animation",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 66
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "playOnLoad": true,
+    "_clips": [
+      {
+        "__uuid__": "010dcff4-5966-4fb4-ade0-64b294461cba",
+        "__expectedType__": "cc.AnimationClip"
+      },
+      {
+        "__uuid__": "a62882fb-901e-46c6-919e-e8ebf53ed8cf",
+        "__expectedType__": "cc.AnimationClip"
+      },
+      {
+        "__uuid__": "85ab6ce2-d1f3-4bd7-9a05-ffd82d67b207",
+        "__expectedType__": "cc.AnimationClip"
+      }
+    ],
+    "_defaultClip": {
+      "__uuid__": "010dcff4-5966-4fb4-ade0-64b294461cba",
+      "__expectedType__": "cc.AnimationClip"
+    },
+    "_id": "59MIbv2EBHuZuN6QLS2qub"
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 2
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 960,
+      "height": 640
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": "d6rUX5yfhMlKoWX2bSbawx"
+  },
+  {
+    "__type__": "cc.Canvas",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 2
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "_cameraComponent": {
+      "__id__": 4
+    },
+    "_alignCanvasWithScreen": true,
+    "_id": "12O/ljcVlEqLmVm3U2gEOQ"
+  },
+  {
+    "__type__": "cc.Widget",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 2
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "_alignFlags": 45,
+    "_target": null,
+    "_left": 0,
+    "_right": 0,
+    "_top": 5.684341886080802e-14,
+    "_bottom": 5.684341886080802e-14,
+    "_horizontalCenter": 0,
+    "_verticalCenter": 0,
+    "_isAbsLeft": true,
+    "_isAbsRight": true,
+    "_isAbsTop": true,
+    "_isAbsBottom": true,
+    "_isAbsHorizontalCenter": true,
+    "_isAbsVerticalCenter": true,
+    "_originalWidth": 0,
+    "_originalHeight": 0,
+    "_alignMode": 2,
+    "_lockFlags": 0,
+    "_id": "c5V1EV8IpMtrIvY1OE9t2u"
+  },
+  {
+    "__type__": "8a88avxvt5Ap6FnBDjWw57K",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 2
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "countDown": {
+      "__uuid__": "7e8bd4ec-9799-4c1a-a581-99ea0db4895b",
+      "__expectedType__": "cc.Prefab"
+    },
+    "_id": "9c7Qp2u0JNr6hgauO2KSFg"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": null,
+    "asset": null,
+    "fileId": "c72c6c69-975b-4f6b-a208-9d0dcde54d79",
+    "instance": null,
+    "targetOverrides": []
+  },
+  {
+    "__type__": "cc.SceneGlobals",
+    "ambient": {
+      "__id__": 76
+    },
+    "shadows": {
+      "__id__": 77
+    },
+    "_skybox": {
+      "__id__": 78
     },
     "fog": {
-      "__id__": 59
+      "__id__": 79
     },
     "octree": {
-      "__id__": 60
+      "__id__": 80
     },
     "skin": {
-      "__id__": 61
+      "__id__": 81
     },
     "lightProbeInfo": {
-      "__id__": 62
+      "__id__": 82
     },
     "postSettings": {
-      "__id__": 63
+      "__id__": 83
     },
     "bakedWithStationaryMainLight": false,
     "bakedWithHighpLightmap": false

+ 2 - 4
assets/Script/CountDown.ts

@@ -31,9 +31,7 @@ export class CountDown extends Component {
         this.imageDisplay.spriteFrame = this.images[index];
         this.imageDisplay.enabled = true;
     }
-    update(dt: number) {
+    update(dt: number) {   
         
-        
-}
-
+    }
 }

+ 24 - 0
assets/Script/MainScene.ts

@@ -0,0 +1,24 @@
+import { _decorator, Component, director, instantiate, Node, Prefab, resources } from 'cc';
+import { CountDown } from './CountDown';
+const { ccclass, property } = _decorator;
+
+@ccclass('MainScene')
+export class MainScene extends Component {
+    @property(Prefab)
+    countDown:Prefab;
+    start() {
+        
+        let countDown = instantiate(this.countDown);
+        console.log(countDown.active)
+        
+        director.getScene().addChild(countDown);
+        countDown.setPosition(100,110);
+    }
+
+
+    update(deltaTime: number) {
+        
+    }
+}
+
+

+ 9 - 0
assets/Script/MainScene.ts.meta

@@ -0,0 +1,9 @@
+{
+  "ver": "4.0.23",
+  "importer": "typescript",
+  "imported": true,
+  "uuid": "8a88abf1-bede-40a7-a167-0438d6c39eca",
+  "files": [],
+  "subMetas": {},
+  "userData": {}
+}

+ 71 - 10
assets/Script/Menu.ts

@@ -1,4 +1,4 @@
-import { _decorator, Button, Component,Sprite, SpriteFrame } from 'cc';
+import { _decorator, Button, Component,director,find,game,Mask,Node,Prefab,Sprite, SpriteFrame } from 'cc';
 const { ccclass, property } = _decorator;
 
 @ccclass('Menu')
@@ -19,9 +19,13 @@ export class Menu extends Component {
     imgPause_2:SpriteFrame = null;
 
     @property(SpriteFrame)
-    imgMenuCenter_1:SpriteFrame = null;
+    imgMenuCenter_1:SpriteFrame = null;//第几波怪物
     @property(SpriteFrame)
-    imgMenuCenter_2:SpriteFrame = null;
+    imgMenuCenter_2:SpriteFrame = null;//暂停中
+
+    //弹出框
+    //@property(Node)
+    dialog:Node = null;
 
     isAccelerate:boolean = false;//是否加速
     currentState:boolean = null;//当前状态
@@ -30,6 +34,33 @@ export class Menu extends Component {
     currentPauseState:boolean = null;//当前状态
 
     start(){
+        this.dialog = this.node.getChildByName("Dialog");
+        this.dialog.active = false;
+
+        // let btnQuit = this.dialog.getChildByName("BtnQuit");
+        // btnQuit.on(Button.EventType.CLICK,this.onBtnQuitDialog,this)
+
+        // let btnSelect = this.dialog.getChildByName("BtnSelect");
+        // btnSelect.on(Button.EventType.CLICK,this.onBtnSelectDialog,this);
+
+        // let btnRestart = this.dialog.getChildByName("BtnRestart");
+        // btnRestart.on(Button.EventType.CLICK,this.onBtnRestartDialog,this);
+
+        // let btnResume = this.dialog.getChildByName("BtnResume");
+        // btnResume.on(Button.EventType.CLICK,this.onBtnQuitDialog,this);
+
+        const buttonConfigs = [
+            {name : "BtnResume",handler : this.onBtnQuitDialog},
+            {name : "BtnRestart",handler : this.onBtnRestartDialog},
+            {name : "BtnSelect",handler : this.onBtnSelectDialog},
+            {name : "BtnQuit",handler : this.onBtnQuitDialog}
+        ]
+        
+        buttonConfigs.forEach(config =>{
+            let button = this.dialog.getChildByName(config.name);
+            button.on(Button.EventType.CLICK,config.handler,this);
+        });
+        
         this.currentState = this.isAccelerate; //当前状态没有加速
         this.btnSpeed.getComponent(Sprite).spriteFrame = this.imgSpeed_1;
 
@@ -39,31 +70,61 @@ export class Menu extends Component {
         this.node.getChildByName("MenuCenter_01_CN").getComponent(Sprite).spriteFrame = this.imgMenuCenter_1;
     }
 
+    //加速
     onBtnSpeed(){
+        let btnSpeedComponent = this.btnSpeed.getComponent(Sprite);
         this.isAccelerate = !this.isAccelerate;//加速
         this.currentState = this.isAccelerate;//当前状态为加速
         if(!this.isAccelerate){
-            this.btnSpeed.getComponent(Sprite).spriteFrame  = this.imgSpeed_1;
+            btnSpeedComponent.spriteFrame  = this.imgSpeed_1;
         }else{
-            this.btnSpeed.getComponent(Sprite).spriteFrame  = this.imgSpeed_2;
+            btnSpeedComponent.spriteFrame  = this.imgSpeed_2;
         }
     }
 
+    //暂停游戏
     onBtnPause(){
+        let menuCenterComponent = this.node.getChildByName("MenuCenter_01_CN").getComponent(Sprite);
+        let btnPauseComponent = this.btnPause.getComponent(Sprite);
         this.isPause = !this.isPause;//暂停
         this.currentPauseState = this.isPause;//当前状态为暂停
         if(!this.isPause){
-            this.node.getChildByName("MenuCenter_01_CN").getComponent(Sprite).spriteFrame = this.imgMenuCenter_1;
-            this.btnPause.getComponent(Sprite).spriteFrame  = this.imgPause_1;
+            menuCenterComponent.spriteFrame = this.imgMenuCenter_1;
+            btnPauseComponent.spriteFrame  = this.imgPause_1;
         }else{
-            this.node.getChildByName("MenuCenter_01_CN").getComponent(Sprite).spriteFrame = this.imgMenuCenter_2;
-            this.btnPause.getComponent(Sprite).spriteFrame  = this.imgPause_2;
+            menuCenterComponent.spriteFrame = this.imgMenuCenter_2;
+            btnPauseComponent.spriteFrame  = this.imgPause_2;
         }
     }
 
+    //弹出dialog
     onBtnMore(){
-        
+        console.log("More")
+        director.pause();
+        this.dialog.active = true;
     }
+    //退出 恢复暂停
+    onBtnQuitDialog(){
+        console.log("quitDialog");
+        if(director.isPaused()){
+            director.resume();
+            return;
+        }
+        this.dialog.active = false;
+    }
+
+    //重新选择关卡
+    onBtnSelectDialog(){
+        director.loadScene("SelectLevel");
+        console.log("SelectLevel");
+    }
+
+    //重新开始游戏
+    onBtnRestartDialog(){
+        console.log("Restart");
+    }
+
+
     update(deltaTime: number) {
         
     }