修改获得道具页

This commit is contained in:
huanghaipeng 2025-10-14 14:22:35 +08:00
parent ae8bee6838
commit b2b442572f
12 changed files with 4990 additions and 4031 deletions

File diff suppressed because it is too large Load Diff

View File

@ -669,8 +669,12 @@ export default class Block extends cc.Component {
// }
this.eliminate2();
this.isTouch = false;
MapConroler._instance.hammerMask.active = false;
MapConroler._instance.node.parent.getChildByName("Bottom").getChildByName("destroyBtn").getComponent("btnControl").setTouch(true);
MapConroler._instance.hammerMask.active = true; //// false
cc.fx.GameTool.setGray(MapConroler._instance.destroyBtn.node, true)
MapConroler._instance.destroyBtn.node.getChildByName("mul10").opacity = 0;
// MapConroler._instance.destroyBtn.getComponent("btnControl").setTouch(false);
// MapConroler._instance.node.parent.getChildByName("Bottom").getChildByName("destroyBtn").getComponent("btnControl").setTouch(true);
MapConroler._instance.costHammer();
MapConroler._instance.usePause();
MapConroler._instance.node.parent.getChildByName("Mask").active = false;

View File

@ -853,11 +853,6 @@ export default class JiaZai extends cc.Component {
}
openSet() {
// 测试分享代码
// cc.fx.GameTool.shareToWX(() => {
// MiniGameSdk.API.showToast("分享成功!");
// });
const now = Date.now();
if (now - this.lastPauseClickTime < 300) {
// 0.3秒内禁止再次点击

View File

@ -151,6 +151,8 @@ export default class MapConroler extends cc.Component {
lastHammerTime: number;//上次使用锤子的时间
revolving_state: number = 0;//是否是旋转门关卡,0:不是,1:顺时针旋转,2:逆时针旋转
revolvingWallArray: any; //旋转门数组
isTimeRewive: boolean = false; // 是否使用时间复活过
isShare: boolean = true; // 分享or Ad
// mapInfo: number[][] = [];
@ -194,6 +196,9 @@ export default class MapConroler extends cc.Component {
this.isreview = false;
this.is_frenzy = false;
this.revolving_state = 0;
this.isTimeRewive = false;
this.isShare = true;
//this.iceLabel.string = cc.fx.GameConfig.GM_INFO.freezeAmount.toString();
// this.hammerLabel.string = cc.fx.GameConfig.GM_INFO.hammerAmount.toString();
// this.magicLabel.string = cc.fx.GameConfig.GM_INFO.magicAmount.toString();
@ -440,7 +445,7 @@ export default class MapConroler extends cc.Component {
this.loackArray = [];
this.count_Time = 0;
this.add_Time = 0;
this.isTimeRewive = false;
let startX = this.mapWidth % 2 == 0 ? -(this.mapWidth - 1) * 60 : -(this.mapWidth - 1) * 60;
let startY = this.mapHeight % 2 == 0 ? -(this.mapHeight - 1) * 60 : -(this.mapHeight - 1) * 60;
@ -529,6 +534,14 @@ export default class MapConroler extends cc.Component {
cc.fx.GameConfig.GM_INFO.magicAmount = 1;
}
this.setPropNum();
let freezeBtn = this.node.parent.getChildByName("Bottom").getChildByName("timeBtn");
let hammerBtn = this.node.parent.getChildByName("Bottom").getChildByName("destroyBtn");
let magicBtn = this.node.parent.getChildByName("Bottom").getChildByName("magicBtn");
freezeBtn.getComponent("btnControl").setTouch(true);
hammerBtn.getComponent("btnControl").setTouch(true);
magicBtn.getComponent("btnControl").setTouch(true);
}
//创建方块
@ -1960,6 +1973,7 @@ export default class MapConroler extends cc.Component {
if (this.reviewState == true) {
return;
}
this.reviewState = true;
cc.fx.AudioManager._instance.playEffect("anniu_Big", null);
let data = {
@ -2016,12 +2030,12 @@ export default class MapConroler extends cc.Component {
num: 1
}
cc.fx.GameTool.shushu_Track("resource_get", dataTemp);
const dataTemp2 = {
change_reason: "游戏内复活消耗金币",
id: "2000",
num: -1
}
cc.fx.GameTool.shushu_Track("resource_cost", dataTemp2);
// const dataTemp2 = {
// change_reason: "游戏内复活消耗金币",
// id: "2000",
// num: -1
// }
// cc.fx.GameTool.shushu_Track("resource_cost", dataTemp2);
//// cc.fx.GameTool.changeCoin(data.coin);
// const dataTemp = {
// change_reason: "游戏内复活消耗金币",
@ -2053,8 +2067,8 @@ export default class MapConroler extends cc.Component {
if (this.node.parent.getChildByName("Ice").active) {
this.freezeMask.active = false;
let freezeBtn = this.node.parent.getChildByName("Bottom").getChildByName("timeBtn");
freezeBtn.getComponent("btnControl").setTouch(true);
// let freezeBtn = this.node.parent.getChildByName("Bottom").getChildByName("timeBtn");
// freezeBtn.getComponent("btnControl").setTouch(true);
this.node.parent.getChildByName("Ice").getChildByName("skeleton").active = false;
this.node.parent.getChildByName("Ice").active = false;
}
@ -2066,9 +2080,11 @@ export default class MapConroler extends cc.Component {
this.pause = false;
this.stopBoom();
if (data.type == "time") {
this.timeNumber = 21;
this.add_Time += 20;
NumberToImage.getTimeMargin(20, 50, "time_", this.timeLabel)
this.timeNumber = 61; // 21
// this.add_Time += 20;
this.add_Time += 60; // 20
NumberToImage.getTimeMargin(60, 50, "time_", this.timeLabel)
this.isTimeRewive = true;
}
this.blockNum = this.blocks.length;
@ -2233,6 +2249,10 @@ export default class MapConroler extends cc.Component {
if (this.gameOver == true || this.gameWin == true) {
return;
}
if (this.isTimeRewive == true) {
this.homeBtn()
return;
}
this.stopTimeCutDown();
let time = 0;
this.gameOver = true;
@ -2269,50 +2289,80 @@ export default class MapConroler extends cc.Component {
this.node.parent.parent.getChildByName("Lose").getChildByName("share").active = true;
}, 350);
}
let timeBuyBtn = this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Time").getChildByName("buyBtn")
let boomBuyBtn = this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Time").getChildByName("buyBtn")
let lockBuyBtn = this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Time").getChildByName("buyBtn")
let revolvingBuyBtn = this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Time").getChildByName("buyBtn")
//.getChildByName("share_img")
let isShareOrAdShow = function (node, isShow) {
if (isShow) {
node.getChildByName("share_img").active = true;
node.getChildByName("ad_img").active = false;
} else {
node.getChildByName("share_img").active = false;
node.getChildByName("ad_img").active = true;
}
}
if (type) {
if (type == "time") {
this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Time").active = true;
this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Boom").active = false;
this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Lock").active = false;
this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Revolving").active = false;
let buyBtn = this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Time").getChildByName("buyBtn");
//// buyBtn.getChildByName("coin1").active = buyBtn.getChildByName("coin2").active = buyBtn.getChildByName("coin3").active = false;
// if (cc.fx.GameConfig.GM_INFO.review == 0) buyBtn.getChildByName("coin1").active = true;
// else if (cc.fx.GameConfig.GM_INFO.review == 1) buyBtn.getChildByName("coin2").active = true;
// else if (cc.fx.GameConfig.GM_INFO.review == 2) buyBtn.getChildByName("coin3").active = true;
// if (this.isShare) {
// timeBuyBtn.getChildByName("share_img").active = true;
// timeBuyBtn.getChildByName("share_img").active = true;
// } else {
// timeBuyBtn.getChildByName("share_img").active = false;
// }
let buyBtn = this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Time").getChildByName("buyBtn");
isShareOrAdShow(buyBtn, this.isShare)
}
else if (type == "boom") {
this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Time").active = false;
this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Boom").active = true;
this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Lock").active = false;
this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Revolving").active = false;
let buyBtn = this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Boom").getChildByName("buyBtn");
// buyBtn.getChildByName("coin1").active = buyBtn.getChildByName("coin2").active = buyBtn.getChildByName("coin3").active = false;
// if (cc.fx.GameConfig.GM_INFO.reviewBoom == 0) buyBtn.getChildByName("coin1").active = true;
// else if (cc.fx.GameConfig.GM_INFO.reviewBoom == 1) buyBtn.getChildByName("coin2").active = true;
// else if (cc.fx.GameConfig.GM_INFO.reviewBoom == 2) buyBtn.getChildByName("coin3").active = true;
let buyBtn = this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Boom").getChildByName("buyBtn");
isShareOrAdShow(buyBtn, this.isShare)
}
else if (type == "lock") {
this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Time").active = false;
this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Boom").active = false;
this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Lock").active = true;
this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Revolving").active = false;
let buyBtn = this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Lock").getChildByName("buyBtn");
// buyBtn.getChildByName("coin1").active = buyBtn.getChildByName("coin2").active = buyBtn.getChildByName("coin3").active = false;
// if (cc.fx.GameConfig.GM_INFO.reviewDoor == 0) buyBtn.getChildByName("coin1").active = true;
// else if (cc.fx.GameConfig.GM_INFO.reviewDoor == 1) buyBtn.getChildByName("coin2").active = true;
// else if (cc.fx.GameConfig.GM_INFO.reviewDoor == 2) buyBtn.getChildByName("coin3").active = true;
let buyBtn = this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Lock").getChildByName("buyBtn");
isShareOrAdShow(buyBtn, this.isShare)
}
else if (type == "rotate") {
this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Time").active = false;
this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Boom").active = false;
this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Lock").active = false;
this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Revolving").active = true;
let buyBtn = this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Revolving").getChildByName("buyBtn");
// buyBtn.getChildByName("coin1").active = buyBtn.getChildByName("coin2").active = buyBtn.getChildByName("coin3").active = false;
// if (cc.fx.GameConfig.GM_INFO.reviewDoor == 0) buyBtn.getChildByName("coin1").active = true;
// else if (cc.fx.GameConfig.GM_INFO.reviewDoor == 1) buyBtn.getChildByName("coin2").active = true;
// else if (cc.fx.GameConfig.GM_INFO.reviewDoor == 2) buyBtn.getChildByName("coin3").active = true;
let buyBtn = this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Revolving").getChildByName("buyBtn");
isShareOrAdShow(buyBtn, this.isShare)
}
}
}, time);
@ -2518,9 +2568,12 @@ export default class MapConroler extends cc.Component {
//解开时间冻结
openIce() {
if (this.node.parent.getChildByName("Ice").active) {
this.freezeMask.active = false;
let freezeBtn = this.node.parent.getChildByName("Bottom").getChildByName("timeBtn");
freezeBtn.getComponent("btnControl").setTouch(true);
this.freezeMask.active = true; /// false
cc.fx.GameTool.setGray(this.timeBtn.node, true);
this.timeBtn.node.getChildByName("mul10").opacity = 0;
// let freezeBtn = this.node.parent.getChildByName("Bottom").getChildByName("timeBtn");
// freezeBtn.getComponent("btnControl").setTouch(true);
this.node.parent.getChildByName("Ice").getChildByName("skeleton").active = false;
this.node.parent.getChildByName("Ice").active = false;
@ -2541,12 +2594,12 @@ export default class MapConroler extends cc.Component {
const timestamp = Date.now();
// console.log("回调函数内:",this.pause);
let freezeBtn = this.node.parent.getChildByName("Bottom").getChildByName("timeBtn");
let hammerBtn = this.node.parent.getChildByName("Bottom").getChildByName("destroyBtn");
let magicBtn = this.node.parent.getChildByName("Bottom").getChildByName("magicBtn");
if (data == "freezeAmount") freezeBtn.getComponent("btnControl").setTouch(true);
else if (data == "hammerAmount") hammerBtn.getComponent("btnControl").setTouch(true);
else if (data == "magicAmount") magicBtn.getComponent("btnControl").setTouch(true);
// let freezeBtn = this.node.parent.getChildByName("Bottom").getChildByName("timeBtn");
// let hammerBtn = this.node.parent.getChildByName("Bottom").getChildByName("destroyBtn");
// let magicBtn = this.node.parent.getChildByName("Bottom").getChildByName("magicBtn");
// if (data == "freezeAmount") freezeBtn.getComponent("btnControl").setTouch(true);
// else if (data == "hammerAmount") hammerBtn.getComponent("btnControl").setTouch(true);
// else if (data == "magicAmount") magicBtn.getComponent("btnControl").setTouch(true);
if (data == "freezeAmount") {
// cc.fx.GameConfig.GM_INFO.freezeAmount += 3;
let propInfo = cc.fx.StorageMessage.getStorage("prop");
@ -2712,7 +2765,7 @@ export default class MapConroler extends cc.Component {
buyMagic() {
console.log("该处需要修改-购买道具魔法杖 加了微信分享");
console.log("购买道具魔法杖");
// if (cc.fx.GameConfig.GM_INFO.coin < 900) {
// MiniGameSdk.API.showToast("金币不足,无法购买道具");
// this.node.parent.parent.parent.getComponent("SceneManager").resetBtn();
@ -2725,7 +2778,7 @@ export default class MapConroler extends cc.Component {
}
buyHammer() {
console.log("该处需要修改-购买道具锤子 加了微信分享");
console.log("购买道具锤子");
// if (cc.fx.GameConfig.GM_INFO.coin < 600) {
// MiniGameSdk.API.showToast("金币不足,无法购买道具");
// this.node.parent.parent.parent.getComponent("SceneManager").resetBtn();
@ -2738,7 +2791,7 @@ export default class MapConroler extends cc.Component {
}
buyFreeze() {
console.log("该处需要修改-购买道具冻结时间 加了微信分享");
console.log("购买道具冻结时间");
// if (cc.fx.GameConfig.GM_INFO.coin < 600) {
// MiniGameSdk.API.showToast("金币不足,无法购买道具");
// this.node.parent.parent.parent.getComponent("SceneManager").resetBtn();
@ -2820,8 +2873,11 @@ export default class MapConroler extends cc.Component {
const timestamp = Date.now();
this.magicMask.active = true;
setTimeout(() => {
this.magicMask.active = false;
magicBtn.getComponent("btnControl").setTouch(true);
// this.magicMask.active = true; ////false
// magicBtn.getComponent("btnControl").setTouch(true);
cc.fx.GameTool.setGray(this.magicBtn.node, true);
this.magicBtn.node.getChildByName("mul10").opacity = 0;
}, 1000);
//魔法棒

View File

@ -357,6 +357,14 @@ export default class SceneManager extends cc.Component {
propWindow.getChildByName("share_Btn").getComponent("btnControl").setTouch(true);
propWindow.getChildByName(name).active = true;
if (MapConroler._instance.isShare == true) {
propWindow.getChildByName("share_Btn").getChildByName("share_img").active = true;
propWindow.getChildByName("share_Btn").getChildByName("ad_img").active = false;
} else {
propWindow.getChildByName("share_Btn").getChildByName("share_img").active = false;
propWindow.getChildByName("share_Btn").getChildByName("ad_img").active = true;
}
}

View File

@ -70,6 +70,7 @@ export default class NewClass extends cc.Component {
// cc.fx.GameConfig.GM_INFO.hp = 1; // 测试时不通过微信分享使用
cc.fx.GameTool.shareToWX(() => {
//// 分享成功后才执行以下代码
console.log("分享得体力");
this.switchButtons[1].active = false;
// cc.fx.GameTool.changeCoin(-1000);
// const data = {
@ -81,12 +82,12 @@ export default class NewClass extends cc.Component {
// cc.fx.GameConfig.GM_INFO.hp = cc.fx.GameConfig.GM_INFO.hp_Max;
cc.fx.GameConfig.GM_INFO.hp = 1;
cc.fx.GameConfig.GM_INFO.min_Time = 0;
// NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.hp, 40, 20, "month_", this.heatht, true);
const parentNode = cc.find("Canvas"); // 假设 JiaZai 挂在 Canvas 节点
if (parentNode) {
const jiazaiComp = parentNode.getComponent(JiaZai);
if (jiazaiComp) {
jiazaiComp.setHealthInfo(false);
// jiazaiComp.updateCoin();
}
}
this.switchButtons[0].active = true;

View File

@ -1433,6 +1433,27 @@ var GameTool = {
}
}
return false;
},
setGray(node: cc.Node, gray = true): void {
const grayMat = cc.Material.getBuiltinMaterial('2d-gray-sprite');
const normalMat = cc.Material.getBuiltinMaterial('2d-sprite');
const mat = gray ? grayMat : normalMat;
// 处理当前节点的 Sprite 组件
const sprite = node.getComponent(cc.Sprite);
if (sprite) {
sprite.setMaterial(0, mat);
}
// 处理当前节点的 Label 组件
const label = node.getComponent(cc.Label);
if (label) {
label.setMaterial(0, mat);
}
// 递归处理子节点
node.children.forEach(child => this.setGray(child, gray));
}
};

BIN
assets/UI/UI/pop/60miao.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -1,101 +1,193 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>frames</key>
<dict>
<key>frames</key>
<dict>
<key>AD_img.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{112,98}</string>
<key>spriteSourceSize</key>
<string>{112,98}</string>
<key>textureRect</key>
<string>{{587,175},{112,98}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>fenx.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{584,100}</string>
<key>spriteSourceSize</key>
<string>{584,100}</string>
<key>textureRect</key>
<string>{{1,175},{584,100}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>red_btn.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{634,172}</string>
<key>spriteSourceSize</key>
<string>{634,172}</string>
<key>textureRect</key>
<string>{{1,1},{634,172}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>share_img.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{112,98}</string>
<key>spriteSourceSize</key>
<string>{112,98}</string>
<key>textureRect</key>
<string>{{701,1},{112,98}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>share_label.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{157,80}</string>
<key>spriteSourceSize</key>
<string>{157,80}</string>
<key>textureRect</key>
<string>{{701,115},{157,80}}</string>
<key>textureRotated</key>
<true/>
</dict>
</dict>
<key>metadata</key>
<dict>
<key>format</key>
<integer>3</integer>
<key>pixelFormat</key>
<string>RGBA8888</string>
<key>premultiplyAlpha</key>
<false/>
<key>realTextureFileName</key>
<string>share.png</string>
<key>size</key>
<string>{800,276}</string>
<key>smartupdate</key>
<string>$TexturePacker:SmartUpdate:5bbd3804646f6ded5ca88d67d2588d26:fda7c2033ce3e50e33b3323247835fe8:953d3665f264cda36fcc0ed6233f063a$</string>
<key>textureFileName</key>
<string>share.png</string>
</dict>
<key>faguang.png</key>
<dict>
<key>frame</key>
<string>{{0,0},{650,638}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{650,638}}</string>
<key>sourceSize</key>
<string>{650,638}</string>
</dict>
<key>time_tips_1.png</key>
<dict>
<key>frame</key>
<string>{{650,0},{360,72}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{360,72}}</string>
<key>sourceSize</key>
<string>{360,72}</string>
</dict>
<key>hammer_tips_1.png</key>
<dict>
<key>frame</key>
<string>{{650,72},{283,72}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{283,72}}</string>
<key>sourceSize</key>
<string>{283,72}</string>
</dict>
<key>share_label.png</key>
<dict>
<key>frame</key>
<string>{{933,72},{157,80}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{157,80}}</string>
<key>sourceSize</key>
<string>{157,80}</string>
</dict>
<key>huoqudaoju.png</key>
<dict>
<key>frame</key>
<string>{{650,144},{255,66}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{255,66}}</string>
<key>sourceSize</key>
<string>{255,66}</string>
</dict>
<key>red_btn.png</key>
<dict>
<key>frame</key>
<string>{{650,210},{634,172}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{634,172}}</string>
<key>sourceSize</key>
<string>{634,172}</string>
</dict>
<key>fenx.png</key>
<dict>
<key>frame</key>
<string>{{822,210},{584,100}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{584,100}}</string>
<key>sourceSize</key>
<string>{584,100}</string>
</dict>
<key>AD_img.png</key>
<dict>
<key>frame</key>
<string>{{922,229},{112,98}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{112,98}}</string>
<key>sourceSize</key>
<string>{112,98}</string>
</dict>
<key>share_img.png</key>
<dict>
<key>frame</key>
<string>{{922,341},{112,98}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{112,98}}</string>
<key>sourceSize</key>
<string>{112,98}</string>
</dict>
<key>magic_tips_1.png</key>
<dict>
<key>frame</key>
<string>{{922,453},{147,72}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{147,72}}</string>
<key>sourceSize</key>
<string>{147,72}</string>
</dict>
<key>time_tips_2.png</key>
<dict>
<key>frame</key>
<string>{{0,844},{543,139}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{543,139}}</string>
<key>sourceSize</key>
<string>{543,139}</string>
</dict>
<key>hammer_tips_2.png</key>
<dict>
<key>frame</key>
<string>{{543,844},{467,55}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{467,55}}</string>
<key>sourceSize</key>
<string>{467,55}</string>
</dict>
<key>magic_tips_2.png</key>
<dict>
<key>frame</key>
<string>{{543,899},{467,54}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{467,54}}</string>
<key>sourceSize</key>
<string>{467,54}</string>
</dict>
</dict>
<key>metadata</key>
<dict>
<key>format</key>
<integer>2</integer>
<key>pixelFormat</key>
<string>RGBA8888</string>
<key>premultiplyAlpha</key>
<false/>
<key>realTextureFileName</key>
<string>share.png</string>
<key>size</key>
<string>{1020,983}</string>
<key>textureFileName</key>
<string>share</string>
</dict>
</dict>
</plist>

View File

@ -4,14 +4,14 @@
"importer": "asset",
"rawTextureUuid": "f29d26e1-1b64-426d-9a4a-c68601883300",
"size": {
"width": 800,
"height": 276
"width": 1020,
"height": 983
},
"type": "Texture Packer",
"subMetas": {
"AD_img.png": {
"faguang.png": {
"ver": "1.0.6",
"uuid": "41b25e26-ca60-4ce6-b762-d2579d6b25c0",
"uuid": "a036abf2-e2c8-4ceb-ad25-1ee195d6c37c",
"importer": "sprite-frame",
"rawTextureUuid": "f29d26e1-1b64-426d-9a4a-c68601883300",
"trimType": "auto",
@ -19,12 +19,12 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 587,
"trimY": 175,
"width": 112,
"height": 98,
"rawWidth": 112,
"rawHeight": 98,
"trimX": 0,
"trimY": 0,
"width": 650,
"height": 638,
"rawWidth": 650,
"rawHeight": 638,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@ -32,9 +32,9 @@
"spriteType": "normal",
"subMetas": {}
},
"fenx.png": {
"time_tips_1.png": {
"ver": "1.0.6",
"uuid": "9f1da685-11d3-4fe5-9f9c-9bf5c533c87c",
"uuid": "06359ad8-2a6d-44eb-9151-3bd603c604a1",
"importer": "sprite-frame",
"rawTextureUuid": "f29d26e1-1b64-426d-9a4a-c68601883300",
"trimType": "auto",
@ -42,12 +42,12 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1,
"trimY": 175,
"width": 584,
"height": 100,
"rawWidth": 584,
"rawHeight": 100,
"trimX": 650,
"trimY": 0,
"width": 360,
"height": 72,
"rawWidth": 360,
"rawHeight": 72,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@ -55,9 +55,9 @@
"spriteType": "normal",
"subMetas": {}
},
"red_btn.png": {
"hammer_tips_1.png": {
"ver": "1.0.6",
"uuid": "c4673a0f-a85a-44f9-9663-0756f9a635ab",
"uuid": "0407ac70-7f65-486e-ae79-790aab7c724f",
"importer": "sprite-frame",
"rawTextureUuid": "f29d26e1-1b64-426d-9a4a-c68601883300",
"trimType": "auto",
@ -65,35 +65,12 @@
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1,
"trimY": 1,
"width": 634,
"height": 172,
"rawWidth": 634,
"rawHeight": 172,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"share_img.png": {
"ver": "1.0.6",
"uuid": "3400c8b7-8bf2-4195-96f7-49769e7e3372",
"importer": "sprite-frame",
"rawTextureUuid": "f29d26e1-1b64-426d-9a4a-c68601883300",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 701,
"trimY": 1,
"width": 112,
"height": 98,
"rawWidth": 112,
"rawHeight": 98,
"trimX": 650,
"trimY": 72,
"width": 283,
"height": 72,
"rawWidth": 283,
"rawHeight": 72,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
@ -111,8 +88,8 @@
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 701,
"trimY": 115,
"trimX": 933,
"trimY": 72,
"width": 157,
"height": 80,
"rawWidth": 157,
@ -123,6 +100,213 @@
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"huoqudaoju.png": {
"ver": "1.0.6",
"uuid": "724dcbb6-914c-47cb-be4d-19c7765103de",
"importer": "sprite-frame",
"rawTextureUuid": "f29d26e1-1b64-426d-9a4a-c68601883300",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 650,
"trimY": 144,
"width": 255,
"height": 66,
"rawWidth": 255,
"rawHeight": 66,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"red_btn.png": {
"ver": "1.0.6",
"uuid": "c4673a0f-a85a-44f9-9663-0756f9a635ab",
"importer": "sprite-frame",
"rawTextureUuid": "f29d26e1-1b64-426d-9a4a-c68601883300",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 650,
"trimY": 210,
"width": 634,
"height": 172,
"rawWidth": 634,
"rawHeight": 172,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"fenx.png": {
"ver": "1.0.6",
"uuid": "9f1da685-11d3-4fe5-9f9c-9bf5c533c87c",
"importer": "sprite-frame",
"rawTextureUuid": "f29d26e1-1b64-426d-9a4a-c68601883300",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 822,
"trimY": 210,
"width": 584,
"height": 100,
"rawWidth": 584,
"rawHeight": 100,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"AD_img.png": {
"ver": "1.0.6",
"uuid": "41b25e26-ca60-4ce6-b762-d2579d6b25c0",
"importer": "sprite-frame",
"rawTextureUuid": "f29d26e1-1b64-426d-9a4a-c68601883300",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 922,
"trimY": 229,
"width": 112,
"height": 98,
"rawWidth": 112,
"rawHeight": 98,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"share_img.png": {
"ver": "1.0.6",
"uuid": "3400c8b7-8bf2-4195-96f7-49769e7e3372",
"importer": "sprite-frame",
"rawTextureUuid": "f29d26e1-1b64-426d-9a4a-c68601883300",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 922,
"trimY": 341,
"width": 112,
"height": 98,
"rawWidth": 112,
"rawHeight": 98,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"magic_tips_1.png": {
"ver": "1.0.6",
"uuid": "b122d6b5-5df3-488e-bde7-a195efd0d785",
"importer": "sprite-frame",
"rawTextureUuid": "f29d26e1-1b64-426d-9a4a-c68601883300",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 922,
"trimY": 453,
"width": 147,
"height": 72,
"rawWidth": 147,
"rawHeight": 72,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"time_tips_2.png": {
"ver": "1.0.6",
"uuid": "4348a58b-cd03-40c9-954b-9f217c9bafeb",
"importer": "sprite-frame",
"rawTextureUuid": "f29d26e1-1b64-426d-9a4a-c68601883300",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 844,
"width": 543,
"height": 139,
"rawWidth": 543,
"rawHeight": 139,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"hammer_tips_2.png": {
"ver": "1.0.6",
"uuid": "a28d91c9-0fcd-499c-9805-626288e6d31f",
"importer": "sprite-frame",
"rawTextureUuid": "f29d26e1-1b64-426d-9a4a-c68601883300",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 543,
"trimY": 844,
"width": 467,
"height": 55,
"rawWidth": 467,
"rawHeight": 55,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"magic_tips_2.png": {
"ver": "1.0.6",
"uuid": "5d71c444-a436-4792-be24-fc6a0ae4daff",
"importer": "sprite-frame",
"rawTextureUuid": "f29d26e1-1b64-426d-9a4a-c68601883300",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 543,
"trimY": 899,
"width": 467,
"height": 54,
"rawWidth": 467,
"rawHeight": 54,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
}
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 65 KiB

View File

@ -8,8 +8,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 800,
"height": 276,
"width": 1630,
"height": 172,
"platformSettings": {},
"subMetas": {}
}