添加引导,礼包界面,修改商店体力显示,道具数量底框添加

This commit is contained in:
computer\尼卡 2025-07-07 15:51:49 +08:00
parent 6b3a3d25c4
commit 5446d2fa1e
24 changed files with 11313 additions and 5097 deletions

File diff suppressed because it is too large Load Diff

View File

@ -10,7 +10,7 @@ import { LQCollide } from "./lq_collide_system/lq_collide";
import NumberToImage from "./NumberToImage"; import NumberToImage from "./NumberToImage";
import SceneManager from "./SceneManager"; import SceneManager from "./SceneManager";
import { MiniGameSdk } from "./Sdk/MiniGameSdk"; import { MiniGameSdk } from "./Sdk/MiniGameSdk";
import Animation = cc.Animation;
const { ccclass, property } = cc._decorator; const { ccclass, property } = cc._decorator;
@ -73,7 +73,8 @@ export default class MapConroler extends cc.Component {
@property(cc.Node) @property(cc.Node)
freezeMask: cc.Node = null; freezeMask: cc.Node = null;
@property(cc.Node)
guideNode: cc.Node = null;
@property(cc.Node) @property(cc.Node)
coinPop: cc.Node = null; coinPop: cc.Node = null;
@ -185,34 +186,43 @@ export default class MapConroler extends cc.Component {
if(cc.fx.GameConfig.GM_INFO.freezeAmount > 0) { if(cc.fx.GameConfig.GM_INFO.freezeAmount > 0) {
this.iceNode.children[0].active = false; this.iceNode.children[0].active = false;
this.iceNode.children[1].active = true; this.iceNode.children[1].active = true;
NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.freezeAmount, 35, 15, "mul", this.iceNode.children[1], true); this.iceNode.children[2].active = true;
NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.freezeAmount, 20, 15, "mul", this.iceNode.children[2], true);
} else { } else {
this.iceNode.children[0].active = true this.iceNode.children[0].active = true
this.iceNode.children[1].active = false; this.iceNode.children[1].active = false;
this.iceNode.children[2].active = false;
} }
if(cc.fx.GameConfig.GM_INFO.hammerAmount > 0) { if(cc.fx.GameConfig.GM_INFO.hammerAmount > 0) {
this.hammerNode.children[1].active = true; this.hammerNode.children[1].active = true;
this.hammerNode.children[0].active = false; this.hammerNode.children[0].active = false;
NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.hammerAmount, 35, 15, "mul", this.hammerNode.children[1], true); this.hammerNode.children[2].active = true;
NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.hammerAmount, 20, 15, "mul", this.hammerNode.children[2], true);
} else { } else {
this.hammerNode.children[0].active = true; this.hammerNode.children[0].active = true;
this.hammerNode.children[1].active = false; this.hammerNode.children[1].active = false;
this.hammerNode.children[2].active = false;
} }
if(cc.fx.GameConfig.GM_INFO.magicAmount > 0) { if(cc.fx.GameConfig.GM_INFO.magicAmount > 0) {
this.magicNode.children[1].active = true; this.magicNode.children[1].active = true;
this.magicNode.children[0].active = false; this.magicNode.children[0].active = false;
NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.magicAmount, 35, 15, "mul", this.magicNode.children[1], true); this.magicNode.children[2].active = true;
NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.magicAmount, 20, 15, "mul", this.magicNode.children[2], true);
} else { } else {
this.magicNode.children[0].active = true this.magicNode.children[0].active = true
this.magicNode.children[1].active = false; this.magicNode.children[1].active = false;
this.magicNode.children[2].active = false;
} }
} }
startUpdate() { startUpdate() {
if (this.gameStart == false) { if (this.gameStart == false) {
this.gameStart = true; this.gameStart = true;
//发送数数事件——进入关卡 //发送数数事件——进入关卡
console.log("准备进入下一关,发送下一关进入"); console.log("准备进入下一关,发送下一关进入");
if((cc.fx.GameConfig.GM_INFO.level + 1) == 1) {
this.guideNode.getComponent(Animation).stop();
this.guideNode.active = false;
}
cc.fx.GameTool.shushu_Track("enter_stage"); cc.fx.GameTool.shushu_Track("enter_stage");
this.startTimeCutDown(); this.startTimeCutDown();
} }
@ -308,6 +318,12 @@ export default class MapConroler extends cc.Component {
this.wallInit(); this.wallInit();
this.blockInit(); this.blockInit();
if((cc.fx.GameConfig.GM_INFO.level + 1) == 1) {
// 如果是第一关,显示引导
this.guideNode.active = true;
this.guideNode.zIndex = 1000;
this.guideNode.getComponent(Animation).play();
}
} }

View File

@ -118,7 +118,7 @@ export default class SceneManager extends cc.Component {
this.node.getChildByName("Game").getChildByName("bg").getComponent(cc.Sprite).spriteFrame = spriteFrame; this.node.getChildByName("Game").getChildByName("bg").getComponent(cc.Sprite).spriteFrame = spriteFrame;
}) })
NumberToImage.numberToImageNodes((cc.fx.GameConfig.GM_INFO.level + 1), 25, 15, "level_", this.level, false); NumberToImage.numberToImageNodes((cc.fx.GameConfig.GM_INFO.level+1), 43, 15, "level_", this.level, true);
//time金币数量 //time金币数量
NumberToImage.numberToImageNodes(1000, 25, 15, "button_", this.timeCoin, false); NumberToImage.numberToImageNodes(1000, 25, 15, "button_", this.timeCoin, false);
} }

View File

