替换486关,修复极速双次通过开关门BUG

This commit is contained in:
COMPUTER\EDY 2025-10-15 16:10:21 +08:00
parent 477bc72780
commit 79ace74e61
18 changed files with 6065 additions and 6741 deletions

File diff suppressed because it is too large Load Diff

View File

@ -716,6 +716,7 @@ export default class Block extends cc.Component {
// hammerBtn.getComponent("btnControl").setTouch(true);
// return;
// }
MapConroler._instance.node.parent.getChildByName("Mask").active = false;
this.eliminate2();
this.isTouch = false;
MapConroler._instance.hammerMask.active = false;
@ -729,6 +730,7 @@ export default class Block extends cc.Component {
MapConroler._instance.costHammer();
}
MapConroler._instance.usePause();
return false;
}
if (this.type != BlockType. && this.type != BlockType. && this.type != BlockType.) {

View File

@ -236,6 +236,7 @@ export default class GameManager extends cc.Component {
if (data.data._id) {
cc.fx.GameConfig.GM_INFO.uid = data.data._id;
cc.fx.StorageMessage.setStorage("uid", data.data._id);
console.log("_________________用户UID", cc.fx.GameConfig.GM_INFO.uid);
}
if (data.data.onlyId) {
cc.fx.GameConfig.GM_INFO.userId = data.data.onlyId;

View File

@ -144,6 +144,7 @@ export default class MapConroler extends cc.Component {
topDoors: any; //上门
bottomDoors: any; //下门
leftDoors: any; //左门
teamDoors: any; //每个门的组合单个门自己一个组合3门3个一组合
powerState: boolean = false; //无限体力状态
SceneManager: any; //场景管理器
lastMagicTime: number; //上次使用魔法的时间
@ -183,6 +184,7 @@ export default class MapConroler extends cc.Component {
this.rightDoors = []; //右门
this.topDoors = []; //上门
this.bottomDoors = []; //下门
this.teamDoors = [];
this.revolvingWallArray = []; //旋转门数组
this.gameWin = false;
this.gameOver = false;
@ -706,6 +708,7 @@ export default class MapConroler extends cc.Component {
} else {
// 所有墙壁创建完成后,创建拐角节点
this.createCornerNodes();
this.sortWall();
if (this.revolving_state != 0) {
this.createRevolvingWall();
}
@ -846,6 +849,19 @@ export default class MapConroler extends cc.Component {
}
}
//给墙壁数组排序,方便管理
sortWall() {
let doorInfo = cc.fx.GameConfig.WALL_INFO[0];
for (let i = 0; i < doorInfo.length; i++) {
let info = doorInfo[i];
for (let j = 0; j < this.wallArray.length; j++) {
if (info.num == this.wallArray[j].getChildByName("wall").getComponent("Wall").num) {
this.wallArray[j].getChildByName("wall").getComponent("Wall").setTeamDoors();
}
}
}
}
//创建普通门和墙壁
createWall(direction, node) {
let wall = null;
@ -861,8 +877,10 @@ export default class MapConroler extends cc.Component {
wall.setPosition(cc.v2(node.x, node.y));
node.opacity = 250;
wall.getChildByName("wall").getComponent("Wall").init(null, node.getComponent("MapBlock").posX, node.getComponent("MapBlock").posY, direction);
//wall.getChildByName("wall").getChildByName("num").getComponent(cc.Label).string = this.wallNum.toString();
this.setDoorInfo(wall.getChildByName("wall"));
this.wallNum += 1;
if (wall.getChildByName("wall").getComponent("Wall").special == 2)
this.openWall.push(wall);
@ -879,7 +897,9 @@ export default class MapConroler extends cc.Component {
wall.parent = this.node;
wall.setPosition(cc.v2(node.x + 4.5, node.y));
wall.getChildByName("wall").getComponent("Wall").init(null, node.getComponent("MapBlock").posX, node.getComponent("MapBlock").posY, direction);
this.setDoorInfo(wall.getChildByName("wall"));
//wall.getChildByName("wall").getChildByName("num").getComponent(cc.Label).string = this.wallNum.toString();
this.wallNum += 1;
if (wall.getChildByName("wall").getComponent("Wall").special == 2)
@ -899,7 +919,9 @@ export default class MapConroler extends cc.Component {
wall.setPosition(cc.v2(node.x, node.y));
wall.getChildByName("wall").getComponent("Wall").init(null, node.getComponent("MapBlock").posX, node.getComponent("MapBlock").posY, direction);
this.setDoorInfo(wall.getChildByName("wall"));
//wall.getChildByName("wall").getChildByName("num").getComponent(cc.Label).string = this.wallNum.toString();
this.wallNum += 1;
if (wall.getChildByName("wall").getComponent("Wall").special == 2)
@ -918,7 +940,9 @@ export default class MapConroler extends cc.Component {
wall.setPosition(cc.v2(node.x, node.y));
// this.setDoorInfo(wall.getChildByName("wall"));
wall.getChildByName("wall").getComponent("Wall").init(null, node.getComponent("MapBlock").posX, node.getComponent("MapBlock").posY, direction);
this.setDoorInfo(wall.getChildByName("wall"));
//wall.getChildByName("wall").getChildByName("num").getComponent(cc.Label).string = this.wallNum.toString();
this.wallNum += 1;
if (wall.getChildByName("wall").getComponent("Wall").special == 2)
@ -1563,6 +1587,10 @@ export default class MapConroler extends cc.Component {
}
// const date8 = new Date().getTime();
// console.log("检测颜色是否能够通过门",date8);
// if (jg == true) {
// wallArray[0].getComponent("Wall").changeColorWall();
// }
return jg;
}
@ -2711,6 +2739,7 @@ export default class MapConroler extends cc.Component {
}
else {
if (!this.hammer) {
this.node.parent.getChildByName("Mask").active = true;
this.hammerMask.active = true;
this.hammer = true;
this.ishammer = true;
@ -3908,7 +3937,7 @@ export default class MapConroler extends cc.Component {
if (!this.hammer) {
this.hammerSpecial = true;
console.log("1111使用特殊锤子", this.hammerSpecial);
this.node.parent.getChildByName("Mask").active = true;
const timestamp = Date.now();
this.hammerMask.active = true;
this.hammer = true;

View File

@ -25,6 +25,8 @@ export enum WallSpecial {
"旋转门逆时针" = 5,
/*上锁门*/
"上锁门" = 6,
/*变色门*/
"变色门" = 7,
}
export enum WallType {
@ -108,12 +110,15 @@ export default class Wall extends cc.Component {
posY: number;
direction: any;
wall_Info: any;
teamDoors: any;
openNode: cc.Node;
revolvingNode: cc.Node;
freezeNode: cc.Node;
open: boolean;
freezeNumber: number;
num: number;
leftTween: any;
rightTween: any;
// LIFE-CYCLE CALLBACKS:
@ -190,6 +195,14 @@ export default class Wall extends cc.Component {
}
setTeamDoors() {
if (this.wall_Info.length > 0) {
MapConroler._instance.teamDoors = [];
}
MapConroler._instance.teamDoors.push(this);
this.teamDoors = MapConroler._instance.teamDoors;
}
//创建门的颜色
initColor(length: number) {
let direction = this.node.parent.name;
@ -289,6 +302,25 @@ export default class Wall extends cc.Component {
}
lock.getComponent("Lock").init(this.wall_Info.lockTime, "wall");
break;
case WallSpecial.:
let color = cc.instantiate(MapConroler._instance.Block_Prop[4]);
color.parent = this.node.parent;
if (this.wall_Info.length == 0) {
color.opacity = 0;
}
color.scaleX = color.scaleY = 0.65;
if (this.direction == "up") {
color.setPosition((this.wall_Info.length - 1) * 60 - 10, 38);
if (this.wall_Info.length == 1) color.x += 5;
}
else if (this.direction == "down") {
color.setPosition((this.wall_Info.length - 1) * 60 - 10, -38);
if (this.wall_Info.length == 1) color.x += 5;
}
if (this.direction == "right") {
color.setPosition(30, (this.wall_Info.length - 1) * 60);
}
break;
}
}
@ -318,21 +350,45 @@ export default class Wall extends cc.Component {
}
// 停止之前的动画
if (this.leftTween) {
this.leftTween.stop();
this.leftTween = null;
}
if (this.rightTween) {
this.rightTween.stop();
this.rightTween = null;
}
if (this.open == true) {
if (this.openNode.children[0].scaleX < 1 && this.openNode.children[0].scaleX > 0.01) {
this.openNode.children[0].scaleX = 1;
}
}
else {
if (this.openNode.children[0].scaleX < 1 && this.openNode.children[0].scaleX > 0.01) {
this.openNode.children[0].scaleX = 0.01;
}
}
let fill = this.openNode.children[0].scaleX == 1 ? 0.01 : 1;
if (this.openNode.children[0].scaleX < 0) fill = -fill;
// console.log("目标",fill);
cc.tween(this.openNode.children[0])
// 存储动画实例以便后续停止
this.leftTween = cc.tween(this.openNode.children[0])
.to(0.3, { scaleX: this.openNode.children[0].scaleX < 0 ? -fill : fill })
.call(() => {
// console.log("左边完成");
this.leftTween = null; // 动画完成后清除引用
})
.start();
cc.tween(this.openNode.children[1])
this.rightTween = cc.tween(this.openNode.children[1])
.to(0.3, { scaleX: this.openNode.children[1].scaleX < 0 ? -fill : fill })
.call(() => {
// console.log("右边完成");
this.rightTween = null; // 动画完成后清除引用
})
.start();
}
@ -392,6 +448,7 @@ export default class Wall extends cc.Component {
// }
}
//旋转门旋转
changeRevolvingWall() {
if (this.revolvingNode) {
// console.log("自身编号", this.wall_Info.num, this.special);
@ -402,7 +459,16 @@ export default class Wall extends cc.Component {
this.revolvingNode.active = false;
}
}
}
//变色门变色
changeColorWall() {
// console.log("改變顏色:", this.wall_Info.length);
// for (let i = 0; i < this.teamDoors.length; i++) {
// setTimeout(() => {
// this.teamDoors[i].changeColor();
// }, i * 200);
// }
}
// update (dt) {}

View File

@ -59,8 +59,9 @@ export default class ItemRender extends cc.Component {
else if (this.data.useravatar == "0" || this.data.useravatar == "1" || this.data.useravatar == "2"
|| this.data.useravatar == "3") {
let useravatar = this.data.useravatar;
useravatar = "icon_" + useravatar;
this.node.getChildByName("pic").getComponent(cc.Sprite).spriteFrame = this.ui.getSpriteFrame(useravatar);
let useravatarTemp = "icon_" + useravatar;
console.log("用户头像:", useravatarTemp);
this.node.getChildByName("pic").getComponent(cc.Sprite).spriteFrame = this.ui.getSpriteFrame(useravatarTemp);
}
else this.setPic();

View File

@ -223,11 +223,15 @@ export default class ranking extends cc.Component {
}
setSelfInfo() {
console.log("查询自己信息");
this.selfNode.opacity = 0;
this.selfInfo = null;
for (let i = 0; i < this.wordRank.length; i++) {
if (this.wordRank[i]._id == cc.fx.GameConfig.GM_INFO.uid) {
this.selfInfo = this.wordRank[i];
console.log("我自己的UID", cc.fx.GameConfig.GM_INFO.uid);
console.log("排行榜中的ID:", this.wordRank[i]._id);
// this.selfInfo = this.wordRank[i];
this.selfInfo = JSON.parse(JSON.stringify(this.wordRank[i]));
if (this.selfInfo.useravatar == "0" || this.selfInfo.useravatar == "1" || this.selfInfo.useravatar == "2"
|| this.selfInfo.useravatar == "3") {
this.selfInfo.useravatar = "icon_" + this.selfInfo.useravatar;

View File

@ -1,320 +1,248 @@
{
"LEVEL_INFO": [
{
"risefall": [
{
"x": 3,
"y": 6,
"color": "6"
},
{
"x": 3,
"y": 5,
"color": "6"
},
{
"x": 4,
"y": 6,
"color": "6"
},
{
"x": 4,
"y": 5,
"color": "6"
}
],
"risefall": [],
"id": "486",
"map": [
8,
10
9
],
"time": 165,
"gap": [
{
"x": 3,
"y": 1,
"z": 0
},
{
"x": 2,
"y": 1,
"z": 0
},
{
"x": 1,
"y": 1,
"z": 0
}
]
"time": 120,
"gap": []
}
],
"BLOCK_INFO": [
[
{
"block": 23,
"color": 5,
"type": 0,
"block": 2,
"color": 8,
"type": 4,
"position": {
"x": 0,
"y": -240,
"x": -240,
"y": 180,
"z": 0
},
"freezeTime": 3,
"id": 210
},
{
"block": 23,
"color": 5,
"block": 2,
"color": 2,
"type": 0,
"position": {
"x": 0,
"y": -360,
"x": -120,
"y": -180,
"z": 0
},
"floor": 1,
"floorTime": 7,
"id": 220
},
{
"block": 23,
"color": 5,
"block": 2,
"color": 7,
"type": 0,
"position": {
"x": 240,
"y": 120,
"y": -180,
"z": 0
},
"floor": 1,
"floorTime": 7,
"id": 230
},
{
"block": 23,
"color": 5,
"type": 0,
"block": 2,
"color": 9,
"type": 2,
"position": {
"x": 360,
"y": 240,
"x": 0,
"y": -180,
"z": 0
},
"floor": 1,
"floorTime": 7,
"id": 240
},
{
"block": 23,
"color": 5,
"type": 0,
"block": 2,
"color": 4,
"type": 2,
"position": {
"x": 240,
"y": 240,
"x": 120,
"y": -180,
"z": 0
},
"floor": 1,
"floorTime": 7,
"id": 250
},
{
"block": 23,
"color": 5,
"type": 0,
"block": 1,
"color": 6,
"type": 2,
"position": {
"x": 240,
"y": 0,
"x": 120,
"y": 300,
"z": 0
},
"id": 260
},
{
"block": 2,
"color": 6,
"type": 0,
"block": 0,
"color": 1,
"type": 2,
"position": {
"x": -120,
"y": 120,
"x": 360,
"y": -60,
"z": 0
},
"id": 270
},
{
"block": 1,
"color": 6,
"type": 0,
"block": 0,
"color": 3,
"type": 2,
"position": {
"x": -120,
"y": 0,
"x": -240,
"y": -60,
"z": 0
},
"id": 280
},
{
"block": 3,
"color": 6,
"type": 0,
"position": {
"x": 0,
"y": -120,
"z": 0
},
"id": 290
},
{
"block": 2,
"color": 11,
"type": 0,
"position": {
"x": 240,
"y": -360,
"z": 0
},
"id": 300
},
{
"block": 1,
"color": 5,
"type": 0,
"color": 7,
"type": 4,
"position": {
"x": 360,
"y": -120,
"y": 180,
"z": 0
},
"id": 310
},
{
"block": 1,
"color": 5,
"type": 0,
"position": {
"x": -120,
"y": -240,
"z": 0
},
"id": 320
},
{
"block": 1,
"color": 10,
"type": 0,
"position": {
"x": -120,
"y": -360,
"z": 0
},
"id": 330
"freezeTime": 9,
"id": 290
},
{
"block": 1,
"color": 4,
"type": 0,
"position": {
"x": 0,
"y": -420,
"z": 0
},
"id": 300
},
{
"block": 0,
"color": 4,
"type": 0,
"position": {
"x": 240,
"y": 60,
"z": 0
},
"id": 310
},
{
"block": 1,
"color": 1,
"type": 0,
"position": {
"x": 240,
"y": -420,
"z": 0
},
"id": 320
},
{
"block": 2,
"color": 5,
"type": 0,
"position": {
"x": 360,
"y": -480,
"y": -420,
"z": 0
},
"id": 330
},
{
"block": 2,
"color": 6,
"type": 0,
"position": {
"x": -240,
"y": -420,
"z": 0
},
"id": 340
},
{
"block": 1,
"color": 2,
"block": 0,
"color": 10,
"type": 0,
"position": {
"x": 360,
"y": 360,
"x": -120,
"y": 60,
"z": 0
},
"id": 350
},
{
"block": 0,
"color": 1,
"color": 8,
"type": 0,
"position": {
"x": -240,
"y": 360,
"x": 360,
"y": 60,
"z": 0
},
"id": 360
},
{
"block": 0,
"color": 3,
"color": 7,
"type": 0,
"position": {
"x": -240,
"y": 120,
"y": 60,
"z": 0
},
"id": 370
},
{
"block": 0,
"color": 7,
"type": 2,
"color": 3,
"type": 0,
"position": {
"x": 120,
"y": -480,
"x": 0,
"y": -300,
"z": 0
},
"id": 380
},
{
"block": 0,
"color": 7,
"type": 2,
"color": 9,
"type": 0,
"position": {
"x": -120,
"y": 360,
"x": 120,
"y": -300,
"z": 0
},
"id": 390
},
{
"block": 0,
"color": 2,
"type": 2,
"position": {
"x": 120,
"y": -120,
"z": 0
},
"id": 400
},
{
"block": 0,
"color": 8,
"type": 2,
"position": {
"x": 360,
"y": -240,
"z": 0
},
"id": 410
},
{
"block": 0,
"color": 10,
"type": 2,
"position": {
"x": 360,
"y": -360,
"z": 0
},
"id": 420
},
{
"block": 2,
"color": 5,
"type": 4,
"position": {
"x": 120,
"y": -360,
"z": 0
},
"freezeTime": 9,
"id": 430
},
{
"block": 5,
"color": 8,
"type": 3,
"position": {
"x": 120,
"y": 240,
"y": 60,
"z": 0
},
"lockTime": 5,
"id": 440
"id": 400
}
]
],
@ -323,107 +251,128 @@
{
"id": 487,
"num": 2,
"color": 10,
"color": 5,
"special": 0,
"length": 2
},
{
"id": 488,
"num": 3,
"color": 10,
"color": 5,
"special": 0,
"length": 0
},
{
"id": 489,
"num": 5,
"color": 2,
"color": 4,
"special": 0,
"length": 1
"length": 2
},
{
"id": 490,
"num": 8,
"num": 6,
"color": 4,
"special": 0,
"length": 2
"length": 0
},
{
"id": 491,
"num": 10,
"color": 4,
"num": 8,
"color": 3,
"special": 0,
"length": 0
"length": 2
},
{
"id": 492,
"num": 17,
"num": 10,
"color": 3,
"special": 0,
"length": 2
"length": 0
},
{
"id": 493,
"num": 19,
"color": 3,
"num": 12,
"color": 1,
"special": 0,
"length": 0
"length": 2
},
{
"id": 494,
"num": 27,
"num": 14,
"color": 1,
"special": 0,
"length": 1
"length": 0
},
{
"id": 495,
"num": 16,
"color": 9,
"special": 0,
"length": 2
},
{
"id": 496,
"num": 18,
"color": 9,
"special": 0,
"length": 0
},
{
"id": 497,
"num": 24,
"color": 2,
"special": 0,
"length": 2
},
{
"id": 498,
"num": 25,
"color": 7,
"color": 2,
"special": 0,
"length": 0
},
{
"id": 499,
"num": 21,
"color": 6,
"special": 0,
"length": 2
},
{
"id": 500,
"num": 22,
"color": 6,
"special": 0,
"length": 0
},
{
"id": 501,
"num": 17,
"color": 10,
"special": 0,
"length": 1
},
{
"id": 496,
"num": 20,
"color": 6,
"id": 502,
"num": 11,
"color": 8,
"special": 0,
"length": 2
},
{
"id": 497,
"num": 21,
"color": 6,
"id": 503,
"num": 13,
"color": 8,
"special": 0,
"length": 0
},
{
"id": 498,
"num": 16,
"color": 5,
"special": 0,
"length": 2
},
{
"id": 499,
"num": 18,
"color": 5,
"special": 0,
"length": 0
},
{
"id": 500,
"id": 504,
"num": 7,
"color": 8,
"color": 7,
"special": 0,
"length": 2
},
{
"id": 501,
"num": 9,
"color": 8,
"special": 0,
"length": 0
"length": 1
}
]
]

View File

@ -1,3 +0,0 @@
灰色方块396、397、398、400
普通387、391、399
其余所有都是移动门

View File

@ -1,6 +0,0 @@
{
"ver": "2.0.2",
"uuid": "00fc7959-d945-47a2-ae80-2e85f7173f3c",
"importer": "text",
"subMetas": {}
}

View File

@ -1,13 +0,0 @@
{
"ver": "1.1.3",
"uuid": "5bca823b-ee17-418d-a216-e51af93fe770",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}

View File

@ -1,71 +0,0 @@
{
"LEVEL_INFO": [
{
"id": "1",
"map": [
6,
7
],
"time": 300,
"gap": []
}
],
"BLOCK_INFO": [
[
{
"block": 5,
"color": 5,
"type": 0,
"position": {
"x": 0,
"y": -180,
"z": 0
},
"id": 210
},
{
"block": 5,
"color": 10,
"type": 0,
"position": {
"x": 240,
"y": -60,
"z": 0
},
"id": 220
}
]
],
"WALL_INFO": [
[
{
"id": 1,
"num": 10,
"color": 10,
"special": 0,
"length": 2
},
{
"id": 1,
"num": 12,
"color": 10,
"special": 0,
"length": 0
},
{
"id": 2,
"num": 0,
"color": 5,
"special": 0,
"length": 2
},
{
"id": 3,
"num": 1,
"color": 5,
"special": 0,
"length": 0
}
]
]
}

View File

@ -1,6 +0,0 @@
{
"ver": "1.0.2",
"uuid": "301cb047-9a38-4063-89af-1bec3d3bc8b7",
"importer": "json",
"subMetas": {}
}

View File

@ -1,409 +0,0 @@
{
"LEVEL_INFO": [
{
"risefall": [],
"id": "1",
"map": [
8,
10
],
"time": 500,
"gap": [
{
"x": 1,
"y": 8,
"z": 0
},
{
"x": 1,
"y": 7,
"z": 0
},
{
"x": 2,
"y": 7,
"z": 0
},
{
"x": 2,
"y": 8,
"z": 0
},
{
"x": 6,
"y": 8,
"z": 0
},
{
"x": 5,
"y": 8,
"z": 0
},
{
"x": 5,
"y": 7,
"z": 0
},
{
"x": 6,
"y": 7,
"z": 0
},
{
"x": 1,
"y": 1,
"z": 0
},
{
"x": 6,
"y": 1,
"z": 0
}
]
}
],
"BLOCK_INFO": [
[
{
"block": 23,
"color": 1,
"type": 0,
"position": {
"x": -240,
"y": -240,
"z": 0
},
"id": 210
},
{
"block": 23,
"color": 1,
"type": 0,
"position": {
"x": 360,
"y": -240,
"z": 0
},
"id": 220
},
{
"block": 2,
"color": 6,
"type": 8,
"position": {
"x": 0,
"y": 240,
"z": 0
},
"id": 230
},
{
"block": 2,
"color": 8,
"type": 8,
"position": {
"x": 120,
"y": 240,
"z": 0
},
"id": 240
},
{
"block": 1,
"color": 8,
"type": 0,
"position": {
"x": -120,
"y": 120,
"z": 0
},
"id": 250
},
{
"block": 1,
"color": 6,
"type": 0,
"position": {
"x": 360,
"y": 120,
"z": 0
},
"id": 260
},
{
"block": 22,
"color": 5,
"type": 0,
"position": {
"x": 120,
"y": 0,
"z": 0
},
"id": 270
},
{
"block": 0,
"color": 1,
"type": 0,
"position": {
"x": -240,
"y": 0,
"z": 0
},
"id": 280
},
{
"block": 0,
"color": 7,
"type": 0,
"position": {
"x": 360,
"y": 0,
"z": 0
},
"id": 290
},
{
"block": 1,
"color": 7,
"type": 0,
"position": {
"x": 360,
"y": -120,
"z": 0
},
"id": 300
},
{
"block": 0,
"color": 7,
"type": 0,
"position": {
"x": 0,
"y": -240,
"z": 0
},
"id": 310
},
{
"block": 0,
"color": 1,
"type": 0,
"position": {
"x": 360,
"y": -360,
"z": 0
},
"id": 320
},
{
"block": 0,
"color": 10,
"type": 0,
"position": {
"x": 120,
"y": -240,
"z": 0
},
"id": 330
},
{
"block": 0,
"color": 3,
"type": 0,
"position": {
"x": -240,
"y": -360,
"z": 0
},
"id": 340
},
{
"block": 5,
"color": 2,
"type": 0,
"position": {
"x": 120,
"y": -480,
"z": 0
},
"id": 350
},
{
"block": 0,
"color": 5,
"type": 9,
"position": {
"x": -120,
"y": -360,
"z": 0
},
"adhesiveTime": 2,
"id": 360
},
{
"block": 0,
"color": 3,
"type": 9,
"position": {
"x": -120,
"y": -480,
"z": 0
},
"adhesiveTime": 1,
"id": 370
},
{
"block": 0,
"color": 3,
"type": 9,
"position": {
"x": 240,
"y": -360,
"z": 0
},
"adhesiveTime": 2,
"id": 380
},
{
"block": 0,
"color": 10,
"type": 9,
"position": {
"x": 240,
"y": -480,
"z": 0
},
"adhesiveTime": 1,
"id": 390
},
{
"block": 1,
"color": 10,
"type": 0,
"position": {
"x": -120,
"y": -120,
"z": 0
},
"floor": 1,
"floorTime": 11,
"id": 400
},
{
"block": 0,
"color": 5,
"type": 0,
"position": {
"x": 0,
"y": -120,
"z": 0
},
"floor": 1,
"floorTime": 11,
"id": 410
},
{
"block": 0,
"color": 8,
"type": 0,
"position": {
"x": -120,
"y": -240,
"z": 0
},
"floor": 1,
"floorTime": 11,
"id": 420
}
]
],
"WALL_INFO": [
[
{
"id": 2,
"num": 2,
"color": 7,
"special": 0,
"length": 1
},
{
"id": 3,
"num": 3,
"color": 2,
"special": 4,
"length": 2
},
{
"id": 4,
"num": 4,
"color": 2,
"special": 4,
"length": 0
},
{
"id": 5,
"num": 13,
"color": 1,
"special": 0,
"length": 1
},
{
"id": 6,
"num": 15,
"color": 3,
"special": 0,
"length": 1
},
{
"id": 7,
"num": 26,
"color": 5,
"special": 0,
"length": 2
},
{
"id": 8,
"num": 27,
"color": 5,
"special": 0,
"length": 0
},
{
"id": 9,
"num": 25,
"color": 10,
"special": 0,
"length": 1
},
{
"id": 10,
"num": 14,
"color": 8,
"special": 4,
"length": 2
},
{
"id": 11,
"num": 16,
"color": 8,
"special": 4,
"length": 0
},
{
"id": 12,
"num": 8,
"color": 6,
"special": 0,
"length": 2
},
{
"id": 13,
"num": 12,
"color": 6,
"special": 0,
"length": 0
}
]
]
}

View File

@ -1,6 +0,0 @@
{
"ver": "1.0.2",
"uuid": "c60f12a7-bbdb-4555-a51d-98ab7cf9b598",
"importer": "json",
"subMetas": {}
}

View File

@ -1,417 +0,0 @@
{
"LEVEL_INFO": [
{
"risefall": [
{
"x": 3,
"y": 6,
"color": "1"
},
{
"x": 3,
"y": 5,
"color": "1"
},
{
"x": 4,
"y": 6,
"color": "1"
},
{
"x": 4,
"y": 5,
"color": "1"
}
],
"id": "188",
"map": [
8,
10
],
"time": 120,
"gap": []
}
],
"BLOCK_INFO": [
[
{
"block": 23,
"color": 1,
"type": 0,
"position": {
"x": 360,
"y": -480,
"z": 0
},
"id": 210
},
{
"block": 23,
"color": 1,
"type": 0,
"position": {
"x": 360,
"y": 360,
"z": 0
},
"id": 220
},
{
"block": 23,
"color": 1,
"type": 0,
"position": {
"x": -240,
"y": -480,
"z": 0
},
"id": 230
},
{
"block": 23,
"color": 1,
"type": 0,
"position": {
"x": -240,
"y": 360,
"z": 0
},
"id": 240
},
{
"block": 0,
"color": 11,
"type": 0,
"position": {
"x": -240,
"y": 240,
"z": 0
},
"id": 250
},
{
"block": 0,
"color": 2,
"type": 0,
"position": {
"x": 240,
"y": 360,
"z": 0
},
"id": 260
},
{
"block": 1,
"color": 6,
"type": 0,
"position": {
"x": -120,
"y": 120,
"z": 0
},
"id": 270
},
{
"block": 0,
"color": 6,
"type": 0,
"position": {
"x": 360,
"y": 240,
"z": 0
},
"id": 280
},
{
"block": 0,
"color": 10,
"type": 0,
"position": {
"x": -240,
"y": 0,
"z": 0
},
"id": 290
},
{
"block": 2,
"color": 10,
"type": 0,
"position": {
"x": -120,
"y": -480,
"z": 0
},
"id": 300
},
{
"block": 1,
"color": 7,
"type": 0,
"position": {
"x": -120,
"y": -240,
"z": 0
},
"id": 310
},
{
"block": 22,
"color": 3,
"type": 0,
"position": {
"x": 0,
"y": -240,
"z": 0
},
"id": 320
},
{
"block": 1,
"color": 3,
"type": 0,
"position": {
"x": 360,
"y": -240,
"z": 0
},
"id": 330
},
{
"block": 1,
"color": 3,
"type": 0,
"position": {
"x": 360,
"y": 120,
"z": 0
},
"id": 340
},
{
"block": 21,
"color": 1,
"type": 0,
"position": {
"x": 120,
"y": -240,
"z": 0
},
"id": 350
},
{
"block": 2,
"color": 1,
"type": 0,
"position": {
"x": 240,
"y": -480,
"z": 0
},
"id": 360
},
{
"block": 0,
"color": 9,
"type": 0,
"position": {
"x": -120,
"y": 360,
"z": 0
},
"id": 370
},
{
"block": 0,
"color": 9,
"type": 9,
"position": {
"x": 120,
"y": 360,
"z": 0
},
"adhesiveTime": 2,
"id": 380
},
{
"block": 0,
"color": 11,
"type": 9,
"position": {
"x": 0,
"y": 360,
"z": 0
},
"adhesiveTime": 1,
"id": 390
},
{
"block": 0,
"color": 7,
"type": 9,
"position": {
"x": 120,
"y": 240,
"z": 0
},
"adhesiveTime": 2,
"id": 400
},
{
"block": 0,
"color": 6,
"type": 9,
"position": {
"x": 0,
"y": 240,
"z": 0
},
"adhesiveTime": 1,
"id": 410
},
{
"block": 1,
"color": 6,
"type": 9,
"position": {
"x": 120,
"y": -360,
"z": 0
},
"adhesiveTime": 2,
"id": 420
},
{
"block": 1,
"color": 10,
"type": 9,
"position": {
"x": 120,
"y": -480,
"z": 0
},
"adhesiveTime": 1,
"id": 430
},
{
"block": 0,
"color": 8,
"type": 0,
"position": {
"x": 360,
"y": 0,
"z": 0
},
"id": 440
}
]
],
"WALL_INFO": [
[
{
"id": 189,
"num": 11,
"color": 1,
"special": 0,
"length": 2
},
{
"id": 190,
"num": 13,
"color": 1,
"special": 0,
"length": 0
},
{
"id": 191,
"num": 15,
"color": 3,
"special": 0,
"length": 2
},
{
"id": 192,
"num": 17,
"color": 3,
"special": 0,
"length": 0
},
{
"id": 193,
"num": 1,
"color": 8,
"special": 0,
"length": 1
},
{
"id": 194,
"num": 21,
"color": 7,
"special": 0,
"length": 1
},
{
"id": 195,
"num": 10,
"color": 2,
"special": 0,
"length": 1
},
{
"id": 196,
"num": 16,
"color": 9,
"special": 0,
"length": 1
},
{
"id": 197,
"num": 4,
"color": 5,
"special": 2,
"length": 2,
"lock": true
},
{
"id": 198,
"num": 5,
"color": 5,
"special": 2,
"length": 0,
"lock": true
},
{
"id": 199,
"num": 12,
"color": 6,
"special": 2,
"length": 2,
"lock": true
},
{
"id": 200,
"num": 14,
"color": 6,
"special": 2,
"length": 0,
"lock": true
},
{
"id": 201,
"num": 24,
"color": 10,
"special": 2,
"length": 2,
"lock": true
},
{
"id": 202,
"num": 25,
"color": 10,
"special": 2,
"length": 0,
"lock": true
}
]
]
}

View File

@ -1,6 +0,0 @@
{
"ver": "1.0.2",
"uuid": "6fadd08d-4413-4ba8-b79d-ea46b92bc93a",
"importer": "json",
"subMetas": {}
}

View File

@ -34,12 +34,15 @@
},
{
"__id__": 110
},
{
"__id__": 130
}
],
"_active": true,
"_components": [],
"_prefab": {
"__id__": 130
"__id__": 133
},
"_opacity": 255,
"_color": {
@ -1977,7 +1980,7 @@
},
{
"__type__": "cc.Node",
"_name": "New Sprite",
"_name": "left",
"_objFlags": 0,
"_parent": {
"__id__": 50
@ -2199,7 +2202,7 @@
},
{
"__type__": "cc.Node",
"_name": "New Sprite",
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 56
@ -2353,7 +2356,7 @@
},
{
"__type__": "cc.Node",
"_name": "New Sprite",
"_name": "left",
"_objFlags": 0,
"_parent": {
"__id__": 49
@ -2462,7 +2465,7 @@
},
{
"__type__": "cc.Node",
"_name": "New Sprite",
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 49
@ -3099,7 +3102,7 @@
},
{
"__type__": "cc.Node",
"_name": "New Sprite",
"_name": "left",
"_objFlags": 0,
"_parent": {
"__id__": 69
@ -3208,7 +3211,7 @@
},
{
"__type__": "cc.Node",
"_name": "New Sprite",
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 69
@ -3845,7 +3848,7 @@
},
{
"__type__": "cc.Node",
"_name": "New Sprite",
"_name": "left",
"_objFlags": 0,
"_parent": {
"__id__": 89
@ -3954,7 +3957,7 @@
},
{
"__type__": "cc.Node",
"_name": "New Sprite",
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 89
@ -4830,6 +4833,115 @@
"fileId": "0dE0P0/9FCQ6EtKeyVhCMh",
"sync": false
},
{
"__type__": "cc.Node",
"_name": "color",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 131
}
],
"_prefab": {
"__id__": 132
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 138,
"height": 69
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-71.171,
-73.484,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": ""
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 130
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "6db2aafd-c221-4be9-a20b-5bb361fe22ef"
},
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": {
"__uuid__": "f2c494b7-b6df-488f-b194-358235b0f180"
},
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "67AGFXEr9F74ofAyRN592E",
"sync": false
},
{
"__type__": "cc.PrefabInfo",
"root": {