Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
MingSnake_241120
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SparkProjects
MingSnake_241120
Commits
a4cdb39c
Commit
a4cdb39c
authored
Nov 27, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
910da6a4
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
2020 additions
and
258 deletions
+2020
-258
MainGame.scene
assets/Bundles/MainGame/MainGame.scene
+1388
-254
外部道具.meta
assets/Bundles/MainGame/png/外部道具.meta
+9
-0
加速.png
assets/Bundles/MainGame/png/外部道具/加速.png
+0
-0
加速.png.meta
assets/Bundles/MainGame/png/外部道具/加速.png.meta
+134
-0
加长.png
assets/Bundles/MainGame/png/外部道具/加长.png
+0
-0
加长.png.meta
assets/Bundles/MainGame/png/外部道具/加长.png.meta
+134
-0
双倍经验.png
assets/Bundles/MainGame/png/外部道具/双倍经验.png
+0
-0
双倍经验.png.meta
assets/Bundles/MainGame/png/外部道具/双倍经验.png.meta
+134
-0
护盾.png
assets/Bundles/MainGame/png/外部道具/护盾.png
+0
-0
护盾.png.meta
assets/Bundles/MainGame/png/外部道具/护盾.png.meta
+134
-0
PropBtn.ts
assets/Scripts/Scenes/MainGame/Components/PropBtn.ts
+74
-0
PropBtn.ts.meta
assets/Scripts/Scenes/MainGame/Components/PropBtn.ts.meta
+9
-0
MainGame.ts
assets/Scripts/Scenes/MainGame/MainGame.ts
+3
-3
Start.scene
assets/Start/Start.scene
+1
-1
No files found.
assets/Bundles/MainGame/MainGame.scene
View file @
a4cdb39c
...
...
@@ -26,7 +26,7 @@
"_active": true,
"_components": [],
"_prefab": {
"__id__": 1
4
6
"__id__": 1
7
6
},
"_lpos": {
"__type__": "cc.Vec3",
...
...
@@ -57,7 +57,7 @@
},
"autoReleaseAssets": false,
"_globals": {
"__id__": 1
5
0
"__id__": 1
8
0
},
"_id": "53947ca7-3484-4b53-800d-509405063d68"
},
...
...
@@ -92,16 +92,16 @@
"_active": true,
"_components": [
{
"__id__": 1
4
2
"__id__": 1
7
2
},
{
"__id__": 1
4
3
"__id__": 1
7
3
},
{
"__id__": 1
4
4
"__id__": 1
7
4
},
{
"__id__": 1
4
5
"__id__": 1
7
5
}
],
"_prefab": null,
...
...
@@ -1762,10 +1762,10 @@
"_enabled": true,
"__prefab": null,
"handle": {
"__id__": 1
3
6
"__id__": 1
6
6
},
"bg": {
"__id__": 1
4
0
"__id__": 1
7
0
},
"normalSp": {
"__uuid__": "7f413237-4b73-4bae-bca7-7ab9e9742ebc@f9941",
...
...
@@ -1787,22 +1787,22 @@
},
"_children": [
{
"__id__": 1
3
6
"__id__": 1
6
6
}
],
"_active": true,
"_components": [
{
"__id__": 1
3
9
"__id__": 1
6
9
},
{
"__id__": 1
4
0
"__id__": 1
7
0
},
{
"__id__": 44
},
{
"__id__": 1
4
1
"__id__": 1
7
1
}
],
"_prefab": null,
...
...
@@ -1853,32 +1853,35 @@
{
"__id__": 53
},
{
"__id__": 59
},
{
"__id__": 45
},
{
"__id__":
5
9
"__id__":
8
9
},
{
"__id__":
8
0
"__id__":
11
0
},
{
"__id__":
9
9
"__id__":
12
9
},
{
"__id__": 1
0
6
"__id__": 1
3
6
}
],
"_active": true,
"_components": [
{
"__id__": 1
3
3
"__id__": 1
6
3
},
{
"__id__": 1
3
4
"__id__": 1
6
4
},
{
"__id__": 1
3
5
"__id__": 1
6
5
}
],
"_prefab": null,
...
...
@@ -2199,7 +2202,1196 @@
"y": 0,
"z": 0
},
"_id": "f5y3rH/8pFaajGmcTd1oBj"
"_id": "f5y3rH/8pFaajGmcTd1oBj"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 53
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 160,
"height": 160
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "c5CRFJ2bpEq7yx7l92Z2dr"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 53
},
"_enabled": true,
"__prefab": null,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "64f1e309-32c4-4de3-8787-5537606028f7@f9941",
"__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": "f2/MOTjLFDBJqZf5WeC+OA"
},
{
"__type__": "10febBZWxpDH4Q3vzHVN77F",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 53
},
"_enabled": true,
"__prefab": null,
"sp": {
"__id__": 55
},
"_id": "cbuYoeJJBN/Z/dZ6F3l5A5"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 53
},
"_enabled": true,
"__prefab": null,
"clickEvents": [],
"_interactable": true,
"_transition": 2,
"_normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"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__": "64f1e309-32c4-4de3-8787-5537606028f7@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_hoverSprite": {
"__uuid__": "0303ed8e-dd93-4591-8c29-0e53931dfc27@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_pressedSprite": {
"__uuid__": "0303ed8e-dd93-4591-8c29-0e53931dfc27@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_disabledSprite": {
"__uuid__": "64f1e309-32c4-4de3-8787-5537606028f7@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_duration": 0.1,
"_zoomScale": 1.2,
"_target": null,
"_id": "03zZmYg+dFoJlSKH0wTs9Z"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 53
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 36,
"_target": null,
"_left": 0,
"_right": 139,
"_top": 0,
"_bottom": 70,
"_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": "df80urB71OA7+3JSH/ujkz"
},
{
"__type__": "cc.Node",
"_name": "外部道具",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 46
},
"_children": [
{
"__id__": 60
},
{
"__id__": 78
},
{
"__id__": 81
},
{
"__id__": 84
}
],
"_active": true,
"_components": [
{
"__id__": 87
},
{
"__id__": 88
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 593,
"y": -225,
"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": "40XyLetzRBYqdAohR6GPyw"
},
{
"__type__": "cc.Node",
"_name": "加速",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 59
},
"_children": [
{
"__id__": 61
},
{
"__id__": 64
},
{
"__id__": 72
}
],
"_active": true,
"_components": [
{
"__id__": 75
},
{
"__id__": 76
},
{
"__id__": 77
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": -36.85799999999995,
"y": 167.36900000000003,
"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": "7bU/ji3JNB55vWSiSFwiTy"
},
{
"__type__": "cc.Node",
"_name": "img",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 60
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 62
},
{
"__id__": 63
}
],
"_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": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "5bLsZroJxOJJJ2uWuw4pg3"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 61
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 98,
"height": 98
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "81t+ghyWZDJZrqvwZO0+U/"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 61
},
"_enabled": true,
"__prefab": null,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "356c19c0-b5a4-4d3b-8e2e-6e82e0168a03@f9941",
"__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": "76s9aMbvlLNb+BUc3OnRHs"
},
{
"__type__": "cc.Node",
"_name": "cd",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 60
},
"_children": [
{
"__id__": 65
},
{
"__id__": 68
}
],
"_active": true,
"_components": [
{
"__id__": 71
}
],
"_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": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "75J/c0uxpLNKwcXUJ9HL0C"
},
{
"__type__": "cc.Node",
"_name": "mask",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 64
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 66
},
{
"__id__": 67
}
],
"_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": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "30mhoD89NEFpcuFmRiNXP8"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 65
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "1dQzlrUPVDbYNUxah5mrv1"
},
{
"__type__": "cc.Graphics",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 65
},
"_enabled": true,
"__prefab": null,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_lineWidth": 1,
"_strokeColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 153
},
"_lineJoin": 2,
"_lineCap": 0,
"_fillColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 153
},
"_miterLimit": 10,
"_id": "10EiYgKVJO2K4Mk/19tNPG"
},
{
"__type__": "cc.Node",
"_name": "num",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 64
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 69
},
{
"__id__": 70
}
],
"_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": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "a1RUPeEAlJGq0nLSh8qnfY"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 68
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 59.49998474121094,
"height": 69
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "5e2MmfPw5KZqkesCZ56usa"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 68
},
"_enabled": true,
"__prefab": null,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_string": "3s",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 50,
"_fontSize": 50,
"_fontFamily": "Arial",
"_lineHeight": 50,
"_overflow": 0,
"_enableWrapText": true,
"_font": {
"__uuid__": "51c12289-a516-4991-8323-ac98cee8b520",
"__expectedType__": "cc.TTFFont"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_isItalic": false,
"_isBold": true,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_outlineWidth": 3,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": "76QPcgBFdNF72TjOAuAB/e"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 64
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "17euX6/7tFO58nXTBUv6d+"
},
{
"__type__": "cc.Node",
"_name": "name",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 60
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 73
},
{
"__id__": 74
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -46.35000000000002,
"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": "9230a3i/NCz6Ged/EL38s2"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 72
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 44,
"height": 54.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "5fGTlL1QBO74HntW+3GAds"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 72
},
"_enabled": true,
"__prefab": null,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_string": "加速",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 20,
"_fontSize": 20,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 0,
"_enableWrapText": true,
"_font": {
"__uuid__": "51c12289-a516-4991-8323-ac98cee8b520",
"__expectedType__": "cc.TTFFont"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_isItalic": false,
"_isBold": true,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 1,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_outlineWidth": 2,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2",
"x": 2,
"y": 2
},
"_shadowBlur": 2,
"_id": "c9rsvGPuVEnLUJoOPwum7d"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 60
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 98,
"height": 98
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "d71M27BV1KyrhlpbZmLHU2"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 60
},
"_enabled": true,
"__prefab": null,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": null,
"_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": "9008jPGTdLqbuIZaSGZCqq"
},
{
"__type__": "532eatxmlpEUq5vxBxAsyVo",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 60
},
"_enabled": true,
"__prefab": null,
"_id": "2bcGqyTHJFOrpdnAk8tK0V"
},
{
"__type__": "cc.Node",
"_name": "加长",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 59
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 79
},
{
"__id__": 80
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 97.63200000000006,
"y": 149.437,
"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": "83x9kUhmFAwaUMiYX+qmof"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 78
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 98,
"height": 98
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "9cLy1etOpJe6n0wyrcpnAD"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 78
},
"_enabled": true,
"__prefab": null,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "b0074d7f-3919-4a0f-8f92-c879065d55a2@f9941",
"__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": "3aTiQo8sBOJ6ZMKetutYIj"
},
{
"__type__": "cc.Node",
"_name": "双倍经验",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 59
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 82
},
{
"__id__": 83
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": -152.02999999999997,
"y": 97.98500000000001,
"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": "2dbdfRQNFOp4QlgjQH1ope"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 81
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 98,
"height": 98
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "2b/RxK6oBCXLylj0c2bXjl"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 81
},
"_enabled": true,
"__prefab": null,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "d707ad26-6f87-4c6e-9833-e1ce3560e851@f9941",
"__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": "d9fVFcar5AdozCPtqM5OIT"
},
{
"__type__": "cc.Node",
"_name": "护盾",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 59
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 85
},
{
"__id__": 86
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": -168,
"y": -33,
"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": "eavHOu/9pIIKVmK/kBBtxI"
},
{
"__type__": "cc.UITransform",
...
...
@@ -2207,21 +3399,21 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
53
"__id__":
84
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width":
160
,
"height":
160
"width":
98
,
"height":
98
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "
c5CRFJ2bpEq7yx7l92Z2dr
"
"_id": "
fc0K9C1MRHibHgm7bROBxE
"
},
{
"__type__": "cc.Sprite",
...
...
@@ -2229,7 +3421,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
53
"__id__":
84
},
"_enabled": true,
"__prefab": null,
...
...
@@ -2244,7 +3436,7 @@
"a": 255
},
"_spriteFrame": {
"__uuid__": "
64f1e309-32c4-4de3-8787-5537606028f7
@f9941",
"__uuid__": "
13b1f478-e4ca-4a54-9910-58e6fb4c3fcd
@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
...
...
@@ -2260,84 +3452,29 @@
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "f2/MOTjLFDBJqZf5WeC+OA"
},
{
"__type__": "10febBZWxpDH4Q3vzHVN77F",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 53
},
"_enabled": true,
"__prefab": null,
"sp": {
"__id__": 55
},
"_id": "cbuYoeJJBN/Z/dZ6F3l5A5"
"_id": "32V7/lPn9E3ICp5cT/eT5z"
},
{
"__type__": "cc.
Button
",
"__type__": "cc.
UITransform
",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 5
3
"__id__": 5
9
},
"_enabled": true,
"__prefab": null,
"clickEvents": [],
"_interactable": true,
"_transition": 2,
"_normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"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__": "64f1e309-32c4-4de3-8787-5537606028f7@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_hoverSprite": {
"__uuid__": "0303ed8e-dd93-4591-8c29-0e53931dfc27@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_pressedSprite": {
"__uuid__": "0303ed8e-dd93-4591-8c29-0e53931dfc27@f9941",
"__expectedType__": "cc.SpriteFrame"
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_disabledSprite": {
"__uuid__": "64f1e309-32c4-4de3-8787-5537606028f7@f9941",
"__expectedType__": "cc.SpriteFrame"
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_duration": 0.1,
"_zoomScale": 1.2,
"_target": null,
"_id": "03zZmYg+dFoJlSKH0wTs9Z"
"_id": "e30n4w979FT7TqPui2Us42"
},
{
"__type__": "cc.Widget",
...
...
@@ -2345,16 +3482,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 5
3
"__id__": 5
9
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 36,
"_target": null,
"_left": 0,
"_right":
13
9,
"_right":
21
9,
"_top": 0,
"_bottom":
7
0,
"_bottom":
15
0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
...
...
@@ -2367,7 +3504,7 @@
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": "
df80urB71OA7+3JSH/ujkz
"
"_id": "
f09YS1G19HzZPUE3BDsIuF
"
},
{
"__type__": "cc.Node",
...
...
@@ -2379,22 +3516,22 @@
},
"_children": [
{
"__id__":
6
0
"__id__":
9
0
},
{
"__id__":
6
3
"__id__":
9
3
}
],
"_active": true,
"_components": [
{
"__id__":
7
7
"__id__":
10
7
},
{
"__id__":
7
8
"__id__":
10
8
},
{
"__id__":
7
9
"__id__":
10
9
}
],
"_prefab": null,
...
...
@@ -2433,16 +3570,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__":
5
9
"__id__":
8
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
6
1
"__id__":
9
1
},
{
"__id__":
6
2
"__id__":
9
2
}
],
"_prefab": null,
...
...
@@ -2481,7 +3618,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
6
0
"__id__":
9
0
},
"_enabled": true,
"__prefab": null,
...
...
@@ -2503,7 +3640,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
6
0
"__id__":
9
0
},
"_enabled": true,
"__prefab": null,
...
...
@@ -2568,20 +3705,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__":
5
9
"__id__":
8
9
},
"_children": [
{
"__id__":
6
4
"__id__":
9
4
},
{
"__id__":
7
3
"__id__":
10
3
}
],
"_active": true,
"_components": [
{
"__id__":
7
6
"__id__":
10
6
}
],
"_prefab": null,
...
...
@@ -2620,23 +3757,23 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__":
6
3
"__id__":
9
3
},
"_children": [
{
"__id__":
6
5
"__id__":
9
5
},
{
"__id__":
6
8
"__id__":
9
8
}
],
"_active": true,
"_components": [
{
"__id__":
7
1
"__id__":
10
1
},
{
"__id__":
7
2
"__id__":
10
2
}
],
"_prefab": null,
...
...
@@ -2675,16 +3812,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__":
6
4
"__id__":
9
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
6
6
"__id__":
9
6
},
{
"__id__":
6
7
"__id__":
9
7
}
],
"_prefab": null,
...
...
@@ -2723,7 +3860,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
6
5
"__id__":
9
5
},
"_enabled": true,
"__prefab": null,
...
...
@@ -2745,7 +3882,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
6
5
"__id__":
9
5
},
"_enabled": true,
"__prefab": null,
...
...
@@ -2810,16 +3947,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__":
6
4
"__id__":
9
4
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
6
9
"__id__":
9
9
},
{
"__id__":
7
0
"__id__":
10
0
}
],
"_prefab": null,
...
...
@@ -2858,7 +3995,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
6
8
"__id__":
9
8
},
"_enabled": true,
"__prefab": null,
...
...
@@ -2880,7 +4017,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
6
8
"__id__":
9
8
},
"_enabled": true,
"__prefab": null,
...
...
@@ -2945,7 +4082,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
6
4
"__id__":
9
4
},
"_enabled": true,
"__prefab": null,
...
...
@@ -2967,7 +4104,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
6
4
"__id__":
9
4
},
"_enabled": true,
"__prefab": null,
...
...
@@ -2999,16 +4136,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__":
6
3
"__id__":
9
3
},
"_children": [],
"_active": true,
"_components": [
{
"__id__":
7
4
"__id__":
10
4
},
{
"__id__":
7
5
"__id__":
10
5
}
],
"_prefab": null,
...
...
@@ -3047,7 +4184,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
7
3
"__id__":
10
3
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3069,7 +4206,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
7
3
"__id__":
10
3
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3134,7 +4271,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
6
3
"__id__":
9
3
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3156,7 +4293,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
5
9
"__id__":
8
9
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3178,7 +4315,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
5
9
"__id__":
8
9
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3208,7 +4345,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
5
9
"__id__":
8
9
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3244,19 +4381,19 @@
},
"_children": [
{
"__id__":
8
1
"__id__":
11
1
}
],
"_active": true,
"_components": [
{
"__id__":
9
6
"__id__":
12
6
},
{
"__id__":
9
7
"__id__":
12
7
},
{
"__id__":
9
8
"__id__":
12
8
}
],
"_prefab": null,
...
...
@@ -3293,17 +4430,17 @@
"__type__": "cc.Node",
"_objFlags": 0,
"_parent": {
"__id__":
8
0
"__id__":
11
0
},
"_prefab": {
"__id__":
8
2
"__id__":
11
2
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__":
8
1
"__id__":
11
1
},
"asset": {
"__uuid__": "279fb523-a195-4d19-9e7c-1a05f1af2c6b",
...
...
@@ -3311,7 +4448,7 @@
},
"fileId": "49A5rcXXVEt7bJwMc/vvkp",
"instance": {
"__id__":
8
3
"__id__":
11
3
},
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
...
...
@@ -3324,31 +4461,31 @@
"mountedComponents": [],
"propertyOverrides": [
{
"__id__":
8
4
"__id__":
11
4
},
{
"__id__":
8
6
"__id__":
11
6
},
{
"__id__":
8
7
"__id__":
11
7
},
{
"__id__":
8
8
"__id__":
11
8
},
{
"__id__":
8
9
"__id__":
11
9
},
{
"__id__":
9
1
"__id__":
12
1
},
{
"__id__":
9
3
"__id__":
12
3
},
{
"__id__":
9
4
"__id__":
12
4
},
{
"__id__":
9
5
"__id__":
12
5
}
],
"removedComponents": []
...
...
@@ -3356,7 +4493,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__":
8
5
"__id__":
11
5
},
"propertyPath": [
"_name"
...
...
@@ -3372,7 +4509,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__":
8
5
"__id__":
11
5
},
"propertyPath": [
"_lpos"
...
...
@@ -3387,7 +4524,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__":
8
5
"__id__":
11
5
},
"propertyPath": [
"_lrot"
...
...
@@ -3403,7 +4540,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__":
8
5
"__id__":
11
5
},
"propertyPath": [
"_euler"
...
...
@@ -3418,7 +4555,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__":
9
0
"__id__":
12
0
},
"propertyPath": [
"_enableOutline"
...
...
@@ -3434,7 +4571,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__":
9
2
"__id__":
12
2
},
"propertyPath": [
"_contentSize"
...
...
@@ -3454,7 +4591,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__":
9
0
"__id__":
12
0
},
"propertyPath": [
"_isItalic"
...
...
@@ -3464,7 +4601,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__":
9
0
"__id__":
12
0
},
"propertyPath": [
"_isBold"
...
...
@@ -3474,7 +4611,7 @@
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__":
9
0
"__id__":
12
0
},
"propertyPath": [
"_cacheMode"
...
...
@@ -3487,7 +4624,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
8
0
"__id__":
11
0
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3509,7 +4646,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
8
0
"__id__":
11
0
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3539,7 +4676,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
8
0
"__id__":
11
0
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3552,7 +4689,7 @@
"__expectedType__": "cc.Prefab"
},
"selfNode": {
"__id__":
8
1
"__id__":
11
1
},
"_id": "d17UmC1cFCiY8DxwBXpbec"
},
...
...
@@ -3566,19 +4703,19 @@
},
"_children": [
{
"__id__": 1
0
0
"__id__": 1
3
0
}
],
"_active": true,
"_components": [
{
"__id__": 1
0
3
"__id__": 1
3
3
},
{
"__id__": 1
0
4
"__id__": 1
3
4
},
{
"__id__": 1
0
5
"__id__": 1
3
5
}
],
"_prefab": null,
...
...
@@ -3617,16 +4754,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__":
9
9
"__id__":
12
9
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
0
1
"__id__": 1
3
1
},
{
"__id__": 1
0
2
"__id__": 1
3
2
}
],
"_prefab": null,
...
...
@@ -3665,7 +4802,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
0
0
"__id__": 1
3
0
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3687,7 +4824,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
0
0
"__id__": 1
3
0
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3752,7 +4889,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
9
9
"__id__":
12
9
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3774,7 +4911,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
9
9
"__id__":
12
9
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3813,7 +4950,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__":
9
9
"__id__":
12
9
},
"_enabled": true,
"__prefab": null,
...
...
@@ -3847,25 +4984,25 @@
},
"_children": [
{
"__id__": 1
0
7
"__id__": 1
3
7
},
{
"__id__": 1
2
3
"__id__": 1
5
3
},
{
"__id__": 1
2
6
"__id__": 1
5
6
}
],
"_active": true,
"_components": [
{
"__id__": 1
3
0
"__id__": 1
6
0
},
{
"__id__": 1
3
1
"__id__": 1
6
1
},
{
"__id__": 1
3
2
"__id__": 1
6
2
}
],
"_prefab": null,
...
...
@@ -3904,20 +5041,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
0
6
"__id__": 1
3
6
},
"_children": [
{
"__id__": 1
0
8
"__id__": 1
3
8
}
],
"_active": true,
"_components": [
{
"__id__": 1
2
1
"__id__": 1
5
1
},
{
"__id__": 1
2
2
"__id__": 1
5
2
}
],
"_prefab": null,
...
...
@@ -3956,29 +5093,29 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
0
7
"__id__": 1
3
7
},
"_children": [
{
"__id__": 1
0
9
"__id__": 1
3
9
},
{
"__id__": 1
1
2
"__id__": 1
4
2
},
{
"__id__": 1
1
5
"__id__": 1
4
5
}
],
"_active": true,
"_components": [
{
"__id__": 1
1
8
"__id__": 1
4
8
},
{
"__id__": 1
1
9
"__id__": 1
4
9
},
{
"__id__": 1
2
0
"__id__": 1
5
0
}
],
"_prefab": null,
...
...
@@ -4017,16 +5154,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
0
8
"__id__": 1
3
8
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
1
0
"__id__": 1
4
0
},
{
"__id__": 1
1
1
"__id__": 1
4
1
}
],
"_prefab": null,
...
...
@@ -4065,7 +5202,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
0
9
"__id__": 1
3
9
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4087,7 +5224,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
0
9
"__id__": 1
3
9
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4152,16 +5289,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
0
8
"__id__": 1
3
8
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
1
3
"__id__": 1
4
3
},
{
"__id__": 1
1
4
"__id__": 1
4
4
}
],
"_prefab": null,
...
...
@@ -4200,7 +5337,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
1
2
"__id__": 1
4
2
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4222,7 +5359,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
1
2
"__id__": 1
4
2
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4287,16 +5424,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
0
8
"__id__": 1
3
8
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
1
6
"__id__": 1
4
6
},
{
"__id__": 1
1
7
"__id__": 1
4
7
}
],
"_prefab": null,
...
...
@@ -4335,7 +5472,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
1
5
"__id__": 1
4
5
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4357,7 +5494,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
1
5
"__id__": 1
4
5
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4422,7 +5559,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
0
8
"__id__": 1
3
8
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4444,7 +5581,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
0
8
"__id__": 1
3
8
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4476,7 +5613,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
0
8
"__id__": 1
3
8
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4506,7 +5643,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
0
7
"__id__": 1
3
7
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4528,7 +5665,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
0
7
"__id__": 1
3
7
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4567,16 +5704,16 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
0
6
"__id__": 1
3
6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
2
4
"__id__": 1
5
4
},
{
"__id__": 1
2
5
"__id__": 1
5
5
}
],
"_prefab": null,
...
...
@@ -4615,7 +5752,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
2
3
"__id__": 1
5
3
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4637,7 +5774,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
2
3
"__id__": 1
5
3
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4677,19 +5814,19 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
0
6
"__id__": 1
3
6
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 1
2
7
"__id__": 1
5
7
},
{
"__id__": 1
2
8
"__id__": 1
5
8
},
{
"__id__": 1
2
9
"__id__": 1
5
9
}
],
"_prefab": null,
...
...
@@ -4728,7 +5865,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
2
6
"__id__": 1
5
6
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4750,7 +5887,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
2
6
"__id__": 1
5
6
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4815,7 +5952,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
2
6
"__id__": 1
5
6
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4845,7 +5982,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
0
6
"__id__": 1
3
6
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4867,7 +6004,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
0
6
"__id__": 1
3
6
},
"_enabled": true,
"__prefab": null,
...
...
@@ -4897,12 +6034,12 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
0
6
"__id__": 1
3
6
},
"_enabled": true,
"__prefab": null,
"graphics": {
"__id__": 1
2
5
"__id__": 1
5
5
},
"cdTxt": null,
"goalTxt": null,
...
...
@@ -4988,10 +6125,10 @@
"_active": true,
"_components": [
{
"__id__": 1
3
7
"__id__": 1
6
7
},
{
"__id__": 1
3
8
"__id__": 1
6
8
}
],
"_prefab": null,
...
...
@@ -5030,7 +6167,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
3
6
"__id__": 1
6
6
},
"_enabled": true,
"__prefab": null,
...
...
@@ -5052,7 +6189,7 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
3
6
"__id__": 1
6
6
},
"_enabled": true,
"__prefab": null,
...
...
@@ -5272,9 +6409,6 @@
"player": {
"__id__": 43
},
"fondManger": {
"__id__": 26
},
"animalNode": {
"__id__": 30
},
...
...
@@ -5282,13 +6416,13 @@
"__id__": 4
},
"killTxt": {
"__id__":
6
2
"__id__":
9
2
},
"lengthTxt": {
"__id__":
7
0
"__id__":
10
0
},
"luckyNum": {
"__id__": 1
0
2
"__id__": 1
3
2
},
"_id": "212vDeP7dNBZXi0fJjPuCy"
},
...
...
@@ -5300,12 +6434,12 @@
"instance": null,
"targetOverrides": [
{
"__id__": 1
4
7
"__id__": 1
7
7
}
],
"nestedPrefabInstanceRoots": [
{
"__id__":
8
1
"__id__":
11
1
}
]
},
...
...
@@ -5315,7 +6449,7 @@
"__id__": 32
},
"sourceInfo": {
"__id__": 1
4
8
"__id__": 1
7
8
},
"propertyPath": [
"head"
...
...
@@ -5324,7 +6458,7 @@
"__id__": 32
},
"targetInfo": {
"__id__": 1
4
9
"__id__": 1
7
9
}
},
{
...
...
@@ -5342,28 +6476,28 @@
{
"__type__": "cc.SceneGlobals",
"ambient": {
"__id__": 1
5
1
"__id__": 1
8
1
},
"shadows": {
"__id__": 1
5
2
"__id__": 1
8
2
},
"_skybox": {
"__id__": 1
5
3
"__id__": 1
8
3
},
"fog": {
"__id__": 1
5
4
"__id__": 1
8
4
},
"octree": {
"__id__": 1
5
5
"__id__": 1
8
5
},
"skin": {
"__id__": 1
5
6
"__id__": 1
8
6
},
"lightProbeInfo": {
"__id__": 1
5
7
"__id__": 1
8
7
},
"postSettings": {
"__id__": 1
5
8
"__id__": 1
8
8
},
"bakedWithStationaryMainLight": false,
"bakedWithHighpLightmap": false
...
...
assets/Bundles/MainGame/png/外部道具.meta
0 → 100644
View file @
a4cdb39c
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "723c169c-3576-43d3-835c-aa0b5fbd954d",
"files": [],
"subMetas": {},
"userData": {}
}
assets/Bundles/MainGame/png/外部道具/加速.png
0 → 100644
View file @
a4cdb39c
6.12 KB
assets/Bundles/MainGame/png/外部道具/加速.png.meta
0 → 100644
View file @
a4cdb39c
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "356c19c0-b5a4-4d3b-8e2e-6e82e0168a03",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "356c19c0-b5a4-4d3b-8e2e-6e82e0168a03@6c48a",
"displayName": "加速",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "356c19c0-b5a4-4d3b-8e2e-6e82e0168a03",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "356c19c0-b5a4-4d3b-8e2e-6e82e0168a03@f9941",
"displayName": "加速",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 98,
"height": 98,
"rawWidth": 98,
"rawHeight": 98,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-49,
-49,
0,
49,
-49,
0,
-49,
49,
0,
49,
49,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
98,
98,
98,
0,
0,
98,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-49,
-49,
0
],
"maxPos": [
49,
49,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "356c19c0-b5a4-4d3b-8e2e-6e82e0168a03@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "356c19c0-b5a4-4d3b-8e2e-6e82e0168a03@6c48a"
}
}
assets/Bundles/MainGame/png/外部道具/加长.png
0 → 100644
View file @
a4cdb39c
5.73 KB
assets/Bundles/MainGame/png/外部道具/加长.png.meta
0 → 100644
View file @
a4cdb39c
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "b0074d7f-3919-4a0f-8f92-c879065d55a2",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "b0074d7f-3919-4a0f-8f92-c879065d55a2@6c48a",
"displayName": "加长",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "b0074d7f-3919-4a0f-8f92-c879065d55a2",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "b0074d7f-3919-4a0f-8f92-c879065d55a2@f9941",
"displayName": "加长",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 98,
"height": 98,
"rawWidth": 98,
"rawHeight": 98,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-49,
-49,
0,
49,
-49,
0,
-49,
49,
0,
49,
49,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
98,
98,
98,
0,
0,
98,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-49,
-49,
0
],
"maxPos": [
49,
49,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "b0074d7f-3919-4a0f-8f92-c879065d55a2@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "b0074d7f-3919-4a0f-8f92-c879065d55a2@6c48a"
}
}
assets/Bundles/MainGame/png/外部道具/双倍经验.png
0 → 100644
View file @
a4cdb39c
5.23 KB
assets/Bundles/MainGame/png/外部道具/双倍经验.png.meta
0 → 100644
View file @
a4cdb39c
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "d707ad26-6f87-4c6e-9833-e1ce3560e851",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "d707ad26-6f87-4c6e-9833-e1ce3560e851@6c48a",
"displayName": "双倍经验",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "d707ad26-6f87-4c6e-9833-e1ce3560e851",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "d707ad26-6f87-4c6e-9833-e1ce3560e851@f9941",
"displayName": "双倍经验",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 98,
"height": 98,
"rawWidth": 98,
"rawHeight": 98,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-49,
-49,
0,
49,
-49,
0,
-49,
49,
0,
49,
49,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
98,
98,
98,
0,
0,
98,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-49,
-49,
0
],
"maxPos": [
49,
49,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "d707ad26-6f87-4c6e-9833-e1ce3560e851@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "d707ad26-6f87-4c6e-9833-e1ce3560e851@6c48a"
}
}
assets/Bundles/MainGame/png/外部道具/护盾.png
0 → 100644
View file @
a4cdb39c
6.35 KB
assets/Bundles/MainGame/png/外部道具/护盾.png.meta
0 → 100644
View file @
a4cdb39c
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "13b1f478-e4ca-4a54-9910-58e6fb4c3fcd",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "13b1f478-e4ca-4a54-9910-58e6fb4c3fcd@6c48a",
"displayName": "护盾",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "13b1f478-e4ca-4a54-9910-58e6fb4c3fcd",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "13b1f478-e4ca-4a54-9910-58e6fb4c3fcd@f9941",
"displayName": "护盾",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 98,
"height": 98,
"rawWidth": 98,
"rawHeight": 98,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-49,
-49,
0,
49,
-49,
0,
-49,
49,
0,
49,
49,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
98,
98,
98,
0,
0,
98,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-49,
-49,
0
],
"maxPos": [
49,
49,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "13b1f478-e4ca-4a54-9910-58e6fb4c3fcd@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "13b1f478-e4ca-4a54-9910-58e6fb4c3fcd@6c48a"
}
}
assets/Scripts/Scenes/MainGame/Components/PropBtn.ts
0 → 100644
View file @
a4cdb39c
import
{
_decorator
,
Component
,
Graphics
,
Label
,
lerp
,
macro
,
misc
,
Node
,
Sprite
,
tween
,
UI
,
UITransform
}
from
"cc"
;
const
{
ccclass
,
property
,
executeInEditMode
}
=
_decorator
;
@
ccclass
(
"PropBtn"
)
@
executeInEditMode
export
class
PropBtn
extends
Component
{
img
:
Sprite
;
nameTxt
:
Label
;
cdMask
:
Graphics
;
cdTxt
:
Label
;
onLoad
()
{
this
.
img
=
this
.
node
.
getChildByName
(
"img"
).
getComponent
(
Sprite
);
this
.
nameTxt
=
this
.
node
.
getChildByName
(
"name"
).
getComponent
(
Label
);
const
cd
=
this
.
node
.
getChildByName
(
"cd"
);
this
.
cdMask
=
cd
.
getChildByName
(
"mask"
).
getComponent
(
Graphics
);
this
.
cdTxt
=
cd
.
getChildByName
(
"num"
).
getComponent
(
Label
);
this
.
startCd
(
5
);
this
.
drawProcess
(
0.4
);
}
drawProcess
(
process
:
number
)
{
process
=
misc
.
clampf
(
process
,
0
,
1
);
const
h
=
lerp
(
0
,
Math
.
PI
,
process
);
this
.
cdMask
.
clear
();
this
.
cdMask
.
arc
(
0
,
0
,
50
,
h
-
Math
.
PI
/
2
,
-
h
-
Math
.
PI
/
2
,
false
);
this
.
cdMask
.
fill
();
// this.cdMask.moveTo(0, )
}
totalCd
=
0
;
cd
=
0
;
startCd
(
cd
=
5
)
{
this
.
cdTxt
.
node
.
active
=
true
;
this
.
cdMask
.
node
.
active
=
true
;
this
.
totalCd
=
cd
;
this
.
cd
=
cd
;
tween
(
this
as
PropBtn
)
.
to
(
cd
,
{
cd
:
0
},
{
onUpdate
:
(
target
:
PropBtn
,
ratio
:
number
)
=>
{
this
.
drawProcess
(
1
-
ratio
);
this
.
cdTxt
.
string
=
`
${
this
.
cd
.
toFixed
(
1
)}
s`
;
},
onComplete
:
()
=>
{
this
.
cdTxt
.
node
.
active
=
false
;
this
.
cdMask
.
node
.
active
=
false
;
}
})
.
start
();
}
start
()
{
}
update
(
deltaTime
:
number
)
{
}
}
assets/Scripts/Scenes/MainGame/Components/PropBtn.ts.meta
0 → 100644
View file @
a4cdb39c
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "532eab71-9a5a-4452-ae6f-c41c40b32568",
"files": [],
"subMetas": {},
"userData": {}
}
assets/Scripts/Scenes/MainGame/MainGame.ts
View file @
a4cdb39c
...
...
@@ -158,8 +158,8 @@ export class MainGame extends Scene {
initAiSnake(nickName?: string, tag?: number) {
const node = aiPool.get() || instantiate(this.animalPrefab);
const x = math.randomRange
Int
(-(Global.MAP_WIDTH / 2 - 50), Global.MAP_WIDTH / 2 - 50);
const y = math.randomRange
Int
(-(Global.MAP_HEIGHT / 2 - 50), Global.MAP_HEIGHT / 2 - 50);
const x = math.randomRange(-(Global.MAP_WIDTH / 2 - 50), Global.MAP_WIDTH / 2 - 50);
const y = math.randomRange(-(Global.MAP_HEIGHT / 2 - 50), Global.MAP_HEIGHT / 2 - 50);
node.getComponent(AISnake)?.init({
nickName: nickName,
tag: tag,
...
...
@@ -167,7 +167,7 @@ export class MainGame extends Scene {
// x: 50,
// y: 50,
// bodyCount: 100,
angle: math.randomRange
Int
(0, 360),
angle: math.randomRange(0, 360),
skinName: "s0",
});
this.animalNode.addChild(node);
...
...
assets/Start/Start.scene
View file @
a4cdb39c
...
...
@@ -181,7 +181,7 @@
"_priority": 65535,
"_fov": 45,
"_fovAxis": 0,
"_orthoHeight":
857.290836653386
5,
"_orthoHeight":
617.807407407407
5,
"_near": 1,
"_far": 2000,
"_color": {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment