Commit ed99c6cc authored by unknown's avatar unknown

算式接龙好了

parent 85a40717
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
}, },
{ {
"__type__": "cc.Scene", "__type__": "cc.Scene",
"_name": "FormulaSolitaire", "_name": "FormulaSolitaire_1",
"_objFlags": 0, "_objFlags": 0,
"_parent": null, "_parent": null,
"_children": [ "_children": [
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
"_prefab": null, "_prefab": null,
"autoReleaseAssets": false, "autoReleaseAssets": false,
"_globals": { "_globals": {
"__id__": 79 "__id__": 102
}, },
"_id": "1cd9e018-8b35-4525-bca9-8418f7439cca" "_id": "1cd9e018-8b35-4525-bca9-8418f7439cca"
}, },
...@@ -215,22 +215,28 @@ ...@@ -215,22 +215,28 @@
"__id__": 25 "__id__": 25
}, },
{ {
"__id__": 54 "__id__": 38
},
{
"__id__": 61
},
{
"__id__": 79
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 72 "__id__": 95
}, },
{ {
"__id__": 74 "__id__": 97
}, },
{ {
"__id__": 76 "__id__": 99
}, },
{ {
"__id__": 78 "__id__": 101
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -318,7 +324,7 @@ ...@@ -318,7 +324,7 @@
"_priority": 1073741824, "_priority": 1073741824,
"_fov": 45, "_fov": 45,
"_fovAxis": 0, "_fovAxis": 0,
"_orthoHeight": 466.3930510314875, "_orthoHeight": 375,
"_near": 1, "_near": 1,
"_far": 2000, "_far": 2000,
"_color": { "_color": {
...@@ -744,7 +750,7 @@ ...@@ -744,7 +750,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "Layout", "_name": "resultNode",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 7 "__id__": 7
...@@ -754,29 +760,23 @@ ...@@ -754,29 +760,23 @@
"__id__": 26 "__id__": 26
}, },
{ {
"__id__": 32 "__id__": 31
},
{
"__id__": 43
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 49 "__id__": 36
},
{
"__id__": 51
}, },
{ {
"__id__": 53 "__id__": 37
} }
], ],
"_prefab": null, "_prefab": null,
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 511.457,
"y": 325, "y": -109.40899999999999,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
...@@ -792,18 +792,18 @@ ...@@ -792,18 +792,18 @@
"y": 1, "y": 1,
"z": 1 "z": 1
}, },
"_layer": 33554432, "_layer": 1073741824,
"_euler": { "_euler": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 0, "y": 0,
"z": 0 "z": 0
}, },
"_id": "d87p/7xs1GrouEdakdi0gT" "_id": "d7mp2E6VVH/LoLwHTZPKmY"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "名称框", "_name": "resultSpr",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 25 "__id__": 25
...@@ -816,15 +816,12 @@ ...@@ -816,15 +816,12 @@
}, },
{ {
"__id__": 29 "__id__": 29
},
{
"__id__": 31
} }
], ],
"_prefab": null, "_prefab": null,
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": -526, "x": 0,
"y": 0, "y": 0,
"z": 0 "z": 0
}, },
...@@ -848,7 +845,7 @@ ...@@ -848,7 +845,7 @@
"y": 0, "y": 0,
"z": 0 "z": 0
}, },
"_id": "5dmYirkoNFOLcw2HVEoy8h" "_id": "11VCe/+lBCfok7euQnLO/a"
}, },
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
...@@ -863,15 +860,15 @@ ...@@ -863,15 +860,15 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 262, "width": 280,
"height": 69 "height": 120
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5, "x": 0.5,
"y": 0.5 "y": 0.5
}, },
"_id": "4cxTuxaMpFL64gNsuH6Wug" "_id": "dc23pu5uxEH6LKvCOLs1tm"
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
...@@ -894,18 +891,18 @@ ...@@ -894,18 +891,18 @@
"_dstBlendFactor": 4, "_dstBlendFactor": 4,
"_color": { "_color": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 0,
"g": 255, "g": 0,
"b": 255, "b": 0,
"a": 255 "a": 80
}, },
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "27f9e1c5-9a40-47ab-8f5c-721bb5d34eb5@f9941", "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941",
"__expectedType__": "cc.SpriteFrame" "__expectedType__": "cc.SpriteFrame"
}, },
"_type": 0, "_type": 0,
"_fillType": 0, "_fillType": 0,
"_sizeMode": 1, "_sizeMode": 0,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0, "x": 0,
...@@ -916,115 +913,33 @@ ...@@ -916,115 +913,33 @@
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_useGrayscale": false, "_useGrayscale": false,
"_atlas": null, "_atlas": null,
"_id": "14YoHAekVKQJs1PEskhsxU" "_id": "1bm2IG30BPbb/xRTSFRFVd"
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "e71ctEmpxFC4KlSYRZNz/a" "fileId": "e71ctEmpxFC4KlSYRZNz/a"
}, },
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 26
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 9,
"_target": null,
"_left": 10,
"_right": 0,
"_top": 15.5,
"_bottom": 0,
"_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": "51ww3D/ZNPOZcQfFinmfkE"
},
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "时间框", "_name": "resultLab",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 25 "__id__": 25
}, },
"_children": [ "_children": [],
{
"__id__": 33
}
],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 38
},
{
"__id__": 40
},
{
"__id__": 42
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 464,
"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
},
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "00+tePsJBBMIyD5GVrvaRs"
},
{
"__type__": "cc.Node",
"_name": "timeLab",
"_objFlags": 0,
"_parent": {
"__id__": 32 "__id__": 32
}, },
"_children": [],
"_active": true,
"_components": [
{ {
"__id__": 34 "__id__": 34
},
{
"__id__": 36
} }
], ],
"_prefab": null, "_prefab": null,
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 94.847, "x": 0,
"y": 0, "y": 0,
"z": 0 "z": 0
}, },
...@@ -1048,30 +963,30 @@ ...@@ -1048,30 +963,30 @@
"y": 0, "y": 0,
"z": 0 "z": 0
}, },
"_id": "a3Sy5LjUpOHIsmQObp/qKf" "_id": "259M6GvIxNV6ROM7wuzeYt"
}, },
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 33 "__id__": 31
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 35 "__id__": 33
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 100.1, "width": 84.51,
"height": 50.4 "height": 52.92
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5, "x": 0.5,
"y": 0.5 "y": 0.5
}, },
"_id": "e7W9i4CydEFKWLO6msxI7k" "_id": "b8BAr0LQBBKKQe7tnA1C05"
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
...@@ -1082,11 +997,11 @@ ...@@ -1082,11 +997,11 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 33 "__id__": 31
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 37 "__id__": 35
}, },
"_visFlags": 0, "_visFlags": 0,
"_customMaterial": null, "_customMaterial": null,
...@@ -1099,13 +1014,13 @@ ...@@ -1099,13 +1014,13 @@
"b": 255, "b": 255,
"a": 255 "a": 255
}, },
"_string": "00:00", "_string": "label",
"_horizontalAlign": 1, "_horizontalAlign": 0,
"_verticalAlign": 1, "_verticalAlign": 1,
"_actualFontSize": 40, "_actualFontSize": 40,
"_fontSize": 40, "_fontSize": 40,
"_fontFamily": "Arial", "_fontFamily": "Arial",
"_lineHeight": 40, "_lineHeight": 42,
"_overflow": 0, "_overflow": 0,
"_enableWrapText": true, "_enableWrapText": true,
"_font": null, "_font": null,
...@@ -1115,7 +1030,7 @@ ...@@ -1115,7 +1030,7 @@
"_isUnderline": false, "_isUnderline": false,
"_underlineHeight": 2, "_underlineHeight": 2,
"_cacheMode": 0, "_cacheMode": 0,
"_id": "1c6JWiMA9Ckr4els4LOBcR" "_id": "1cH7e9o2RKvoUdWt6SwcAN"
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
...@@ -1126,88 +1041,37 @@ ...@@ -1126,88 +1041,37 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 32 "__id__": 25
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": null,
"__id__": 39
},
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 376, "width": 280,
"height": 69 "height": 120
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5, "x": 0.5,
"y": 0.5 "y": 0.5
}, },
"_id": "36FE8twstL6Lm2YUmZfpYG" "_id": "f4Q7f6DZpMqrj+Lm6hU8Lv"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f7NISe7HdAD68SLfhnddy8"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 32
},
"_enabled": true,
"__prefab": {
"__id__": 41
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "4ca08d57-ebb2-435a-910c-7b6c15aa85c8@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": "c2r8qak6RM7IafH2bmFcnU"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "e71ctEmpxFC4KlSYRZNz/a"
}, },
{ {
"__type__": "cc.Widget", "__type__": "cc.Widget",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 32 "__id__": 25
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
"_alignFlags": 33, "_alignFlags": 36,
"_target": null, "_target": null,
"_left": 0, "_left": 0,
"_right": 15, "_right": 15.543000000000006,
"_top": 15.5, "_top": 0,
"_bottom": 0, "_bottom": 205.591,
"_horizontalCenter": 0, "_horizontalCenter": 0,
"_verticalCenter": 0, "_verticalCenter": 0,
"_isAbsLeft": true, "_isAbsLeft": true,
...@@ -1220,33 +1084,40 @@ ...@@ -1220,33 +1084,40 @@
"_originalHeight": 0, "_originalHeight": 0,
"_alignMode": 2, "_alignMode": 2,
"_lockFlags": 0, "_lockFlags": 0,
"_id": "b1vr+me/dEDKL5NWX7Jqdb" "_id": "43Zq0ke7JAfandi7eqGFAu"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "resultLab", "_name": "Layout",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 25 "__id__": 7
}, },
"_children": [], "_children": [
{
"__id__": 39
},
{
"__id__": 45
}
],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 44 "__id__": 56
}, },
{ {
"__id__": 46 "__id__": 58
}, },
{ {
"__id__": 48 "__id__": 60
} }
], ],
"_prefab": null, "_prefab": null,
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 0, "y": 325,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
...@@ -1269,45 +1140,94 @@ ...@@ -1269,45 +1140,94 @@
"y": 0, "y": 0,
"z": 0 "z": 0
}, },
"_id": "e4jXva4ZdOPre9SFh67c6+" "_id": "d87p/7xs1GrouEdakdi0gT"
}, },
{ {
"__type__": "cc.UITransform", "__type__": "cc.Node",
"_name": "", "_name": "名称框",
"_objFlags": 0, "_objFlags": 0,
"node": { "_parent": {
"__id__": 43 "__id__": 38
}, },
"_enabled": true, "_children": [],
"__prefab": { "_active": true,
"__id__": 45 "_components": [
{
"__id__": 40
},
{
"__id__": 42
},
{
"__id__": 44
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": -526,
"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
},
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "5dmYirkoNFOLcw2HVEoy8h"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 39
},
"_enabled": true,
"__prefab": {
"__id__": 41
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 266.74, "width": 262,
"height": 50.4 "height": 69
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5, "x": 0.5,
"y": 0.5 "y": 0.5
}, },
"_id": "aeVBfupBBHe5xe13VLnJ6a" "_id": "4cxTuxaMpFL64gNsuH6Wug"
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "c68UOAlNhN171Umca6yVvF" "fileId": "f7NISe7HdAD68SLfhnddy8"
}, },
{ {
"__type__": "cc.Label", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 43 "__id__": 39
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 47 "__id__": 43
}, },
"_visFlags": 0, "_visFlags": 0,
"_customMaterial": null, "_customMaterial": null,
...@@ -1320,42 +1240,43 @@ ...@@ -1320,42 +1240,43 @@
"b": 255, "b": 255,
"a": 255 "a": 255
}, },
"_string": "正确答案:666", "_spriteFrame": {
"_horizontalAlign": 1, "__uuid__": "27f9e1c5-9a40-47ab-8f5c-721bb5d34eb5@f9941",
"_verticalAlign": 1, "__expectedType__": "cc.SpriteFrame"
"_actualFontSize": 40, },
"_fontSize": 40, "_type": 0,
"_fontFamily": "Arial", "_fillType": 0,
"_lineHeight": 40, "_sizeMode": 1,
"_overflow": 0, "_fillCenter": {
"_enableWrapText": true, "__type__": "cc.Vec2",
"_font": null, "x": 0,
"_isSystemFontUsed": true, "y": 0
"_isItalic": false, },
"_isBold": false, "_fillStart": 0,
"_isUnderline": false, "_fillRange": 0,
"_underlineHeight": 2, "_isTrimmedMode": true,
"_cacheMode": 0, "_useGrayscale": false,
"_id": "48ixDMIgBGl4xebUuZN2uU" "_atlas": null,
"_id": "14YoHAekVKQJs1PEskhsxU"
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "2frm37uaJHQr0AEEaYyM82" "fileId": "e71ctEmpxFC4KlSYRZNz/a"
}, },
{ {
"__type__": "cc.Widget", "__type__": "cc.Widget",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 43 "__id__": 39
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
"_alignFlags": 16, "_alignFlags": 9,
"_target": null, "_target": null,
"_left": 0, "_left": 10,
"_right": 0, "_right": 0,
"_top": 0, "_top": 15.5,
"_bottom": 0, "_bottom": 0,
"_horizontalCenter": 0, "_horizontalCenter": 0,
"_verticalCenter": 0, "_verticalCenter": 0,
...@@ -1369,86 +1290,706 @@ ...@@ -1369,86 +1290,706 @@
"_originalHeight": 0, "_originalHeight": 0,
"_alignMode": 2, "_alignMode": 2,
"_lockFlags": 0, "_lockFlags": 0,
"_id": "bbbhbHRghG1oZLsplNeT4h" "_id": "51ww3D/ZNPOZcQfFinmfkE"
},
{
"__type__": "cc.Node",
"_name": "时间框",
"_objFlags": 0,
"_parent": {
"__id__": 38
},
"_children": [
{
"__id__": 46
}
],
"_active": true,
"_components": [
{
"__id__": 51
},
{
"__id__": 53
},
{
"__id__": 55
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 464,
"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
},
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "00+tePsJBBMIyD5GVrvaRs"
},
{
"__type__": "cc.Node",
"_name": "timeLab",
"_objFlags": 0,
"_parent": {
"__id__": 45
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 47
},
{
"__id__": 49
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 94.847,
"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
},
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "a3Sy5LjUpOHIsmQObp/qKf"
}, },
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 25 "__id__": 46
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 50 "__id__": 48
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1334, "width": 100.1,
"height": 100 "height": 50.4
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5, "x": 0.5,
"y": 0.5 "y": 0.5
}, },
"_id": "8byt9RjqBOJpbIV3KeDOh0" "_id": "e7W9i4CydEFKWLO6msxI7k"
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "71F9vsVsZH7ZFd+PpN0azA" "fileId": "c68UOAlNhN171Umca6yVvF"
}, },
{ {
"__type__": "cc.Layout", "__type__": "cc.Label",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 25 "__id__": 46
}, },
"_enabled": false, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 52 "__id__": 50
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "00:00",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 40,
"_fontSize": 40,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_isItalic": false,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_id": "1c6JWiMA9Ckr4els4LOBcR"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "2frm37uaJHQr0AEEaYyM82"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 45
},
"_enabled": true,
"__prefab": {
"__id__": 52
},
"_contentSize": {
"__type__": "cc.Size",
"width": 376,
"height": 69
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "36FE8twstL6Lm2YUmZfpYG"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f7NISe7HdAD68SLfhnddy8"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 45
},
"_enabled": true,
"__prefab": {
"__id__": 54
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "4ca08d57-ebb2-435a-910c-7b6c15aa85c8@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": "c2r8qak6RM7IafH2bmFcnU"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "e71ctEmpxFC4KlSYRZNz/a"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 45
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 33,
"_target": null,
"_left": 0,
"_right": 15,
"_top": 15.5,
"_bottom": 0,
"_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": "b1vr+me/dEDKL5NWX7Jqdb"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 38
},
"_enabled": true,
"__prefab": {
"__id__": 57
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1334,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "8byt9RjqBOJpbIV3KeDOh0"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "71F9vsVsZH7ZFd+PpN0azA"
},
{
"__type__": "cc.Layout",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 38
},
"_enabled": false,
"__prefab": {
"__id__": 59
},
"_resizeMode": 1,
"_layoutType": 1,
"_cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_startAxis": 0,
"_paddingLeft": 0,
"_paddingRight": 0,
"_paddingTop": 0,
"_paddingBottom": 0,
"_spacingX": 0,
"_spacingY": 0,
"_verticalDirection": 1,
"_horizontalDirection": 0,
"_constraint": 0,
"_constraintNum": 2,
"_affectedByScale": false,
"_isAlign": false,
"_id": "22fXVDp8lOh7Py3nuPR1m4"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "eaGEkmlCpANK+GS6CImtZa"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 38
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 41,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 1334,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": "bdgUo7irFBBpqziZWQwIqa"
},
{
"__type__": "cc.Node",
"_name": "gameDescBtn",
"_objFlags": 0,
"_parent": {
"__id__": 7
},
"_children": [
{
"__id__": 62
},
{
"__id__": 67
}
],
"_active": true,
"_components": [
{
"__id__": 72
},
{
"__id__": 74
},
{
"__id__": 76
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 527.627,
"y": 211.904,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "98Dy+ccbdPKo49slGUgFRW"
},
{
"__type__": "cc.Node",
"_name": "bgSpr",
"_objFlags": 0,
"_parent": {
"__id__": 61
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 63
},
{
"__id__": 65
}
],
"_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
},
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "bc+U0tf1hLQbm/9zsgLmHA"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 62
},
"_enabled": true,
"__prefab": {
"__id__": 64
},
"_contentSize": {
"__type__": "cc.Size",
"width": 160,
"height": 60
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "dejCKqimBMQ7ovnJ0alUy8"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "55pCbtzR5GbojKMArZkfim"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 62
},
"_enabled": true,
"__prefab": {
"__id__": 66
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 120
},
"_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": "6b6/qPCuNPD5cE52zWuIhK"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "20UGQn4U9GUoln0NJQTkbG"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 0,
"_parent": {
"__id__": 61
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 68
},
{
"__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
},
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "e9bM82rDhHK5k6wLKIe6XA"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 67
},
"_enabled": true,
"__prefab": {
"__id__": 69
},
"_contentSize": {
"__type__": "cc.Size",
"width": 128,
"height": 50.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "e6bCNa4QRGEqA2cd5jIbyA"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c68UOAlNhN171Umca6yVvF"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 67
},
"_enabled": true,
"__prefab": {
"__id__": 71
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "玩法说明",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 32,
"_fontSize": 32,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_isItalic": false,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_id": "d1Nw2AA6JP2rf1f33QSrJH"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "2frm37uaJHQr0AEEaYyM82"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 61
},
"_enabled": true,
"__prefab": {
"__id__": 73
}, },
"_resizeMode": 1, "_contentSize": {
"_layoutType": 1,
"_cellSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 40, "width": 160,
"height": 40 "height": 60
}, },
"_startAxis": 0, "_anchorPoint": {
"_paddingLeft": 0, "__type__": "cc.Vec2",
"_paddingRight": 0, "x": 0.5,
"_paddingTop": 0, "y": 0.5
"_paddingBottom": 0, },
"_spacingX": 0, "_id": "ddAnERZ1BNxLoVZfSF5gTS"
"_spacingY": 0,
"_verticalDirection": 1,
"_horizontalDirection": 0,
"_constraint": 0,
"_constraintNum": 2,
"_affectedByScale": false,
"_isAlign": false,
"_id": "22fXVDp8lOh7Py3nuPR1m4"
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "eaGEkmlCpANK+GS6CImtZa" "fileId": "30AFpV6rhJLKJMbjqrvDLm"
}, },
{ {
"__type__": "cc.Widget", "__type__": "cc.Widget",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 25 "__id__": 61
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": {
"_alignFlags": 41, "__id__": 75
},
"_alignFlags": 33,
"_target": null, "_target": null,
"_left": 0, "_left": 0,
"_right": 0, "_right": 59.37300000000005,
"_top": 0, "_top": 133.096,
"_bottom": 0, "_bottom": 0,
"_horizontalCenter": 0, "_horizontalCenter": 0,
"_verticalCenter": 0, "_verticalCenter": 0,
...@@ -1458,44 +1999,117 @@ ...@@ -1458,44 +1999,117 @@
"_isAbsBottom": true, "_isAbsBottom": true,
"_isAbsHorizontalCenter": true, "_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true, "_isAbsVerticalCenter": true,
"_originalWidth": 1334, "_originalWidth": 0,
"_originalHeight": 0, "_originalHeight": 0,
"_alignMode": 2, "_alignMode": 2,
"_lockFlags": 0, "_lockFlags": 0,
"_id": "bdgUo7irFBBpqziZWQwIqa" "_id": "e4SYDWpuhAtp22QPZQevyq"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "ebKiXA481GJaVCm3yUMRB/"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 61
},
"_enabled": true,
"__prefab": {
"__id__": 77
},
"clickEvents": [
{
"__id__": 78
}
],
"_interactable": true,
"_transition": 0,
"_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": null,
"_hoverSprite": null,
"_pressedSprite": null,
"_disabledSprite": null,
"_duration": 0.1,
"_zoomScale": 1.2,
"_target": null,
"_id": "4c/dcDP0tEroRkwqvLBp6W"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "fasaRsl0VPiqKt+O6/ppa2"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 7
},
"component": "",
"_componentId": "2a0e2TL1OJAoISTn0XIADXR",
"handler": "showGameDescView",
"customEventData": ""
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "gameDescBtn", "_name": "resetBtn",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 7 "__id__": 7
}, },
"_children": [ "_children": [
{ {
"__id__": 55 "__id__": 80
}, },
{ {
"__id__": 60 "__id__": 85
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 65 "__id__": 90
}, },
{ {
"__id__": 67 "__id__": 92
}, },
{ {
"__id__": 69 "__id__": 94
} }
], ],
"_prefab": null, "_prefab": null,
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 527.627, "x": 519.364,
"y": 211.904, "y": -279.08299999999997,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
...@@ -1518,23 +2132,23 @@ ...@@ -1518,23 +2132,23 @@
"y": 0, "y": 0,
"z": 0 "z": 0
}, },
"_id": "98Dy+ccbdPKo49slGUgFRW" "_id": "b3uilBYsRJeadLzCsZLzm3"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "bgSpr", "_name": "bgSpr",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 54 "__id__": 79
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 56 "__id__": 81
}, },
{ {
"__id__": 58 "__id__": 83
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1564,22 +2178,22 @@ ...@@ -1564,22 +2178,22 @@
"y": 0, "y": 0,
"z": 0 "z": 0
}, },
"_id": "bc+U0tf1hLQbm/9zsgLmHA" "_id": "37QmisHnNNHpPRscruup14"
}, },
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 55 "__id__": 80
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 57 "__id__": 82
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 160, "width": 120,
"height": 60 "height": 60
}, },
"_anchorPoint": { "_anchorPoint": {
...@@ -1587,7 +2201,7 @@ ...@@ -1587,7 +2201,7 @@
"x": 0.5, "x": 0.5,
"y": 0.5 "y": 0.5
}, },
"_id": "dejCKqimBMQ7ovnJ0alUy8" "_id": "653cmRIbJEIIw50Upx2Vut"
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
...@@ -1598,11 +2212,11 @@ ...@@ -1598,11 +2212,11 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 55 "__id__": 80
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 59 "__id__": 84
}, },
"_visFlags": 0, "_visFlags": 0,
"_customMaterial": null, "_customMaterial": null,
...@@ -1632,7 +2246,7 @@ ...@@ -1632,7 +2246,7 @@
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_useGrayscale": false, "_useGrayscale": false,
"_atlas": null, "_atlas": null,
"_id": "6b6/qPCuNPD5cE52zWuIhK" "_id": "f5cE7G8YpA+ovHA26SPWdL"
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
...@@ -1643,16 +2257,16 @@ ...@@ -1643,16 +2257,16 @@
"_name": "Label", "_name": "Label",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 54 "__id__": 79
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 61 "__id__": 86
}, },
{ {
"__id__": 63 "__id__": 88
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1682,22 +2296,22 @@ ...@@ -1682,22 +2296,22 @@
"y": 0, "y": 0,
"z": 0 "z": 0
}, },
"_id": "e9bM82rDhHK5k6wLKIe6XA" "_id": "3emwrCuVdE1bXgM74cQsOA"
}, },
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 60 "__id__": 85
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 62 "__id__": 87
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 128, "width": 80,
"height": 50.4 "height": 50.4
}, },
"_anchorPoint": { "_anchorPoint": {
...@@ -1705,7 +2319,7 @@ ...@@ -1705,7 +2319,7 @@
"x": 0.5, "x": 0.5,
"y": 0.5 "y": 0.5
}, },
"_id": "e6bCNa4QRGEqA2cd5jIbyA" "_id": "e57LzoVCFGUqggRPuuBWqh"
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
...@@ -1716,11 +2330,11 @@ ...@@ -1716,11 +2330,11 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 60 "__id__": 85
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 64 "__id__": 89
}, },
"_visFlags": 0, "_visFlags": 0,
"_customMaterial": null, "_customMaterial": null,
...@@ -1733,11 +2347,11 @@ ...@@ -1733,11 +2347,11 @@
"b": 255, "b": 255,
"a": 255 "a": 255
}, },
"_string": "玩法说明", "_string": "还原",
"_horizontalAlign": 1, "_horizontalAlign": 1,
"_verticalAlign": 1, "_verticalAlign": 1,
"_actualFontSize": 32, "_actualFontSize": 40,
"_fontSize": 32, "_fontSize": 40,
"_fontFamily": "Arial", "_fontFamily": "Arial",
"_lineHeight": 40, "_lineHeight": 40,
"_overflow": 0, "_overflow": 0,
...@@ -1749,7 +2363,7 @@ ...@@ -1749,7 +2363,7 @@
"_isUnderline": false, "_isUnderline": false,
"_underlineHeight": 2, "_underlineHeight": 2,
"_cacheMode": 0, "_cacheMode": 0,
"_id": "d1Nw2AA6JP2rf1f33QSrJH" "_id": "84DoofcsNKhowq8NgUCXkc"
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
...@@ -1760,15 +2374,15 @@ ...@@ -1760,15 +2374,15 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 54 "__id__": 79
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 66 "__id__": 91
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 160, "width": 120,
"height": 60 "height": 60
}, },
"_anchorPoint": { "_anchorPoint": {
...@@ -1776,65 +2390,28 @@ ...@@ -1776,65 +2390,28 @@
"x": 0.5, "x": 0.5,
"y": 0.5 "y": 0.5
}, },
"_id": "ddAnERZ1BNxLoVZfSF5gTS" "_id": "93Y21FWfJDtZ99rgggM/IW"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "30AFpV6rhJLKJMbjqrvDLm"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 54
},
"_enabled": true,
"__prefab": {
"__id__": 68
},
"_alignFlags": 33,
"_target": null,
"_left": 0,
"_right": 59.37300000000005,
"_top": 133.096,
"_bottom": 0,
"_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": "e4SYDWpuhAtp22QPZQevyq"
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "ebKiXA481GJaVCm3yUMRB/" "fileId": "55pCbtzR5GbojKMArZkfim"
}, },
{ {
"__type__": "cc.Button", "__type__": "cc.Button",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 54 "__id__": 79
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": null,
"__id__": 70
},
"clickEvents": [ "clickEvents": [
{ {
"__id__": 71 "__id__": 93
} }
], ],
"_interactable": true, "_interactable": true,
"_transition": 0, "_transition": 3,
"_normalColor": { "_normalColor": {
"__type__": "cc.Color", "__type__": "cc.Color",
"r": 255, "r": 255,
...@@ -1868,13 +2445,9 @@ ...@@ -1868,13 +2445,9 @@
"_pressedSprite": null, "_pressedSprite": null,
"_disabledSprite": null, "_disabledSprite": null,
"_duration": 0.1, "_duration": 0.1,
"_zoomScale": 1.2, "_zoomScale": 0.85,
"_target": null, "_target": null,
"_id": "4c/dcDP0tEroRkwqvLBp6W" "_id": "de5lHeVo9NNKhRvKbd9qP3"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "fasaRsl0VPiqKt+O6/ppa2"
}, },
{ {
"__type__": "cc.ClickEvent", "__type__": "cc.ClickEvent",
...@@ -1883,9 +2456,38 @@ ...@@ -1883,9 +2456,38 @@
}, },
"component": "", "component": "",
"_componentId": "2a0e2TL1OJAoISTn0XIADXR", "_componentId": "2a0e2TL1OJAoISTn0XIADXR",
"handler": "showGameDescView", "handler": "onResetBtnClick",
"customEventData": "" "customEventData": ""
}, },
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 79
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 36,
"_target": null,
"_left": 0,
"_right": 87.63599999999997,
"_top": 0,
"_bottom": 65.917,
"_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": "d0kHAtbHNGKpoOcUT2Oo8m"
},
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
"_name": "", "_name": "",
...@@ -1895,7 +2497,7 @@ ...@@ -1895,7 +2497,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 73 "__id__": 96
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
...@@ -1922,7 +2524,7 @@ ...@@ -1922,7 +2524,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 75 "__id__": 98
}, },
"_cameraComponent": { "_cameraComponent": {
"__id__": 9 "__id__": 9
...@@ -1943,7 +2545,7 @@ ...@@ -1943,7 +2545,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 77 "__id__": 100
}, },
"_alignFlags": 45, "_alignFlags": 45,
"_target": null, "_target": null,
...@@ -1989,27 +2591,27 @@ ...@@ -1989,27 +2591,27 @@
"__expectedType__": "cc.Prefab" "__expectedType__": "cc.Prefab"
}, },
"countdownLab": { "countdownLab": {
"__id__": 36 "__id__": 49
}, },
"totalTime": 100, "totalTime": 100,
"resultLab": { "resultLab": {
"__id__": 46 "__id__": 34
}, },
"_id": "604qNVtc5GtKxU+Lzl4Mik" "_id": "604qNVtc5GtKxU+Lzl4Mik"
}, },
{ {
"__type__": "cc.SceneGlobals", "__type__": "cc.SceneGlobals",
"ambient": { "ambient": {
"__id__": 80 "__id__": 103
}, },
"shadows": { "shadows": {
"__id__": 81 "__id__": 104
}, },
"_skybox": { "_skybox": {
"__id__": 82 "__id__": 105
}, },
"fog": { "fog": {
"__id__": 83 "__id__": 106
} }
}, },
{ {
......
...@@ -9,6 +9,7 @@ import { viewMgr, VIEW_INDEX } from '../../../../startFolder/script/common/ViewM ...@@ -9,6 +9,7 @@ import { viewMgr, VIEW_INDEX } from '../../../../startFolder/script/common/ViewM
import { BeginCountdownView } from '../../commonView/script/BeginCountdownView'; import { BeginCountdownView } from '../../commonView/script/BeginCountdownView';
import { ChallengeSuccView } from '../../commonView/script/ChallengeSuccView'; import { ChallengeSuccView } from '../../commonView/script/ChallengeSuccView';
import { GameDescView } from '../../commonView/script/GameDescView'; import { GameDescView } from '../../commonView/script/GameDescView';
import { SwitchOkView } from '../../commonView/script/SwitchOkView';
import { FormulaSolitaireCfg, FS_LV_1, FS_LV_2 } from './FormulaSolitaireCfg'; import { FormulaSolitaireCfg, FS_LV_1, FS_LV_2 } from './FormulaSolitaireCfg';
import { FormulaSolitaireItem, FS_ITEM_STATE } from './FormulaSolitaireItem'; import { FormulaSolitaireItem, FS_ITEM_STATE } from './FormulaSolitaireItem';
const { ccclass, property } = _decorator; const { ccclass, property } = _decorator;
...@@ -259,10 +260,15 @@ export class FormulaSolitaireCtr extends Component { ...@@ -259,10 +260,15 @@ export class FormulaSolitaireCtr extends Component {
gameEnd(isWin: boolean) { gameEnd(isWin: boolean) {
this.gameState = GAME_STATE.END; this.gameState = GAME_STATE.END;
if (isWin) { if (isWin) {
viewMgr.openView(VIEW_DEF.ChallengeSuccView, (node) => {
AudioMgr.playEffect(succMus); AudioMgr.playEffect(succMus);
viewMgr.openView(VIEW_DEF.SwitchOkView, (node) => {
node.getComponent(SwitchOkView)!.endCb = () => {
viewMgr.openView(VIEW_DEF.ChallengeSuccView, (node) => {
node?.getComponent(ChallengeSuccView)?.init(); node?.getComponent(ChallengeSuccView)?.init();
}, VIEW_INDEX.TOP); }, VIEW_INDEX.TOP);
};
node.getComponent(SwitchOkView)?.init(1.5);
});
} }
else { else {
viewMgr.openView(VIEW_DEF.ChallengeFailView, (node) => { viewMgr.openView(VIEW_DEF.ChallengeFailView, (node) => {
...@@ -272,7 +278,7 @@ export class FormulaSolitaireCtr extends Component { ...@@ -272,7 +278,7 @@ export class FormulaSolitaireCtr extends Component {
} }
checkWin() { checkWin() {
if (this.allLinePointArr.length < this.levelData.resultCount) return false; // if (this.allLinePointArr.length < this.levelData.resultCount) return false;
let retArr: number[][] = []; let retArr: number[][] = [];
for (let i = 0; i < this.allLinePointArr.length; ++i) { for (let i = 0; i < this.allLinePointArr.length; ++i) {
let numAtrArr: string[] = []; let numAtrArr: string[] = [];
...@@ -289,6 +295,7 @@ export class FormulaSolitaireCtr extends Component { ...@@ -289,6 +295,7 @@ export class FormulaSolitaireCtr extends Component {
} }
console.log(`所有结果`); console.log(`所有结果`);
console.log(retArr); console.log(retArr);
this.resultLab.string = `算式结果:` + this.levelData.result + "\n" + `剩余算式:` + (this.levelData.resultCount - count);
if (count >= this.levelData.resultCount) return true; if (count >= this.levelData.resultCount) return true;
return false; return false;
} }
...@@ -329,6 +336,17 @@ export class FormulaSolitaireCtr extends Component { ...@@ -329,6 +336,17 @@ export class FormulaSolitaireCtr extends Component {
return null; return null;
} }
onResetBtnClick(){
for (let i = 0; i < this.allLinePointArr.length; ++i) {
let line = this.allLinePointArr[i];
for (let j = 0; j < line.length; ++j) {
line[j].target.getComponent(FormulaSolitaireItem)?.setItemState(FS_ITEM_STATE.CENTER);
line[j].target.getComponent(FormulaSolitaireItem)?.setColor(Color.fromHEX(new Color(), this.orgColor));
}
}
this.allLinePointArr = [];
}
gameStart() { gameStart() {
this.gameState = GAME_STATE.READY; this.gameState = GAME_STATE.READY;
this.countdownLab.string = Utils.formatTime(Math.floor(this.totalTime * 1000)); this.countdownLab.string = Utils.formatTime(Math.floor(this.totalTime * 1000));
...@@ -336,7 +354,7 @@ export class FormulaSolitaireCtr extends Component { ...@@ -336,7 +354,7 @@ export class FormulaSolitaireCtr extends Component {
this.curLinePointArr = []; this.curLinePointArr = [];
this.allLinePointArr = []; this.allLinePointArr = [];
this.loadLevelData(); this.loadLevelData();
this.resultLab.string = `正确答案:` + this.levelData.result; this.resultLab.string = `算式结果:` + this.levelData.result + "\n" + `剩余算式:` + this.levelData.resultCount;
this.creAllItem(); this.creAllItem();
this.setBgSprSize(); this.setBgSprSize();
viewMgr.openView(VIEW_DEF.BeginCountdownView, (node) => { viewMgr.openView(VIEW_DEF.BeginCountdownView, (node) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment