更新最新

This commit is contained in:
COMPUTER\EDY 2026-04-28 18:04:52 +08:00
parent a209045524
commit 39387545d1
4 changed files with 114 additions and 485 deletions

View File

@ -1653,47 +1653,6 @@ export default class MapConroler extends cc.Component {
// console.log("排序后的WALL_INFO数组:", this.jumpWallArray);
}
// ============================================
// 跳跃门动作方法(已废弃)
// 功能:控制跳跃门的传送动画
// 何时调用:已废弃,不再使用
// 废弃原因:代码逻辑已被重构,现在使用新的跳跃门实现方式
// 注意:这个方法的内容已被注释,不再执行任何操作
// ============================================
jumpWallAction(startPos, endPos, wall) {
// debugger;
// let startWall = this.jumpWallArray[startPos][0].getChildByName("revolving");
// let startLength = this.jumpWallArray[startPos][0].getChildByName("wall").getComponent("Wall").wall_Info.length;
// let endWall = this.jumpWallArray[endPos][0].getChildByName("revolving");
// let endLength = this.jumpWallArray[endPos][0].getChildByName("wall").getComponent("Wall").wall_Info.length;
// let startRotate = startWall.getChildByName("rotate" + startLength);
// let endRotate = endWall.getChildByName("rotate" + endLength);
// let startAngle = startRotate.angle;
// let endAngle = endRotate.angle;
// let startPosition = cc.v2(startRotate.parent.parent.x + startRotate.x, startRotate.parent.parent.y + startRotate.y);
// let endPosition = cc.v2(endRotate.parent.parent.x + endRotate.x, endRotate.parent.parent.y + endRotate.y);
// if (startAngle == -270 && endAngle == 0) startAngle = 90;
// if (startAngle == 0 && endAngle == -270) startAngle = -360;
// let change = false;
// if (wall[0].getChildByName("wall").getComponent("wall").teamDoors[0] != wall[1].getChildByName("wall").getComponent("wall").teamDoors[0])
// change = true;
// let sp = new cc.Node();
// cc.tween(sp)
// .call(() => {
// wall[0].getChildByName("wall").getComponent("Wall").changeJumpWall(false, change);
// })
// .delay(0.5)
// .call(() => {
// wall[1].getChildByName("wall").getComponent("Wall").changeJumpWall(true, false);
// sp.destroy();
// })
// .start();
}
// ============================================
// 创建旋转门方法
@ -4542,7 +4501,6 @@ export default class MapConroler extends cc.Component {
}
//使用时间道具
useTimeProp() {
debugger;
if (this.gameOver == true || this.gameWin == true) {
return;
}
@ -5591,7 +5549,6 @@ export default class MapConroler extends cc.Component {
}
}
else {
debugger;
this.pause = true;
this.stopBoom();
}

View File

