Commit d20fd132 authored by 徐行's avatar 徐行

数式接龙准备修改逻辑

parent 99244032
{
"ver": "1.1.0",
"importer": "directory",
"imported": true,
"uuid": "fbe6252a-f841-4e3a-895b-019ccb60516c",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "cf24dab1-e8db-42e2-97ad-332fb1f691ee",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "cf24dab1-e8db-42e2-97ad-332fb1f691ee@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": "cf24dab1-e8db-42e2-97ad-332fb1f691ee"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "cf24dab1-e8db-42e2-97ad-332fb1f691ee@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": "cf24dab1-e8db-42e2-97ad-332fb1f691ee@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "cf24dab1-e8db-42e2-97ad-332fb1f691ee@f9941"
}
}
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "c3856754-81a6-46ff-9252-f35278ab1251",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "c3856754-81a6-46ff-9252-f35278ab1251@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": "c3856754-81a6-46ff-9252-f35278ab1251"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "c3856754-81a6-46ff-9252-f35278ab1251@f9941",
"displayName": "玩法说明",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 329,
"height": 238,
"rawWidth": 329,
"rawHeight": 238,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "c3856754-81a6-46ff-9252-f35278ab1251@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "c3856754-81a6-46ff-9252-f35278ab1251@f9941"
}
}
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "b52049b4-378d-41ac-952a-2e42a9e0e903",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "b52049b4-378d-41ac-952a-2e42a9e0e903@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": "b52049b4-378d-41ac-952a-2e42a9e0e903"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "b52049b4-378d-41ac-952a-2e42a9e0e903@f9941",
"displayName": "算式结果",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 226,
"height": 126,
"rawWidth": 226,
"rawHeight": 126,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "b52049b4-378d-41ac-952a-2e42a9e0e903@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "b52049b4-378d-41ac-952a-2e42a9e0e903@f9941"
}
}
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "eae58f84-994c-4204-9113-6b8930cf324a",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "eae58f84-994c-4204-9113-6b8930cf324a@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": "eae58f84-994c-4204-9113-6b8930cf324a"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "eae58f84-994c-4204-9113-6b8930cf324a@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": "eae58f84-994c-4204-9113-6b8930cf324a@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "eae58f84-994c-4204-9113-6b8930cf324a@f9941"
}
}
...@@ -132,16 +132,17 @@ export class FormulaSolitaireCtr extends Component { ...@@ -132,16 +132,17 @@ export class FormulaSolitaireCtr extends Component {
// [3] // [3]
director.on("begin_countdown_end", () => { director.on("begin_countdown_end", () => {
//引导 //引导
if (!this.isShowGameDescViewOnce) { // if (!this.isShowGameDescViewOnce) {
this.gameState = GAME_STATE.PAUSE; // this.gameState = GAME_STATE.PAUSE;
this.isShowGameDescViewOnce = true; // this.isShowGameDescViewOnce = true;
viewMgr.openView(VIEW_DEF.FormulaSolitaireDescView, (node) => { // viewMgr.openView(VIEW_DEF.FormulaSolitaireDescView, (node) => {
node.getComponent(FormulaSolitaireDescView)?.autoClose(); // node.getComponent(FormulaSolitaireDescView)?.autoClose();
}); // });
} // }
else { // else {
this.gameState = GAME_STATE.IDLE; // this.gameState = GAME_STATE.IDLE;
} // }
this.gameState = GAME_STATE.IDLE;
}, this); }, this);
director.on("game_desc_close", this.onCloseGameDescView, this); director.on("game_desc_close", this.onCloseGameDescView, this);
this.posArrNode.on(Node.EventType.TOUCH_START, this.onTouchStart, this); this.posArrNode.on(Node.EventType.TOUCH_START, this.onTouchStart, this);
......
...@@ -17,7 +17,7 @@ export class TempCtr extends Component { ...@@ -17,7 +17,7 @@ export class TempCtr extends Component {
assetManager.loadBundle("audio"); assetManager.loadBundle("audio");
CanvasSizeCtr.setContentStrategy(); CanvasSizeCtr.setContentStrategy();
assetManager.loadBundle("sceneBundle", (err, bundle) => { assetManager.loadBundle("sceneBundle", (err, bundle) => {
bundle.loadScene("RingSum_1", (err_1, scene: Scene) => { bundle.loadScene("FormulaSolitaire_1", (err_1, scene: Scene) => {
if (err_1) { if (err_1) {
log(`加载场景传入的场景名字有错`); log(`加载场景传入的场景名字有错`);
log(err_1); 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