更新开关方块功能

This commit is contained in:
COMPUTER\EDY 2026-01-05 19:06:43 +08:00
parent 03d1b35a0c
commit 55f3fd6a49
16 changed files with 327 additions and 192 deletions

View File

@ -24213,7 +24213,9 @@
{ {
"__uuid__": "9e768017-b9e7-4003-94dc-2f90936f098f" "__uuid__": "9e768017-b9e7-4003-94dc-2f90936f098f"
}, },
null {
"__uuid__": "355fefe2-cb1b-4a3c-bc18-275da1e79b67"
}
], ],
"liuGuang": null, "liuGuang": null,
"avatarUI": { "avatarUI": {

View File

@ -175,6 +175,7 @@ export default class Block extends cc.Component {
touchDelta: cc.Vec2 = cc.v2(0, 0); touchDelta: cc.Vec2 = cc.v2(0, 0);
adhesiveNode: any; adhesiveNode: any;
checkCollision: boolean = false; checkCollision: boolean = false;
teamBlocks: any; //可移动地板块组队
//计时器 //计时器
private scheduleCallback: any = null; private scheduleCallback: any = null;
private scheduleCallback2: any = null; private scheduleCallback2: any = null;
@ -256,7 +257,7 @@ export default class Block extends cc.Component {
else if (this.type == BlockType.) { else if (this.type == BlockType.) {
} }
}, 200); }, 100);
@ -423,13 +424,16 @@ export default class Block extends cc.Component {
if (this.block_Info.lock != undefined && this.block_Info.lock != null) { if (this.block_Info.lock != undefined && this.block_Info.lock != null) {
let switchs = cc.instantiate(MapConroler._instance.Block_Prop[14]); let switchs = cc.instantiate(MapConroler._instance.Block_Prop[14]);
switchs.parent = this.node; switchs.parent = this.node;
switchs.opacity = this.block_Info.lock == true ? 100 : 0; switchs.getChildByName("open").active = !this.block_Info.lock;
switchs.getChildByName("lock").active = this.block_Info.lock;
let name1 = 12 + "color" + this.block_Info.block;
let name3 = "0color" + this.block_Info.block; let openSpriteFrame = MapConroler._instance.Block_Color[6]._spriteFrames[name1];
let number2 = 5; switchs.getChildByName("open").getComponent(cc.Sprite).spriteFrame = openSpriteFrame;
let blockSpriteFrame2 = MapConroler._instance.Block_Color[number2]._spriteFrames; let name2 = 11 + "color" + this.block_Info.block;
var spriteFrame3 = blockSpriteFrame2[name3];
switchs.getChildByName("icon").getComponent(cc.Sprite).spriteFrame = spriteFrame3; let lockSpriteFrame = MapConroler._instance.Block_Color[6]._spriteFrames[name2];
switchs.getChildByName("lock").getComponent(cc.Sprite).spriteFrame = lockSpriteFrame;
let swtichsX = posConfig.pos6.x - (this.node.width * (this.node.anchorX - 0.5)); let swtichsY = posConfig.pos6.y + this.node.height / 2; let swtichsX = posConfig.pos6.x - (this.node.width * (this.node.anchorX - 0.5)); let swtichsY = posConfig.pos6.y + this.node.height / 2;
if (this.block_Info.block == 2) { if (this.block_Info.block == 2) {
switchs.setPosition(swtichsX + 4, swtichsY - 10); switchs.setPosition(swtichsX + 4, swtichsY - 10);
@ -857,8 +861,14 @@ export default class Block extends cc.Component {
} }
// this.block_Info.node.getComponent("Block").isTouch = true; // this.block_Info.node.getComponent("Block").isTouch = true;
if (this.block_Info.floor == undefined) { if (this.block_Info.floor == undefined) {
MapConroler._instance.downDoor(this.block_Info.node.getComponent("Block").color, this.block_Info.node.getComponent("Block").type);
MapConroler._instance.changeRiseFall(this.block_Info.node.getComponent("Block").color, true); MapConroler._instance.changeRiseFall(this.block_Info.node.getComponent("Block").color, true);
if (this.block_Info.lock != undefined && this.block_Info.lock != null) {
if (this.block_Info.lock == false) MapConroler._instance.downDoor(this.block_Info.node.getComponent("Block").color, this.block_Info.node.getComponent("Block").type);
}
else {
MapConroler._instance.downDoor(this.block_Info.node.getComponent("Block").color, this.block_Info.node.getComponent("Block").type);
}
} }
} }
@ -878,7 +888,12 @@ export default class Block extends cc.Component {
this.relative_Position = cc.v2(this.node.x - local.x, this.node.y - local.y); this.relative_Position = cc.v2(this.node.x - local.x, this.node.y - local.y);
if (this.block_Info.floor == undefined) { if (this.block_Info.floor == undefined) {
MapConroler._instance.changeRiseFall(this.color, true); MapConroler._instance.changeRiseFall(this.color, true);
MapConroler._instance.downDoor(this.color, this.type); if (this.block_Info.lock != undefined && this.block_Info.lock != null) {
if (this.block_Info.lock == false) MapConroler._instance.downDoor(this.color, this.type);
}
else {
MapConroler._instance.downDoor(this.color, this.type);
}
} }
this.setVibrate("light", 1) this.setVibrate("light", 1)
if (this.hit) this.hit.active = true; if (this.hit) this.hit.active = true;

View File

@ -2263,19 +2263,24 @@ export default class JiaZai extends cc.Component {
cc.fx.GameConfig.GM_INFO.popPassCheck = true; cc.fx.GameConfig.GM_INFO.popPassCheck = true;
if (passCheckData && Array.isArray(passCheckData[2].free) && Array.isArray(passCheckData[2].passCheck)) { if (passCheckData && Array.isArray(passCheckData[2].free) && Array.isArray(passCheckData[2].passCheck)) {
// 给数组末尾添加激活状态1 // 给数组末尾添加激活状态1
if (passCheckData[2].free.length > 0) { if (passCheckData[2]) {
const lastIndex = cc.fx.GameConfig.GM_INFO.getProgressLevel - 1; if (passCheckData[2].free) {
passCheckData[2].free[lastIndex] = 1; if (passCheckData[2].free.length > 0) {
} else { const lastIndex = cc.fx.GameConfig.GM_INFO.getProgressLevel - 1;
passCheckData[2].free.push(1); passCheckData[2].free[lastIndex] = 1;
} } else {
passCheckData[2].free.push(1);
// 只有在通行证已激活的情况下才更新passCheck数组 }
if (passCheckData[2].passCheck.length > 0) { }
const lastIndex = cc.fx.GameConfig.GM_INFO.getProgressLevel - 1; if (passCheckData[2].passCheck) {
passCheckData[2].passCheck[lastIndex] = 1; // 只有在通行证已激活的情况下才更新passCheck数组
} else { if (passCheckData[2].passCheck.length > 0) {
passCheckData[2].passCheck.push(1); const lastIndex = cc.fx.GameConfig.GM_INFO.getProgressLevel - 1;
passCheckData[2].passCheck[lastIndex] = 1;
} else {
passCheckData[2].passCheck.push(1);
}
}
} }
} }
} }
@ -2394,15 +2399,20 @@ export default class JiaZai extends cc.Component {
if (serverTime >= time2 && serverTime < allExpire) { if (serverTime >= time2 && serverTime < allExpire) {
let isGetItem = false; let isGetItem = false;
if (passCheckLvObj.activate) { if (passCheckLvObj.activate) {
for (let i = 0; i < passCheckLvObj.free.length; i++) { if (passCheckLvObj.free) {
if (passCheckLvObj.free[i] == 1 || passCheckLvObj.passCheck[i] == 1) { for (let i = 0; i < passCheckLvObj.free.length; i++) {
isGetItem = true; if (passCheckLvObj.free[i] == 1 || passCheckLvObj.passCheck[i] == 1) {
isGetItem = true;
}
} }
} }
} else { } else {
for (let i = 0; i < passCheckLvObj.free.length; i++) { if (passCheckLvObj.free) {
if (passCheckLvObj.free[i] == 1) { for (let i = 0; i < passCheckLvObj.free.length; i++) {
isGetItem = true; if (passCheckLvObj.free[i] == 1) {
isGetItem = true;
}
} }
} }
} }
@ -2437,15 +2447,19 @@ export default class JiaZai extends cc.Component {
if (now < outTime) { if (now < outTime) {
let isGetItem = false; let isGetItem = false;
if (parsedData[1].activate) { if (parsedData[1].activate) {
for (let i = 0; i < parsedData[1].free.length; i++) { if (parsedData[1].free) {
if (parsedData[1].free[i] == 1 || parsedData[1].passCheck[i] == 1) { for (let i = 0; i < parsedData[1].free.length; i++) {
isGetItem = true; if (parsedData[1].free[i] == 1 || parsedData[1].passCheck[i] == 1) {
isGetItem = true;
}
} }
} }
} else { } else {
for (let i = 0; i < parsedData[1].free.length; i++) { if (parsedData[1].free) {
if (parsedData[1].free[i] == 1) { for (let i = 0; i < parsedData[1].free.length; i++) {
isGetItem = true; if (parsedData[1].free[i] == 1) {
isGetItem = true;
}
} }
} }
} }
@ -2522,7 +2536,6 @@ export default class JiaZai extends cc.Component {
if (this.RankNode == null && this.RankNode == undefined) { if (this.RankNode == null && this.RankNode == undefined) {
this.LoadCareer(() => { this.LoadCareer(() => {
Utils.getSRank(res => { Utils.getSRank(res => {
debugger;
let data = JSON.parse(res.data); let data = JSON.parse(res.data);
let role = data.role; let role = data.role;
let sortedArray = []; let sortedArray = [];
@ -2539,68 +2552,53 @@ export default class JiaZai extends cc.Component {
// console.log("sortedArray", sortedArray); // console.log("sortedArray", sortedArray);
let city = JSON.parse(JSON.stringify(cc.fx.GameConfig.CITY)); let city = JSON.parse(JSON.stringify(cc.fx.GameConfig.CITY));
let rankData = []; let rankData = [];
for (let i = 0; i < sortedArray.length; i++) { if (sortedArray) {
// 检查sortedArray中的省份名称是否存在于原始data.role数据中 for (let i = 0; i < sortedArray.length; i++) {
if (data && data[sortedArray[i].name] !== undefined) { // 检查sortedArray中的省份名称是否存在于原始data.role数据中
// 如果存在则将data中对应的键值对放入rankData if (data && data[sortedArray[i].name] !== undefined) {
if (data.role && data.role[sortedArray[i].name] !== undefined) { // 如果存在则将data中对应的键值对放入rankData
rankData.push({ if (data.role && data.role[sortedArray[i].name] !== undefined) {
rank: sortedArray[i].rank, rankData.push({
name: sortedArray[i].name, rank: sortedArray[i].rank,
count: sortedArray[i].count, name: sortedArray[i].name,
// 可以添加data2中对应的数据 count: sortedArray[i].count,
rankingData: data[sortedArray[i].name] // 可以添加data2中对应的数据
}); rankingData: data[sortedArray[i].name]
delete city[sortedArray[i].name]; });
delete city[sortedArray[i].name];
}
} }
} }
} // 循环完成后将CITY中剩下的城市按顺序添加到rankData中
// 循环完成后将CITY中剩下的城市按顺序添加到rankData中 let nextRank = rankData.length + 1; // 获取下一个排名
let nextRank = rankData.length + 1; // 获取下一个排名 for (let cityName in city) {
for (let cityName in city) { rankData.push({
rankData.push({ rank: nextRank++,
rank: nextRank++, name: cityName,
name: cityName, count: 0,
count: 0, rankingData: []
rankingData: [] });
}); }
} let otherIndex = rankData.findIndex(item => item.name === "其他");
let otherIndex = rankData.findIndex(item => item.name === "其他"); if (otherIndex !== -1) {
if (otherIndex !== -1) { let otherItem = rankData.splice(otherIndex, 1)[0];
let otherItem = rankData.splice(otherIndex, 1)[0]; rankData.push(otherItem);
rankData.push(otherItem); }
} let topData = data.all ? data.all : [];
let topData = data.all ? data.all : []; this.careerRank = {
this.careerRank = { rankData: JSON.parse(JSON.stringify(rankData)),
rankData: JSON.parse(JSON.stringify(rankData)), topData: JSON.parse(JSON.stringify(topData))
topData: JSON.parse(JSON.stringify(topData)) }
} console.log("自己的addLevel", cc.fx.GameConfig.GM_INFO.addLevel);
console.log("自己的addLevel", cc.fx.GameConfig.GM_INFO.addLevel); if (cc.fx.GameConfig.GM_INFO.addLevel > 4) {
if (cc.fx.GameConfig.GM_INFO.addLevel > 4) { console.log("______________自己入职了");
console.log("______________自己入职了"); this.addSelfToRank(rankData);
this.addSelfToRank(rankData); }
} for (let i = 0; i < rankData.length; i++) {
for (let i = 0; i < rankData.length; i++) { rankData[i].rank = i + 1;
rankData[i].rank = i + 1; }
} if (this.RankNode != null && this.RankNode != undefined) {
if (this.RankNode != null && this.RankNode != undefined) { console.log("_________________________预制体已经加载好了准备渲染");
console.log("_________________________预制体已经加载好了准备渲染");
this.node.getChildByName("Career").addChild(this.RankNode);
// this.node.getChildByName("Career").getChildByName("bg").parent = this.RankNode;
this.RankNode.opacity = 0;
this.RankNode.zIndex = 3;
this.RankNode.getComponent("CareerManager").init(rankData, topData);
cc.tween(this.RankNode)
.to(0.3, { opacity: 255 })
.delay(0.2)
.call(() => {
console.log("_________________________渲染完成");
this.node.getChildByName("Snow").active = true;
})
.start()
} else {
console.log("_________________________预制体已经加载好了准备渲染");
this.LoadCareer(() => {
this.node.getChildByName("Career").addChild(this.RankNode); this.node.getChildByName("Career").addChild(this.RankNode);
// this.node.getChildByName("Career").getChildByName("bg").parent = this.RankNode; // this.node.getChildByName("Career").getChildByName("bg").parent = this.RankNode;
this.RankNode.opacity = 0; this.RankNode.opacity = 0;
@ -2614,8 +2612,26 @@ export default class JiaZai extends cc.Component {
this.node.getChildByName("Snow").active = true; this.node.getChildByName("Snow").active = true;
}) })
.start() .start()
}, true) } else {
console.log("_________________________预制体已经加载好了准备渲染");
this.LoadCareer(() => {
this.node.getChildByName("Career").addChild(this.RankNode);
// this.node.getChildByName("Career").getChildByName("bg").parent = this.RankNode;
this.RankNode.opacity = 0;
this.RankNode.zIndex = 3;
this.RankNode.getComponent("CareerManager").init(rankData, topData);
cc.tween(this.RankNode)
.to(0.3, { opacity: 255 })
.delay(0.2)
.call(() => {
console.log("_________________________渲染完成");
this.node.getChildByName("Snow").active = true;
})
.start()
}, true)
}
} }
// console.log("rankingData_________", rankData); // console.log("rankingData_________", rankData);
}); });
}, isShow); }, isShow);
@ -2647,30 +2663,33 @@ export default class JiaZai extends cc.Component {
rankingData = item.rankingData; rankingData = item.rankingData;
} }
}) })
if (rankingData.length >= 8) { if (rankingData) {
let jg = false; if (rankingData.length >= 8) {
for (let j = 0; j < 8; j++) { let jg = false;
if (rankingData[j].id == cc.fx.GameConfig.GM_INFO.uid) { for (let j = 0; j < 8; j++) {
jg = true; if (rankingData[j].id == cc.fx.GameConfig.GM_INFO.uid) {
return; jg = true;
} return;
}
if (!jg) {
let length = rankingData.length;
if (length > 8) length = 8;
for (let i = 0; i < length; i++) {
if (rankingData[i].addLevel < selfData.addLevel) {
rankingData.splice(i, 0, selfData);
self = true
break;
} }
} }
if (!self) rankingData[7] = selfData if (!jg) {
let length = rankingData.length;
if (length > 8) length = 8;
for (let i = 0; i < length; i++) {
if (rankingData[i].addLevel < selfData.addLevel) {
rankingData.splice(i, 0, selfData);
self = true
break;
}
}
if (!self) rankingData[7] = selfData
}
}
else {
// rankingData.push(selfData)
} }
} }
else {
// rankingData.push(selfData)
}
// console.log("修改后", rankData); // console.log("修改后", rankData);
} }
@ -2678,8 +2697,10 @@ export default class JiaZai extends cc.Component {
if (cc.fx.GameConfig.GM_INFO.addLevel > 4) { if (cc.fx.GameConfig.GM_INFO.addLevel > 4) {
this.addSelfToRank(this.careerRank.rankData); this.addSelfToRank(this.careerRank.rankData);
} }
for (let i = 0; i < this.careerRank.rankData.length; i++) { if (this.careerRank.rankData) {
this.careerRank.rankData[i].rank = i + 1; for (let i = 0; i < this.careerRank.rankData.length; i++) {
this.careerRank.rankData[i].rank = i + 1;
}
} }
if (this.RankNode != null && this.RankNode != undefined) { if (this.RankNode != null && this.RankNode != undefined) {
this.RankNode.opacity = 0; this.RankNode.opacity = 0;

View File

@ -38,13 +38,13 @@ export default class NewClass extends cc.Component {
// let version = cc.fx.GameTool.getWechatGameVersion(); // let version = cc.fx.GameTool.getWechatGameVersion();
// if (version == "开发版" || version == "体验版") { // if (version == "开发版" || version == "体验版") {
// cc.debug.setDisplayStats(true); // cc.debug.setDisplayStats(false);
// } // }
// else if (version == "正式版") { // else if (version == "正式版") {
// cc.debug.setDisplayStats(false); // cc.debug.setDisplayStats(false);
// } // }
// else { // else {
// cc.debug.setDisplayStats(true); // cc.debug.setDisplayStats(false);
// } // }
//this.SubContext(); //this.SubContext();

View File

@ -173,6 +173,7 @@ export default class MapConroler extends cc.Component {
longAndShortWall: any; longAndShortWall: any;
adhesiveBlock: any[]; adhesiveBlock: any[];
barrierBlock: any[]; barrierBlock: any[];
teamBlocks: any[]; //可移动地板块组队
// mapInfo: number[][] = []; // mapInfo: number[][] = [];
getProgressLevel: number = 0; getProgressLevel: number = 0;
getProgress: number = 0; getProgress: number = 0;
@ -209,6 +210,7 @@ export default class MapConroler extends cc.Component {
this.blocks = []; this.blocks = [];
this.adhesiveBlock = []; //粘合快数组 this.adhesiveBlock = []; //粘合快数组
this.barrierBlock = []; this.barrierBlock = [];
this.teamBlocks = []; //可移动地板块组队
this.leftDoors = []; //左门 this.leftDoors = []; //左门
this.rightDoors = []; //右门 this.rightDoors = []; //右门
this.topDoors = []; //上门 this.topDoors = []; //上门
@ -673,6 +675,23 @@ export default class MapConroler extends cc.Component {
if (blockInfo.floor) { if (blockInfo.floor) {
info["floor"] = blockInfo.floor; info["floor"] = blockInfo.floor;
if (blockInfo.floorTime) info["floorTime"] = blockInfo.floorTime; if (blockInfo.floorTime) info["floorTime"] = blockInfo.floorTime;
if (blockInfo.floorMove != undefined && blockInfo.floorMove != null) {
if (blockInfo.floorMove == true) {
//如果数组没有,是新的
if (this.teamBlocks.length == 0) this.teamBlocks.push(block);
else {
//如果数组内有,则判断是不是在同一个地板下
if (this.teamBlocks[0].floor == blockInfo.floor) {
this.teamBlocks.push(block);
}
//不在同一个地板下
else {
this.teamBlocks = [];
this.teamBlocks.push(block);
}
}
}
}
} }
@ -683,8 +702,8 @@ export default class MapConroler extends cc.Component {
blockUp.setPosition(cc.v2(info.position.x, info.position.y)); blockUp.setPosition(cc.v2(info.position.x, info.position.y));
block.getComponent("Block").init(blockInfo, null, null, blockUp); block.getComponent("Block").init(blockInfo, null, null, blockUp, null, this.teamBlocks);
blockUp.getComponent("Block").init(info, null, null, block); blockUp.getComponent("Block").init(info, null, null, block, null, this.teamBlocks);
if (info.color != 11) { if (info.color != 11) {
this.blocks.push(blockUp); this.blocks.push(blockUp);
this.blockNum += 1; this.blockNum += 1;
@ -703,16 +722,17 @@ export default class MapConroler extends cc.Component {
blockUp.setPosition(cc.v2(info.position.x, info.position.y)); blockUp.setPosition(cc.v2(info.position.x, info.position.y));
block.getComponent("Block").init(blockInfo, null, null, blockUp, false); block.getComponent("Block").init(blockInfo, null, null, blockUp, false, this.teamBlocks);
setTimeout(() => { setTimeout(() => {
blockUp.getComponent("Block").init(info, null, null, block, true); blockUp.getComponent("Block").init(info, null, null, block, true, this.teamBlocks);
}, 100); }, 100);
if (info.color != 11) { if (info.color != 11) {
this.blocks.push(blockUp); this.blocks.push(blockUp);
this.blockNum += 1; this.blockNum += 1;
} }
} else { } else {
block.getComponent("Block").init(blockInfo); block.getComponent("Block").init(blockInfo, null, null, null, null, this.teamBlocks);
} }
} }
else { else {

View File

@ -553,16 +553,16 @@ export default class Wall extends cc.Component {
// console.log("变色门变色数组数量", this.colorArray, this.node.uuid); // console.log("变色门变色数组数量", this.colorArray, this.node.uuid);
if (this.colorArray.length >= 1 && this.color == this.colorArray[0]) { if (this.colorArray.length >= 1 && this.color == this.colorArray[0]) {
let firstItem = this.colorArray.shift(); // 移除第一项 let firstItem = this.colorArray.shift(); // 移除第一项
console.log("移除颜色:", this.color); // console.log("移除颜色:", this.color);
// this.colorArray.push(firstItem); // 将第一项添加到数组末尾 // this.colorArray.push(firstItem); // 将第一项添加到数组末尾
if (this.colorArray.length <= 2) { if (this.colorArray.length <= 2) {
for (let i = 0; i < this.colorStartArray.length; i++) { for (let i = 0; i < this.colorStartArray.length; i++) {
this.colorArray.push(this.colorStartArray[i]); this.colorArray.push(this.colorStartArray[i]);
console.log("将颜色放入数组:", this.colorStartArray[i]) // console.log("将颜色放入数组:", this.colorStartArray[i])
} }
} }
} }
console.log("变色门变色数组数量", this.colorArray, this.node.uuid); // console.log("变色门变色数组数量", this.colorArray, this.node.uuid);
this.updateColor(); this.updateColor();
} }

View File

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

View File

@ -45,10 +45,12 @@ export default class Question extends cc.Component {
if (this.node) { if (this.node) {
if (this.node.parent) { if (this.node.parent) {
if (this.node.parent.getComponent("Block").block_Info.lock == false) { if (this.node.parent.getComponent("Block").block_Info.lock == false) {
this.node.opacity = 100; this.node.getChildByName("lock").active = true;
this.node.getChildByName("open").active = false;
} }
else { else {
this.node.opacity = 0; this.node.getChildByName("lock").active = false;
this.node.getChildByName("open").active = true;
} }
this.node.parent.getComponent("Block").block_Info.lock = !this.node.parent.getComponent("Block").block_Info.lock; this.node.parent.getComponent("Block").block_Info.lock = !this.node.parent.getComponent("Block").block_Info.lock;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 467 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 395 KiB

View File

@ -1,38 +0,0 @@
{
"ver": "2.3.7",
"uuid": "669a5a6c-68ca-412c-9321-a0af32085234",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 970,
"height": 1210,
"platformSettings": {},
"subMetas": {
"result_bg2": {
"ver": "1.0.6",
"uuid": "f54b3295-ab32-4dce-bb2a-79ed327a45e2",
"importer": "sprite-frame",
"rawTextureUuid": "669a5a6c-68ca-412c-9321-a0af32085234",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 970,
"height": 1210,
"rawWidth": 970,
"rawHeight": 1210,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

View File

@ -24,20 +24,23 @@
"__id__": 5 "__id__": 5
}, },
{ {
"__id__": 7 "__id__": 8
},
{
"__id__": 10
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 10 "__id__": 13
}, },
{ {
"__id__": 11 "__id__": 14
} }
], ],
"_prefab": { "_prefab": {
"__id__": 12 "__id__": 15
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
@ -88,13 +91,13 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "icon", "_name": "open",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 1 "__id__": 1
}, },
"_children": [], "_children": [],
"_active": true, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 3 "__id__": 3
@ -191,6 +194,111 @@
"fileId": "48vFumJApBjb/xUEZIhVH6", "fileId": "48vFumJApBjb/xUEZIhVH6",
"sync": false "sync": false
}, },
{
"__type__": "cc.Node",
"_name": "lock",
"_objFlags": 0,
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 6
}
],
"_prefab": {
"__id__": 7
},
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 120,
"height": 120
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
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__": 5
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": null,
"_type": 0,
"_sizeMode": 1,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "12m9Xu8dxPDpc7zj3A7xOB",
"sync": false
},
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "time", "_name": "time",
@ -202,7 +310,7 @@
"_active": false, "_active": false,
"_components": [], "_components": [],
"_prefab": { "_prefab": {
"__id__": 6 "__id__": 9
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
@ -273,11 +381,11 @@
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 8 "__id__": 11
} }
], ],
"_prefab": { "_prefab": {
"__id__": 9 "__id__": 12
}, },
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
@ -331,7 +439,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 7 "__id__": 10
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [

View File

@ -94,6 +94,11 @@
"level": 849, "level": 849,
"name": "daoju18", "name": "daoju18",
"tips": "定次炸弹块第一次出现" "tips": "定次炸弹块第一次出现"
},
{
"level": 903,
"name": "daoju19",
"tips": "铁皮方块第一次出现"
} }
] ]
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

View File

@ -1,6 +1,6 @@
{ {
"ver": "2.3.7", "ver": "2.3.7",
"uuid": "cf67e4b5-6705-4eb0-809f-69efa4a5883e", "uuid": "782aac06-a49c-48e1-b9eb-aceecf649d42",
"importer": "texture", "importer": "texture",
"type": "sprite", "type": "sprite",
"wrapMode": "clamp", "wrapMode": "clamp",
@ -8,15 +8,15 @@
"premultiplyAlpha": false, "premultiplyAlpha": false,
"genMipmaps": false, "genMipmaps": false,
"packable": true, "packable": true,
"width": 972, "width": 744,
"height": 1474, "height": 786,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"result_bg1": { "daoju19": {
"ver": "1.0.6", "ver": "1.0.6",
"uuid": "0f30eac9-1adc-4b68-9233-90b1d87de750", "uuid": "4937f794-68b7-4040-8c4c-22aca68989f4",
"importer": "sprite-frame", "importer": "sprite-frame",
"rawTextureUuid": "cf67e4b5-6705-4eb0-809f-69efa4a5883e", "rawTextureUuid": "782aac06-a49c-48e1-b9eb-aceecf649d42",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
@ -24,10 +24,10 @@
"offsetY": 0, "offsetY": 0,
"trimX": 0, "trimX": 0,
"trimY": 0, "trimY": 0,
"width": 972, "width": 744,
"height": 1474, "height": 786,
"rawWidth": 972, "rawWidth": 744,
"rawHeight": 1474, "rawHeight": 786,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,

View File

@ -1,5 +1,5 @@
{ {
"last-module-event-record-time": 1766999892289, "last-module-event-record-time": 1767604715685,
"group-list": [ "group-list": [
"default", "default",
"Map" "Map"