增加纠错系统,修改两个错误关卡配置

This commit is contained in:
COMPUTER\EDY 2026-01-05 10:22:37 +08:00
parent a5a933f609
commit 51a36e7151
17 changed files with 479 additions and 483 deletions

View File

@ -256,7 +256,7 @@ export default class Block extends cc.Component {
else if (this.type == BlockType.) {
}
}, 100);
}, 200);
@ -508,15 +508,6 @@ export default class Block extends cc.Component {
}
}
}
if (this.block_Info.moveFloor && this.block_Info.moveFloorTime) {
{
if (this.adhesiveNode.length > 0) {
for (let i = 0; i < this.adhesiveNode.length; i++) {
this.adhesiveNode[i].opacity = 0;
}
}
}
}
// let adhesive = cc.instantiate(MapConroler._instance.Block_Prop[this.type]);
}
@ -876,6 +867,7 @@ export default class Block extends cc.Component {
this.block_Info.node.getComponent("Block").moveStack = true;
}
let touchPoint = event.getLocation();
let local = this.node.parent.convertToNodeSpaceAR(touchPoint);
this.touchPointX = local.x;
@ -890,6 +882,11 @@ export default class Block extends cc.Component {
}
this.setVibrate("light", 1)
if (this.hit) this.hit.active = true;
if (this.block_Info.floor) {
if (this.block_Info.floorMove == true) {
this.hit.active = false;
}
}
return true;
}
else {
@ -1026,7 +1023,7 @@ export default class Block extends cc.Component {
return;
}
for (let i = 0; i < this.node.children.length; i++) {
if (this.node.children[i].name == "floor") {
if (this.node.children[i].name == "floor" || this.node.children[i].name == "moveFloor") {
this.node.children[i].getComponent("Floor").reduce(1);
}
}
@ -1182,7 +1179,7 @@ export default class Block extends cc.Component {
setTimeout(() => {
this.node.getChildByName("lock").getComponent("Lock").reduce();
for (let i = 0; i < this.node.children.length; i++) {
if (this.node.children[i].name == "floor") {
if (this.node.children[i].name == "floor" || this.node.children[i].name == "moveFloor") {
this.node.children[i].getComponent("Floor").reduce();
}
}
@ -1190,7 +1187,7 @@ export default class Block extends cc.Component {
return;
}
for (let i = 0; i < this.node.children.length; i++) {
if (this.node.children[i].name == "floor") {
if (this.node.children[i].name == "floor" || this.node.children[i].name == "moveFloor") {
this.node.children[i].getComponent("Floor").reduce(1);
}
}
@ -1403,7 +1400,7 @@ export default class Block extends cc.Component {
this.block_Info.floorTime = null;
for (let i = 0; i < this.node.children.length; i++) {
if (this.node.children[i].name == "floor") {
if (this.node.children[i].name == "floor" || this.node.children[i].name == "moveFloor") {
this.node.children[i].active = false;
}
}
@ -2029,7 +2026,7 @@ export default class Block extends cc.Component {
}
}
floor.parent = this.node;
floor.zIndex = 999;
floor.zIndex = 999 - i;
let floorX = - 65 + 120 * this.allBlocks[i].x; let floorY = 60 + 120 * this.allBlocks[i].y;
floor.setPosition(floorX, floorY);
floor.getComponent("Floor").init(this.block_Info.floorTime);
@ -2041,7 +2038,7 @@ export default class Block extends cc.Component {
}
if (this.type == BlockType.) {
for (let j = 0; j < this.node.children.length; j++) {
if (this.node.children[j].name == "floor") {
if (this.node.children[j].name == "floor" || this.node.children[j].name == "moveFloor") {
this.node.children[j].active = false;
}
}
@ -2065,7 +2062,7 @@ export default class Block extends cc.Component {
}
if (this.type == BlockType.) {
for (let j = 0; j < this.node.children.length; j++) {
if (this.node.children[j].name == "floor") {
if (this.node.children[j].name == "floor" || this.node.children[j].name == "moveFloor") {
this.node.children[j].active = false;
}
}

View File

@ -54,6 +54,7 @@ export default class GameManager extends cc.Component {
// LIFE-CYCLE CALLBACKS:
/** 游戏入口初始化 */
onLoad() {
window.initMgr();
this.timeNumber = 2;
// cc.director.preloadScene("HomeScene", (err, asset) => {
@ -61,6 +62,9 @@ export default class GameManager extends cc.Component {
this.startTimeCutDown();
cc.fx.GameConfig.init(true);
cc.fx.GameConfig.GM_INFO.gameState = false;
setTimeout(() => {
cc.fx.GameTool.initWechatErrorTracking();
}, 500);
this.readMusicConfig();
this.load1 = this.load2 = this.load3 = this.load4 = this.load5 = this.load6 = false;

View File

@ -78,6 +78,7 @@ export default class JiaZai extends cc.Component {
@property(cc.Node)
Stamina: cc.Node = null;
scheduleCallback: any;
isShow: boolean = true;
private heath: any; // 用于存储heath预制体
private lastPauseClickTime: number = 0; // 用于记录上次点击的时间戳
// 弹窗倒计时调度器
@ -119,6 +120,8 @@ export default class JiaZai extends cc.Component {
this.getShareInfo();
}
initProvinceLocator();
// this.RankNode = null;
this.isShow = true;
this.node.getChildByName("Snow").active = false;
this.node.getChildByName("Snow").zIndex = 999;
console.log("最新版本___________");
@ -129,7 +132,7 @@ export default class JiaZai extends cc.Component {
this.closeAvatar();
this.setShareInfo();
this.checkTasks();
this.getSRank();
this.checkAndSetPlayerPassLevel();
// this.checkDailyQuests();
console.log("进入首页获取的share", cc.fx.GameConfig.GM_INFO.otherUid, cc.fx.GameConfig.GM_INFO.otherLevel);
@ -265,6 +268,7 @@ export default class JiaZai extends cc.Component {
if (cc.fx.GameConfig.GM_INFO.otherLevel > 0) {
this.getSRank(false);
if (cc.fx.GameConfig.GM_INFO.first) {
this.setFirstMusic();
cc.fx.GameConfig.GM_INFO.first = false;
@ -279,11 +283,14 @@ export default class JiaZai extends cc.Component {
}
else {
// this.closeLoad();
this.isShow = false;
cc.fx.GameConfig.LEVEL_INFO_init(true, 1000, true);
}
}
else {
if (cc.fx.GameConfig.GM_INFO.first) {
this.isShow = false;
this.getSRank(false);
//console.log("————————准备注册事件", cc.fx.GameConfig.GM_INFO.openid);
this.setFirstMusic();
cc.fx.AudioManager._instance.playEffect("zhuan1", null);
@ -294,6 +301,9 @@ export default class JiaZai extends cc.Component {
cc.director.loadScene("GameScene");
}, 1000);
}
else {
this.getSRank(true);
}
}
//console.log("音乐开关", cc.fx.GameConfig.GM_INFO.musicOpen);
@ -912,6 +922,7 @@ export default class JiaZai extends cc.Component {
cc.fx.GameTool.requestSubscribe();
return;
}
this.isShow = false;
cc.fx.GameConfig.LEVEL_INFO_init(true, 0, false);
}
else {
@ -923,6 +934,7 @@ export default class JiaZai extends cc.Component {
cc.fx.GameTool.requestSubscribe();
return;
}
this.isShow = false;
cc.fx.GameConfig.LEVEL_INFO_init(true, 1000, false);
}
}
@ -935,7 +947,7 @@ export default class JiaZai extends cc.Component {
cc.fx.AudioManager._instance.playEffect("zhuan1", null);
this.node.getChildByName("zhuanchang").active = true;
this.node.getChildByName("zhuanchang").getComponent(sp.Skeleton).setAnimation(1, "up", false);
this.isShow = false;
cc.fx.GameConfig.LEVEL_INFO_init(true, 1000, false);
}
else {
@ -947,6 +959,7 @@ export default class JiaZai extends cc.Component {
cc.fx.GameTool.requestSubscribe();
return;
}
this.isShow = false;
cc.fx.GameConfig.LEVEL_INFO_init(true, 0, false);
}
else {
@ -958,6 +971,7 @@ export default class JiaZai extends cc.Component {
cc.fx.GameTool.requestSubscribe();
return;
}
this.isShow = false;
cc.fx.GameConfig.LEVEL_INFO_init(true, 1000, false);
}
}
@ -2475,12 +2489,12 @@ export default class JiaZai extends cc.Component {
}
//获取入职排行榜
getSRank() {
getSRank(isShow: boolean = true) {
console.log("_________________________重新获取排行");
if (this.RankNode == null && this.RankNode == undefined) {
this.LoadCareer(() => {
Utils.getSRank(res => {
debugger;
let data = JSON.parse(res.data);
let role = data.role;
let sortedArray = [];
@ -2572,11 +2586,11 @@ export default class JiaZai extends cc.Component {
this.node.getChildByName("Snow").active = true;
})
.start()
})
}, true)
}
// console.log("rankingData_________", rankData);
});
});
}, isShow);
}
}
@ -2664,13 +2678,13 @@ export default class JiaZai extends cc.Component {
this.node.getChildByName("Snow").active = true;
})
.start()
})
}, true)
}
// console.log("rankData更新!!!!!!!!", this.careerRank.rankData);
}
LoadCareer(callback: () => void) {
LoadCareer(callback: () => void, isShow: boolean = true) {
cc.assetManager.loadBundle('career', (err: Error, bundle: cc.AssetManager.Bundle) => {
if (err) {
cc.error(err.message || err);
@ -2683,8 +2697,11 @@ export default class JiaZai extends cc.Component {
return;
}
this.RankNode = cc.instantiate(prefab);
if (isShow = true && this.isShow == true) {
if (callback)
callback();
}
});
});
}

View File

@ -670,8 +670,11 @@ export default class MapConroler extends cc.Component {
position: blockInfo.position,
stacking: blockInfo.color
};
if (blockInfo.floor) info["floor"] = blockInfo.floor;
if (blockInfo.floor) {
info["floor"] = blockInfo.floor;
if (blockInfo.floorTime) info["floorTime"] = blockInfo.floorTime;
}
// 缓存 Block_Array 访问
const blockUpPrefab = this.Block_Array[info.block];
@ -2038,7 +2041,7 @@ export default class MapConroler extends cc.Component {
for (let i = 0; i < floorBlock.length; i++) {
for (let j = 0; j < floorBlock[i].children.length; j++) {
if (floorBlock[i].children[j].name == "floor") {
if (floorBlock[i].children[j].name == "floor" || floorBlock[i].children[j].name == "moveFloor") {
floorBlock[i].children[j].getComponent("Floor").reduce(1);
}
}

View File

@ -298,12 +298,12 @@ export class LQCollide extends Component {
case LQCollideShape.Rect:
// 矩形碰撞区域尺寸更新
// console.log(this.data_string);
if (this._size.width !== 10 && this.data_string != "-1") {
if (this._size.width !== 10 && this.data_string != "-1" && this.data_string != "-2") {
// if(this._size.width == 105 || this._size.height == 105){}
this._size.width = this._size.width * scaleX;
// console.log("放大倍数",scaleX);
}
if (this._size.height !== 10 && this.data_string != "-1") {
if (this._size.height !== 10 && this.data_string != "-1" && this.data_string != "-2") {
// if(this._size.width == 105 || this._size.height == 105){}
this._size.height = this._size.height * scaleY;
// console.log("放大倍数",scaleY);
@ -366,10 +366,10 @@ export class LQCollide extends Component {
if (collide.node.name == "rise" && block.type == 9) {
let otherColor = collide.node.parent.getChildByName("risefall").getChildByName("color").getComponent(cc.Label).string;
if (block.color == otherColor && this.data_string != "-1") {
if (block.color == otherColor && this.data_string != "-1" && this.data_string != "-2") {
return;
}
if (block.block_Info.node.getComponent("Block").color == otherColor && this.data_string == "-1") {
if (block.block_Info.node.getComponent("Block").color == otherColor && this.data_string != "-1" && this.data_string != "-2") {
return;
}
// if (this.is_music == false) {
@ -432,10 +432,10 @@ export class LQCollide extends Component {
if (block.isTouch) {
if (collide.node.name == "rise" && block.type == 9) {
let otherColor = collide.node.parent.getChildByName("risefall").getChildByName("color").getComponent(cc.Label).string;
if (block.color == otherColor && this.data_string != "-1") {
if (block.color == otherColor && this.data_string != "-1" && this.data_string != "-2") {
return;
}
if (block.block_Info.node.getComponent("Block").color == otherColor && this.data_string == "-1") {
if (block.block_Info.node.getComponent("Block").color == otherColor && this.data_string != "-1" && this.data_string != "-2") {
return;
}
}

View File

@ -66,6 +66,7 @@ export class GameConfig {
static CITY: { 河北省: boolean; 山西省: boolean; 辽宁省: boolean; 吉林省: boolean; 黑龙江省: boolean; 江苏省: boolean; 浙江省: boolean; 安徽省: boolean; 福建省: boolean; 江西省: boolean; 山东省: boolean; 河南省: boolean; 湖北省: boolean; 湖南省: boolean; 广东省: boolean; 海南省: boolean; 四川省: boolean; 贵州省: boolean; 云南省: boolean; 陕西省: boolean; 甘肃省: boolean; 青海省: boolean; 港澳台: boolean; 北京: boolean; 天津: boolean; 上海: boolean; 重庆: boolean; 内蒙古: boolean; 广西: boolean; 西藏: boolean; 宁夏: boolean; 新疆: boolean; };
static GM_INFO: {
// isEnd: false,
error_message: any[]; // 错误信息
mean_Time: number; //平均放箭速度
hp: number; //体力值
review: number; //复活次数
@ -155,6 +156,7 @@ export class GameConfig {
//游戏内信息
static get Instance() {
@ -245,6 +247,7 @@ export class GameConfig {
static GM_INFO_init() {
this.GM_INFO = {
// isEnd: false,
error_message: [], // 错误信息
mean_Time: 0, //平均放箭速度
hp: 5, //体力值
review: 0, //复活次数

View File

@ -2025,6 +2025,60 @@ var GameTool = {
const scaleAction = cc.scaleTo(duration, scale).easing(cc.easeBackOut());
const reverseAction = cc.scaleTo(duration, 1).easing(cc.easeBackIn());
node.runAction(cc.sequence(scaleAction, reverseAction));
},
// ==================== 错误跟踪功能 ====================
initWechatErrorTracking() {
if (cc.sys.platform === cc.sys.WECHAT_GAME) {
// 使用 wx.onError 捕获微信特定的错误
//@ts-ignore
wx.onError((error) => {
console.log("_____________________wx.onError 捕获到错误", error);
this.trackErrorToShushu(error)
});
console.log('微信 onError 错误监听已初始化');
}
},
// 获取错误堆栈信息
getErrorStack(error: any): string {
if (error.stack) {
return error.stack;
}
if (error.message) {
return error.message;
}
if (error.toString) {
return error.toString();
}
return JSON.stringify(error);
},
trackErrorToShushu(error: any) {
console.log("_____________________上报错误");
if (!cc.fx.GameConfig.GM_INFO.error_message.includes(error.message)) {
cc.fx.GameConfig.GM_INFO.error_message.push(error.message);
}
else {
console.log("_____________________上报结束关闭重复");
//@ts-ignore
wx.offError();
}
let errorData = {
error_type: "javascript",
error_message: error.message || String(error),
error_stack: error.stack || '',
game_version: cc.fx.GameConfig.GM_INFO?.version || 'unknown',
user_id: cc.fx.GameConfig.GM_INFO?.userId || 'unknown',
level: cc.fx.GameConfig.GM_INFO?.level || 0,
timestamp: Date.now(),
coin: cc.fx.GameConfig.GM_INFO?.coin || 0
};
MiniGameSdk.API.shushu_Track('error', errorData);
}
};
export { GameTool };

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

View File

@ -25,9 +25,9 @@
"trimX": 0,
"trimY": 0,
"width": 120,
"height": 120,
"height": 132,
"rawWidth": 120,
"rawHeight": 120,
"rawHeight": 132,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,

View File

@ -60,15 +60,21 @@ export default class CareerItem extends cc.Component {
this.node.getChildByName("ranking").getChildByName("nomal").active = true;
NumberToImage.numberToImageNodes4(this.data.rank, 43, 15, "company_", this.node.getChildByName("ranking").getChildByName("nomal").getChildByName("rank"), true);
let rank = this.node.getChildByName("ranking").getChildByName("nomal").getChildByName("rank");
if (rank.children.length > 0) {
for (let i = 0; i < rank.children.length; i++) {
rank.children[i].color = cc.Color.WHITE;
}
}
}
this.node.zIndex = this.data.rank;
if (this.randerChildren.length == 0) {
this.randerChildren = [];
let length = this.data.rankingData.length + 4;
let lengthTemp = 0;
if (this.data.rankingData.length) {
lengthTemp = this.data.rankingData.length;
}
let length = lengthTemp + 4;
if (length > 12) length = 12;
for (let i = 4; i < length; i++) {
this.randerChildren.push(this.node.children[i]);

View File

@ -291,6 +291,7 @@ export default class CareerList extends cc.Component {
if (viewPos) {
//item上滑时超出了scrollView上边界将item移动到下方复用item移动到下方的位置必须不超过content的下边界
if (viewPos.y > bufferZone && item.y - offset - this.padding_buttom > -this.content.height - firstRenderOffsetY) {
if (item.getComponent(CareerItem)) {
let itemRender: CareerItem = item.getComponent(CareerItem);
let itemIndex = itemRender.itemIndex + items.length;
itemRender.itemIndex = itemIndex;
@ -299,11 +300,13 @@ export default class CareerList extends cc.Component {
item.y = item.y - offset;
}
}
}
} else {
if (viewPos) {
//item下滑时超出了scrollView下边界将item移动到上方复用item移动到上方的位置必须不超过content的上边界
if (viewPos.y < -bufferZone && item.y + offset + this.padding_top < -firstRenderOffsetY) {
if (item.getComponent(CareerItem)) {
let itemRender: CareerItem = item.getComponent(CareerItem);
let itemIndex = itemRender.itemIndex - items.length;
itemRender.itemIndex = itemIndex;
@ -314,6 +317,7 @@ export default class CareerList extends cc.Component {
}
}
}
}
this.lastContentPosY = this.scrollView.content.y;
}
@ -434,6 +438,7 @@ export default class CareerList extends cc.Component {
public firstRenderInit() {
// let
this.firstRender.active = true;
if (this.randerChildren) {
if (this.randerChildren.length == 0) {
this.randerChildren = [];
let length = this.topData.length + 3;
@ -466,6 +471,8 @@ export default class CareerList extends cc.Component {
else this.setPic(this.topData[i - 3].useravatar, this.firstRender.children[i].getChildByName("mask").getChildByName("icon"));
}
}
}
}

View File

@ -41,13 +41,13 @@ export default class CareerManager extends cc.Component {
}
//实际设置排行数据
public getRankData(data) {
if (data) {
// console.log(data);
cc.fx.GameTool.getRankData(data, this, 6);
this.setPic(this.selfData.pic);
}
}
// public getRankData(data) {
// if (data) {
// // console.log(data);
// cc.fx.GameTool.getRankData(data, this, 6);
// this.setPic(this.selfData.pic);
// }
// }
//返回按钮
public backClick() {
cc.director.loadScene("LoadScene");
@ -55,36 +55,37 @@ export default class CareerManager extends cc.Component {
//最上方用户动画
//设置头像 处理的逻辑比较多,不用公共类的了
public setPic(pic) {
this.phone.node.parent.getChildByName("icon").active = false;
this.phone.node.active = false;
fetch(pic)
.then(response => {
return response.headers.get('Content-Length');
})
.then(errNo => {
if (errNo == "5093") {
this.phone.node.parent.getChildByName("icon").active = true;
}
})
.catch(error => {
// console.error('Error fetching X-Info:', error);
});
var self = this;
cc.assetManager.loadRemote(pic, { ext: '.png' }, (err, texture: cc.Texture2D) => {
if (texture) {
self.phone.node.active = true;
self.phone.spriteFrame = new cc.SpriteFrame(texture);
}
else {
}
// public setPic(pic) {
// this.phone.node.parent.getChildByName("icon").active = false;
// this.phone.node.active = false;
// fetch(pic)
// .then(response => {
// return response.headers.get('Content-Length');
// })
// .then(errNo => {
// if (errNo == "5093") {
// this.phone.node.parent.getChildByName("icon").active = true;
// }
// })
// .catch(error => {
// // console.error('Error fetching X-Info:', error);
// });
// var self = this;
// cc.assetManager.loadRemote(pic, { ext: '.png' }, (err, texture: cc.Texture2D) => {
// if (texture) {
// self.phone.node.active = true;
// self.phone.spriteFrame = new cc.SpriteFrame(texture);
// }
// else {
// }
})
}
// })
// }
public setData(data, topData) {
this.selfData = data;
this.rankList.setData(this.listData, topData);
if (data) {
if (data.length > 0) {
this.rankNumber = data[0].rank;
this.rankTotal = data.length;
@ -92,3 +93,5 @@ export default class CareerManager extends cc.Component {
}
}
}

View File

@ -377,9 +377,7 @@
"color": 6,
"special": 3,
"length": 1,
"freeze": 11,
"longAndShort": 12,
"order": true
"freeze": 11
}
]
]

View File

@ -305,13 +305,12 @@
{
"block": 2,
"color": 8,
"type": 17,
"type": 0,
"position": {
"x": 240,
"y": -60,
"z": 0
},
"boomTime": 1,
"floor": 2,
"floorTime": 9,
"floorMove": false,
@ -320,13 +319,12 @@
{
"block": 1,
"color": 7,
"type": 17,
"type": 0,
"position": {
"x": 240,
"y": -180,
"z": 0
},
"boomTime": 1,
"floor": 2,
"floorTime": 9,
"floorMove": false,

View File

@ -2,532 +2,438 @@
"LEVEL_INFO": [
{
"risefall": [],
"id": "886",
"id": "466",
"map": [
10,
12
9,
10
],
"time": 140,
"gap": [
{
"x": 8,
"y": 10,
"z": 0
},
{
"x": 7,
"y": 10,
"z": 0
},
{
"x": 6,
"y": 10,
"z": 0
},
{
"x": 6,
"y": 9,
"z": 0
},
{
"x": 7,
"y": 9,
"z": 0
},
{
"x": 8,
"y": 9,
"z": 0
},
{
"x": 8,
"y": 8,
"z": 0
},
{
"x": 7,
"y": 8,
"z": 0
},
{
"x": 6,
"y": 8,
"z": 0
},
{
"x": 1,
"y": 8,
"z": 0
},
{
"x": 2,
"y": 8,
"z": 0
},
{
"x": 2,
"y": 7,
"z": 0
},
{
"x": 1,
"y": 7,
"z": 0
},
{
"x": 1,
"y": 6,
"z": 0
},
{
"x": 1,
"y": 5,
"z": 0
},
{
"x": 1,
"y": 4,
"z": 0
},
{
"x": 1,
"y": 3,
"z": 0
},
{
"x": 2,
"y": 3,
"z": 0
},
{
"x": 2,
"y": 4,
"z": 0
},
{
"x": 2,
"y": 5,
"z": 0
},
{
"x": 2,
"y": 6,
"z": 0
},
{
"x": 6,
"y": 1,
"z": 0
},
{
"x": 5,
"y": 1,
"z": 0
},
{
"x": 5,
"y": 2,
"z": 0
},
{
"x": 6,
"y": 2,
"z": 0
},
{
"x": 6,
"y": 3,
"z": 0
},
{
"x": 5,
"y": 3,
"z": 0
}
]
"time": 150,
"gap": []
}
],
"BLOCK_INFO": [
[
{
"block": 5,
"color": 9,
"type": 0,
"block": 2,
"color": 5,
"type": 8,
"position": {
"x": 0,
"y": -600,
"z": 0
},
"id": 210
},
{
"block": 4,
"color": 9,
"type": 0,
"position": {
"x": 120,
"x": -180,
"y": 240,
"z": 0
},
"floor": 1,
"floorTime": 5,
"id": 210
},
{
"block": 2,
"color": 6,
"type": 4,
"position": {
"x": -300,
"y": 240,
"z": 0
},
"freezeTime": 12,
"floor": 1,
"floorTime": 5,
"id": 220
},
{
"block": 6,
"color": 2,
"block": 3,
"color": 1,
"type": 0,
"position": {
"x": -120,
"x": 180,
"y": 120,
"z": 0
},
"floor": 2,
"floorTime": 10,
"floorMove": true,
"id": 230
},
{
"block": 2,
"block": 1,
"color": 2,
"type": 0,
"position": {
"x": 0,
"x": 60,
"y": 0,
"z": 0
},
"floor": 2,
"floorTime": 10,
"floorMove": true,
"id": 240
},
{
"block": 1,
"color": 7,
"block": 0,
"color": 3,
"type": 0,
"position": {
"x": 480,
"y": -360,
"x": 180,
"y": 0,
"z": 0
},
"floor": 2,
"floorTime": 10,
"floorMove": true,
"id": 250
},
{
"block": 2,
"color": 7,
"type": 0,
"block": 5,
"color": 8,
"type": 8,
"position": {
"x": -360,
"y": -600,
"x": 420,
"y": -240,
"z": 0
},
"floor": 3,
"floorTime": 15,
"id": 260
},
{
"block": 0,
"color": 7,
"color": 5,
"type": 0,
"position": {
"x": 120,
"y": -120,
"x": -60,
"y": 360,
"z": 0
},
"id": 270
},
{
"block": 2,
"color": 10,
"block": 0,
"color": 5,
"type": 0,
"position": {
"x": 360,
"y": -240,
"x": 420,
"y": 0,
"z": 0
},
"id": 280
},
{
"block": 2,
"color": 10,
"block": 1,
"color": 5,
"type": 0,
"position": {
"x": 0,
"y": -360,
"x": -180,
"y": 120,
"z": 0
},
"id": 290
},
{
"block": 1,
"color": 4,
"block": 3,
"color": 3,
"type": 0,
"position": {
"x": 240,
"y": 0,
"x": 300,
"y": 360,
"z": 0
},
"id": 300
},
{
"block": 2,
"color": 5,
"block": 0,
"color": 2,
"type": 0,
"position": {
"x": 0,
"y": 360,
"x": -60,
"y": 240,
"z": 0
},
"id": 310
},
{
"block": 0,
"color": 6,
"block": 2,
"color": 10,
"type": 0,
"position": {
"x": -240,
"y": 480,
"x": -300,
"y": -480,
"z": 0
},
"id": 320
},
{
"block": 2,
"color": 3,
"color": 10,
"type": 0,
"position": {
"x": -120,
"y": -240,
"x": -60,
"y": -360,
"z": 0
},
"id": 330
},
{
"block": 0,
"color": 1,
"block": 2,
"color": 2,
"type": 0,
"position": {
"x": -240,
"x": 60,
"y": -480,
"z": 0
},
"id": 340
},
{
"block": 1,
"color": 8,
"block": 0,
"color": 9,
"type": 0,
"position": {
"x": 480,
"y": -600,
"x": 180,
"y": -480,
"z": 0
},
"id": 350
},
{
"block": 2,
"color": 5,
"type": 0,
"color": 2,
"type": 9,
"position": {
"x": 480,
"x": -300,
"y": -240,
"z": 0
},
"adhesiveTime": 2,
"id": 360
},
{
"block": 1,
"color": 10,
"type": 0,
"block": 0,
"color": 6,
"type": 9,
"position": {
"x": 240,
"y": -240,
"x": -180,
"y": -120,
"z": 0
},
"floor": 1,
"floorTime": 11,
"floorMove": true,
"adhesiveTime": 1,
"id": 370
},
{
"block": 2,
"color": 5,
"type": 16,
"block": 1,
"color": 6,
"type": 9,
"position": {
"x": 480,
"y": 0,
"x": 180,
"y": -120,
"z": 0
},
"questionTime": 6,
"floor": 2,
"floorTime": 7,
"floorMove": true,
"adhesiveTime": 2,
"id": 380
},
{
"block": 3,
"block": 0,
"color": 8,
"type": 9,
"position": {
"x": 180,
"y": -240,
"z": 0
},
"adhesiveTime": 1,
"id": 390
},
{
"block": 1,
"color": 9,
"type": 9,
"position": {
"x": 420,
"y": -360,
"z": 0
},
"adhesiveTime": 2,
"id": 400
},
{
"block": 0,
"color": 7,
"type": 9,
"position": {
"x": 420,
"y": -480,
"z": 0
},
"adhesiveTime": 1,
"id": 410
},
{
"block": 2,
"color": 8,
"type": 0,
"position": {
"x": 360,
"y": 120,
"x": 300,
"y": 0,
"z": 0
},
"freezeTime": 8,
"floor": 2,
"floorTime": 7,
"floorMove": true,
"id": 390
"id": 420
},
{
"block": 2,
"color": 6,
"type": 0,
"position": {
"x": 420,
"y": 240,
"z": 0
},
"id": 430
},
{
"block": 1,
"color": 9,
"type": 4,
"position": {
"x": -60,
"y": -480,
"z": 0
},
"freezeTime": 9,
"id": 440
}
]
],
"WALL_INFO": [
[
{
"id": 887,
"num": 0,
"color": 5,
"id": 467,
"num": 2,
"color": 7,
"special": 0,
"length": 2
},
{
"id": 888,
"num": 1,
"color": 5,
"id": 468,
"num": 3,
"color": 7,
"special": 0,
"length": 0
},
{
"id": 889,
"num": 2,
"color": 10,
"id": 469,
"num": 5,
"color": 9,
"special": 0,
"length": 2,
"longAndShort": 12,
"order": false
"length": 1
},
{
"id": 890,
"num": 3,
"color": 10,
"special": 0,
"length": 0,
"longAndShort": 12,
"order": false
},
{
"id": 891,
"num": 33,
"color": 7,
"special": 0,
"length": 2,
"longAndShort": 12,
"order": true
},
{
"id": 892,
"num": 34,
"color": 7,
"special": 0,
"length": 0,
"longAndShort": 12,
"order": true
},
{
"id": 893,
"num": 42,
"color": 2,
"special": 0,
"length": 3,
"longAndShort": 13,
"order": true
},
{
"id": 894,
"num": 43,
"color": 2,
"special": 0,
"length": 0,
"longAndShort": 13,
"order": true
},
{
"id": 895,
"num": 44,
"color": 2,
"special": 0,
"length": 0,
"longAndShort": 13,
"order": true
},
{
"id": 896,
"num": 39,
"color": 3,
"special": 0,
"length": 2,
"longAndShort": 12,
"order": true
},
{
"id": 897,
"num": 40,
"color": 3,
"special": 0,
"length": 0,
"longAndShort": 12,
"order": true
},
{
"id": 898,
"num": 7,
"color": 8,
"id": 470,
"num": 13,
"color": 1,
"special": 0,
"length": 3
},
{
"id": 899,
"num": 17,
"color": 8,
"special": 0,
"length": 0
},
{
"id": 900,
"num": 19,
"color": 8,
"special": 0,
"length": 0
},
{
"id": 901,
"num": 26,
"id": 471,
"num": 15,
"color": 1,
"special": 0,
"length": 1
"length": 0
},
{
"id": 902,
"num": 41,
"id": 472,
"num": 17,
"color": 1,
"special": 0,
"length": 0
},
{
"id": 473,
"num": 28,
"color": 10,
"special": 0,
"length": 2
},
{
"id": 474,
"num": 29,
"color": 10,
"special": 0,
"length": 0
},
{
"id": 475,
"num": 25,
"color": 2,
"special": 0,
"length": 2
},
{
"id": 476,
"num": 26,
"color": 2,
"special": 0,
"length": 0
},
{
"id": 477,
"num": 22,
"color": 6,
"special": 0,
"length": 1
},
{
"id": 903,
"num": 35,
"color": 9,
"special": 0,
"length": 2
},
{
"id": 904,
"num": 37,
"color": 9,
"id": 478,
"num": 23,
"color": 6,
"special": 0,
"length": 0
},
{
"id": 905,
"id": 479,
"num": 18,
"color": 4,
"color": 8,
"special": 0,
"length": 2
},
{
"id": 906,
"id": 480,
"num": 20,
"color": 4,
"color": 8,
"special": 0,
"length": 0
},
{
"id": 481,
"num": 12,
"color": 3,
"special": 0,
"length": 3
},
{
"id": 482,
"num": 14,
"color": 3,
"special": 0,
"length": 0
},
{
"id": 483,
"num": 16,
"color": 3,
"special": 0,
"length": 0
},
{
"id": 484,
"num": 8,
"color": 5,
"special": 0,
"length": 2
},
{
"id": 485,
"num": 10,
"color": 5,
"special": 0,
"length": 0
}

View File

@ -50,7 +50,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 120,
"height": 120
"height": 132
},
"_anchorPoint": {
"__type__": "cc.Vec2",

View File

@ -13,7 +13,7 @@
},
{
"__type__": "cc.Node",
"_name": "floor",
"_name": "moveFloor",
"_objFlags": 0,
"_parent": null,
"_children": [
@ -50,7 +50,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 120,
"height": 120
"height": 132
},
"_anchorPoint": {
"__type__": "cc.Vec2",