删除每日任务资源,特殊挑战资源

This commit is contained in:
huanghaipeng 2025-10-10 17:57:48 +08:00
parent 523e56e162
commit 956735a8b0
18 changed files with 5010 additions and 11406 deletions

File diff suppressed because it is too large Load Diff

View File

@ -40,8 +40,8 @@ export default class JiaZai extends cc.Component {
private AvatarNode: cc.Node | null = null;
//// private static cachedDailyQuestsPrefab: cc.Prefab | null = null;
//// private dailyQuestsNode: cc.Node | null = null;
private static cachedWinStreakPrefab: cc.Prefab | null = null;
private winStreakNode: cc.Node | null = null;
//// private static cachedWinStreakPrefab: cc.Prefab | null = null;
//// private winStreakNode: cc.Node | null = null;
@property(cc.EditBox)
custom: cc.EditBox = null;

View File

@ -51,8 +51,8 @@ export default class MapConroler extends cc.Component {
destroyBtn: cc.Button = null;
@property(cc.Button)
magicBtn: cc.Button = null;
@property(cc.Button)
winStreakBtn: cc.Button = null;
//// @property(cc.Button)
// winStreakBtn: cc.Button = null;
//魔法棒特效
@property(cc.Node)
magics: cc.Node = null;
@ -389,11 +389,11 @@ export default class MapConroler extends cc.Component {
initMap() {
if (cc.fx.GameConfig.GM_INFO.winStreak < 10 || cc.fx.GameConfig.GM_INFO.otherLevel > 0) {
this.winStreakBtn.node.active = false;
//// this.winStreakBtn.node.active = false;
this.destroyBtn.node.getChildByName("mul10").opacity = 255;
} else {
this.winStreakBtn.node.active = true;
//// this.winStreakBtn.node.active = true;
this.destroyBtn.node.getChildByName("mul10").opacity = 0;
}
// this.node.getChildByName("Wall").zIndex = 10;
@ -1779,7 +1779,7 @@ export default class MapConroler extends cc.Component {
cc.fx.GameTool.setDailyQuestInfo();
}
if (cc.fx.GameConfig.GM_INFO.level >= 17) {
cc.fx.GameTool.setWinStreak("sucess");
//// cc.fx.GameTool.setWinStreak("sucess");
cc.fx.GameConfig.GM_INFO.winState = true;
cc.fx.StorageMessage.setStorage("winState", cc.fx.GameConfig.GM_INFO.winState);
console.log("本地连胜状态:", cc.fx.GameConfig.GM_INFO.winState);
@ -1821,13 +1821,13 @@ export default class MapConroler extends cc.Component {
setTimeout(() => {
this.node.parent.parent.getChildByName("Win").active = true;
this.Settlement();
if (cc.fx.GameConfig.GM_INFO.level >= 17) {
this.node.parent.parent.getChildByName("Win").getChildByName("WinStreak").active = true;
this.openWinStreak();
}
else {
this.node.parent.parent.getChildByName("Win").getChildByName("WinStreak").active = false;
}
//// if (cc.fx.GameConfig.GM_INFO.level >= 17) {
// this.node.parent.parent.getChildByName("Win").getChildByName("WinStreak").active = true;
// this.openWinStreak();
// }
// else {
// this.node.parent.parent.getChildByName("Win").getChildByName("WinStreak").active = false;
// }
}, 660);
// console.log("游戏成功");
@ -2099,8 +2099,8 @@ export default class MapConroler extends cc.Component {
.to(0.2, { scale: 1.05 }, { easing: 'backOut' })
.to(0.15, { scale: 1.0 }, { easing: 'sineOut' })
.start();
this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Health").active = false;
this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("WinStreak").active = false;
// this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Health").active = false;
//// this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("WinStreak").active = false;
let overTime = Date.now();
this.count_Time = overTime - this.count_Time;
let data = {
@ -2119,20 +2119,20 @@ export default class MapConroler extends cc.Component {
cc.fx.GameTool.shushu_Track("hammer_frenzy", data2);
}
// alert(cc.fx.GameConfig.GM_INFO.winStreak);
// if (cc.fx.GameConfig.GM_INFO.winStreak < 10 || cc.fx.GameConfig.GM_INFO.otherLevel > 0) {
//// if (cc.fx.GameConfig.GM_INFO.winStreak < 10 || cc.fx.GameConfig.GM_INFO.otherLevel > 0) {
// if (cc.fx.GameConfig.GM_INFO.revive == 0 && this.revive) {
// this.revive.getComponent("Revive").offShow();
// this.node.active = false;
// }
// 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 = false;
// this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Health").active = true;
// }
// if (cc.fx.GameConfig.GM_INFO.otherLevel > 0) {
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 = false;
this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Health").active = true;
//// }
// else {
this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("WinStreak").active = true;
// this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("WinStreak").active = true;
// }
}
@ -2140,20 +2140,20 @@ export default class MapConroler extends cc.Component {
if (cc.fx.GameConfig.GM_INFO.otherLevel == 0) {
// this.revive.getComponent("Revive").offShow();
this.node.active = false;
cc.fx.GameTool.setWinStreak("fail");
//// cc.fx.GameTool.setWinStreak("fail");
}
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 = false;
this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("Health").active = true;
this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("WinStreak").active = false;
//// this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("WinStreak").active = false;
}
closeWinStreak() {
this.homeCanTouch = true;
this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("WinStreak").active = false;
}
//// closeWinStreak() {
// this.homeCanTouch = true;
// this.node.parent.parent.getChildByName("Lose").getChildByName("lose").getChildByName("WinStreak").active = false;
// }
uploadToCloud(level: number) {
@ -3506,38 +3506,38 @@ export default class MapConroler extends cc.Component {
}
// 展示连胜界面动画
openWinStreak() {
let winStreak = this.node.parent.parent.getChildByName("Win").getChildByName("WinStreak");
winStreak.getChildByName("open").active = false;
if (cc.fx.GameConfig.GM_INFO.winStreak > 0) {
let hammer = winStreak.getChildByName("hammer").children;
let count = cc.fx.GameConfig.GM_INFO.winStreak;
if (count >= 10) {
winStreak.getChildByName("open").active = true;
count = 10;
}
for (let i = 0; i < count; i++) {
if (i < 10) {
hammer[i].active = true;
if (i < count - 1) hammer[i].scaleX = hammer[i].scaleY = 0.5;
else {
hammer[i].scaleX = hammer[i].scaleY = 0;
cc.tween(hammer[i])
.delay(0.2)
.to(0.2, { scaleX: 0.7, scaleY: 0.7 }) // 快速放大到0.7
.to(0.1, { scaleX: 0.4, scaleY: 0.4 }) // 突然缩小制造弹性感
.to(0.1, { scaleX: 0.6, scaleY: 0.6 }) // 再次弹起到0.6
.to(0.1, { scaleX: 0.5, scaleY: 0.5 }) // 最终稳定到0.5
.to(0.05, { scaleX: 0.55, scaleY: 0.45 }) // X轴抖动效果
.to(0.05, { scaleX: 0.45, scaleY: 0.55 }) // Y轴抖动效果
.to(0.1, { scaleX: 0.5, scaleY: 0.5 }) // 恢复最终比例
.start();
}
}
}
}
this.numberToImageNodes2(cc.fx.GameConfig.GM_INFO.winStreak, 10, 5, "", winStreak.getChildByName("number"), true);
}
//// openWinStreak() {
// let winStreak = this.node.parent.parent.getChildByName("Win").getChildByName("WinStreak");
// winStreak.getChildByName("open").active = false;
// if (cc.fx.GameConfig.GM_INFO.winStreak > 0) {
// let hammer = winStreak.getChildByName("hammer").children;
// let count = cc.fx.GameConfig.GM_INFO.winStreak;
// if (count >= 10) {
// winStreak.getChildByName("open").active = true;
// count = 10;
// }
// for (let i = 0; i < count; i++) {
// if (i < 10) {
// hammer[i].active = true;
// if (i < count - 1) hammer[i].scaleX = hammer[i].scaleY = 0.5;
// else {
// hammer[i].scaleX = hammer[i].scaleY = 0;
// cc.tween(hammer[i])
// .delay(0.2)
// .to(0.2, { scaleX: 0.7, scaleY: 0.7 }) // 快速放大到0.7
// .to(0.1, { scaleX: 0.4, scaleY: 0.4 }) // 突然缩小制造弹性感
// .to(0.1, { scaleX: 0.6, scaleY: 0.6 }) // 再次弹起到0.6
// .to(0.1, { scaleX: 0.5, scaleY: 0.5 }) // 最终稳定到0.5
// .to(0.05, { scaleX: 0.55, scaleY: 0.45 }) // X轴抖动效果
// .to(0.05, { scaleX: 0.45, scaleY: 0.55 }) // Y轴抖动效果
// .to(0.1, { scaleX: 0.5, scaleY: 0.5 }) // 恢复最终比例
// .start();
// }
// }
// }
// }
// this.numberToImageNodes2(cc.fx.GameConfig.GM_INFO.winStreak, 10, 5, "", winStreak.getChildByName("number"), true);
// }
//结算界面
@ -3810,7 +3810,7 @@ export default class MapConroler extends cc.Component {
this.hammerMask.active = true;
this.hammer = true;
this.ishammer = true;
this.winStreakBtn.node.active = false;
//// this.winStreakBtn.node.active = false;
this.destroyBtn.node.getChildByName("mul10").opacity = 255;
}
else MiniGameSdk.API.showToast("道具使用中,请稍后再试");

View File

@ -1251,27 +1251,27 @@ var GameTool = {
})
},
setWinStreak(type) {
if (type == "sucess") {
if (cc.fx.GameConfig.GM_INFO.winStreak < 10) {
cc.fx.GameConfig.GM_INFO.winStreak += 1;
if (cc.fx.GameConfig.GM_INFO.winStreak == 10) {
cc.fx.GameConfig.GM_INFO.winStreakFirst = true;
}
cc.fx.StorageMessage.setStorage("winStreak", cc.fx.GameConfig.GM_INFO.winStreak);
Utils.setWinStreak((data) => {
})
}
} else if (type == "fail") {
if (cc.fx.GameConfig.GM_INFO.winStreak == 10) {
cc.fx.GameConfig.GM_INFO.winStreak = 0;
cc.fx.StorageMessage.setStorage("winStreak", cc.fx.GameConfig.GM_INFO.winStreak);
Utils.setWinStreak((data) => {
//// setWinStreak(type) {
// if (type == "sucess") {
// if (cc.fx.GameConfig.GM_INFO.winStreak < 10) {
// cc.fx.GameConfig.GM_INFO.winStreak += 1;
// if (cc.fx.GameConfig.GM_INFO.winStreak == 10) {
// cc.fx.GameConfig.GM_INFO.winStreakFirst = true;
// }
// cc.fx.StorageMessage.setStorage("winStreak", cc.fx.GameConfig.GM_INFO.winStreak);
// Utils.setWinStreak((data) => {
// })
// }
// } else if (type == "fail") {
// if (cc.fx.GameConfig.GM_INFO.winStreak == 10) {
// cc.fx.GameConfig.GM_INFO.winStreak = 0;
// cc.fx.StorageMessage.setStorage("winStreak", cc.fx.GameConfig.GM_INFO.winStreak);
// Utils.setWinStreak((data) => {
})
}
}
},
// })
// }
// }
// },
//判断本地缓存关卡等级是否大于服务器存储
//返回true本地缓存大于服务器存储false本地缓存小于等于服务器存储

View File

@ -180,7 +180,7 @@ export default class setUi extends cc.Component {
returnHome() {
if (cc.fx.GameConfig.GM_INFO.otherLevel == 0) {
cc.fx.GameTool.setWinStreak("fail");
//// cc.fx.GameTool.setWinStreak("fail");
}
MapConroler._instance.returnHome();
@ -217,7 +217,7 @@ export default class setUi extends cc.Component {
}
else {
if (cc.fx.GameConfig.GM_INFO.otherLevel == 0) {
cc.fx.GameTool.setWinStreak("fail");
//// cc.fx.GameTool.setWinStreak("fail");
}
MapConroler._instance.againLevel();
}
@ -241,7 +241,7 @@ export default class setUi extends cc.Component {
}
}
else {
cc.fx.GameTool.setWinStreak("fail");
//// cc.fx.GameTool.setWinStreak("fail");
MapConroler._instance.againLevel();
}
}

View File

@ -1,356 +0,0 @@
<?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>0.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{27,31}</string>
<key>spriteSourceSize</key>
<string>{27,31}</string>
<key>textureRect</key>
<string>{{1315,1378},{27,31}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>1.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{-1,0}</string>
<key>spriteSize</key>
<string>{19,31}</string>
<key>spriteSourceSize</key>
<string>{27,31}</string>
<key>textureRect</key>
<string>{{1528,1288},{19,31}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>10.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{78,35}</string>
<key>spriteSourceSize</key>
<string>{78,35}</string>
<key>textureRect</key>
<string>{{1572,1062},{78,35}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>2.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{27,31}</string>
<key>spriteSourceSize</key>
<string>{27,31}</string>
<key>textureRect</key>
<string>{{1595,677},{27,31}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>3.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{-1,0}</string>
<key>spriteSize</key>
<string>{25,31}</string>
<key>spriteSourceSize</key>
<string>{27,31}</string>
<key>textureRect</key>
<string>{{1595,776},{25,31}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>4.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{27,31}</string>
<key>spriteSourceSize</key>
<string>{27,31}</string>
<key>textureRect</key>
<string>{{1572,1142},{27,31}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>5.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{25,29}</string>
<key>spriteSourceSize</key>
<string>{27,31}</string>
<key>textureRect</key>
<string>{{958,1375},{25,29}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>6.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{27,31}</string>
<key>spriteSourceSize</key>
<string>{27,31}</string>
<key>textureRect</key>
<string>{{1595,710},{27,31}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>7.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{27,31}</string>
<key>spriteSourceSize</key>
<string>{27,31}</string>
<key>textureRect</key>
<string>{{1572,1175},{27,31}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>8.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{27,31}</string>
<key>spriteSourceSize</key>
<string>{27,31}</string>
<key>textureRect</key>
<string>{{1595,743},{27,31}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>9.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{27,31}</string>
<key>spriteSourceSize</key>
<string>{27,31}</string>
<key>textureRect</key>
<string>{{1572,1208},{27,31}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>action_hammer.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{158,162}</string>
<key>spriteSourceSize</key>
<string>{158,162}</string>
<key>textureRect</key>
<string>{{1354,1313},{158,162}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>beginBg.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{955,240}</string>
<key>spriteSourceSize</key>
<string>{955,240}</string>
<key>textureRect</key>
<string>{{1,1375},{955,240}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>beginBtn.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>{{1354,677},{634,172}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>biaoti.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{750,222}</string>
<key>spriteSourceSize</key>
<string>{750,222}</string>
<key>textureRect</key>
<string>{{989,677},{750,222}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>hamer_texiao.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{239,182}</string>
<key>spriteSourceSize</key>
<string>{239,182}</string>
<key>textureRect</key>
<string>{{958,1429},{239,182}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>hammer_action.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{674,638}</string>
<key>spriteSourceSize</key>
<string>{674,638}</string>
<key>textureRect</key>
<string>{{989,1},{674,638}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>mianfei.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{100,56}</string>
<key>spriteSourceSize</key>
<string>{100,56}</string>
<key>textureRect</key>
<string>{{1213,1378},{100,56}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>shengXiao.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{224,42}</string>
<key>spriteSourceSize</key>
<string>{224,42}</string>
<key>textureRect</key>
<string>{{1528,1062},{224,42}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>title_hammer.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{383,65}</string>
<key>spriteSourceSize</key>
<string>{383,65}</string>
<key>textureRect</key>
<string>{{1528,677},{383,65}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>title_tishi.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{699,139}</string>
<key>spriteSourceSize</key>
<string>{699,139}</string>
<key>textureRect</key>
<string>{{1213,677},{699,139}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>waikuang.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{986,1372}</string>
<key>spriteSourceSize</key>
<string>{986,1372}</string>
<key>textureRect</key>
<string>{{1,1},{986,1372}}</string>
<key>textureRotated</key>
<false/>
</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>action_hammer.png</string>
<key>size</key>
<string>{1628,1616}</string>
<key>smartupdate</key>
<string>$TexturePacker:SmartUpdate:91763baf6ab7d2d89491adf9a182c291:cc0f56ce542dc004b6b0298f4a26aa96:c1af61fc1c31da7ad78ba28ab2f50dda$</string>
<key>textureFileName</key>
<string>action_hammer.png</string>
</dict>
</dict>
</plist>

View File

@ -1,519 +0,0 @@
{
"ver": "1.2.6",
"uuid": "b8b8cd3e-361e-4c18-b7f8-cef7ae743d02",
"importer": "asset",
"rawTextureUuid": "7da70c0a-0347-4a60-a7ef-345b0fbd7bfe",
"size": {
"width": 1628,
"height": 1616
},
"type": "Texture Packer",
"subMetas": {
"0.png": {
"ver": "1.0.6",
"uuid": "bc114c9b-9b46-4a3b-a162-5f9873c5b92c",
"importer": "sprite-frame",
"rawTextureUuid": "7da70c0a-0347-4a60-a7ef-345b0fbd7bfe",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1315,
"trimY": 1378,
"width": 27,
"height": 31,
"rawWidth": 27,
"rawHeight": 31,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"1.png": {
"ver": "1.0.6",
"uuid": "72ec265d-c8e5-4494-88f6-76dca680ed7a",
"importer": "sprite-frame",
"rawTextureUuid": "7da70c0a-0347-4a60-a7ef-345b0fbd7bfe",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": -1,
"offsetY": 0,
"trimX": 1528,
"trimY": 1288,
"width": 19,
"height": 31,
"rawWidth": 27,
"rawHeight": 31,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"10.png": {
"ver": "1.0.6",
"uuid": "921be357-605d-4338-acf9-12c9121e25ab",
"importer": "sprite-frame",
"rawTextureUuid": "7da70c0a-0347-4a60-a7ef-345b0fbd7bfe",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1572,
"trimY": 1062,
"width": 78,
"height": 35,
"rawWidth": 78,
"rawHeight": 35,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"2.png": {
"ver": "1.0.6",
"uuid": "7ee7139a-e21b-40cb-84a5-f8f7f7f999f8",
"importer": "sprite-frame",
"rawTextureUuid": "7da70c0a-0347-4a60-a7ef-345b0fbd7bfe",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1595,
"trimY": 677,
"width": 27,
"height": 31,
"rawWidth": 27,
"rawHeight": 31,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"3.png": {
"ver": "1.0.6",
"uuid": "0bdcd04f-9234-4201-a624-10c4452fc381",
"importer": "sprite-frame",
"rawTextureUuid": "7da70c0a-0347-4a60-a7ef-345b0fbd7bfe",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -1,
"offsetY": 0,
"trimX": 1595,
"trimY": 776,
"width": 25,
"height": 31,
"rawWidth": 27,
"rawHeight": 31,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"4.png": {
"ver": "1.0.6",
"uuid": "36944ad8-a006-4624-ae83-06a3efba7a59",
"importer": "sprite-frame",
"rawTextureUuid": "7da70c0a-0347-4a60-a7ef-345b0fbd7bfe",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1572,
"trimY": 1142,
"width": 27,
"height": 31,
"rawWidth": 27,
"rawHeight": 31,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"5.png": {
"ver": "1.0.6",
"uuid": "d91c5952-c6b8-474e-970c-9510dc0b0e87",
"importer": "sprite-frame",
"rawTextureUuid": "7da70c0a-0347-4a60-a7ef-345b0fbd7bfe",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 958,
"trimY": 1375,
"width": 25,
"height": 29,
"rawWidth": 27,
"rawHeight": 31,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"6.png": {
"ver": "1.0.6",
"uuid": "641bf738-5dcc-43a0-abe2-6715b3b50428",
"importer": "sprite-frame",
"rawTextureUuid": "7da70c0a-0347-4a60-a7ef-345b0fbd7bfe",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1595,
"trimY": 710,
"width": 27,
"height": 31,
"rawWidth": 27,
"rawHeight": 31,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"7.png": {
"ver": "1.0.6",
"uuid": "1c66f888-4257-474c-a295-9117447e7f0f",
"importer": "sprite-frame",
"rawTextureUuid": "7da70c0a-0347-4a60-a7ef-345b0fbd7bfe",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1572,
"trimY": 1175,
"width": 27,
"height": 31,
"rawWidth": 27,
"rawHeight": 31,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"8.png": {
"ver": "1.0.6",
"uuid": "3bbd1f92-b945-41dc-afaa-6a8871d3bca0",
"importer": "sprite-frame",
"rawTextureUuid": "7da70c0a-0347-4a60-a7ef-345b0fbd7bfe",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1595,
"trimY": 743,
"width": 27,
"height": 31,
"rawWidth": 27,
"rawHeight": 31,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"9.png": {
"ver": "1.0.6",
"uuid": "669d584e-ffca-473b-853f-72f797270dfe",
"importer": "sprite-frame",
"rawTextureUuid": "7da70c0a-0347-4a60-a7ef-345b0fbd7bfe",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1572,
"trimY": 1208,
"width": 27,
"height": 31,
"rawWidth": 27,
"rawHeight": 31,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"action_hammer.png": {
"ver": "1.0.6",
"uuid": "2c1683f1-1669-4350-8248-7b246e34b534",
"importer": "sprite-frame",
"rawTextureUuid": "7da70c0a-0347-4a60-a7ef-345b0fbd7bfe",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1354,
"trimY": 1313,
"width": 158,
"height": 162,
"rawWidth": 158,
"rawHeight": 162,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"beginBg.png": {
"ver": "1.0.6",
"uuid": "357160b9-67bc-46f5-8f65-ea549ea589a0",
"importer": "sprite-frame",
"rawTextureUuid": "7da70c0a-0347-4a60-a7ef-345b0fbd7bfe",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1,
"trimY": 1375,
"width": 955,
"height": 240,
"rawWidth": 955,
"rawHeight": 240,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"beginBtn.png": {
"ver": "1.0.6",
"uuid": "e7cb0b83-8ca3-4c48-a251-233932b16e48",
"importer": "sprite-frame",
"rawTextureUuid": "7da70c0a-0347-4a60-a7ef-345b0fbd7bfe",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1354,
"trimY": 677,
"width": 634,
"height": 172,
"rawWidth": 634,
"rawHeight": 172,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"biaoti.png": {
"ver": "1.0.6",
"uuid": "fc7a8427-2750-446c-be2e-407918e940d2",
"importer": "sprite-frame",
"rawTextureUuid": "7da70c0a-0347-4a60-a7ef-345b0fbd7bfe",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 989,
"trimY": 677,
"width": 750,
"height": 222,
"rawWidth": 750,
"rawHeight": 222,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"hamer_texiao.png": {
"ver": "1.0.6",
"uuid": "0b9d59c6-cb80-4f0c-a550-01df745ff3c8",
"importer": "sprite-frame",
"rawTextureUuid": "7da70c0a-0347-4a60-a7ef-345b0fbd7bfe",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 958,
"trimY": 1429,
"width": 239,
"height": 182,
"rawWidth": 239,
"rawHeight": 182,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"hammer_action.png": {
"ver": "1.0.6",
"uuid": "bd0fb4cf-eb5a-44fc-8329-27f292bfbad2",
"importer": "sprite-frame",
"rawTextureUuid": "7da70c0a-0347-4a60-a7ef-345b0fbd7bfe",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 989,
"trimY": 1,
"width": 674,
"height": 638,
"rawWidth": 674,
"rawHeight": 638,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"mianfei.png": {
"ver": "1.0.6",
"uuid": "59d7a637-28c3-4011-8de3-a01f32b14b6d",
"importer": "sprite-frame",
"rawTextureUuid": "7da70c0a-0347-4a60-a7ef-345b0fbd7bfe",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1213,
"trimY": 1378,
"width": 100,
"height": 56,
"rawWidth": 100,
"rawHeight": 56,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"shengXiao.png": {
"ver": "1.0.6",
"uuid": "9be4d7e4-4a11-4a3f-8dc2-663f7d2d1774",
"importer": "sprite-frame",
"rawTextureUuid": "7da70c0a-0347-4a60-a7ef-345b0fbd7bfe",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1528,
"trimY": 1062,
"width": 224,
"height": 42,
"rawWidth": 224,
"rawHeight": 42,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"title_hammer.png": {
"ver": "1.0.6",
"uuid": "68eb7643-487f-4284-8c0a-9e29a15b8c75",
"importer": "sprite-frame",
"rawTextureUuid": "7da70c0a-0347-4a60-a7ef-345b0fbd7bfe",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1528,
"trimY": 677,
"width": 383,
"height": 65,
"rawWidth": 383,
"rawHeight": 65,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"title_tishi.png": {
"ver": "1.0.6",
"uuid": "70b90cf7-9bd4-43a9-b749-74c14e56a82d",
"importer": "sprite-frame",
"rawTextureUuid": "7da70c0a-0347-4a60-a7ef-345b0fbd7bfe",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1213,
"trimY": 677,
"width": 699,
"height": 139,
"rawWidth": 699,
"rawHeight": 139,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"waikuang.png": {
"ver": "1.0.6",
"uuid": "1d8afc6b-dedd-4f03-bd1b-bc2094a6fe76",
"importer": "sprite-frame",
"rawTextureUuid": "7da70c0a-0347-4a60-a7ef-345b0fbd7bfe",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1,
"trimY": 1,
"width": 986,
"height": 1372,
"rawWidth": 986,
"rawHeight": 1372,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
}
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 263 KiB

View File

@ -1,15 +0,0 @@
{
"ver": "2.3.7",
"uuid": "7da70c0a-0347-4a60-a7ef-345b0fbd7bfe",
"importer": "texture",
"type": "raw",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1628,
"height": 1616,
"platformSettings": {},
"subMetas": {}
}

View File

@ -1,581 +0,0 @@
<?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>allGet.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{516,164}</string>
<key>spriteSourceSize</key>
<string>{516,164}</string>
<key>textureRect</key>
<string>{{1831,1},{516,164}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>bg.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{712,912}</string>
<key>spriteSourceSize</key>
<string>{712,912}</string>
<key>textureRect</key>
<string>{{1,1},{712,912}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>bgKuang.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{879,876}</string>
<key>spriteSourceSize</key>
<string>{879,876}</string>
<key>textureRect</key>
<string>{{915,1},{879,876}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>bgLittle.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{834,277}</string>
<key>spriteSourceSize</key>
<string>{834,277}</string>
<key>textureRect</key>
<string>{{1,715},{834,277}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>btn.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{516,164}</string>
<key>spriteSourceSize</key>
<string>{516,164}</string>
<key>textureRect</key>
<string>{{904,920},{516,164}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>chuizi.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{-1,0}</string>
<key>spriteSize</key>
<string>{306,316}</string>
<key>spriteSourceSize</key>
<string>{316,316}</string>
<key>textureRect</key>
<string>{{1674,882},{306,316}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>coin3000.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{242,94}</string>
<key>spriteSourceSize</key>
<string>{242,94}</string>
<key>textureRect</key>
<string>{{1831,519},{242,94}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>coinX.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{44,54}</string>
<key>spriteSourceSize</key>
<string>{44,54}</string>
<key>textureRect</key>
<string>{{837,975},{44,54}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>dayTitle.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{258,65}</string>
<key>spriteSourceSize</key>
<string>{258,65}</string>
<key>textureRect</key>
<string>{{837,715},{258,65}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>double.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{211,211}</string>
<key>spriteSourceSize</key>
<string>{211,211}</string>
<key>textureRect</key>
<string>{{599,994},{211,211}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>getBtn.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{294,112}</string>
<key>spriteSourceSize</key>
<string>{294,112}</string>
<key>textureRect</key>
<string>{{303,994},{294,112}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>iceb.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,1}</string>
<key>spriteSize</key>
<string>{242,294}</string>
<key>spriteSourceSize</key>
<string>{316,316}</string>
<key>textureRect</key>
<string>{{1422,920},{242,294}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>icon.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{80,37}</string>
<key>spriteSourceSize</key>
<string>{80,37}</string>
<key>textureRect</key>
<string>{{1927,519},{80,37}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>jinbi.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{66,72}</string>
<key>spriteSourceSize</key>
<string>{66,72}</string>
<key>textureRect</key>
<string>{{1927,676},{66,72}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>jindut.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{768,36}</string>
<key>spriteSourceSize</key>
<string>{768,36}</string>
<key>textureRect</key>
<string>{{904,882},{768,36}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>jindut01.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{768,36}</string>
<key>spriteSourceSize</key>
<string>{768,36}</string>
<key>textureRect</key>
<string>{{1793,1},{768,36}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>jumpBtn.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{294,112}</string>
<key>spriteSourceSize</key>
<string>{294,112}</string>
<key>textureRect</key>
<string>{{303,1108},{294,112}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>new_user0.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{24,27}</string>
<key>spriteSourceSize</key>
<string>{24,27}</string>
<key>textureRect</key>
<string>{{1967,750},{24,27}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>new_user1.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{16,27}</string>
<key>spriteSourceSize</key>
<string>{24,27}</string>
<key>textureRect</key>
<string>{{1793,863},{16,27}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>new_user10.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,1}</string>
<key>spriteSize</key>
<string>{10,21}</string>
<key>spriteSourceSize</key>
<string>{24,27}</string>
<key>textureRect</key>
<string>{{1822,863},{10,21}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>new_user2.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{24,27}</string>
<key>spriteSourceSize</key>
<string>{24,27}</string>
<key>textureRect</key>
<string>{{1967,779},{24,27}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>new_user3.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{22,27}</string>
<key>spriteSourceSize</key>
<string>{24,27}</string>
<key>textureRect</key>
<string>{{1966,577},{22,27}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>new_user4.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{24,27}</string>
<key>spriteSourceSize</key>
<string>{24,27}</string>
<key>textureRect</key>
<string>{{1966,519},{24,27}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>new_user5.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{24,27}</string>
<key>spriteSourceSize</key>
<string>{24,27}</string>
<key>textureRect</key>
<string>{{1966,548},{24,27}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>new_user6.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{24,27}</string>
<key>spriteSourceSize</key>
<string>{24,27}</string>
<key>textureRect</key>
<string>{{1750,1200},{24,27}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>new_user7.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{24,27}</string>
<key>spriteSourceSize</key>
<string>{24,27}</string>
<key>textureRect</key>
<string>{{1779,1200},{24,27}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>new_user8.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{24,27}</string>
<key>spriteSourceSize</key>
<string>{24,27}</string>
<key>textureRect</key>
<string>{{1808,1200},{24,27}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>new_user9.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{24,27}</string>
<key>spriteSourceSize</key>
<string>{24,27}</string>
<key>textureRect</key>
<string>{{1837,1200},{24,27}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>openDay.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{154,174}</string>
<key>spriteSourceSize</key>
<string>{154,174}</string>
<key>textureRect</key>
<string>{{812,1086},{154,174}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>prop5.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{73,43}</string>
<key>spriteSourceSize</key>
<string>{73,43}</string>
<key>textureRect</key>
<string>{{1927,601},{73,43}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>propBg.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{168,168}</string>
<key>spriteSourceSize</key>
<string>{168,168}</string>
<key>textureRect</key>
<string>{{988,1086},{168,168}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>propX.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{32,32}</string>
<key>spriteSourceSize</key>
<string>{32,32}</string>
<key>textureRect</key>
<string>{{1716,1200},{32,32}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>starb.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{8,-7}</string>
<key>spriteSize</key>
<string>{286,300}</string>
<key>spriteSourceSize</key>
<string>{316,316}</string>
<key>textureRect</key>
<string>{{1,994},{286,300}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>timeBg.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{172,50}</string>
<key>spriteSourceSize</key>
<string>{172,50}</string>
<key>textureRect</key>
<string>{{1793,771},{172,50}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>timeIcon.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{48,48}</string>
<key>spriteSourceSize</key>
<string>{48,48}</string>
<key>textureRect</key>
<string>{{1666,1200},{48,48}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>updateTitle.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{201,38}</string>
<key>spriteSourceSize</key>
<string>{201,38}</string>
<key>textureRect</key>
<string>{{1793,823},{201,38}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>xiaoren.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{131,149}</string>
<key>spriteSourceSize</key>
<string>{131,149}</string>
<key>textureRect</key>
<string>{{1158,1086},{131,149}}</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>newUser.png</string>
<key>size</key>
<string>{1996,1281}</string>
<key>smartupdate</key>
<string>$TexturePacker:SmartUpdate:db376348b74768259a3fc33d6c231032:187fd495d93001ccda966d499b724d56:94f0435e833a311c03a07427355eeed9$</string>
<key>textureFileName</key>
<string>newUser.png</string>
</dict>
</dict>
</plist>

View File

@ -1,864 +0,0 @@
{
"ver": "1.2.6",
"uuid": "f5f8c4fd-b672-46fe-85a4-79bd8b1b0eb9",
"importer": "asset",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"size": {
"width": 1996,
"height": 1281
},
"type": "Texture Packer",
"subMetas": {
"allGet.png": {
"ver": "1.0.6",
"uuid": "17c46e10-262d-44c5-aeb3-9f39d912fd51",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1831,
"trimY": 1,
"width": 516,
"height": 164,
"rawWidth": 516,
"rawHeight": 164,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"bg.png": {
"ver": "1.0.6",
"uuid": "d2ab609e-95e6-4efe-a628-871f302730d2",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1,
"trimY": 1,
"width": 712,
"height": 912,
"rawWidth": 712,
"rawHeight": 912,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"bgKuang.png": {
"ver": "1.0.6",
"uuid": "23facfbb-d5a6-411e-b0bc-d70035182ffa",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 915,
"trimY": 1,
"width": 879,
"height": 876,
"rawWidth": 879,
"rawHeight": 876,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"bgLittle.png": {
"ver": "1.0.6",
"uuid": "486e50e1-f267-4805-b678-186cb6cd4602",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1,
"trimY": 715,
"width": 834,
"height": 277,
"rawWidth": 834,
"rawHeight": 277,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"btn.png": {
"ver": "1.0.6",
"uuid": "89786947-942f-48c2-b97a-240a02af167e",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 904,
"trimY": 920,
"width": 516,
"height": 164,
"rawWidth": 516,
"rawHeight": 164,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"chuizi.png": {
"ver": "1.0.6",
"uuid": "f383b277-ace5-445f-8863-a2c943b718f2",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -1,
"offsetY": 0,
"trimX": 1674,
"trimY": 882,
"width": 306,
"height": 316,
"rawWidth": 316,
"rawHeight": 316,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"coin3000.png": {
"ver": "1.0.6",
"uuid": "86c750e1-75bf-4b27-b02b-67d4205e336f",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1831,
"trimY": 519,
"width": 242,
"height": 94,
"rawWidth": 242,
"rawHeight": 94,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"coinX.png": {
"ver": "1.0.6",
"uuid": "9772f588-9321-4d3d-9b4a-0b251483dfc1",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 837,
"trimY": 975,
"width": 44,
"height": 54,
"rawWidth": 44,
"rawHeight": 54,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"dayTitle.png": {
"ver": "1.0.6",
"uuid": "80e5cd47-c95b-49a8-b218-bd2469c621a3",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 837,
"trimY": 715,
"width": 258,
"height": 65,
"rawWidth": 258,
"rawHeight": 65,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"double.png": {
"ver": "1.0.6",
"uuid": "4df0b7a9-ae26-4420-87f7-332dcaadc354",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 599,
"trimY": 994,
"width": 211,
"height": 211,
"rawWidth": 211,
"rawHeight": 211,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"getBtn.png": {
"ver": "1.0.6",
"uuid": "827f58fd-cb1b-46dd-bde7-e0943a8d3128",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 303,
"trimY": 994,
"width": 294,
"height": 112,
"rawWidth": 294,
"rawHeight": 112,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"iceb.png": {
"ver": "1.0.6",
"uuid": "9b0584fc-efbf-4e13-b1c0-26d8d47c5971",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 1,
"trimX": 1422,
"trimY": 920,
"width": 242,
"height": 294,
"rawWidth": 316,
"rawHeight": 316,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"icon.png": {
"ver": "1.0.6",
"uuid": "7eccaf06-f4de-4f6b-9322-c7918c9b383e",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1927,
"trimY": 519,
"width": 80,
"height": 37,
"rawWidth": 80,
"rawHeight": 37,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"jinbi.png": {
"ver": "1.0.6",
"uuid": "f3cbebf8-2dea-4545-911f-861283de9a8e",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1927,
"trimY": 676,
"width": 66,
"height": 72,
"rawWidth": 66,
"rawHeight": 72,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"jindut.png": {
"ver": "1.0.6",
"uuid": "ea56408f-7611-4be2-90f3-abb15db933c7",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 904,
"trimY": 882,
"width": 768,
"height": 36,
"rawWidth": 768,
"rawHeight": 36,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"jindut01.png": {
"ver": "1.0.6",
"uuid": "4ab6b145-41a1-4d98-a6ed-adb54986ba7a",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1793,
"trimY": 1,
"width": 768,
"height": 36,
"rawWidth": 768,
"rawHeight": 36,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"jumpBtn.png": {
"ver": "1.0.6",
"uuid": "70c157e1-a211-48a2-9f99-e748dcf5967d",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 303,
"trimY": 1108,
"width": 294,
"height": 112,
"rawWidth": 294,
"rawHeight": 112,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"new_user0.png": {
"ver": "1.0.6",
"uuid": "d40d33e8-6291-4826-ad41-5a837f4a2b42",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1967,
"trimY": 750,
"width": 24,
"height": 27,
"rawWidth": 24,
"rawHeight": 27,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"new_user1.png": {
"ver": "1.0.6",
"uuid": "95d9a2f9-465a-4fb6-a704-d468e87436e4",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1793,
"trimY": 863,
"width": 16,
"height": 27,
"rawWidth": 24,
"rawHeight": 27,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"new_user10.png": {
"ver": "1.0.6",
"uuid": "1fcb12db-189e-451f-b752-23f39e9a7231",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 1,
"trimX": 1822,
"trimY": 863,
"width": 10,
"height": 21,
"rawWidth": 24,
"rawHeight": 27,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"new_user2.png": {
"ver": "1.0.6",
"uuid": "a8cc9a66-aff3-4ad4-a913-b0174206d307",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1967,
"trimY": 779,
"width": 24,
"height": 27,
"rawWidth": 24,
"rawHeight": 27,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"new_user3.png": {
"ver": "1.0.6",
"uuid": "6113afe8-58e3-4076-af42-b6c4a9816543",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1966,
"trimY": 577,
"width": 22,
"height": 27,
"rawWidth": 24,
"rawHeight": 27,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"new_user4.png": {
"ver": "1.0.6",
"uuid": "5efaf24e-9feb-4a68-9b13-1fa080044dd8",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1966,
"trimY": 519,
"width": 24,
"height": 27,
"rawWidth": 24,
"rawHeight": 27,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"new_user5.png": {
"ver": "1.0.6",
"uuid": "4da9c897-ed1c-4889-8b1f-a26143135afd",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1966,
"trimY": 548,
"width": 24,
"height": 27,
"rawWidth": 24,
"rawHeight": 27,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"new_user6.png": {
"ver": "1.0.6",
"uuid": "f23436aa-dba3-4784-afd6-c4211d3cc356",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1750,
"trimY": 1200,
"width": 24,
"height": 27,
"rawWidth": 24,
"rawHeight": 27,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"new_user7.png": {
"ver": "1.0.6",
"uuid": "19491efe-21fb-4c34-848f-114e27678912",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1779,
"trimY": 1200,
"width": 24,
"height": 27,
"rawWidth": 24,
"rawHeight": 27,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"new_user8.png": {
"ver": "1.0.6",
"uuid": "c55581d5-0ab1-4e63-8bdd-12414409381c",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1808,
"trimY": 1200,
"width": 24,
"height": 27,
"rawWidth": 24,
"rawHeight": 27,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"new_user9.png": {
"ver": "1.0.6",
"uuid": "4ab9a490-8c48-4932-b81e-cb5eb4b94b0d",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1837,
"trimY": 1200,
"width": 24,
"height": 27,
"rawWidth": 24,
"rawHeight": 27,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"openDay.png": {
"ver": "1.0.6",
"uuid": "a71f51cc-7f5c-4cda-9ed8-a2de24fcaa4a",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 812,
"trimY": 1086,
"width": 154,
"height": 174,
"rawWidth": 154,
"rawHeight": 174,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"prop5.png": {
"ver": "1.0.6",
"uuid": "2691a41c-d54e-4eb3-8b6b-5e336752e542",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1927,
"trimY": 601,
"width": 73,
"height": 43,
"rawWidth": 73,
"rawHeight": 43,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"propBg.png": {
"ver": "1.0.6",
"uuid": "7586472c-63d3-40cc-82d6-8052b3109aa6",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 988,
"trimY": 1086,
"width": 168,
"height": 168,
"rawWidth": 168,
"rawHeight": 168,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"propX.png": {
"ver": "1.0.6",
"uuid": "58a5241f-e9cd-4406-a0b7-cadf9ca6cb0f",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1716,
"trimY": 1200,
"width": 32,
"height": 32,
"rawWidth": 32,
"rawHeight": 32,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"starb.png": {
"ver": "1.0.6",
"uuid": "a8b13964-f98b-455d-8833-39389969a45b",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 8,
"offsetY": -7,
"trimX": 1,
"trimY": 994,
"width": 286,
"height": 300,
"rawWidth": 316,
"rawHeight": 316,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"timeBg.png": {
"ver": "1.0.6",
"uuid": "a0c93d5a-f639-4d84-a47e-a427c4cc593b",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1793,
"trimY": 771,
"width": 172,
"height": 50,
"rawWidth": 172,
"rawHeight": 50,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"timeIcon.png": {
"ver": "1.0.6",
"uuid": "18d65e4a-9a87-4fdf-8fe5-e0334c8e6cd5",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1666,
"trimY": 1200,
"width": 48,
"height": 48,
"rawWidth": 48,
"rawHeight": 48,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"updateTitle.png": {
"ver": "1.0.6",
"uuid": "84c586e5-76ed-42b6-b165-800b051407c1",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1793,
"trimY": 823,
"width": 201,
"height": 38,
"rawWidth": 201,
"rawHeight": 38,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"xiaoren.png": {
"ver": "1.0.6",
"uuid": "69cb0f95-0f92-456d-b978-99b107aa5755",
"importer": "sprite-frame",
"rawTextureUuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 1158,
"trimY": 1086,
"width": 131,
"height": 149,
"rawWidth": 131,
"rawHeight": 149,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
}
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 231 KiB

View File

@ -1,15 +0,0 @@
{
"ver": "2.3.7",
"uuid": "5a5e6bf4-d20a-4fb9-ab2e-7c93ccfbc79f",
"importer": "texture",
"type": "raw",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1996,
"height": 1281,
"platformSettings": {},
"subMetas": {}
}

View File

@ -1,13 +0,0 @@
{
"ver": "1.1.3",
"uuid": "fc4c1502-6940-44b1-b4af-1146c85a0111",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}

View File

@ -1,508 +0,0 @@
// Learn TypeScript:
// - https://docs.cocos.com/creator/2.4/manual/en/scripting/typescript.html
// Learn Attribute:
// - https://docs.cocos.com/creator/2.4/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/2.4/manual/en/scripting/life-cycle-callbacks.html
import JiaZai from "../../Script/JiaZai";
import Utils from "../../Script/module/Pay/Utils";
import NumberToImage from "../../Script/NumberToImage";
import { MiniGameSdk } from "../../Script/Sdk/MiniGameSdk";
// import JiaZai from "./JiaZai";
// import Utils from "./module/Pay/Utils";
// import NumberToImage from "./NumberToImage";
// import { MiniGameSdk } from "./Sdk/MiniGameSdk";
const { ccclass, property } = cc._decorator;
@ccclass
export default class DailyQuests extends cc.Component {
@property(cc.Node)
content: cc.Node = null;
//月卡按钮切换
@property(cc.Node)
getBtn: cc.Node = null;
public juwai = false;
btn_Touch: boolean = false;
private iosPrice: number = 0;
private iosProductId: string = "";
private iosCount: number = 1;
public home: number = 0;
public touchStart: boolean = false;
public reward: boolean = false;
onLoad() {
this.btn_Touch = true;
// 检测微信小游戏切到后台
this.home = 0;
}
start() {
// this.init();
}
init(data) {
cc.fx.GameConfig.GM_INFO.tasks.levelPass = data["levelPass"];
cc.fx.GameConfig.GM_INFO.tasks.share = data["share"];
cc.fx.GameConfig.GM_INFO.tasks.useEnergy = data["useEnergy"];
cc.fx.GameConfig.GM_INFO.tasks.useProp = data["useProp"];
this.touchStart = true;
this.reward = false;
// 一键领取按钮状态
this.getBtn.active = false;
this.node.getChildByName("finishi").active = false;
// 通过关卡已经领取
for (let i = this.content.children.length - 1; i >= 0; i--) {
const child = this.content.children[i];
// 根据索引匹配不同任务类型
if (
(i === 0 && data.levelPass.state === 2) ||
(i === 1 && data.share.state === 2) ||
(i === 2 && data.useEnergy.state === 2) ||
(i === 3 && data.useProp.state === 2)
) {
child.removeFromParent();
}
}
// 对剩余节点进行排序 - state == 1的排在上面
const children = this.content.children;
children.sort((a, b) => {
const aName = a.name;
const bName = b.name;
const aState = data[aName].state;
const bState = data[bName].state;
// state == 1的排前面
if (aState === 1 && bState !== 1) return -1;
if (aState !== 1 && bState === 1) return 1;
return 0;
});
// 重新设置节点顺序
for (let i = 0; i < children.length; i++) {
children[i].setSiblingIndex(i);
}
// 强制更新布局
this.content.getComponent(cc.Layout).updateLayout();
// 检查是否有未领取的任务
if (this.content.children.length == 0) {
this.node.getChildByName("finishi").active = true;
} else {
for (let j = 0; j < this.content.children.length; j++) {
let child = this.content.children[j];
child.getChildByName("progress").getComponent(cc.Sprite).fillRange = 0;
child.getChildByName("get").active = false;
child.getChildByName("jump").active = false;
let name = this.content.children[j].name;
if (data[name].value > data[name].target) {
data[name].value = data[name].target;
}
let progress = data[name].value / data[name].target;
if (data[name].state == 1 && progress == 1) {
child.getChildByName("get").active = true;
child.getChildByName("jump").active = false;
setTimeout(() => {
this.getBtn.active = true;
}, 0);
}
else if (data[name].state == 0) {
child.getChildByName("get").active = false;
child.getChildByName("jump").active = true;
}
let time = 0.3;
if (progress == 0) time = 0;
cc.tween(child.getChildByName("progress").getComponent(cc.Sprite))
.delay(j * 0.1)
.to(time, { fillRange: progress })
.start();
NumberToImage.numberToImageNodes(data[name].value, 40, 15, "coin_", child.getChildByName("target"), false);
NumberToImage.numberToImageNodes(data[name].target, 40, 15, "coin_", child.getChildByName("total"), false);
}
}
}
//入场动画
setAction() {
this.node.getChildByName("gold_1").getComponent(sp.Skeleton).setAnimation(0, "animation", false);
setTimeout(() => {
this.node.getChildByName("qipao3").active = true;
this.node.getChildByName("qipao3").getComponent(sp.Skeleton).setAnimation(0, "animation", false);
cc.tween(this.node.getChildByName("propBg1"))
.delay(0.1)
.to(0.2, { opacity: 255 })
.start();
}, 400);
setTimeout(() => {
this.node.getChildByName("qipao2").active = true;
this.node.getChildByName("qipao2").getComponent(sp.Skeleton).setAnimation(0, "animation", false);
cc.tween(this.node.getChildByName("propBg2"))
.delay(0.1)
.to(0.2, { opacity: 255 })
.start();
}, 600);
setTimeout(() => {
this.node.getChildByName("gold_2").active = true;
this.node.getChildByName("qipao1").active = true;
this.node.getChildByName("qipao1").getComponent(sp.Skeleton).setAnimation(0, "animation", false);
cc.tween(this.node.getChildByName("propBg3"))
.delay(0.1)
.to(0.2, { opacity: 255 })
.start();
}, 800);
setTimeout(() => {
// this.node.getChildByName("gold_2").active = true;
this.node.getChildByName("baoxiang").active = true;
}, 1000);
}
//购买月卡
openReward(name, res) {
let data = null;
if (name == "levelPass") {
data = [
{ type: "coin", count: 100 },
{ type: "freeze", count: 2 }
]
let data2 = {
id: 0,
status: "claim"
}
cc.fx.GameTool.shushu_Track("daily_task", data2);
}
else if (name == "useProp") {
data = [
{ type: "hammer", count: 1 }
]
let data2 = {
id: 3,
status: "claim"
}
cc.fx.GameTool.shushu_Track("daily_task", data2);
}
else if (name == "useEnergy") {
data = [
{ type: "coin", count: 100 },
{ type: "magic", count: 1 }
]
let data2 = {
id: 2,
status: "claim"
}
cc.fx.GameTool.shushu_Track("daily_task", data2);
}
else if (name == "share") {
data = [
{ type: "infinite_health", count: 900 },
]
let data2 = {
id: 1,
status: "claim"
}
cc.fx.GameTool.shushu_Track("daily_task", data2);
}
else if (name == "all") {
data = res;
}
console.log("获得任务奖励", data);
let shuju = {
"coin": 0,
"freeze": 0,
"hammer": 0,
"magic": 0,
"infinite_health": 0,
}
for (let i = 0; i < data.length; i++) {
let type = data[i].type;
let count = data[i].count;
shuju[type] += count;
}
let propData = {
"freeze": shuju.freeze || 0,
"hammer": shuju.hammer || 0,
"magic_wand": shuju.magic || 0,
"price": 0
}
this.getShopProp(propData);
if (shuju.coin > 0) {
cc.fx.GameTool.changeCoin(shuju.coin);
}
if (shuju.infinite_health > 0) {
cc.fx.GameTool.setUserPowerTime(shuju.infinite_health);
}
const canvasTemp = cc.find("Canvas"); // 假设 Canvas 节点
if (canvasTemp) {
const JiaZai = canvasTemp.getComponent("JiaZai");
if (JiaZai) {
JiaZai.openRewardWindow(data);
if (shuju.coin > 0) {
JiaZai.updateCoin();
}
if (shuju.infinite_health > 0) {
JiaZai.updatePower();
}
}
}
}
setReward(id) {
}
closeDailyQuests() {
this.node.active = false;
const jiazaiNode = cc.find("Canvas"); // 假设 JiaZai 挂在 Canvas 节点
const jiazaiComp = jiazaiNode.getComponent(JiaZai);
if (jiazaiComp) {
jiazaiComp.checkTasks();
}
}
openLoad() {
this.node.getChildByName("Loading").active = true;
this.node.getChildByName("Loading").getChildByName("load").stopAllActions();
this.node.getChildByName("Loading").getChildByName("load").runAction(cc.rotateTo(2, 1080).repeatForever());
}
openConfirmBox() {
this.closeLoad();
this.node.getChildByName("ConfirmBox").active = true;
}
closeConfirmBox() {
this.node.getChildByName("ConfirmBox").active = false;
}
closeLoad() {
this.node.getChildByName("Loading").active = false;
}
//点击去完成
clickBtn(event, data) {
if (data == "useProp" || data == "levelPass" || "useEnergy" == data) {
this.closeDailyQuests();
const jiazaiNode = cc.find("Canvas"); // 假设 JiaZai 挂在 Canvas 节点
const jiazaiComp = jiazaiNode.getComponent(JiaZai);
if (jiazaiComp) {
jiazaiComp.startGame();
}
}
else if (data == "share") {
let iphoneArr = [
"https://mmocgame.qpic.cn/wechatgame/Lf3SBqy9XpNkakoIZygRzXqww3HTibq6VyibazqmicwibjCS3YpgqbZtkdyABm4Y1wAr/0",
"https://mmocgame.qpic.cn/wechatgame/TWKuFxnCn7ksT3KXfhCC4yOfZeD4b0hrptDSJ2DFmwz02Yc8SppcwyPAOoS1MsMr/0",
"https://mmocgame.qpic.cn/wechatgame/dibaH2x79o1wSwBDymhyzXwfcyicaDb6R5icrFIO7251T4NgxIzXRXErHvAvn50vXFA/0",
"https://mmocgame.qpic.cn/wechatgame/Pgxad80d8ws3o69OicV3DTuTkcP81upQeJ0JBNS1xib3pzYLTF1ZqGY3niciaI7ICKlL/0",
"https://mmocgame.qpic.cn/wechatgame/SfB1vrRBIHKn9ffKFt5sib62yPLE31m2rCvk6DKlEicJNVZSoryEObD6ItwsQn4xibR/0",
"https://mmocgame.qpic.cn/wechatgame/OiaWk33I6QjgWiatrb5YVUq2p0QRmQgO6rLUWxEQDZ4ib9Ny4Pr8iaHnHI6WdxibY2nPL/0",
"https://mmocgame.qpic.cn/wechatgame/CG5xBibollws251aYD4msEPWCiafrcn4Fgtic4T2wME6sWmdfAUtfibgsWoxm59VadDD/0"
]
let randomIphone = iphoneArr[Math.floor(Math.random() * iphoneArr.length)];
let img = randomIphone;
const shareParams = {
title: '如果你突然打了个喷嚏,那一定是我在等你帮忙过关!', // 分享标题
imageUrl: img // 分享图片链接
};
// 调用微信分享 API
if (cc.sys.platform === cc.sys.WECHAT_GAME) {
//@ts-ignore
wx.shareAppMessage(shareParams);
setTimeout(() => {
this.closeDailyQuests();
}, 500);
const jiazaiNode = cc.find("Canvas"); // 假设 JiaZai 挂在 Canvas 节点
const jiazaiComp = jiazaiNode.getComponent(JiaZai);
console.log("分享出去了");
if (cc.fx.GameConfig.GM_INFO.tasks.share.value < cc.fx.GameConfig.GM_INFO.tasks.share.target) {
cc.fx.GameConfig.GM_INFO.tasks.share.value += 1;
cc.fx.GameTool.setDailyQuestInfo((data) => {
if (data.code == 1) {
if (jiazaiComp) {
setTimeout(() => {
jiazaiComp.openDailyQuests();
}, 1000);
}
}
});
if (cc.fx.GameConfig.GM_INFO.tasks.share.value == cc.fx.GameConfig.GM_INFO.tasks.share.target) {
let data = {
id: 1,
status: "complete"
}
cc.fx.GameTool.shushu_Track("daily_task", data);
}
}
}
}
}
getReward(event, data) {
if (this.touchStart == false) {
return;
}
this.touchStart = false;
this.reward = true;
let shuju = [data];
Utils.getDailyQuestReward(shuju, (res) => {
this.touchStart = true;
this.reward = false;
if (res.code == 1) {
let dataNode = null;
for (let i = 0; i < this.content.children.length; i++) {
if (this.content.children[i].name === data) {
dataNode = this.content.children[i];
break;
}
}
dataNode.getChildByName("get").active = false;
cc.tween(dataNode)
.to(0.4, { x: dataNode.x - 1000, opacity: 50 })
.call(() => {
this.openReward(dataNode.name, null);
this.touchStart = true;
dataNode.removeFromParent();
this.content.getComponent(cc.Layout).updateLayout();
this.checkGetReward();
})
.start();
}
else {
MiniGameSdk.API.showToast("网络异常,领取奖励失败");
}
})
setTimeout(() => {
if (this.reward == true && this.touchStart == false) {
this.touchStart = true;
}
}, 5000);
}
getAllReward() {
if (this.touchStart == false) {
return;
}
this.touchStart = false;
this.reward = true;
let shuju = [];
for (let i = 0; i < this.content.children.length; i++) {
let dataNode = this.content.children[i];
if (dataNode.getChildByName("get").active == true) {
shuju.push(dataNode.name);
}
}
console.log("准备上传的任务", shuju);
Utils.getDailyQuestReward(shuju, (res) => {
this.touchStart = true;
this.reward = false;
if (res.code == 1) {
let data = [
{ type: "coin", count: 0 },
{ type: "freeze", count: 0 },
{ type: "hammer", count: 0 },
{ type: "magic", count: 0 },
{ type: "infinite_health", count: 0 },
]
for (let i = 0; i < this.content.children.length; i++) {
let dataNode = this.content.children[i];
if (dataNode.getChildByName("get").active == true) {
dataNode.getChildByName("get").active = false;
if (dataNode.name == "levelPass") {
data[0].count += 100;
data[1].count += 2;
let data2 = {
id: 0,
status: "claim"
}
cc.fx.GameTool.shushu_Track("daily_task", data2);
}
else if (dataNode.name == "useProp") {
data[2].count += 1;
let data2 = {
id: 3,
status: "claim"
}
cc.fx.GameTool.shushu_Track("daily_task", data2);
}
else if (dataNode.name == "useEnergy") {
data[0].count += 100;
data[3].count += 1;
let data2 = {
id: 2,
status: "claim"
}
cc.fx.GameTool.shushu_Track("daily_task", data2);
}
else if (dataNode.name == "share") {
data[4].count += 900;
let data2 = {
id: 1,
status: "claim"
}
cc.fx.GameTool.shushu_Track("daily_task", data2);
}
cc.tween(dataNode)
.to(0.4, { x: dataNode.x - 1000, opacity: 50 })
.call(() => {
this.touchStart = true;
dataNode.removeFromParent();
this.content.getComponent(cc.Layout).updateLayout();
this.checkGetReward();
})
.start();
}
}
for (let j = 0; j < data.length; j++) {
if (data[j].count == 0) {
data.splice(j, 1);
j--;
}
}
this.openReward("all", data);
}
else {
MiniGameSdk.API.showToast("网络异常,领取奖励失败");
}
})
setTimeout(() => {
if (this.reward == true && this.touchStart == false) {
this.touchStart = true;
}
}, 5000);
}
checkGetReward() {
this.getBtn.active = false;
if (this.content.children.length == 0) {
this.getBtn.active = false;
this.node.getChildByName("finishi").active = true;
}
else {
for (let j = 0; j < this.content.children.length; j++) {
let child = this.content.children[j];
if (child.getChildByName("get").active) {
this.getBtn.active = true;
break;
}
}
}
}
getShopProp(propData) {
//@ts-ignore
}
onDestroy() {
}
update() {
}
}

View File

@ -1,10 +0,0 @@
{
"ver": "1.1.0",
"uuid": "85d4dc66-c6e7-4c75-8658-90520ff1d0a9",
"importer": "typescript",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}

View File

@ -1,161 +0,0 @@
// Learn TypeScript:
// - https://docs.cocos.com/creator/2.4/manual/en/scripting/typescript.html
// Learn Attribute:
// - https://docs.cocos.com/creator/2.4/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
// - https://docs.cocos.com/creator/2.4/manual/en/scripting/life-cycle-callbacks.html
import JiaZai from "../../Script/JiaZai";
import Utils from "../../Script/module/Pay/Utils";
import NumberToImage from "../../Script/NumberToImage";
import { MiniGameSdk } from "../../Script/Sdk/MiniGameSdk";
const { ccclass, property } = cc._decorator;
@ccclass
export default class WinStreak extends cc.Component {
@property(cc.SpriteAtlas)
fontUI: cc.SpriteAtlas = null;
@property(cc.Node)
content: cc.Node = null;
//月卡按钮切换
@property(cc.Node)
getBtn: cc.Node = null;
public juwai = false;
btn_Touch: boolean = false;
onLoad() {
this.btn_Touch = true;
}
start() {
// this.init();
}
init() {
if (cc.fx.GameConfig.GM_INFO.winStreak > 0) {
let hammer = this.node.getChildByName("hammer").children;
let count = cc.fx.GameConfig.GM_INFO.winStreak;
let time = 0.1;
if (count > 5) {
time = 0.05;
}
if (count > 10) {
count = 10;
}
for (let i = 0; i < count; i++) {
if (i < 10) {
hammer[i].active = true;
hammer[i].scaleX = hammer[i].scaleY = 0;
cc.tween(hammer[i])
.delay(i * time)
.to(0.2, { scaleX: 0.7, scaleY: 0.7 }) // 快速放大到0.7
.to(0.1, { scaleX: 0.4, scaleY: 0.4 }) // 突然缩小制造弹性感
.to(0.1, { scaleX: 0.6, scaleY: 0.6 }) // 再次弹起到0.6
.to(0.1, { scaleX: 0.5, scaleY: 0.5 }) // 最终稳定到0.5
.to(0.05, { scaleX: 0.55, scaleY: 0.45 }) // X轴抖动效果
.to(0.05, { scaleX: 0.45, scaleY: 0.55 }) // Y轴抖动效果
.to(0.1, { scaleX: 0.5, scaleY: 0.5 }) // 恢复最终比例
.start();
}
}
}
this.numberToImageNodes2(cc.fx.GameConfig.GM_INFO.winStreak, 10, 5, "", this.node.getChildByName("number"), true);
}
//入场动画
setAction() {
}
setReward(id) {
}
closeWinStreak() {
this.node.active = false;
}
openLoad() {
this.node.getChildByName("Loading").active = true;
this.node.getChildByName("Loading").getChildByName("load").stopAllActions();
this.node.getChildByName("Loading").getChildByName("load").runAction(cc.rotateTo(2, 1080).repeatForever());
}
openConfirmBox() {
this.closeLoad();
this.node.getChildByName("ConfirmBox").active = true;
}
closeConfirmBox() {
this.node.getChildByName("ConfirmBox").active = false;
}
closeLoad() {
this.node.getChildByName("Loading").active = false;
}
//点击去完成
clickBtn(event, data) {
this.node.active = false;
const jiazaiNode = cc.find("Canvas"); // 假设 JiaZai 挂在 Canvas 节点
const jiazaiComp = jiazaiNode.getComponent(JiaZai);
if (jiazaiComp) {
jiazaiComp.startGame();
}
}
numberToImageNodes2(number, width, posX, name, targetNode: cc.Node, right: boolean = false) {
const numStr = number.toString();
let cha = 0;
if (number > 99) cha = -posX
else if (number < 10) cha = posX
if (targetNode.children.length > 0)
targetNode.removeAllChildren();
const digitNodes: cc.Node[] = [];
for (let i = 0; i < numStr.length; i++) {
let digit = parseInt(numStr[i], 10);
const node = new cc.Node();
const sprite = node.addComponent(cc.Sprite);
if (numStr[i] == ":") digit = 10;
sprite.spriteFrame = this.fontUI._spriteFrames[name + digit + ""];
digitNodes.push(node);
}
// 计算总宽度
// const totalWidth = (numStr.length - 1) * width + (digitNodes[0]?.width || 0);
// 计算总宽度,累加每个节点的宽度和间距
let totalWidth = 0;
for (let i = 0; i < digitNodes.length; i++) {
totalWidth += digitNodes[i].width;
if (i < digitNodes.length - 1) {
totalWidth += width;
}
}
if (right) {
// 新右对齐逻辑:从右向左排列
let currentX = 0; // 最右侧起点
for (let i = digitNodes.length - 1; i >= 0; i--) {
const node = digitNodes[i];
node.x = currentX - node.width;
currentX -= (node.width + width); // 向左累加宽度和间距
if (targetNode) node.parent = targetNode;
}
} else {
let currentX = cha;
for (let i = 0; i < digitNodes.length; i++) {
const node = digitNodes[i];
node.x = currentX;
currentX += node.width + width;
if (targetNode) node.parent = targetNode;
}
}
}
update() {
}
}

View File

@ -1,10 +0,0 @@
{
"ver": "1.1.0",
"uuid": "f03388b7-6e8b-4bca-90b2-219ec02b1a8d",
"importer": "typescript",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}