修复一个BUG

This commit is contained in:
COMPUTER\EDY 2025-12-31 19:02:14 +08:00
parent 1eece8e731
commit a5a933f609
5 changed files with 9 additions and 43 deletions

View File

@ -809,6 +809,10 @@ export default class Block extends cc.Component {
return;
}
if (this.block_Info.floor) {
if (this.block_Info.floorMove == undefined) {
return;
}
if (this.block_Info.floorMove == false) {
return;
}

View File

@ -877,7 +877,7 @@ export default class Wall extends cc.Component {
// this.node.parent.getChildByName("down").getComponent(cc.Sprite).spriteFrame = spriteFrame;
// if (this.node.getChildByName("icon")) this.node.getChildByName("icon").getComponent(cc.Sprite).spriteFrame = spriteFrame;
// this.node.parent.getChildByName("down").getComponent(cc.Sprite).spriteFrame = null;
this.node.parent.getChildByName("down").getComponent(cc.Sprite).spriteFrame = null;
this.node.parent.getChildByName("length").active = true;
}
if (type == 0) {

View File

@ -426,8 +426,8 @@ var GameTool = {
//关卡上限
maxLevel() {
let jg = false;
if (cc.fx.GameConfig.GM_INFO.level > 919) {
cc.fx.GameConfig.GM_INFO.level = 920;
if (cc.fx.GameConfig.GM_INFO.level > 889) {
cc.fx.GameConfig.GM_INFO.level = 890;
jg = true;
}
return jg;

View File

@ -7683,8 +7683,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
351.158,
269.019,
350.595,
266.58,
0,
0,
0,

View File

@ -1,38 +0,0 @@
{
"ver": "2.3.7",
"uuid": "ef45e5c7-f7f9-4a43-9ed1-b546154397f9",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 250,
"height": 250,
"platformSettings": {},
"subMetas": {
"icon_12": {
"ver": "1.0.6",
"uuid": "4d9d2217-6cbf-465c-ae99-b4e22b9ebc23",
"importer": "sprite-frame",
"rawTextureUuid": "ef45e5c7-f7f9-4a43-9ed1-b546154397f9",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 3.5,
"offsetY": -7,
"trimX": 37,
"trimY": 14,
"width": 183,
"height": 236,
"rawWidth": 250,
"rawHeight": 250,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}