@ -299,7 +299,7 @@ export class GameConfig {
vibrateOpen: true, //震动
coinnum: 0, //每局的金币数
paid_user: false, //是否是付费用户
version: "1.9.62", //版本号
version: "1.9.64", //版本号
shushu_DistinctId: "", //数数访客ID
shushu_AccountId: "", //数数账号ID
uid: "", //用户和后端唯一id

View File

@ -451,7 +451,7 @@ var GameTool = {
// cc.fx.StorageMessage.setStorage("level", levelInfo);
// }
let max_level = 2000;
let max_level = 1560;
if (cc.fx.GameConfig.GM_INFO.level > (max_level - 1)) {
cc.fx.GameConfig.GM_INFO.level = max_level;

View File

@ -1,27 +1,19 @@
{
"LEVEL_INFO": [
{
"risefall": [
{
"x": 3,
"y": 4,
"color": 5,
"unLockFall": true
},
{
"x": 4,
"y": 4,
"color": 5,
"unLockFall": true
}
],
"id": "1568",
"risefall": [],
"id": "22",
"map": [
9,
11
8,
8
],
"time": 145,
"time": 90,
"gap": [
{
"x": 1,
"y": 6,
"z": 0
},
{
"x": 1,
"y": 2,
@ -33,13 +25,18 @@
"z": 0
},
{
"x": 7,
"y": 9,
"x": 6,
"y": 1,
"z": 0
},
{
"x": 7,
"y": 8,
"x": 6,
"y": 2,
"z": 0
},
{
"x": 6,
"y": 6,
"z": 0
}
]
@ -48,89 +45,89 @@
"BLOCK_INFO": [
[
{
"block": 23,
"block": 20,
"color": 1,
"type": 0,
"position": {
"x": 60,
"y": -60,
"x": 240,
"y": -360,
"z": 0
},
"id": 210
},
{
"block": 23,
"color": 1,
"block": 19,
"color": 7,
"type": 0,
"position": {
"x": -60,
"y": 60,
"x": 0,
"y": -360,
"z": 0
},
"id": 220
},
{
"block": 23,
"color": 1,
"block": 21,
"color": 4,
"type": 0,
"position": {
"x": 60,
"y": 60,
"x": -120,
"y": -240,
"z": 0
},
"id": 230
},
{
"block": 23,
"color": 1,
"block": 22,
"color": 8,
"type": 0,
"position": {
"x": 60,
"y": -300,
"x": 240,
"y": -240,
"z": 0
},
"id": 240
},
{
"block": 23,
"color": 1,
"block": 5,
"color": 7,
"type": 0,
"position": {
"x": -60,
"y": -300,
"x": 240,
"y": 0,
"z": 0
},
"id": 250
},
{
"block": 23,
"color": 1,
"block": 5,
"color": 8,
"type": 0,
"position": {
"x": -60,
"y": -420,
"x": 0,
"y": 0,
"z": 0
},
"id": 260
},
{
"block": 23,
"color": 1,
"block": 0,
"color": 2,
"type": 0,
"position": {
"x": -180,
"y": -420,
"x": -120,
"y": 240,
"z": 0
},
"id": 270
},
{
"block": 23,
"color": 1,
"block": 0,
"color": 2,
"type": 0,
"position": {
"x": -60,
"y": -60,
"x": 120,
"y": 240,
"z": 0
},
"id": 280
@ -140,8 +137,8 @@
"color": 5,
"type": 0,
"position": {
"x": 180,
"y": 180,
"x": 0,
"y": 240,
"z": 0
},
"id": 290
@ -151,410 +148,85 @@
"color": 5,
"type": 0,
"position": {
"x": -300,
"y": 300,
"x": 240,
"y": 240,
"z": 0
},
"id": 300
},
{
"block": 1,
"color": 4,
"type": 0,
"position": {
"x": -60,
"y": -540,
"z": 0
},
"id": 310
},
{
"block": 4,
"color": 2,
"type": 0,
"position": {
"x": 300,
"y": -540,
"z": 0
},
"id": 320
},
{
"block": 0,
"color": 1,
"type": 0,
"position": {
"x": -60,
"y": 420,
"z": 0
},
"id": 330
},
{
"block": 20,
"color": 9,
"type": 17,
"position": {
"x": -180,
"y": -180,
"z": 0
},
"boomTime": 5,
"id": 340
},
{
"block": 1,
"color": 6,
"type": 16,
"position": {
"x": -180,
"y": 420,
"z": 0
},
"questionTime": 1,
"id": 350
},
{
"block": 1,
"color": 3,
"type": 0,
"position": {
"x": 180,
"y": -540,
"z": 0
},
"floor": 1,
"floorTime": 2,
"floorMove": true,
"id": 360
},
{
"block": 1,
"color": 3,
"type": 14,
"position": {
"x": -180,
"y": -300,
"z": 0
},
"floor": 2,
"floorTime": 3,
"floorMove": true,
"id": 370
},
{
"block": 0,
"color": 6,
"type": 4,
"position": {
"x": -60,
"y": 180,
"z": 0
},
"freezeTime": 4,
"id": 380
},
{
"block": 2,
"color": 4,
"type": 0,
"position": {
"x": 300,
"y": -180,
"z": 0
},
"floor": 3,
"floorTime": 4,
"floorMove": true,
"id": 390
},
{
"block": 4,
"color": 3,
"type": 16,
"position": {
"x": -180,
"y": 60,
"z": 0
},
"questionTime": 7,
"id": 400
},
{
"block": 4,
"color": 9,
"type": 16,
"position": {
"x": 420,
"y": -300,
"z": 0
},
"questionTime": 7,
"id": 410
},
{
"block": 1,
"color": 4,
"type": 16,
"position": {
"x": 180,
"y": -420,
"z": 0
},
"questionTime": 9,
"id": 420
},
{
"block": 1,
"color": 6,
"type": 16,
"position": {
"x": 180,
"y": 420,
"z": 0
},
"questionTime": 10,
"id": 430
},
{
"block": 2,
"color": 2,
"type": 14,
"position": {
"x": 420,
"y": 60,
"z": 0
},
"floor": 4,
"floorTime": 10,
"floorMove": true,
"id": 440
},
{
"block": 0,
"color": 3,
"type": 16,
"position": {
"x": 420,
"y": -420,
"z": 0
},
"questionTime": 12,
"id": 450
},
{
"block": 0,
"color": 1,
"type": 16,
"position": {
"x": 60,
"y": 300,
"z": 0
},
"questionTime": 13,
"id": 460
},
{
"block": 2,
"color": 3,
"type": 16,
"position": {
"x": -300,
"y": 60,
"z": 0
},
"questionTime": 13,
"id": 470
},
{
"block": 0,
"color": 3,
"type": 14,
"position": {
"x": -180,
"y": -60,
"z": 0
},
"floor": 5,
"floorTime": 13,
"floorMove": true,
"id": 480
},
{
"block": 2,
"color": 4,
"type": 4,
"position": {
"x": 180,
"y": -60,
"z": 0
},
"freezeTime": 15,
"id": 490
},
{
"block": 2,
"color": 1,
"type": 16,
"position": {
"x": 300,
"y": 300,
"z": 0
},
"questionTime": 18,
"vertical": true,
"id": 500
},
{
"block": 0,
"color": 3,
"type": 16,
"position": {
"x": 420,
"y": -540,
"z": 0
},
"questionTime": 19,
"id": 510
},
{
"block": 0,
"color": 4,
"type": 16,
"position": {
"x": 300,
"y": 60,
"z": 0
},
"questionTime": 17,
"id": 520
}
]
],
"WALL_INFO": [
[
{
"id": 1569,
"num": 2,
"color": 2,
"special": 3,
"length": 3,
"freeze": 6
},
{
"id": 1570,
"num": 3,
"color": 2,
"special": 3,
"length": 0,
"freeze": 6
},
{
"id": 1571,
"num": 4,
"color": 2,
"special": 3,
"length": 0,
"freeze": 6
},
{
"id": 1572,
"num": 10,
"color": 4,
"special": 0,
"length": 2,
"toggle": 5,
"toggleOpen": false
},
{
"id": 1573,
"num": 12,
"color": 4,
"special": 0,
"length": 0,
"toggle": 5,
"toggleOpen": false
},
{
"id": 1574,
"num": 14,
"color": 9,
"id": 0,
"num": 13,
"color": 7,
"special": 0,
"length": 2
},
{
"id": 1575,
"num": 16,
"color": 9,
"id": 1,
"num": 15,
"color": 7,
"special": 0,
"length": 0
},
{
"id": 1576,
"num": 18,
"color": 3,
"special": 0,
"length": 2,
"toggle": 5,
"toggleOpen": true
},
{
"id": 1577,
"num": 20,
"color": 3,
"special": 0,
"length": 0,
"toggle": 5,
"toggleOpen": true
},
{
"id": 1578,
"num": 27,
"color": 5,
"special": 3,
"length": 3,
"freeze": 17
},
{
"id": 1579,
"num": 28,
"color": 5,
"special": 3,
"length": 0,
"freeze": 17
},
{
"id": 1580,
"num": 29,
"color": 5,
"special": 3,
"length": 0,
"freeze": 17
},
{
"id": 1581,
"num": 17,
"id": 2,
"num": 9,
"color": 1,
"special": 6,
"length": 2,
"lockTime": 3
},
{
"id": 1582,
"num": 19,
"color": 1,
"special": 6,
"length": 0,
"lockTime": 3
},
{
"id": 1583,
"num": 7,
"color": 6,
"special": 0,
"length": 1,
"toggle": 5,
"toggleOpen": false
"length": 2
},
{
"id": 3,
"num": 11,
"color": 1,
"special": 0,
"length": 0
},
{
"id": 4,
"num": 3,
"color": 5,
"special": 0,
"length": 1
},
{
"id": 5,
"num": 8,
"color": 8,
"special": 0,
"length": 2
},
{
"id": 6,
"num": 10,
"color": 8,
"special": 0,
"length": 0
},
{
"id": 7,
"num": 12,
"color": 4,
"special": 0,
"length": 2
},
{
"id": 8,
"num": 14,
"color": 4,
"special": 0,
"length": 0
},
{
"id": 9,
"num": 16,
"color": 2,
"special": 0,
"length": 1
}
]
]