@ -3,28 +3,50 @@
"_name": "guide", "_name": "guide",
"_objFlags": 0, "_objFlags": 0,
"_native": "", "_native": "",
"_duration": 1.1666666666666667, "_duration": 2.0166666666666666,
"sample": 60, "sample": 60,
"speed": 1, "speed": 1,
"wrapMode": 2, "wrapMode": 2,
"curveData": { "curveData": {
"props": { "props": {
"opacity": [
{
"frame": 0,
"value": 254
},
{
"frame": 0.016666666666666666,
"value": 254
},
{
"frame": 1,
"value": 255
}
],
"y": [ "y": [
{ {
"frame": 0, "frame": 0,
"value": 60 "value": 91.1797753
}, },
{ {
"frame": 0.6833333333333333, "frame": 0.016666666666666666,
"value": 360 "value": -15
}, },
{ {
"frame": 0.7, "frame": 1,
"value": 60 "value": -15
}, },
{ {
"frame": 1.1666666666666667, "frame": 1.0166666666666666,
"value": 61.5 "value": -15
},
{
"frame": 2,
"value": 255
},
{
"frame": 2.0166666666666666,
"value": 255
} }
] ]
} }

BIN
assets/shop/img/chuji.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

View File

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "6fb3cc31-ec10-41b8-b38c-34ec03eacf8b",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 994,
"height": 426,
"platformSettings": {},
"subMetas": {
"chuji": {
"ver": "1.0.6",
"uuid": "4f636b08-160e-44dc-96c7-4d19c8fab939",
"importer": "sprite-frame",
"rawTextureUuid": "6fb3cc31-ec10-41b8-b38c-34ec03eacf8b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -2,
"trimX": 0,
"trimY": 4,
"width": 994,
"height": 422,
"rawWidth": 994,
"rawHeight": 426,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

BIN
assets/shop/img/gaoji.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

View File

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "068d45e2-1f2a-4a81-af5e-90700ce0f83e",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 994,
"height": 426,
"platformSettings": {},
"subMetas": {
"gaoji": {
"ver": "1.0.6",
"uuid": "7a8bfae9-98ac-416f-8e05-10dc687389d7",
"importer": "sprite-frame",
"rawTextureUuid": "068d45e2-1f2a-4a81-af5e-90700ce0f83e",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 994,
"height": 426,
"rawWidth": 994,
"rawHeight": 426,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 448 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -9,7 +9,7 @@
"genMipmaps": false, "genMipmaps": false,
"packable": true, "packable": true,
"width": 1080, "width": 1080,
"height": 436, "height": 522,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"shop_1": { "shop_1": {
@ -25,9 +25,9 @@
"trimX": 0, "trimX": 0,
"trimY": 0, "trimY": 0,
"width": 1080, "width": 1080,
"height": 436, "height": 522,
"rawWidth": 1080, "rawWidth": 1080,
"rawHeight": 436, "rawHeight": 522,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,

BIN
assets/shop/img/shop_2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 932 KiB

View File

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "d0d3a854-9f5c-486f-8a9e-ebd1c96b68b5",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1080,
"height": 2340,
"platformSettings": {},
"subMetas": {
"shop_2": {
"ver": "1.0.6",
"uuid": "1880f261-dd18-4e9e-9f49-b2f194d5ef8f",
"importer": "sprite-frame",
"rawTextureUuid": "d0d3a854-9f5c-486f-8a9e-ebd1c96b68b5",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1080,
"height": 2340,
"rawWidth": 1080,
"rawHeight": 2340,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

View File

@ -11,11 +11,11 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{47,49}</string> <string>{47,63}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{47,49}</string> <string>{47,63}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{72,68},{47,49}}</string> <string>{{0,0},{47,63}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -26,11 +26,11 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{23,51}</string> <string>{47,63}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{23,51}</string> <string>{47,63}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{1,72},{23,51}}</string> <string>{{47,0},{47,63}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -41,56 +41,11 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{19,23}</string> <string>{47,63}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{19,23}</string> <string>{47,63}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{319,42},{19,23}}</string> <string>{{470,0},{47,63}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>coins_sz11.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{39,47}</string>
<key>spriteSourceSize</key>
<string>{39,47}</string>
<key>textureRect</key>
<string>{{121,68},{39,47}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>coins_sz12.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{64,65}</string>
<key>spriteSourceSize</key>
<string>{64,65}</string>
<key>textureRect</key>
<string>{{70,1},{64,65}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>coins_sz13.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{67,69}</string>
<key>spriteSourceSize</key>
<string>{67,69}</string>
<key>textureRect</key>
<string>{{1,1},{67,69}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -101,11 +56,11 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{44,50}</string> <string>{47,63}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{44,50}</string> <string>{47,63}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{26,72},{44,50}}</string> <string>{{94,0},{47,63}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -116,13 +71,13 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{44,61}</string> <string>{47,63}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{44,61}</string> <string>{47,63}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{207,66},{44,61}}</string> <string>{{141,0},{47,63}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>coins_sz4.png</key> <key>coins_sz4.png</key>
<dict> <dict>
@ -131,11 +86,11 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{44,63}</string> <string>{47,63}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{44,63}</string> <string>{47,63}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{136,1},{44,63}}</string> <string>{{188,0},{47,63}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -146,11 +101,11 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{42,60}</string> <string>{47,63}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{42,60}</string> <string>{47,63}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{314,63},{42,60}}</string> <string>{{235,0},{47,63}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -161,11 +116,11 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{44,60}</string> <string>{47,63}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{44,60}</string> <string>{47,63}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{273,1},{44,60}}</string> <string>{{282,0},{47,63}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -176,11 +131,11 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{42,59}</string> <string>{47,63}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{42,59}</string> <string>{47,63}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{270,64},{42,59}}</string> <string>{{329,0},{47,63}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -191,11 +146,11 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{44,63}</string> <string>{47,63}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{44,63}</string> <string>{47,63}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{182,1},{44,63}}</string> <string>{{376,0},{47,63}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -206,11 +161,11 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{43,61}</string> <string>{47,63}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{43,61}</string> <string>{47,63}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{228,1},{43,61}}</string> <string>{{423,0},{47,63}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -221,11 +176,11 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{30,38}</string> <string>{43,46}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{30,38}</string> <string>{43,46}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{348,1},{30,38}}</string> <string>{{517,0},{43,46}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -236,13 +191,13 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{16,36}</string> <string>{43,46}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{16,36}</string> <string>{43,46}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{344,42},{16,36}}</string> <string>{{560,0},{43,46}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>cost_10.png</key> <key>cost_10.png</key>
<dict> <dict>
@ -251,26 +206,11 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{9,10}</string> <string>{47,42}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{9,10}</string> <string>{47,42}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{162,114},{9,10}}</string> <string>{{947,0},{47,42}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>cost_11.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{33,33}</string>
<key>spriteSourceSize</key>
<string>{33,33}</string>
<key>textureRect</key>
<string>{{415,87},{33,33}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -281,11 +221,11 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{25,37}</string> <string>{43,46}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{25,37}</string> <string>{43,46}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{388,80},{25,37}}</string> <string>{{603,0},{43,46}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -296,11 +236,11 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{23,37}</string> <string>{43,46}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{23,37}</string> <string>{43,46}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{382,41},{23,37}}</string> <string>{{646,0},{43,46}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -311,11 +251,11 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{28,37}</string> <string>{43,46}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{28,37}</string> <string>{43,46}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{358,80},{28,37}}</string> <string>{{689,0},{43,46}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -326,13 +266,13 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{25,36}</string> <string>{43,46}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{25,36}</string> <string>{43,46}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{415,60},{25,36}}</string> <string>{{732,0},{43,46}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>cost_6.png</key> <key>cost_6.png</key>
<dict> <dict>
@ -341,11 +281,11 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{26,38}</string> <string>{43,46}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{26,38}</string> <string>{43,46}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{380,1},{26,38}}</string> <string>{{775,0},{43,46}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
@ -356,13 +296,13 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{29,37}</string> <string>{43,46}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{29,37}</string> <string>{43,46}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{408,29},{29,37}}</string> <string>{{818,0},{43,46}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>cost_8.png</key> <key>cost_8.png</key>
<dict> <dict>
@ -371,13 +311,13 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{26,38}</string> <string>{43,46}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{26,38}</string> <string>{43,46}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{408,1},{26,38}}</string> <string>{{861,0},{43,46}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
<key>cost_9.png</key> <key>cost_9.png</key>
<dict> <dict>
@ -386,28 +326,28 @@
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{27,39}</string> <string>{43,46}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{27,39}</string> <string>{43,46}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{319,1},{27,39}}</string> <string>{{904,0},{43,46}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<false/> <false/>
</dict> </dict>
<key>cost_yuan.png</key> <key>x.png</key>
<dict> <dict>
<key>aliases</key> <key>aliases</key>
<array/> <array/>
<key>spriteOffset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>spriteSize</key> <key>spriteSize</key>
<string>{46,43}</string> <string>{22,22}</string>
<key>spriteSourceSize</key> <key>spriteSourceSize</key>
<string>{46,43}</string> <string>{22,22}</string>
<key>textureRect</key> <key>textureRect</key>
<string>{{162,66},{46,43}}</string> <string>{{994,0},{22,22}}</string>
<key>textureRotated</key> <key>textureRotated</key>
<true/> <false/>
</dict> </dict>
</dict> </dict>
<key>metadata</key> <key>metadata</key>
@ -421,9 +361,9 @@
<key>realTextureFileName</key> <key>realTextureFileName</key>
<string>shuzi.png</string> <string>shuzi.png</string>
<key>size</key> <key>size</key>
<string>{452,124}</string> <string>{1016,63}</string>
<key>smartupdate</key> <key>smartupdate</key>
<string>$TexturePacker:SmartUpdate:8c3cfc1457784699e71137301f770832:95b2536c4bbcfe6d3258b23f832effb5:8dfcd9ca55e684c31f5e6d4475a4bd24$</string> <string>$TexturePacker:SmartUpdate:7fc5f8409a6a30db5c2e5e1119a6a868:6d129b5295e79b77ea6b6441ca74f3c5:8dfcd9ca55e684c31f5e6d4475a4bd24$</string>
<key>textureFileName</key> <key>textureFileName</key>
<string>shuzi.png</string> <string>shuzi.png</string>
</dict> </dict>

View File

@ -4,8 +4,8 @@
"importer": "asset", "importer": "asset",
"rawTextureUuid": "1b0e3a45-c168-4de9-b34e-9f9fa9d30fef", "rawTextureUuid": "1b0e3a45-c168-4de9-b34e-9f9fa9d30fef",
"size": { "size": {
"width": 452, "width": 1016,
"height": 124 "height": 63
}, },
"type": "Texture Packer", "type": "Texture Packer",
"subMetas": { "subMetas": {
@ -19,12 +19,12 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 72, "trimX": 0,
"trimY": 68, "trimY": 0,
"width": 47, "width": 47,
"height": 49, "height": 63,
"rawWidth": 47, "rawWidth": 47,
"rawHeight": 49, "rawHeight": 63,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@ -42,12 +42,12 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 1, "trimX": 47,
"trimY": 72, "trimY": 0,
"width": 23, "width": 47,
"height": 51, "height": 63,
"rawWidth": 23, "rawWidth": 47,
"rawHeight": 51, "rawHeight": 63,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@ -62,84 +62,15 @@
"rawTextureUuid": "1b0e3a45-c168-4de9-b34e-9f9fa9d30fef", "rawTextureUuid": "1b0e3a45-c168-4de9-b34e-9f9fa9d30fef",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 319,
"trimY": 42,
"width": 19,
"height": 23,
"rawWidth": 19,
"rawHeight": 23,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"coins_sz11.png": {
"ver": "1.0.6",
"uuid": "86abe80b-15ed-4c52-892e-7ced36bbbea5",
"importer": "sprite-frame",
"rawTextureUuid": "1b0e3a45-c168-4de9-b34e-9f9fa9d30fef",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 121, "trimX": 470,
"trimY": 68, "trimY": 0,
"width": 39, "width": 47,
"height": 47, "height": 63,
"rawWidth": 39, "rawWidth": 47,
"rawHeight": 47, "rawHeight": 63,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"coins_sz12.png": {
"ver": "1.0.6",
"uuid": "a69c275d-feb7-4eb6-aa11-104d24cf2da0",
"importer": "sprite-frame",
"rawTextureUuid": "1b0e3a45-c168-4de9-b34e-9f9fa9d30fef",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 70,
"trimY": 1,
"width": 64,
"height": 65,
"rawWidth": 64,
"rawHeight": 65,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"coins_sz13.png": {
"ver": "1.0.6",
"uuid": "d5ac310b-0de6-4b85-9854-eceb6dbf39f5",
"importer": "sprite-frame",
"rawTextureUuid": "1b0e3a45-c168-4de9-b34e-9f9fa9d30fef",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1,
"trimY": 1,
"width": 67,
"height": 69,
"rawWidth": 67,
"rawHeight": 69,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@ -157,12 +88,12 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 26, "trimX": 94,
"trimY": 72, "trimY": 0,
"width": 44, "width": 47,
"height": 50, "height": 63,
"rawWidth": 44, "rawWidth": 47,
"rawHeight": 50, "rawHeight": 63,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@ -177,15 +108,15 @@
"rawTextureUuid": "1b0e3a45-c168-4de9-b34e-9f9fa9d30fef", "rawTextureUuid": "1b0e3a45-c168-4de9-b34e-9f9fa9d30fef",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": true, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 207, "trimX": 141,
"trimY": 66, "trimY": 0,
"width": 44, "width": 47,
"height": 61, "height": 63,
"rawWidth": 44, "rawWidth": 47,
"rawHeight": 61, "rawHeight": 63,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@ -203,11 +134,11 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 136, "trimX": 188,
"trimY": 1, "trimY": 0,
"width": 44, "width": 47,
"height": 63, "height": 63,
"rawWidth": 44, "rawWidth": 47,
"rawHeight": 63, "rawHeight": 63,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
@ -226,12 +157,12 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 314, "trimX": 235,
"trimY": 63, "trimY": 0,
"width": 42, "width": 47,
"height": 60, "height": 63,
"rawWidth": 42, "rawWidth": 47,
"rawHeight": 60, "rawHeight": 63,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@ -249,12 +180,12 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 273, "trimX": 282,
"trimY": 1, "trimY": 0,
"width": 44, "width": 47,
"height": 60, "height": 63,
"rawWidth": 44, "rawWidth": 47,
"rawHeight": 60, "rawHeight": 63,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@ -272,12 +203,12 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 270, "trimX": 329,
"trimY": 64, "trimY": 0,
"width": 42, "width": 47,
"height": 59, "height": 63,
"rawWidth": 42, "rawWidth": 47,
"rawHeight": 59, "rawHeight": 63,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@ -295,11 +226,11 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 182, "trimX": 376,
"trimY": 1, "trimY": 0,
"width": 44, "width": 47,
"height": 63, "height": 63,
"rawWidth": 44, "rawWidth": 47,
"rawHeight": 63, "rawHeight": 63,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
@ -318,12 +249,12 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 228, "trimX": 423,
"trimY": 1, "trimY": 0,
"width": 43, "width": 47,
"height": 61, "height": 63,
"rawWidth": 43, "rawWidth": 47,
"rawHeight": 61, "rawHeight": 63,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@ -341,12 +272,12 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 348, "trimX": 517,
"trimY": 1, "trimY": 0,
"width": 30, "width": 43,
"height": 38, "height": 46,
"rawWidth": 30, "rawWidth": 43,
"rawHeight": 38, "rawHeight": 46,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@ -361,15 +292,15 @@
"rawTextureUuid": "1b0e3a45-c168-4de9-b34e-9f9fa9d30fef", "rawTextureUuid": "1b0e3a45-c168-4de9-b34e-9f9fa9d30fef",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": true, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 344, "trimX": 560,
"trimY": 42, "trimY": 0,
"width": 16, "width": 43,
"height": 36, "height": 46,
"rawWidth": 16, "rawWidth": 43,
"rawHeight": 36, "rawHeight": 46,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@ -384,38 +315,15 @@
"rawTextureUuid": "1b0e3a45-c168-4de9-b34e-9f9fa9d30fef", "rawTextureUuid": "1b0e3a45-c168-4de9-b34e-9f9fa9d30fef",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 162,
"trimY": 114,
"width": 9,
"height": 10,
"rawWidth": 9,
"rawHeight": 10,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"cost_11.png": {
"ver": "1.0.6",
"uuid": "c5b62989-f18e-41f8-a950-68be1c4be79a",
"importer": "sprite-frame",
"rawTextureUuid": "1b0e3a45-c168-4de9-b34e-9f9fa9d30fef",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 415, "trimX": 947,
"trimY": 87, "trimY": 0,
"width": 33, "width": 47,
"height": 33, "height": 42,
"rawWidth": 33, "rawWidth": 47,
"rawHeight": 33, "rawHeight": 42,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@ -433,12 +341,12 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 388, "trimX": 603,
"trimY": 80, "trimY": 0,
"width": 25, "width": 43,
"height": 37, "height": 46,
"rawWidth": 25, "rawWidth": 43,
"rawHeight": 37, "rawHeight": 46,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@ -456,12 +364,12 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 382, "trimX": 646,
"trimY": 41, "trimY": 0,
"width": 23, "width": 43,
"height": 37, "height": 46,
"rawWidth": 23, "rawWidth": 43,
"rawHeight": 37, "rawHeight": 46,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@ -479,12 +387,12 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 358, "trimX": 689,
"trimY": 80, "trimY": 0,
"width": 28, "width": 43,
"height": 37, "height": 46,
"rawWidth": 28, "rawWidth": 43,
"rawHeight": 37, "rawHeight": 46,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@ -499,15 +407,15 @@
"rawTextureUuid": "1b0e3a45-c168-4de9-b34e-9f9fa9d30fef", "rawTextureUuid": "1b0e3a45-c168-4de9-b34e-9f9fa9d30fef",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": true, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 415, "trimX": 732,
"trimY": 60, "trimY": 0,
"width": 25, "width": 43,
"height": 36, "height": 46,
"rawWidth": 25, "rawWidth": 43,
"rawHeight": 36, "rawHeight": 46,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@ -525,12 +433,12 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 380, "trimX": 775,
"trimY": 1, "trimY": 0,
"width": 26, "width": 43,
"height": 38, "height": 46,
"rawWidth": 26, "rawWidth": 43,
"rawHeight": 38, "rawHeight": 46,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@ -545,15 +453,15 @@
"rawTextureUuid": "1b0e3a45-c168-4de9-b34e-9f9fa9d30fef", "rawTextureUuid": "1b0e3a45-c168-4de9-b34e-9f9fa9d30fef",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": true, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 408, "trimX": 818,
"trimY": 29, "trimY": 0,
"width": 29, "width": 43,
"height": 37, "height": 46,
"rawWidth": 29, "rawWidth": 43,
"rawHeight": 37, "rawHeight": 46,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@ -568,15 +476,15 @@
"rawTextureUuid": "1b0e3a45-c168-4de9-b34e-9f9fa9d30fef", "rawTextureUuid": "1b0e3a45-c168-4de9-b34e-9f9fa9d30fef",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": true, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 408, "trimX": 861,
"trimY": 1, "trimY": 0,
"width": 26, "width": 43,
"height": 38, "height": 46,
"rawWidth": 26, "rawWidth": 43,
"rawHeight": 38, "rawHeight": 46,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@ -594,12 +502,12 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 319, "trimX": 904,
"trimY": 1, "trimY": 0,
"width": 27, "width": 43,
"height": 39, "height": 46,
"rawWidth": 27, "rawWidth": 43,
"rawHeight": 39, "rawHeight": 46,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@ -607,22 +515,22 @@
"spriteType": "normal", "spriteType": "normal",
"subMetas": {} "subMetas": {}
}, },
"cost_yuan.png": { "x.png": {
"ver": "1.0.6", "ver": "1.0.6",
"uuid": "8becca83-dce4-46e0-8d90-a3d85c978728", "uuid": "39d7fe7c-990b-45b0-8693-88548695278b",
"importer": "sprite-frame", "importer": "sprite-frame",
"rawTextureUuid": "1b0e3a45-c168-4de9-b34e-9f9fa9d30fef", "rawTextureUuid": "1b0e3a45-c168-4de9-b34e-9f9fa9d30fef",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": true, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 162, "trimX": 994,
"trimY": 66, "trimY": 0,
"width": 46, "width": 22,
"height": 43, "height": 22,
"rawWidth": 46, "rawWidth": 22,
"rawHeight": 43, "rawHeight": 22,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View File

@ -8,8 +8,8 @@
"premultiplyAlpha": false, "premultiplyAlpha": false,
"genMipmaps": false, "genMipmaps": false,
"packable": true, "packable": true,
"width": 452, "width": 1016,
"height": 124, "height": 63,
"platformSettings": {}, "platformSettings": {},
"subMetas": {} "subMetas": {}
} }

View File

@ -4,190 +4,353 @@
<dict> <dict>
<key>frames</key> <key>frames</key>
<dict> <dict>
<key>txt1.png</key> <key>1h.png</key>
<dict> <dict>
<key>frame</key> <key>aliases</key>
<string>{{0,0},{907,62}}</string> <array/>
<key>offset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>rotated</key> <key>spriteSize</key>
<string>{135,38}</string>
<key>spriteSourceSize</key>
<string>{135,38}</string>
<key>textureRect</key>
<string>{{285,0},{135,38}}</string>
<key>textureRotated</key>
<false/> <false/>
<key>sourceColorRect</key>
<string>{{0,0},{907,62}}</string>
<key>sourceSize</key>
<string>{907,62}</string>
</dict> </dict>
<key>txt2.png</key> <key>2h.png</key>
<dict> <dict>
<key>frame</key> <key>aliases</key>
<string>{{0,63},{907,63}}</string> <array/>
<key>offset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>rotated</key> <key>spriteSize</key>
<string>{135,38}</string>
<key>spriteSourceSize</key>
<string>{135,38}</string>
<key>textureRect</key>
<string>{{420,0},{135,38}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>30.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{130,38}</string>
<key>spriteSourceSize</key>
<string>{130,38}</string>
<key>textureRect</key>
<string>{{155,0},{130,38}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>30m.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{135,38}</string>
<key>spriteSourceSize</key>
<string>{135,38}</string>
<key>textureRect</key>
<string>{{555,0},{135,38}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>30min.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{162,38}</string>
<key>spriteSourceSize</key>
<string>{162,38}</string>
<key>textureRect</key>
<string>{{989,0},{162,38}}</string>
<key>textureRotated</key>
<false/> <false/>
<key>sourceColorRect</key>
<string>{{0,0},{907,63}}</string>
<key>sourceSize</key>
<string>{907,63}</string>
</dict> </dict>
<key>btn1.png</key> <key>btn1.png</key>
<dict> <dict>
<key>frame</key> <key>aliases</key>
<string>{{0,127},{99,531}}</string> <array/>
<key>offset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>rotated</key> <key>spriteSize</key>
<true/> <string>{96,102}</string>
<key>sourceColorRect</key> <key>spriteSourceSize</key>
<string>{{0,0},{99,531}}</string> <string>{96,102}</string>
<key>sourceSize</key> <key>textureRect</key>
<string>{99,531}</string> <string>{{59,0},{96,102}}</string>
</dict> <key>textureRotated</key>
<key>coins_di.png</key>
<dict>
<key>frame</key>
<string>{{0,227},{327,454}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{327,454}}</string>
<key>sourceSize</key>
<string>{327,454}</string>
</dict>
<key>coins6.png</key>
<dict>
<key>frame</key>
<string>{{455,227},{240,182}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{240,182}}</string>
<key>sourceSize</key>
<string>{240,182}</string>
</dict>
<key>coins5.png</key>
<dict>
<key>frame</key>
<string>{{638,127},{231,169}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/> <false/>
<key>sourceColorRect</key>
<string>{{0,0},{231,169}}</string>
<key>sourceSize</key>
<string>{231,169}</string>
</dict> </dict>
<key>coins8.png</key> <key>buy.png</key>
<dict> <dict>
<key>frame</key> <key>aliases</key>
<string>{{638,297},{213,195}}</string> <array/>
<key>offset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>rotated</key> <key>spriteSize</key>
<true/> <string>{464,132}</string>
<key>sourceColorRect</key> <key>spriteSourceSize</key>
<string>{{0,0},{213,195}}</string> <string>{464,132}</string>
<key>sourceSize</key> <key>textureRect</key>
<string>{213,195}</string> <string>{{0,694},{464,132}}</string>
</dict> <key>textureRotated</key>
<key>tx.png</key> <false/>
<dict>
<key>frame</key>
<string>{{0,555},{188,207}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{188,207}}</string>
<key>sourceSize</key>
<string>{188,207}</string>
</dict> </dict>
<key>coins1.png</key> <key>coins1.png</key>
<dict> <dict>
<key>frame</key> <key>aliases</key>
<string>{{455,511},{206,141}}</string> <array/>
<key>offset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>rotated</key> <key>spriteSize</key>
<true/> <string>{246,246}</string>
<key>sourceColorRect</key> <key>spriteSourceSize</key>
<string>{{0,0},{206,141}}</string> <string>{246,246}</string>
<key>sourceSize</key> <key>textureRect</key>
<string>{206,141}</string> <string>{{1339,0},{246,246}}</string>
</dict> <key>textureRotated</key>
<key>coins7.png</key>
<dict>
<key>frame</key>
<string>{{208,555},{185,206}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<true/>
<key>sourceColorRect</key>
<string>{{0,0},{185,206}}</string>
<key>sourceSize</key>
<string>{185,206}</string>
</dict>
<key>coins4.png</key>
<dict>
<key>frame</key>
<string>{{597,511},{171,191}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/> <false/>
<key>sourceColorRect</key>
<string>{{0,0},{171,191}}</string>
<key>sourceSize</key>
<string>{171,191}</string>
</dict>
<key>coins3.png</key>
<dict>
<key>frame</key>
<string>{{0,744},{189,165}}</string>
<key>offset</key>
<string>{0,0}</string>
<key>rotated</key>
<false/>
<key>sourceColorRect</key>
<string>{{0,0},{189,165}}</string>
<key>sourceSize</key>
<string>{189,165}</string>
</dict> </dict>
<key>coins2.png</key> <key>coins2.png</key>
<dict> <dict>
<key>frame</key> <key>aliases</key>
<string>{{190,744},{163,151}}</string> <array/>
<key>offset</key> <key>spriteOffset</key>
<string>{0,0}</string> <string>{0,0}</string>
<key>rotated</key> <key>spriteSize</key>
<true/> <string>{246,246}</string>
<key>sourceColorRect</key> <key>spriteSourceSize</key>
<string>{{0,0},{163,151}}</string> <string>{246,246}</string>
<key>sourceSize</key> <key>textureRect</key>
<string>{163,151}</string> <string>{{1585,0},{246,246}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>coins3.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{246,246}</string>
<key>spriteSourceSize</key>
<string>{246,246}</string>
<key>textureRect</key>
<string>{{0,246},{246,246}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>coins4.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{246,246}</string>
<key>spriteSourceSize</key>
<string>{246,246}</string>
<key>textureRect</key>
<string>{{246,246},{246,246}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>coins5.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{246,246}</string>
<key>spriteSourceSize</key>
<string>{246,246}</string>
<key>textureRect</key>
<string>{{492,246},{246,246}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>coins6.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{246,246}</string>
<key>spriteSourceSize</key>
<string>{246,246}</string>
<key>textureRect</key>
<string>{{738,246},{246,246}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>coins7.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{246,246}</string>
<key>spriteSourceSize</key>
<string>{246,246}</string>
<key>textureRect</key>
<string>{{984,246},{246,246}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>coins8.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{246,246}</string>
<key>spriteSourceSize</key>
<string>{246,246}</string>
<key>textureRect</key>
<string>{{1230,246},{246,246}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>coins_di.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{304,448}</string>
<key>spriteSourceSize</key>
<string>{304,448}</string>
<key>textureRect</key>
<string>{{1476,246},{304,448}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>tx.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{188,207}</string>
<key>spriteSourceSize</key>
<string>{188,207}</string>
<key>textureRect</key>
<string>{{1151,0},{188,207}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>txt.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{1080,97}</string>
<key>spriteSourceSize</key>
<string>{1080,97}</string>
<key>textureRect</key>
<string>{{464,694},{1080,97}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>txt1.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{148,65}</string>
<key>spriteSourceSize</key>
<string>{148,65}</string>
<key>textureRect</key>
<string>{{690,0},{148,65}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>txt2.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{151,65}</string>
<key>spriteSourceSize</key>
<string>{151,65}</string>
<key>textureRect</key>
<string>{{838,0},{151,65}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>x.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{22,22}</string>
<key>spriteSourceSize</key>
<string>{22,22}</string>
<key>textureRect</key>
<string>{{0,0},{22,22}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>yuan.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{37,40}</string>
<key>spriteSourceSize</key>
<string>{37,40}</string>
<key>textureRect</key>
<string>{{22,0},{37,40}}</string>
<key>textureRotated</key>
<false/>
</dict> </dict>
</dict> </dict>
<key>metadata</key> <key>metadata</key>
<dict> <dict>
<key>format</key> <key>format</key>
<integer>2</integer> <integer>3</integer>
<key>pixelFormat</key> <key>pixelFormat</key>
<string>RGBA8888</string> <string>RGBA8888</string>
<key>premultiplyAlpha</key> <key>premultiplyAlpha</key>
<false/> <false/>
<key>realTextureFileName</key> <key>realTextureFileName</key>
<string>texture_atlas-1.png</string> <string>texture_atlas-1.png</string>
<key>size</key>
<string>{1831,826}</string>
<key>smartupdate</key>
<string>$TexturePacker:SmartUpdate:e0bad28c4bea660ba5d4e0058ef1eda6:15980586016e2ee5f049534baa0cb64a:7574d8513b69ec3112d43152279b5c18$</string>
<key>textureFileName</key> <key>textureFileName</key>
<string>texture_atlas-1.png</string> <string>texture_atlas-1.png</string>
<key>size</key>
<string>{907,909}</string>
</dict> </dict>
</dict> </dict>
</plist> </plist>

View File

@ -4,14 +4,14 @@
"importer": "asset", "importer": "asset",
"rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897", "rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897",
"size": { "size": {
"width": 907, "width": 1831,
"height": 909 "height": 826
}, },
"type": "Texture Packer", "type": "Texture Packer",
"subMetas": { "subMetas": {
"txt1.png": { "1h.png": {
"ver": "1.0.6", "ver": "1.0.6",
"uuid": "84d4bdb5-6201-47d1-8fb9-603ee940f4a7", "uuid": "af15d004-82c1-403a-99f8-a2e703a2781d",
"importer": "sprite-frame", "importer": "sprite-frame",
"rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897", "rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897",
"trimType": "auto", "trimType": "auto",
@ -19,12 +19,12 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 0, "trimX": 285,
"trimY": 0, "trimY": 0,
"width": 907, "width": 135,
"height": 62, "height": 38,
"rawWidth": 907, "rawWidth": 135,
"rawHeight": 62, "rawHeight": 38,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@ -32,9 +32,9 @@
"spriteType": "normal", "spriteType": "normal",
"subMetas": {} "subMetas": {}
}, },
"txt2.png": { "2h.png": {
"ver": "1.0.6", "ver": "1.0.6",
"uuid": "313d8396-8433-4974-ae28-555f3f846f06", "uuid": "636ed2f1-50bf-4d66-a5b1-9dd7509fc277",
"importer": "sprite-frame", "importer": "sprite-frame",
"rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897", "rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897",
"trimType": "auto", "trimType": "auto",
@ -42,12 +42,81 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 0, "trimX": 420,
"trimY": 63, "trimY": 0,
"width": 907, "width": 135,
"height": 63, "height": 38,
"rawWidth": 907, "rawWidth": 135,
"rawHeight": 63, "rawHeight": 38,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"30.png": {
"ver": "1.0.6",
"uuid": "793ce71a-76e4-4047-97c7-8bab5465d83d",
"importer": "sprite-frame",
"rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 155,
"trimY": 0,
"width": 130,
"height": 38,
"rawWidth": 130,
"rawHeight": 38,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"30m.png": {
"ver": "1.0.6",
"uuid": "02908464-0e59-4c42-b46f-86094d5c9c38",
"importer": "sprite-frame",
"rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 555,
"trimY": 0,
"width": 135,
"height": 38,
"rawWidth": 135,
"rawHeight": 38,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"30min.png": {
"ver": "1.0.6",
"uuid": "bb238782-ccf7-4b3f-89e7-7ec99a5e39b2",
"importer": "sprite-frame",
"rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 989,
"trimY": 0,
"width": 162,
"height": 38,
"rawWidth": 162,
"rawHeight": 38,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@ -62,15 +131,15 @@
"rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897", "rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": true, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 0, "trimX": 59,
"trimY": 127, "trimY": 0,
"width": 99, "width": 96,
"height": 531, "height": 102,
"rawWidth": 99, "rawWidth": 96,
"rawHeight": 531, "rawHeight": 102,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@ -78,55 +147,9 @@
"spriteType": "normal", "spriteType": "normal",
"subMetas": {} "subMetas": {}
}, },
"coins_di.png": { "buy.png": {
"ver": "1.0.6", "ver": "1.0.6",
"uuid": "7788da8f-ccb8-4cb4-9a46-1dd01f6186c7", "uuid": "979ff69f-0560-48a5-a2c2-f5e20ab99171",
"importer": "sprite-frame",
"rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 227,
"width": 327,
"height": 454,
"rawWidth": 327,
"rawHeight": 454,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"coins6.png": {
"ver": "1.0.6",
"uuid": "c389d164-d286-4ba4-821b-939aed4a86ba",
"importer": "sprite-frame",
"rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 455,
"trimY": 227,
"width": 240,
"height": 182,
"rawWidth": 240,
"rawHeight": 182,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"coins5.png": {
"ver": "1.0.6",
"uuid": "f067ea7e-f754-4022-a031-e519318d28d8",
"importer": "sprite-frame", "importer": "sprite-frame",
"rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897", "rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897",
"trimType": "auto", "trimType": "auto",
@ -134,58 +157,12 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 638,
"trimY": 127,
"width": 231,
"height": 169,
"rawWidth": 231,
"rawHeight": 169,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"coins8.png": {
"ver": "1.0.6",
"uuid": "eed7ca9b-a5e1-4df8-8b92-2f8039bda198",
"importer": "sprite-frame",
"rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 638,
"trimY": 297,
"width": 213,
"height": 195,
"rawWidth": 213,
"rawHeight": 195,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"tx.png": {
"ver": "1.0.6",
"uuid": "35a8e317-255e-4949-9916-600ad8de57e5",
"importer": "sprite-frame",
"rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 0, "trimX": 0,
"trimY": 555, "trimY": 694,
"width": 188, "width": 464,
"height": 207, "height": 132,
"rawWidth": 188, "rawWidth": 464,
"rawHeight": 207, "rawHeight": 132,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@ -200,15 +177,15 @@
"rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897", "rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": true, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 455, "trimX": 1339,
"trimY": 511, "trimY": 0,
"width": 206, "width": 246,
"height": 141, "height": 246,
"rawWidth": 206, "rawWidth": 246,
"rawHeight": 141, "rawHeight": 246,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@ -216,32 +193,9 @@
"spriteType": "normal", "spriteType": "normal",
"subMetas": {} "subMetas": {}
}, },
"coins7.png": { "coins2.png": {
"ver": "1.0.6", "ver": "1.0.6",
"uuid": "a147d2be-5573-4c90-a507-873ba78247f7", "uuid": "639e99e1-c8c1-4891-b07e-5a08962d0193",
"importer": "sprite-frame",
"rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897",
"trimType": "auto",
"trimThreshold": 1,
"rotated": true,
"offsetX": 0,
"offsetY": 0,
"trimX": 208,
"trimY": 555,
"width": 185,
"height": 206,
"rawWidth": 185,
"rawHeight": 206,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"coins4.png": {
"ver": "1.0.6",
"uuid": "742ec97e-78bc-4998-8ace-80ffe6d8f5eb",
"importer": "sprite-frame", "importer": "sprite-frame",
"rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897", "rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897",
"trimType": "auto", "trimType": "auto",
@ -249,12 +203,12 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 597, "trimX": 1585,
"trimY": 511, "trimY": 0,
"width": 171, "width": 246,
"height": 191, "height": 246,
"rawWidth": 171, "rawWidth": 246,
"rawHeight": 191, "rawHeight": 246,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@ -273,11 +227,11 @@
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 0, "trimX": 0,
"trimY": 744, "trimY": 246,
"width": 189, "width": 246,
"height": 165, "height": 246,
"rawWidth": 189, "rawWidth": 246,
"rawHeight": 165, "rawHeight": 246,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@ -285,22 +239,275 @@
"spriteType": "normal", "spriteType": "normal",
"subMetas": {} "subMetas": {}
}, },
"coins2.png": { "coins4.png": {
"ver": "1.0.6", "ver": "1.0.6",
"uuid": "639e99e1-c8c1-4891-b07e-5a08962d0193", "uuid": "742ec97e-78bc-4998-8ace-80ffe6d8f5eb",
"importer": "sprite-frame", "importer": "sprite-frame",
"rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897", "rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": true, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 190, "trimX": 246,
"trimY": 744, "trimY": 246,
"width": 163, "width": 246,
"height": 151, "height": 246,
"rawWidth": 163, "rawWidth": 246,
"rawHeight": 151, "rawHeight": 246,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"coins5.png": {
"ver": "1.0.6",
"uuid": "f067ea7e-f754-4022-a031-e519318d28d8",
"importer": "sprite-frame",
"rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 492,
"trimY": 246,
"width": 246,
"height": 246,
"rawWidth": 246,
"rawHeight": 246,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"coins6.png": {
"ver": "1.0.6",
"uuid": "c389d164-d286-4ba4-821b-939aed4a86ba",
"importer": "sprite-frame",
"rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 738,
"trimY": 246,
"width": 246,
"height": 246,
"rawWidth": 246,
"rawHeight": 246,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"coins7.png": {
"ver": "1.0.6",
"uuid": "a147d2be-5573-4c90-a507-873ba78247f7",
"importer": "sprite-frame",
"rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 984,
"trimY": 246,
"width": 246,
"height": 246,
"rawWidth": 246,
"rawHeight": 246,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"coins8.png": {
"ver": "1.0.6",
"uuid": "eed7ca9b-a5e1-4df8-8b92-2f8039bda198",
"importer": "sprite-frame",
"rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1230,
"trimY": 246,
"width": 246,
"height": 246,
"rawWidth": 246,
"rawHeight": 246,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"coins_di.png": {
"ver": "1.0.6",
"uuid": "7788da8f-ccb8-4cb4-9a46-1dd01f6186c7",
"importer": "sprite-frame",
"rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1476,
"trimY": 246,
"width": 304,
"height": 448,
"rawWidth": 304,
"rawHeight": 448,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"tx.png": {
"ver": "1.0.6",
"uuid": "23f17079-7397-447a-bb56-20d95acfc987",
"importer": "sprite-frame",
"rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1151,
"trimY": 0,
"width": 188,
"height": 207,
"rawWidth": 188,
"rawHeight": 207,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"txt.png": {
"ver": "1.0.6",
"uuid": "235acd46-ecc5-4d67-8c43-eb46f4900c93",
"importer": "sprite-frame",
"rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 464,
"trimY": 694,
"width": 1080,
"height": 97,
"rawWidth": 1080,
"rawHeight": 97,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"txt1.png": {
"ver": "1.0.6",
"uuid": "84d4bdb5-6201-47d1-8fb9-603ee940f4a7",
"importer": "sprite-frame",
"rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 690,
"trimY": 0,
"width": 148,
"height": 65,
"rawWidth": 148,
"rawHeight": 65,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"txt2.png": {
"ver": "1.0.6",
"uuid": "313d8396-8433-4974-ae28-555f3f846f06",
"importer": "sprite-frame",
"rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 838,
"trimY": 0,
"width": 151,
"height": 65,
"rawWidth": 151,
"rawHeight": 65,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"x.png": {
"ver": "1.0.6",
"uuid": "02c05b53-efa1-4efb-bd26-1cee7c905b72",
"importer": "sprite-frame",
"rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 22,
"height": 22,
"rawWidth": 22,
"rawHeight": 22,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"spriteType": "normal",
"subMetas": {}
},
"yuan.png": {
"ver": "1.0.6",
"uuid": "0e4a6725-4caa-4023-9954-f8f059f2c5a1",
"importer": "sprite-frame",
"rawTextureUuid": "6971355d-0542-42f6-96ec-4244dbcc5897",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 22,
"trimY": 0,
"width": 37,
"height": 40,
"rawWidth": 37,
"rawHeight": 40,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 KiB

After

Width:  |  Height:  |  Size: 536 KiB

View File

@ -8,8 +8,8 @@
"premultiplyAlpha": false, "premultiplyAlpha": false,
"genMipmaps": false, "genMipmaps": false,
"packable": true, "packable": true,
"width": 907, "width": 1833,
"height": 909, "height": 791,
"platformSettings": {}, "platformSettings": {},
"subMetas": {} "subMetas": {}
} }

BIN
assets/shop/img/zhongji.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

View File

@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "afca2733-2900-4888-a017-3aefc64fa4ee",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 994,
"height": 426,
"platformSettings": {},
"subMetas": {
"zhongji": {
"ver": "1.0.6",
"uuid": "abec1490-f0e9-4e27-a6ed-ffdebb522e4c",
"importer": "sprite-frame",
"rawTextureUuid": "afca2733-2900-4888-a017-3aefc64fa4ee",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -0.5,
"trimX": 0,
"trimY": 1,
"width": 994,
"height": 425,
"rawWidth": 994,
"rawHeight": 426,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -18,9 +18,12 @@ export default class NewClass extends cc.Component {
//金币数量 //金币数量
@property(cc.Node) @property(cc.Node)
coin: cc.Node = null; coin: cc.Node = null;
//体力信息
@property(cc.Node)
Stamina: cc.Node = null;
btn_Touch: boolean = true; btn_Touch: boolean = true;
private onShowListener: () => void; private onShowListener: () => void;
private scheduleCallback: Function = null;
onLoad() { onLoad() {
this.btn_Touch = true; this.btn_Touch = true;
// 检测微信小游戏切到后台 // 检测微信小游戏切到后台
@ -36,6 +39,7 @@ export default class NewClass extends cc.Component {
start() { start() {
this.btn_Touch = true; this.btn_Touch = true;
this.openShop(); this.openShop();
this.setHealthInfo();
} }
//打开商店界面 //打开商店界面
openShop() { openShop() {
@ -96,6 +100,61 @@ export default class NewClass extends cc.Component {
} }
} }
setHealthInfo() {
if (cc.fx.GameConfig.GM_INFO.hp >= 5) {
this.Stamina.getChildByName("man").active = true;
this.Stamina.getChildByName("health").active = true;
NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.hp, 25, 15, "hp_", this.Stamina.getChildByName("health"), false);
this.Stamina.getChildByName("time").active = false;
}
else {
this.Stamina.getChildByName("man").active = false;
this.Stamina.getChildByName("health").active = true;
NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.hp, 25, 15, "hp_", this.Stamina.getChildByName("health"), false);
this.Stamina.getChildByName("time").active = true;
if (cc.fx.GameConfig.GM_INFO.min_Time != 0) {
let time = cc.fx.GameTool.getTimeMargin(cc.fx.GameConfig.GM_INFO.min_Time);
this.Stamina.getChildByName("time").getComponent(cc.Label).string = time;
this.startTimeCutDown();
}
}
}
startTimeCutDown() {
this.scheduleCallback = function () {
if (this.pause) return;
if (cc.fx.GameConfig.GM_INFO.min_Time <= 0) {
this.stopTimeCutDown();
var timeTemp = cc.fx.GameTool.getTimeMargin(cc.fx.GameConfig.GM_INFO.min_Time);
// 同步显示
if (this.Stamina && this.Stamina.getChildByName("time")) {
this.Stamina.getChildByName("time").getComponent(cc.Label).string = timeTemp;
}
cc.fx.GameTool.setUserHealth(1, (data) => {
cc.fx.GameTool.getHealth(null);
this.setHealthInfo();
})
}
else {
cc.fx.GameConfig.GM_INFO.min_Time -= 1;
var timeTemp = cc.fx.GameTool.getTimeMargin(cc.fx.GameConfig.GM_INFO.min_Time);
// 同步显示
if (this.Stamina && this.Stamina.getChildByName("time")) {
this.Stamina.getChildByName("time").getComponent(cc.Label).string = timeTemp;
}
}
}.bind(this);
this.schedule(this.scheduleCallback, 1);
}
// 停止倒计时
stopTimeCutDown() {
if (this.scheduleCallback) {
this.unschedule(this.scheduleCallback);
}
}
//点击充值购买 //点击充值购买
buyProduct(event, customData) { buyProduct(event, customData) {
@ -132,6 +191,7 @@ export default class NewClass extends cc.Component {
// 判断设备系统 // 判断设备系统
let systemType = "Android"; let systemType = "Android";
try { try {
//@ts-ignore
const systemInfo = wx.getSystemInfoSync(); const systemInfo = wx.getSystemInfoSync();
if (systemInfo.platform === 'ios') { if (systemInfo.platform === 'ios') {
systemType = "ios"; systemType = "ios";