Commit b6123113 authored by 徐行's avatar 徐行

数阵推理好了

parent 05167cb4
{
"ver": "1.1.0",
"importer": "directory",
"imported": true,
"uuid": "72c17fde-3b6c-4846-ab69-990a28ee5f2a",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "553e41fd-ae02-47b3-b670-a790aab2228d",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "553e41fd-ae02-47b3-b670-a790aab2228d@6c48a",
"displayName": "点击可还原至初始状态",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "553e41fd-ae02-47b3-b670-a790aab2228d"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "553e41fd-ae02-47b3-b670-a790aab2228d@f9941",
"displayName": "点击可还原至初始状态",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 239,
"height": 23,
"rawWidth": 239,
"rawHeight": 23,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "553e41fd-ae02-47b3-b670-a790aab2228d@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "553e41fd-ae02-47b3-b670-a790aab2228d@f9941"
}
}
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "690d432b-3706-4be6-863e-d6ca828baa21",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "690d432b-3706-4be6-863e-d6ca828baa21@6c48a",
"displayName": "玩法说明",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "690d432b-3706-4be6-863e-d6ca828baa21"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "690d432b-3706-4be6-863e-d6ca828baa21@f9941",
"displayName": "玩法说明",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 329,
"height": 248,
"rawWidth": 329,
"rawHeight": 248,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "690d432b-3706-4be6-863e-d6ca828baa21@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "690d432b-3706-4be6-863e-d6ca828baa21@f9941"
}
}
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "ec9125d7-4cc9-4a30-a336-c5e192ad049a",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "ec9125d7-4cc9-4a30-a336-c5e192ad049a@6c48a",
"displayName": "还原按钮",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "ec9125d7-4cc9-4a30-a336-c5e192ad049a"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "ec9125d7-4cc9-4a30-a336-c5e192ad049a@f9941",
"displayName": "还原按钮",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 280,
"height": 80,
"rawWidth": 280,
"rawHeight": 80,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "ec9125d7-4cc9-4a30-a336-c5e192ad049a@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "ec9125d7-4cc9-4a30-a336-c5e192ad049a@f9941"
}
}
......@@ -29,7 +29,7 @@
"_prefab": null,
"autoReleaseAssets": false,
"_globals": {
"__id__": 177
"__id__": 184
},
"_id": "94d615be-2f2a-47b1-a1a0-aa1f51c47468"
},
......@@ -219,21 +219,27 @@
},
{
"__id__": 154
},
{
"__id__": 160
},
{
"__id__": 171
}
],
"_active": true,
"_components": [
{
"__id__": 170
"__id__": 177
},
{
"__id__": 172
"__id__": 179
},
{
"__id__": 174
"__id__": 181
},
{
"__id__": 176
"__id__": 183
}
],
"_prefab": null,
......@@ -321,7 +327,7 @@
"_priority": 1073741824,
"_fov": 45,
"_fovAxis": 0,
"_orthoHeight": 375.00000000000006,
"_orthoHeight": 375,
"_near": 1,
"_far": 2000,
"_color": {
......@@ -1084,7 +1090,7 @@
"__id__": 45
}
],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 50
......@@ -4084,36 +4090,29 @@
},
{
"__type__": "cc.Node",
"_name": "resetBtn",
"_name": "点击可还原至初始状态",
"_objFlags": 0,
"_parent": {
"__id__": 7
},
"_children": [
{
"__id__": 155
},
{
"__id__": 160
}
],
"_children": [],
"_active": true,
"_components": [
{
"__id__": 165
"__id__": 155
},
{
"__id__": 167
"__id__": 157
},
{
"__id__": 169
"__id__": 159
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 527.627,
"y": -215.945,
"x": 507.47900000000004,
"y": -151.699,
"z": 0
},
"_lrot": {
......@@ -4136,91 +4135,45 @@
"y": 0,
"z": 0
},
"_id": "b9lM0CyR9LvJSOEsfS06UU"
},
{
"__type__": "cc.Node",
"_name": "bgSpr",
"_objFlags": 0,
"_parent": {
"__id__": 154
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 156
},
{
"__id__": 158
}
],
"_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": "00Zx11BVJLnYebPP1QPqZe"
"_id": "105phkYNpOWYNrYSlQEwIU"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 155
"__id__": 154
},
"_enabled": true,
"__prefab": {
"__id__": 157
"__id__": 156
},
"_contentSize": {
"__type__": "cc.Size",
"width": 120,
"height": 60
"width": 239,
"height": 23
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "d7GMl4RxtLxLPLrEQHf1hn"
"_id": "3fWZAYInxCNLYOSzJ7klec"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "55pCbtzR5GbojKMArZkfim"
"fileId": "f7NISe7HdAD68SLfhnddy8"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 155
"__id__": 154
},
"_enabled": true,
"__prefab": {
"__id__": 159
"__id__": 158
},
"_visFlags": 0,
"_customMaterial": null,
......@@ -4228,18 +4181,18 @@
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 120
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941",
"__uuid__": "553e41fd-ae02-47b3-b670-a790aab2228d@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
......@@ -4250,27 +4203,109 @@
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "c8RHPwI6FCm4W+3zXcot9B"
"_id": "e7fmNEcVZPhrSxHE9lhExC"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "20UGQn4U9GUoln0NJQTkbG"
"fileId": "e71ctEmpxFC4KlSYRZNz/a"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 154
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 34,
"_target": null,
"_left": 0,
"_right": 40.021000000000015,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": -151.699,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": "68qeXnnBRFSqJLrmvE808S"
},
{
"__type__": "cc.Node",
"_name": "Label",
"_name": "resetBtn",
"_objFlags": 0,
"_parent": {
"__id__": 154
"__id__": 7
},
"_children": [
{
"__id__": 161
}
],
"_active": true,
"_components": [
{
"__id__": 166
},
{
"__id__": 168
},
{
"__id__": 170
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 508.21000000000004,
"y": -211.66,
"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": "b9lM0CyR9LvJSOEsfS06UU"
},
{
"__type__": "cc.Node",
"_name": "bgSpr",
"_objFlags": 0,
"_parent": {
"__id__": 160
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 161
"__id__": 162
},
{
"__id__": 163
"__id__": 164
}
],
"_prefab": null,
......@@ -4300,45 +4335,45 @@
"y": 0,
"z": 0
},
"_id": "a2WB81BX9Pzos0xqklC/XL"
"_id": "00Zx11BVJLnYebPP1QPqZe"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 160
"__id__": 161
},
"_enabled": true,
"__prefab": {
"__id__": 162
"__id__": 163
},
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 50.4
"width": 280,
"height": 80
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "fbvrhJ+LhH0r7GnBH75gDc"
"_id": "d7GMl4RxtLxLPLrEQHf1hn"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c68UOAlNhN171Umca6yVvF"
"fileId": "55pCbtzR5GbojKMArZkfim"
},
{
"__type__": "cc.Label",
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 160
"__id__": 161
},
"_enabled": true,
"__prefab": {
"__id__": 164
"__id__": 165
},
"_visFlags": 0,
"_customMaterial": null,
......@@ -4351,43 +4386,44 @@
"b": 255,
"a": 255
},
"_string": "还原",
"_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": "6eEXxbJT9Pa4ZjeGYpIO/i"
"_spriteFrame": {
"__uuid__": "ec9125d7-4cc9-4a30-a336-c5e192ad049a@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": "c8RHPwI6FCm4W+3zXcot9B"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "2frm37uaJHQr0AEEaYyM82"
"fileId": "20UGQn4U9GUoln0NJQTkbG"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 154
"__id__": 160
},
"_enabled": true,
"__prefab": {
"__id__": 166
"__id__": 167
},
"_contentSize": {
"__type__": "cc.Size",
"width": 120,
"height": 60
"width": 280,
"height": 80
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -4405,13 +4441,13 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 154
"__id__": 160
},
"_enabled": true,
"__prefab": null,
"clickEvents": [
{
"__id__": 168
"__id__": 169
}
],
"_interactable": true,
......@@ -4468,18 +4504,18 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 154
"__id__": 160
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 36,
"_alignFlags": 34,
"_target": null,
"_left": 0,
"_right": 79.37300000000005,
"_right": 18.79000000000002,
"_top": 0,
"_bottom": 129.055,
"_bottom": 119.055,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_verticalCenter": -211.66,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
......@@ -4492,17 +4528,167 @@
"_lockFlags": 0,
"_id": "02X5X72ZZA9LoTK5bjN2s8"
},
{
"__type__": "cc.Node",
"_name": "玩法说明",
"_objFlags": 0,
"_parent": {
"__id__": 7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 172
},
{
"__id__": 174
},
{
"__id__": 176
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": -485.957,
"y": 30,
"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": "39XfvU0JZKUa06XMQrIiIE"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
"__id__": 171
},
"_enabled": true,
"__prefab": {
"__id__": 173
},
"_contentSize": {
"__type__": "cc.Size",
"width": 329,
"height": 248
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "e9MBFo4vdJK71NGgDqMkNW"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f7NISe7HdAD68SLfhnddy8"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 171
},
"_enabled": true,
"__prefab": {
"__id__": 175
},
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "690d432b-3706-4be6-863e-d6ca828baa21@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": "46ZI0TExVHO5vxu5+O2bXg"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "e71ctEmpxFC4KlSYRZNz/a"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 171
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 10,
"_target": null,
"_left": 16.543000000000006,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 30,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_alignMode": 2,
"_lockFlags": 0,
"_id": "e4urzXl1pPCqvLDW1yJpf0"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 7
},
"_enabled": true,
"__prefab": {
"__id__": 178
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1334,
......@@ -4528,7 +4714,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 173
"__id__": 180
},
"_cameraComponent": {
"__id__": 9
......@@ -4549,7 +4735,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 175
"__id__": 182
},
"_alignFlags": 45,
"_target": null,
......@@ -4606,16 +4792,16 @@
{
"__type__": "cc.SceneGlobals",
"ambient": {
"__id__": 178
"__id__": 185
},
"shadows": {
"__id__": 179
"__id__": 186
},
"_skybox": {
"__id__": 180
"__id__": 187
},
"fog": {
"__id__": 181
"__id__": 188
}
},
{
......
......@@ -108,16 +108,17 @@ export class NumMatReasonCtr extends Component {
director.on("item_click", this.onItemClick, this);
director.on("begin_countdown_end", () => {
//引导
if (!this.isShowGameDescViewOnce) {
this.gameState = GAME_STATE.PAUSE;
this.isShowGameDescViewOnce = true;
viewMgr.openView(VIEW_DEF.NumMatDescView, (node) => {
node.getComponent(NumMatDescView)?.autoClose();
});
}
else {
this.gameState = GAME_STATE.SELECT;
}
// if (!this.isShowGameDescViewOnce) {
// this.gameState = GAME_STATE.PAUSE;
// this.isShowGameDescViewOnce = true;
// viewMgr.openView(VIEW_DEF.NumMatDescView, (node) => {
// node.getComponent(NumMatDescView)?.autoClose();
// });
// }
// else {
// this.gameState = GAME_STATE.SELECT;
// }
this.gameState = GAME_STATE.SELECT;
}, this);
director.on("game_desc_close", this.onCloseGameDescView, this);
this.gameStart();
......
......@@ -17,7 +17,7 @@ export class TempCtr extends Component {
assetManager.loadBundle("audio");
CanvasSizeCtr.setContentStrategy();
assetManager.loadBundle("sceneBundle", (err, bundle) => {
bundle.loadScene("FormulaSolitaire_1", (err_1, scene: Scene) => {
bundle.loadScene("NumMatReason_1", (err_1, scene: Scene) => {
if (err_1) {
log(`加载场景传入的场景名字有错`);
log(err_1);
......
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