Commit 73c51fa3 authored by unknown's avatar unknown

游戏说明都好了

parent 0cb38e09
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "171332da-1802-416c-8130-f3e59c626ec1",
"files": [
".jpg",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "171332da-1802-416c-8130-f3e59c626ec1@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": "171332da-1802-416c-8130-f3e59c626ec1"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "171332da-1802-416c-8130-f3e59c626ec1@f9941",
"displayName": "纵横填数",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1998,
"height": 1112,
"rawWidth": 1998,
"rawHeight": 1112,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "171332da-1802-416c-8130-f3e59c626ec1@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": false,
"type": "sprite-frame",
"redirect": "171332da-1802-416c-8130-f3e59c626ec1@f9941"
}
}
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
"_prefab": null, "_prefab": null,
"autoReleaseAssets": false, "autoReleaseAssets": false,
"_globals": { "_globals": {
"__id__": 113 "__id__": 119
}, },
"_id": "3ad49fde-89b1-44df-a173-4859cc88e56d" "_id": "3ad49fde-89b1-44df-a173-4859cc88e56d"
}, },
...@@ -222,21 +222,24 @@ ...@@ -222,21 +222,24 @@
}, },
{ {
"__id__": 90 "__id__": 90
},
{
"__id__": 106
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 106 "__id__": 112
}, },
{ {
"__id__": 108 "__id__": 114
}, },
{ {
"__id__": 110 "__id__": 116
}, },
{ {
"__id__": 112 "__id__": 118
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -324,7 +327,7 @@ ...@@ -324,7 +327,7 @@
"_priority": 1073741824, "_priority": 1073741824,
"_fov": 45, "_fov": 45,
"_fovAxis": 0, "_fovAxis": 0,
"_orthoHeight": 375, "_orthoHeight": 375.00000000000006,
"_near": 1, "_near": 1,
"_far": 2000, "_far": 2000,
"_color": { "_color": {
...@@ -1946,12 +1949,12 @@ ...@@ -1946,12 +1949,12 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
"_alignFlags": 41, "_alignFlags": 44,
"_target": null, "_target": null,
"_left": 0, "_left": 0,
"_right": 0, "_right": 0,
"_top": 0, "_top": 0,
"_bottom": 0, "_bottom": 650,
"_horizontalCenter": 0, "_horizontalCenter": 0,
"_verticalCenter": 0, "_verticalCenter": 0,
"_isAbsLeft": true, "_isAbsLeft": true,
...@@ -2418,8 +2421,8 @@ ...@@ -2418,8 +2421,8 @@
"_prefab": null, "_prefab": null,
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 527.633, "x": 473.673,
"y": 29.711000000000013, "y": 181.798,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
...@@ -2781,8 +2784,8 @@ ...@@ -2781,8 +2784,8 @@
"_alignFlags": 33, "_alignFlags": 33,
"_target": null, "_target": null,
"_left": 0, "_left": 0,
"_right": 79.36699999999996, "_right": 133.327,
"_top": 315.289, "_top": 163.202,
"_bottom": 374.711, "_bottom": 374.711,
"_horizontalCenter": 0, "_horizontalCenter": 0,
"_verticalCenter": 0, "_verticalCenter": 0,
...@@ -2798,6 +2801,140 @@ ...@@ -2798,6 +2801,140 @@
"_lockFlags": 0, "_lockFlags": 0,
"_id": "a6ziPu9cpIkoFbFNuddrJM" "_id": "a6ziPu9cpIkoFbFNuddrJM"
}, },
{
"__type__": "cc.Node",
"_name": "descRT",
"_objFlags": 0,
"_parent": {
"__id__": 7
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 107
},
{
"__id__": 109
},
{
"__id__": 111
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 484.375,
"y": -27.27199999999997,
"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": "61XSFwERBEU4033t8m2+2n"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 106
},
"_enabled": true,
"__prefab": {
"__id__": 108
},
"_contentSize": {
"__type__": "cc.Size",
"width": 320,
"height": 127.8
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "7fFwzgOg5EFao25dvT+mNR"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "4bf4SjaRxP4KcluNxRvaJw"
},
{
"__type__": "cc.RichText",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 106
},
"_enabled": true,
"__prefab": {
"__id__": 110
},
"_lineHeight": 30,
"_string": "<color=#333333>把数字填入左侧的方框内,使计算结果成立。</color>\n<color=#FFA963>算式从左到右/从上到下都要\n符合四则运算优先级。</color>",
"_horizontalAlign": 1,
"_fontSize": 25,
"_maxWidth": 320,
"_fontFamily": "Arial",
"_font": null,
"_isSystemFontUsed": true,
"_userDefinedFont": null,
"_cacheMode": 0,
"_imageAtlas": null,
"_handleTouchEvent": true,
"_id": "32AJju10NGj4Kh6NeZouTN"
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "b5LFduq8VJWo/DE4BRFmBn"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 106
},
"_enabled": true,
"__prefab": null,
"_alignFlags": 36,
"_target": null,
"_left": 0,
"_right": 22.625,
"_top": 0,
"_bottom": 283.82800000000003,
"_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": "87Ui80cEFPTKYnlYMfpuPQ"
},
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
"_name": "", "_name": "",
...@@ -2807,7 +2944,7 @@ ...@@ -2807,7 +2944,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 107 "__id__": 113
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
...@@ -2834,7 +2971,7 @@ ...@@ -2834,7 +2971,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 109 "__id__": 115
}, },
"_cameraComponent": { "_cameraComponent": {
"__id__": 9 "__id__": 9
...@@ -2855,7 +2992,7 @@ ...@@ -2855,7 +2992,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 111 "__id__": 117
}, },
"_alignFlags": 45, "_alignFlags": 45,
"_target": null, "_target": null,
...@@ -2912,16 +3049,16 @@ ...@@ -2912,16 +3049,16 @@
{ {
"__type__": "cc.SceneGlobals", "__type__": "cc.SceneGlobals",
"ambient": { "ambient": {
"__id__": 114 "__id__": 120
}, },
"shadows": { "shadows": {
"__id__": 115 "__id__": 121
}, },
"_skybox": { "_skybox": {
"__id__": 116 "__id__": 122
}, },
"fog": { "fog": {
"__id__": 117 "__id__": 123
} }
}, },
{ {
......
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "e8d3c3ed-7c1e-4112-a8fa-b20e687074fb",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "e8d3c3ed-7c1e-4112-a8fa-b20e687074fb@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": "e8d3c3ed-7c1e-4112-a8fa-b20e687074fb"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "e8d3c3ed-7c1e-4112-a8fa-b20e687074fb@f9941",
"displayName": "邻接数组",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1334,
"height": 750,
"rawWidth": 1334,
"rawHeight": 750,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "e8d3c3ed-7c1e-4112-a8fa-b20e687074fb@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "e8d3c3ed-7c1e-4112-a8fa-b20e687074fb@f9941"
}
}
{
"ver": "1.1.27",
"importer": "prefab",
"imported": true,
"uuid": "e65fb77c-e3e0-40d8-9602-1b5cd01d8947",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "AdjacentArrayDescView"
}
}
...@@ -10,6 +10,7 @@ import { ChallengeSuccView } from '../../commonView/script/ChallengeSuccView'; ...@@ -10,6 +10,7 @@ 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 { SwitchOkView } from '../../commonView/script/SwitchOkView';
import { adjacentArrayLV_1, adjacentArrayLV_2 } from './AdjacentArrayCfg'; import { adjacentArrayLV_1, adjacentArrayLV_2 } from './AdjacentArrayCfg';
import { AdjacentArrayDescView } from './AdjacentArrayDescView';
import { AdjacentArrayItemCtr } from './AdjacentArrayItemCtr'; import { AdjacentArrayItemCtr } from './AdjacentArrayItemCtr';
const { ccclass, property } = _decorator; const { ccclass, property } = _decorator;
...@@ -79,9 +80,10 @@ export class AdjacentArrayCtr extends Component { ...@@ -79,9 +80,10 @@ export class AdjacentArrayCtr extends Component {
showGameDescView() { showGameDescView() {
this.isShowGameDescViewOnce = true; this.isShowGameDescViewOnce = true;
viewMgr.openView(VIEW_DEF.GameDescView, (node) => { // viewMgr.openView(VIEW_DEF.GameDescView, (node) => {
node.getComponent(GameDescView)?.setDesc("点击两个数字中间的空格将两个数字合并成一个,\n当所有数字都两两组合完成时,没有重复的数字就算成功。\n注:点击两个已经组合的数字可以将其分开。"); // node.getComponent(GameDescView)?.setDesc("点击两个数字中间的空格将两个数字合并成一个,\n当所有数字都两两组合完成时,没有重复的数字就算成功。\n注:点击两个已经组合的数字可以将其分开。");
}); // });
viewMgr.openView(VIEW_DEF.AdjacentArrayDescView);
} }
onCloseGameDescView() { onCloseGameDescView() {
...@@ -116,7 +118,10 @@ export class AdjacentArrayCtr extends Component { ...@@ -116,7 +118,10 @@ export class AdjacentArrayCtr extends Component {
//引导 //引导
if (!this.isShowGameDescViewOnce) { if (!this.isShowGameDescViewOnce) {
this.gameState = GAME_STATE.PAUSE; this.gameState = GAME_STATE.PAUSE;
this.showGameDescView(); this.isShowGameDescViewOnce = true;
viewMgr.openView(VIEW_DEF.AdjacentArrayDescView, (node) => {
node.getComponent(AdjacentArrayDescView)?.autoClose();
});
} }
else { else {
this.gameState = GAME_STATE.RUN; this.gameState = GAME_STATE.RUN;
...@@ -398,6 +403,22 @@ export class AdjacentArrayCtr extends Component { ...@@ -398,6 +403,22 @@ export class AdjacentArrayCtr extends Component {
if (this.gameState == GAME_STATE.READY || this.gameState == GAME_STATE.END || this.gameState == GAME_STATE.PAUSE) { if (this.gameState == GAME_STATE.READY || this.gameState == GAME_STATE.END || this.gameState == GAME_STATE.PAUSE) {
return; return;
} }
// 在视频中运行则到时间直接关闭
if (Utils.getValueFromHref("gameEndTime")) {
let gameEndTime = Number(Utils.getValueFromHref("gameEndTime"));
if (!this.isPlayCountdownMus && (gameEndTime - new Date().getTime()) / 1000 < 3.5 + 3) {
this.isPlayCountdownMus = true;
AudioMgr.playEffect(countdownMus);
}
if ((gameEndTime - new Date().getTime()) / 1000 <= 0 + 3) {
console.log(`游戏时间到`);
this.gameEnd(false);
return;
}
this.countdownLab.string = Utils.formatTime(gameEndTime - new Date().getTime());
return;
}
//
this.costTime += dt; this.costTime += dt;
if (!this.isPlayCountdownMus && this.totalTime - this.costTime < 3.5) { if (!this.isPlayCountdownMus && this.totalTime - this.costTime < 3.5) {
this.isPlayCountdownMus = true; this.isPlayCountdownMus = true;
......
import { _decorator, Component, Node, Label, director } from 'cc';
import { VIEW_DEF } from '../../../../startFolder/script/common/ViewDef';
import { viewMgr } from '../../../../startFolder/script/common/ViewMgr';
const { ccclass, property } = _decorator;
@ccclass('AdjacentArrayDescView')
export class AdjacentArrayDescView extends Component {
@property(Label)
tipsLab: Label = null!;
onLoad(){
this.tipsLab.node.active = false;
}
start () {
// [3]
}
autoClose(){
this.tipsLab.node.active = true;
this.scheduleOnce(() => {
this.onClose();
}, 5);
}
onClose() {
director.emit("game_desc_close");
viewMgr.closeView(VIEW_DEF.AdjacentArrayDescView);
}
}
/**
* [1] Class member could be defined like this.
* [2] Use `property` decorator if your want the member to be serializable.
* [3] Your initialization goes here.
* [4] Your update function goes here.
*
* Learn more about scripting: https://docs.cocos.com/creator/3.0/manual/en/scripting/
* Learn more about CCClass: https://docs.cocos.com/creator/3.0/manual/en/scripting/ccclass.html
* Learn more about life-cycle callbacks: https://docs.cocos.com/creator/3.0/manual/en/scripting/life-cycle-callbacks.html
*/
{
"ver": "4.0.22",
"importer": "typescript",
"imported": true,
"uuid": "342cd42d-a78b-4a21-a477-62e1d39a9764",
"files": [],
"subMetas": {},
"userData": {}
}
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "9d416cf6-3a1a-42be-8d0c-692b5d1f8cc9",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "9d416cf6-3a1a-42be-8d0c-692b5d1f8cc9@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": "9d416cf6-3a1a-42be-8d0c-692b5d1f8cc9"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "9d416cf6-3a1a-42be-8d0c-692b5d1f8cc9@f9941",
"displayName": "数字谜图",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1334,
"height": 750,
"rawWidth": 1334,
"rawHeight": 750,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "9d416cf6-3a1a-42be-8d0c-692b5d1f8cc9@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "9d416cf6-3a1a-42be-8d0c-692b5d1f8cc9@f9941"
}
}
...@@ -321,7 +321,7 @@ ...@@ -321,7 +321,7 @@
"_priority": 1073741824, "_priority": 1073741824,
"_fov": 45, "_fov": 45,
"_fovAxis": 0, "_fovAxis": 0,
"_orthoHeight": 375.00000000000006, "_orthoHeight": 375,
"_near": 1, "_near": 1,
"_far": 2000, "_far": 2000,
"_color": { "_color": {
...@@ -3366,7 +3366,7 @@ ...@@ -3366,7 +3366,7 @@
"countdownLab": { "countdownLab": {
"__id__": 96 "__id__": 96
}, },
"totalTime": 10000, "totalTime": 120,
"_id": "1eC0VXgCZFCYadr9W2VE+H" "_id": "1eC0VXgCZFCYadr9W2VE+H"
}, },
{ {
......
...@@ -9,6 +9,7 @@ import { BeginCountdownView } from '../../commonView/script/BeginCountdownView'; ...@@ -9,6 +9,7 @@ import { BeginCountdownView } from '../../commonView/script/BeginCountdownView';
import { ChallengeSuccView } from '../../commonView/script/ChallengeSuccView'; import { ChallengeSuccView } from '../../commonView/script/ChallengeSuccView';
import { SwitchOkView } from '../../commonView/script/SwitchOkView'; import { SwitchOkView } from '../../commonView/script/SwitchOkView';
import { DmfLevelIfo, DMF_LV_1, DMF_LV_2 } from './DmfCfg'; import { DmfLevelIfo, DMF_LV_1, DMF_LV_2 } from './DmfCfg';
import { DmfDescView } from './DmfDescView';
import { DmfHead } from './DmfHead'; import { DmfHead } from './DmfHead';
import { DmfItem } from './DmfItem'; import { DmfItem } from './DmfItem';
const { ccclass, property } = _decorator; const { ccclass, property } = _decorator;
...@@ -108,7 +109,10 @@ export class DmfCtr extends Component { ...@@ -108,7 +109,10 @@ export class DmfCtr extends Component {
//引导 //引导
if (!this.isShowGameDescViewOnce) { if (!this.isShowGameDescViewOnce) {
this.gameState = GAME_STATE.PAUSE; this.gameState = GAME_STATE.PAUSE;
this.showGameDescView(); this.isShowGameDescViewOnce = true;
viewMgr.openView(VIEW_DEF.DmfDescView, (node) => {
node.getComponent(DmfDescView)?.autoClose();
});
} }
else { else {
this.gameState = GAME_STATE.NOR_SEL; this.gameState = GAME_STATE.NOR_SEL;
...@@ -188,6 +192,22 @@ export class DmfCtr extends Component { ...@@ -188,6 +192,22 @@ export class DmfCtr extends Component {
if (this.gameState == GAME_STATE.READY || this.gameState == GAME_STATE.END || this.gameState == GAME_STATE.PAUSE) { if (this.gameState == GAME_STATE.READY || this.gameState == GAME_STATE.END || this.gameState == GAME_STATE.PAUSE) {
return; return;
} }
// 在视频中运行则到时间直接关闭
if (Utils.getValueFromHref("gameEndTime")) {
let gameEndTime = Number(Utils.getValueFromHref("gameEndTime"));
if (!this.isPlayCountdownMus && (gameEndTime - new Date().getTime()) / 1000 < 3.5 + 3) {
this.isPlayCountdownMus = true;
AudioMgr.playEffect(countdownMus);
}
if ((gameEndTime - new Date().getTime()) / 1000 <= 0 + 3) {
console.log(`游戏时间到`);
this.gameEnd(false);
return;
}
this.countdownLab.string = Utils.formatTime(gameEndTime - new Date().getTime());
return;
}
//
this.costTime += dt; this.costTime += dt;
if (!this.isPlayCountdownMus && this.totalTime - this.costTime < 3.5) { if (!this.isPlayCountdownMus && this.totalTime - this.costTime < 3.5) {
this.isPlayCountdownMus = true; this.isPlayCountdownMus = true;
......
import { _decorator, Component, Node, director } from 'cc'; import { _decorator, Component, Node, director, Label } from 'cc';
import { VIEW_DEF } from '../../../../startFolder/script/common/ViewDef'; import { VIEW_DEF } from '../../../../startFolder/script/common/ViewDef';
import { viewMgr } from '../../../../startFolder/script/common/ViewMgr'; import { viewMgr } from '../../../../startFolder/script/common/ViewMgr';
import { GameDescView } from '../../commonView/script/GameDescView'; import { GameDescView } from '../../commonView/script/GameDescView';
const { ccclass, property } = _decorator; const { ccclass, property } = _decorator;
@ccclass('DmfDescView') @ccclass('DmfDescView')
export class DmfDescView extends GameDescView { export class DmfDescView extends Component {
// [1]
// dummy = ''; @property(Label)
tipsLab: Label = null!;
// [2] onLoad(){
// @property this.tipsLab.node.active = false;
// serializableDummy = 0; }
start () { start () {
// [3] // [3]
}
autoClose(){
this.tipsLab.node.active = true;
this.scheduleOnce(() => {
this.onClose();
}, 5);
} }
onClose() { onClose() {
......
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "119b31d1-0dce-4379-b847-c3ffad0c3c76",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "119b31d1-0dce-4379-b847-c3ffad0c3c76@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": "119b31d1-0dce-4379-b847-c3ffad0c3c76"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "119b31d1-0dce-4379-b847-c3ffad0c3c76@f9941",
"displayName": "数式接龙",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1334,
"height": 750,
"rawWidth": 1334,
"rawHeight": 750,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "119b31d1-0dce-4379-b847-c3ffad0c3c76@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "119b31d1-0dce-4379-b847-c3ffad0c3c76@f9941"
}
}
{
"ver": "1.1.27",
"importer": "prefab",
"imported": true,
"uuid": "7cc10fdd-2efb-46bd-a0b4-ee59ddf343ce",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "FormulaSolitaireDescView"
}
}
...@@ -11,6 +11,7 @@ import { ChallengeSuccView } from '../../commonView/script/ChallengeSuccView'; ...@@ -11,6 +11,7 @@ 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 { 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 { FormulaSolitaireDescView } from './FormulaSolitaireDescView';
import { FormulaSolitaireItem, FS_ITEM_STATE } from './FormulaSolitaireItem'; import { FormulaSolitaireItem, FS_ITEM_STATE } from './FormulaSolitaireItem';
const { ccclass, property } = _decorator; const { ccclass, property } = _decorator;
...@@ -96,9 +97,8 @@ export class FormulaSolitaireCtr extends Component { ...@@ -96,9 +97,8 @@ export class FormulaSolitaireCtr extends Component {
showGameDescView() { showGameDescView() {
this.isShowGameDescViewOnce = true; this.isShowGameDescViewOnce = true;
viewMgr.openView(VIEW_DEF.GameDescView, (node) => { this.isShowGameDescViewOnce = true;
node.getComponent(GameDescView)?.setDesc("划过图中的数字和算式运算符,把它们连接在一起组成一个式子,\n得到上方的结果。\n成功条件:尽可能多的组合能得到正确答案的式子。\n注意:再次划过已经组合完成的式子可以拆散还原。\n有些数字和运算符可能不会用到"); viewMgr.openView(VIEW_DEF.FormulaSolitaireDescView);
});
} }
onCloseGameDescView() { onCloseGameDescView() {
...@@ -132,7 +132,10 @@ export class FormulaSolitaireCtr extends Component { ...@@ -132,7 +132,10 @@ export class FormulaSolitaireCtr extends Component {
//引导 //引导
if (!this.isShowGameDescViewOnce) { if (!this.isShowGameDescViewOnce) {
this.gameState = GAME_STATE.PAUSE; this.gameState = GAME_STATE.PAUSE;
this.showGameDescView(); this.isShowGameDescViewOnce = true;
viewMgr.openView(VIEW_DEF.FormulaSolitaireDescView, (node) => {
node.getComponent(FormulaSolitaireDescView)?.autoClose();
});
} }
else { else {
this.gameState = GAME_STATE.IDLE; this.gameState = GAME_STATE.IDLE;
...@@ -336,7 +339,7 @@ export class FormulaSolitaireCtr extends Component { ...@@ -336,7 +339,7 @@ export class FormulaSolitaireCtr extends Component {
return null; return null;
} }
onResetBtnClick(){ onResetBtnClick() {
for (let i = 0; i < this.allLinePointArr.length; ++i) { for (let i = 0; i < this.allLinePointArr.length; ++i) {
let line = this.allLinePointArr[i]; let line = this.allLinePointArr[i];
for (let j = 0; j < line.length; ++j) { for (let j = 0; j < line.length; ++j) {
...@@ -486,6 +489,22 @@ export class FormulaSolitaireCtr extends Component { ...@@ -486,6 +489,22 @@ export class FormulaSolitaireCtr extends Component {
if (this.gameState == GAME_STATE.READY || this.gameState == GAME_STATE.END || this.gameState == GAME_STATE.PAUSE) { if (this.gameState == GAME_STATE.READY || this.gameState == GAME_STATE.END || this.gameState == GAME_STATE.PAUSE) {
return; return;
} }
// 在视频中运行则到时间直接关闭
if (Utils.getValueFromHref("gameEndTime")) {
let gameEndTime = Number(Utils.getValueFromHref("gameEndTime"));
if (!this.isPlayCountdownMus && (gameEndTime - new Date().getTime()) / 1000 < 3.5 + 3) {
this.isPlayCountdownMus = true;
AudioMgr.playEffect(countdownMus);
}
if ((gameEndTime - new Date().getTime()) / 1000 <= 0 + 3) {
console.log(`游戏时间到`);
this.gameEnd(false);
return;
}
this.countdownLab.string = Utils.formatTime(gameEndTime - new Date().getTime());
return;
}
//
this.costTime += dt; this.costTime += dt;
if (!this.isPlayCountdownMus && this.totalTime - this.costTime < 3.5) { if (!this.isPlayCountdownMus && this.totalTime - this.costTime < 3.5) {
this.isPlayCountdownMus = true; this.isPlayCountdownMus = true;
......
import { _decorator, Component, Node, Label, director } from 'cc';
import { VIEW_DEF } from '../../../../startFolder/script/common/ViewDef';
import { viewMgr } from '../../../../startFolder/script/common/ViewMgr';
const { ccclass, property } = _decorator;
@ccclass('FormulaSolitaireDescView')
export class FormulaSolitaireDescView extends Component {
@property(Label)
tipsLab: Label = null!;
onLoad(){
this.tipsLab.node.active = false;
}
start () {
// [3]
}
autoClose(){
this.tipsLab.node.active = true;
this.scheduleOnce(() => {
this.onClose();
}, 5);
}
onClose() {
director.emit("game_desc_close");
viewMgr.closeView(VIEW_DEF.FormulaSolitaireDescView);
}
}
/**
* [1] Class member could be defined like this.
* [2] Use `property` decorator if your want the member to be serializable.
* [3] Your initialization goes here.
* [4] Your update function goes here.
*
* Learn more about scripting: https://docs.cocos.com/creator/3.0/manual/en/scripting/
* Learn more about CCClass: https://docs.cocos.com/creator/3.0/manual/en/scripting/ccclass.html
* Learn more about life-cycle callbacks: https://docs.cocos.com/creator/3.0/manual/en/scripting/life-cycle-callbacks.html
*/
{
"ver": "4.0.22",
"importer": "typescript",
"imported": true,
"uuid": "8c76b4fb-1bef-4a61-a969-9efa666782e1",
"files": [],
"subMetas": {},
"userData": {}
}
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "5320fbd3-ba4c-4ffb-8cdf-a334e12af638",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "5320fbd3-ba4c-4ffb-8cdf-a334e12af638@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": "5320fbd3-ba4c-4ffb-8cdf-a334e12af638"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "5320fbd3-ba4c-4ffb-8cdf-a334e12af638@f9941",
"displayName": "点阵封锁",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1334,
"height": 750,
"rawWidth": 1334,
"rawHeight": 750,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "5320fbd3-ba4c-4ffb-8cdf-a334e12af638@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "5320fbd3-ba4c-4ffb-8cdf-a334e12af638@f9941"
}
}
...@@ -21,22 +21,25 @@ ...@@ -21,22 +21,25 @@
}, },
{ {
"__id__": 13 "__id__": 13
},
{
"__id__": 19
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 19 "__id__": 22
}, },
{ {
"__id__": 21 "__id__": 24
}, },
{ {
"__id__": 23 "__id__": 26
} }
], ],
"_prefab": { "_prefab": {
"__id__": 25 "__id__": 28
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
...@@ -167,7 +170,7 @@ ...@@ -167,7 +170,7 @@
"r": 0, "r": 0,
"g": 0, "g": 0,
"b": 0, "b": 0,
"a": 200 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941", "__uuid__": "7d8f9b89-4fd1-4c9f-a3ab-38ec7cded7ca@f9941",
...@@ -311,7 +314,7 @@ ...@@ -311,7 +314,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "descLab", "_name": "点阵封锁",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 1 "__id__": 1
...@@ -332,7 +335,7 @@ ...@@ -332,7 +335,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 198.954, "y": 0,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
...@@ -370,22 +373,22 @@ ...@@ -370,22 +373,22 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1200, "width": 1334,
"height": 413 "height": 750
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5, "x": 0.5,
"y": 1 "y": 0.5
}, },
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "c68UOAlNhN171Umca6yVvF" "fileId": "f7NISe7HdAD68SLfhnddy8"
}, },
{ {
"__type__": "cc.Label", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
...@@ -406,27 +409,28 @@ ...@@ -406,27 +409,28 @@
"b": 255, "b": 255,
"a": 255 "a": 255
}, },
"_string": "玩法说明\n从绿色的点出发,使数字周围出现对应数量线段后回到起点则成功。\n注意:从绿色和黄色的点开始画出的线段为不透明线段,计入有效路径。从白色的点开始画出的线段为半透明线段,不计入有效路径。\n出现红色线段表示数字周围的有效线段过多。\n如何取消线段?\n半透明线段通过双击可直接取消;其它线段通过回到之前的点来取消。", "_spriteFrame": {
"_horizontalAlign": 0, "__uuid__": "5320fbd3-ba4c-4ffb-8cdf-a334e12af638@f9941",
"_verticalAlign": 1, "__expectedType__": "cc.SpriteFrame"
"_actualFontSize": 40, },
"_fontSize": 40, "_type": 0,
"_fontFamily": "Arial", "_fillType": 0,
"_lineHeight": 50, "_sizeMode": 1,
"_overflow": 3, "_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,
"_atlas": null,
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "2frm37uaJHQr0AEEaYyM82" "fileId": "e71ctEmpxFC4KlSYRZNz/a"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
...@@ -436,7 +440,112 @@ ...@@ -436,7 +440,112 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "05wKXcEKBNNqOBLO1zf9cJ" "fileId": "f2QnTAaUZERZF8uh/DM5Lz"
},
{
"__type__": "cc.Node",
"_name": "tipsLab",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 20
},
{
"__id__": 21
}
],
"_prefab": null,
"_lpos": {
"__type__": "cc.Vec3",
"x": 225.79700000000003,
"y": 331.987,
"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": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 19
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 742.25,
"height": 52.92
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 19
},
"_enabled": true,
"__prefab": null,
"_visFlags": 0,
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "5秒钟后自动关闭此界面,点击可立即关闭",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 40,
"_fontSize": 40,
"_fontFamily": "Arial",
"_lineHeight": 42,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_isItalic": false,
"_isBold": true,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_id": ""
}, },
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
...@@ -447,7 +556,7 @@ ...@@ -447,7 +556,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 20 "__id__": 23
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
...@@ -474,7 +583,7 @@ ...@@ -474,7 +583,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 22 "__id__": 25
}, },
"_alignFlags": 45, "_alignFlags": 45,
"_target": null, "_target": null,
...@@ -509,10 +618,10 @@ ...@@ -509,10 +618,10 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 24 "__id__": 27
}, },
"descLab": { "tipsLab": {
"__id__": 16 "__id__": 21
}, },
"_id": "" "_id": ""
}, },
......
...@@ -10,6 +10,7 @@ import { ChallengeFailView } from '../../commonView/script/ChallengeFailView'; ...@@ -10,6 +10,7 @@ import { ChallengeFailView } from '../../commonView/script/ChallengeFailView';
import { ChallengeSuccView } from '../../commonView/script/ChallengeSuccView'; import { ChallengeSuccView } from '../../commonView/script/ChallengeSuccView';
import { SwitchOkView } from '../../commonView/script/SwitchOkView'; import { SwitchOkView } from '../../commonView/script/SwitchOkView';
import { LatticeBlockadeIfo, LB_LV_1, LB_LV_2 } from './LatticeBlockadeCfg'; import { LatticeBlockadeIfo, LB_LV_1, LB_LV_2 } from './LatticeBlockadeCfg';
import { LatticeBlockadeDescView } from './LatticeBlockadeDescView';
import { LatticeBlockadeItem } from './LatticeBlockadeItem'; import { LatticeBlockadeItem } from './LatticeBlockadeItem';
import { LatticeBlockadeLine } from './LatticeBlockadeLine'; import { LatticeBlockadeLine } from './LatticeBlockadeLine';
const { ccclass, property } = _decorator; const { ccclass, property } = _decorator;
...@@ -140,7 +141,10 @@ export class LatticeBlockadeCtr extends Component { ...@@ -140,7 +141,10 @@ export class LatticeBlockadeCtr extends Component {
//引导 //引导
if (!this.isShowGameDescViewOnce) { if (!this.isShowGameDescViewOnce) {
this.gameState = GAME_STATE.PAUSE; this.gameState = GAME_STATE.PAUSE;
this.showGameDescView(); this.isShowGameDescViewOnce = true;
viewMgr.openView(VIEW_DEF.LatticeBlockadeDescView, (node) => {
node.getComponent(LatticeBlockadeDescView)?.autoClose();
});
} }
else { else {
this.gameState = GAME_STATE.IDLE; this.gameState = GAME_STATE.IDLE;
...@@ -298,6 +302,22 @@ export class LatticeBlockadeCtr extends Component { ...@@ -298,6 +302,22 @@ export class LatticeBlockadeCtr extends Component {
if (this.gameState == GAME_STATE.READY || this.gameState == GAME_STATE.END || this.gameState == GAME_STATE.PAUSE) { if (this.gameState == GAME_STATE.READY || this.gameState == GAME_STATE.END || this.gameState == GAME_STATE.PAUSE) {
return; return;
} }
// 在视频中运行则到时间直接关闭
if (Utils.getValueFromHref("gameEndTime")) {
let gameEndTime = Number(Utils.getValueFromHref("gameEndTime"));
if (!this.isPlayCountdownMus && (gameEndTime - new Date().getTime()) / 1000 < 3.5 + 3) {
this.isPlayCountdownMus = true;
AudioMgr.playEffect(countdownMus);
}
if ((gameEndTime - new Date().getTime()) / 1000 <= 0 + 3) {
console.log(`游戏时间到`);
this.gameEnd(false);
return;
}
this.countdownLab.string = Utils.formatTime(gameEndTime - new Date().getTime());
return;
}
//
this.costTime += dt; this.costTime += dt;
if (!this.isPlayCountdownMus && this.totalTime - this.costTime < 3.5) { if (!this.isPlayCountdownMus && this.totalTime - this.costTime < 3.5) {
this.isPlayCountdownMus = true; this.isPlayCountdownMus = true;
...@@ -382,11 +402,11 @@ export class LatticeBlockadeCtr extends Component { ...@@ -382,11 +402,11 @@ export class LatticeBlockadeCtr extends Component {
} }
} }
onResetBtnClick(){ onResetBtnClick() {
if (this.gameState == GAME_STATE.READY || this.gameState == GAME_STATE.END || this.gameState == GAME_STATE.PAUSE) { if (this.gameState == GAME_STATE.READY || this.gameState == GAME_STATE.END || this.gameState == GAME_STATE.PAUSE) {
return; return;
} }
for(let i = 1; i < this.pathItemPosArr.length; ++ i){ for (let i = 1; i < this.pathItemPosArr.length; ++i) {
this.pathItemPosArr[i].target.getComponent(LatticeBlockadeItem)?.setItemColor(new Color(255, 255, 255, 255)); this.pathItemPosArr[i].target.getComponent(LatticeBlockadeItem)?.setItemColor(new Color(255, 255, 255, 255));
} }
this.pathItemPosArr.splice(1, this.pathItemPosArr.length - 1); this.pathItemPosArr.splice(1, this.pathItemPosArr.length - 1);
......
import { _decorator, Component, Node, director } from 'cc'; import { _decorator, Component, Node, director, Label } from 'cc';
import { VIEW_DEF } from '../../../../startFolder/script/common/ViewDef'; import { VIEW_DEF } from '../../../../startFolder/script/common/ViewDef';
import { viewMgr } from '../../../../startFolder/script/common/ViewMgr'; import { viewMgr } from '../../../../startFolder/script/common/ViewMgr';
import { GameDescView } from '../../commonView/script/GameDescView'; import { GameDescView } from '../../commonView/script/GameDescView';
const { ccclass, property } = _decorator; const { ccclass, property } = _decorator;
@ccclass('LatticeBlockadeDescView') @ccclass('LatticeBlockadeDescView')
export class LatticeBlockadeDescView extends GameDescView { export class LatticeBlockadeDescView extends Component {
// [1]
// dummy = '';
// [2] @property(Label)
// @property tipsLab: Label = null!;
// serializableDummy = 0;
onLoad(){
this.tipsLab.node.active = false;
}
start () { start () {
// [3] // [3]
}
autoClose(){
this.tipsLab.node.active = true;
this.scheduleOnce(() => {
this.onClose();
}, 5);
} }
onClose() { onClose() {
......
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "d960428b-e33e-43a7-b471-ec64b7a1f9e0",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "d960428b-e33e-43a7-b471-ec64b7a1f9e0@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": "d960428b-e33e-43a7-b471-ec64b7a1f9e0"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "d960428b-e33e-43a7-b471-ec64b7a1f9e0@f9941",
"displayName": "数阵推理",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1334,
"height": 750,
"rawWidth": 1334,
"rawHeight": 750,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "d960428b-e33e-43a7-b471-ec64b7a1f9e0@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "d960428b-e33e-43a7-b471-ec64b7a1f9e0@f9941"
}
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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