暂存
This commit is contained in:
parent
f646c4a386
commit
ac9ffa6e61
|
@ -15,9 +15,6 @@
|
|||
"_children": [
|
||||
{
|
||||
"__id__": 2
|
||||
},
|
||||
{
|
||||
"__id__": 578
|
||||
}
|
||||
],
|
||||
"_active": false,
|
||||
|
@ -27524,97 +27521,5 @@
|
|||
},
|
||||
"_enabled": true,
|
||||
"_id": "58DM8oQ6lCUKVXb6q5XYvl"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "stop",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 579
|
||||
}
|
||||
],
|
||||
"_prefab": null,
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 154,
|
||||
"height": 172
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_trs": {
|
||||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
192.639,
|
||||
296.447,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
},
|
||||
"_eulerAngles": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_skewX": 0,
|
||||
"_skewY": 0,
|
||||
"_is3DNode": false,
|
||||
"_groupIndex": 0,
|
||||
"groupIndex": 0,
|
||||
"_id": "3eJ2YsxDRCtZGj/DKDc7/i"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 578
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
{
|
||||
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
||||
}
|
||||
],
|
||||
"_srcBlendFactor": 770,
|
||||
"_dstBlendFactor": 771,
|
||||
"_spriteFrame": null,
|
||||
"_type": 0,
|
||||
"_sizeMode": 1,
|
||||
"_fillType": 0,
|
||||
"_fillCenter": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": null,
|
||||
"_id": "95joh5iDZB1IGmJkAeXXrL"
|
||||
}
|
||||
]
|
|
@ -21,6 +21,11 @@ export default class JiaZai extends cc.Component {
|
|||
// 缓存 shop 节点
|
||||
private shopNode: cc.Node | null = null;
|
||||
|
||||
// 缓存 reward 预制体
|
||||
private static cachedRewardPrefab: cc.Prefab | null = null;
|
||||
// 缓存 reward 奖励窗口 节点
|
||||
private RewardNode: cc.Node | null = null;
|
||||
|
||||
@property(cc.Node)
|
||||
node1: cc.Node = null;
|
||||
|
||||
|
@ -92,6 +97,15 @@ export default class JiaZai extends cc.Component {
|
|||
});
|
||||
});
|
||||
}
|
||||
// 预加载 reward 预制体
|
||||
if (!JiaZai.cachedRewardPrefab) {
|
||||
cc.assetManager.loadBundle('reward', (err: Error, bundle: cc.AssetManager.Bundle) => {
|
||||
if (err) {
|
||||
cc.error(err.message || err);
|
||||
return;
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
if (cc.fx.GameConfig.GM_INFO.first) {
|
||||
|
@ -117,7 +131,7 @@ export default class JiaZai extends cc.Component {
|
|||
register_time: time, // 注册时间
|
||||
}
|
||||
cc.fx.GameTool.shushu_Track("register", data);
|
||||
MiniGameSdk.API.shushu_SetSuperProperties(time);
|
||||
MiniGameSdk.API.shushu_SetSuperProperties(time, false);
|
||||
}
|
||||
cc.fx.AudioManager._instance.playEffect("zhuan1", null);
|
||||
this.node.getChildByName("zhuanchang").active = true;
|
||||
|
@ -367,6 +381,7 @@ export default class JiaZai extends cc.Component {
|
|||
} else {
|
||||
// 非第一次使用,直接激活节点
|
||||
this.shopNode.active = true;
|
||||
this.shopNode.getComponent("shop").init();
|
||||
}
|
||||
// //console.log("shopNode parent:", this.shopNode.parent);
|
||||
}
|
||||
|
@ -482,40 +497,41 @@ export default class JiaZai extends cc.Component {
|
|||
this.openLoad();
|
||||
console.log("补发名称:", order.itemid);
|
||||
let productId = order.itemid;
|
||||
Utils.setPayInfo((res) => {
|
||||
console.log("设置轮训结果:", res);
|
||||
this.closeLoad();
|
||||
if (res.code === 1) {
|
||||
console.log("7.14_________正式发货");
|
||||
let coinTemp = 0;
|
||||
if (order.itemid == "gold_1") { coinTemp = 1200; }
|
||||
else if (order.itemid == "gold_2") { coinTemp = 8000; }
|
||||
else if (order.itemid == "gold_3") { coinTemp = 16000; }
|
||||
else if (order.itemid == "gold_4") { coinTemp = 32000; }
|
||||
else if (order.itemid == "gold_5") { coinTemp = 100000; }
|
||||
else if (order.itemid == "gold_6") { coinTemp = 240000; }
|
||||
let title = "充值补发奖励金币:" + coinTemp;
|
||||
MiniGameSdk.API.showToast(title);
|
||||
cc.fx.GameTool.shopBuy(productId);
|
||||
console.log("充值成功获得金币");
|
||||
} else {
|
||||
MiniGameSdk.API.showToast("网络异常,充值奖励将在登录后再次发放");
|
||||
const dataFail4 = {
|
||||
outTradeNo: Utils.outTradeNo,
|
||||
price: parseInt(order.goodsPrice),
|
||||
payment_name: productId,
|
||||
payment_num: 1,
|
||||
type: systemType,
|
||||
fail_reason: "成功付款,但是发货时请求服务器失败,重新进入游戏后轮训发货又失败",
|
||||
Utils.setPayInfo(
|
||||
(res) => {
|
||||
console.log("设置轮训结果:", res);
|
||||
this.closeLoad();
|
||||
if (res.code === 1) {
|
||||
console.log("7.14_________正式发货");
|
||||
let coinTemp = 0;
|
||||
if (order.itemid == "gold_1") { coinTemp = 1200; }
|
||||
else if (order.itemid == "gold_2") { coinTemp = 8000; }
|
||||
else if (order.itemid == "gold_3") { coinTemp = 16000; }
|
||||
else if (order.itemid == "gold_4") { coinTemp = 32000; }
|
||||
else if (order.itemid == "gold_5") { coinTemp = 100000; }
|
||||
else if (order.itemid == "gold_6") { coinTemp = 240000; }
|
||||
let title = "充值补发奖励金币:" + coinTemp;
|
||||
MiniGameSdk.API.showToast(title);
|
||||
cc.fx.GameTool.shopBuy(productId);
|
||||
console.log("充值成功获得金币");
|
||||
} else {
|
||||
MiniGameSdk.API.showToast("网络异常,充值奖励将在登录后再次发放");
|
||||
const dataFail4 = {
|
||||
outTradeNo: Utils.outTradeNo,
|
||||
price: parseInt(order.goodsPrice),
|
||||
payment_name: productId,
|
||||
payment_num: 1,
|
||||
type: systemType,
|
||||
fail_reason: "成功付款,但是发货时请求服务器失败,重新进入游戏后轮训发货又失败",
|
||||
}
|
||||
cc.fx.GameTool.shushu_Track("payment_fail", dataFail4);
|
||||
}
|
||||
cc.fx.GameTool.shushu_Track("payment_fail", dataFail4);
|
||||
}
|
||||
NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.coin, 30, 15, "coin_", this.coin, true);
|
||||
this.updateCoin();
|
||||
NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.coin, 30, 15, "coin_", this.coin, true);
|
||||
this.updateCoin();
|
||||
|
||||
// 处理下一个订单
|
||||
processOrder(index + 1);
|
||||
}, order.outTradeNo);
|
||||
// 处理下一个订单
|
||||
processOrder(index + 1);
|
||||
}, order.outTradeNo);
|
||||
} else {
|
||||
// 如果当前订单不处理,直接处理下一个订单
|
||||
processOrder(index + 1);
|
||||
|
|
19
assets/Script/Reward.ts
Normal file
19
assets/Script/Reward.ts
Normal file
|
@ -0,0 +1,19 @@
|
|||
|
||||
|
||||
const { ccclass, property, requireComponent } = cc._decorator;
|
||||
|
||||
@ccclass
|
||||
export default class Reward extends cc.Component {
|
||||
|
||||
|
||||
@property(cc.Prefab)
|
||||
rewardNode: cc.Prefab = null;
|
||||
|
||||
|
||||
onLoad() {
|
||||
|
||||
}
|
||||
|
||||
start() {
|
||||
}
|
||||
}
|
10
assets/Script/Reward.ts.meta
Normal file
10
assets/Script/Reward.ts.meta
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"ver": "1.1.0",
|
||||
"uuid": "f30d38a9-33b7-4fe8-9b9b-4ed6fd2f6c99",
|
||||
"importer": "typescript",
|
||||
"isPlugin": false,
|
||||
"loadPluginInWeb": true,
|
||||
"loadPluginInNative": true,
|
||||
"loadPluginInEditor": false,
|
||||
"subMetas": {}
|
||||
}
|
|
@ -340,6 +340,7 @@ export default class SceneManager extends cc.Component {
|
|||
} else {
|
||||
// 非第一次使用,直接激活节点
|
||||
this.shopNode.active = true;
|
||||
this.shopNode.getComponent("shop").init();
|
||||
}
|
||||
// console.log("shopNode parent:", this.shopNode.parent);
|
||||
}
|
||||
|
|
|
@ -1127,7 +1127,7 @@ export namespace MiniGameSdk {
|
|||
},
|
||||
// 根据环境变量设置 debug 模式
|
||||
debug: !isProduction,
|
||||
enableLog: false
|
||||
enableLog: true
|
||||
};
|
||||
// 创建 TA 实例
|
||||
API._ta = new ThinkingAnalyticsAPI(config);
|
||||
|
@ -1159,7 +1159,7 @@ export namespace MiniGameSdk {
|
|||
cc.fx.GameConfig.GM_INFO.shushu_AccountId = cc.fx.GameConfig.GM_INFO.openid;
|
||||
const result = "success";
|
||||
API.shushu_Track("login", result);
|
||||
API.shushu_SetSuperProperties(null);
|
||||
API.shushu_SetSuperProperties(null, null);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1182,7 +1182,7 @@ export namespace MiniGameSdk {
|
|||
* 数数平台设置动态公共属性
|
||||
*/
|
||||
|
||||
static shushu_SetSuperProperties(register_time) {
|
||||
static shushu_SetSuperProperties(register_time, pay_user) {
|
||||
if (typeof wx !== 'undefined' && wx !== null && API._ta) {
|
||||
var superProperties = {};
|
||||
superProperties = {
|
||||
|
@ -1192,14 +1192,26 @@ export namespace MiniGameSdk {
|
|||
version: cc.fx.GameConfig.GM_INFO.version.toString(),//当前版本号
|
||||
};
|
||||
if (register_time != null) {
|
||||
console.log("设置用户公共属性注册:————————————", register_time);
|
||||
superProperties = {
|
||||
current_level: (cc.fx.GameConfig.GM_INFO.level + 1), //当前关卡等级 number
|
||||
current_health: cc.fx.GameConfig.GM_INFO.hp, //当前体力值
|
||||
tmp_coin: cc.fx.GameConfig.GM_INFO.coin,//当前金币
|
||||
version: cc.fx.GameConfig.GM_INFO.version.toString(),
|
||||
register_time: register_time
|
||||
register_time: register_time,
|
||||
pay_user: pay_user
|
||||
};
|
||||
}
|
||||
if (pay_user != null) {
|
||||
console.log("设置用户公共属性支付:————————————", pay_user);
|
||||
superProperties = {
|
||||
current_level: (cc.fx.GameConfig.GM_INFO.level + 1), //当前关卡等级 number
|
||||
current_health: cc.fx.GameConfig.GM_INFO.hp, //当前体力值
|
||||
tmp_coin: cc.fx.GameConfig.GM_INFO.coin,//当前金币
|
||||
version: cc.fx.GameConfig.GM_INFO.version.toString(),
|
||||
pay_user: pay_user
|
||||
}
|
||||
}
|
||||
API._ta.setSuperProperties(superProperties);//设置公共事件属性
|
||||
API.updateCoinAndLevel();
|
||||
}
|
||||
|
|
|
@ -135,7 +135,7 @@ export default class Utils {
|
|||
//#region ios支付
|
||||
|
||||
/**跳转客服*/
|
||||
static GoKEFu(iosPayInfo) {
|
||||
static GoKEFu(iosPayInfo, callBack) {
|
||||
cc.fx.GameConfig.GM_INFO.iosOutTradeNo = null;
|
||||
cc.fx.GameConfig.GM_INFO.iosOutTradeNo = `wcx_` + Math.round(Math.random() * 10 ** 13) + Date.now();
|
||||
const data = {
|
||||
|
@ -158,7 +158,11 @@ export default class Utils {
|
|||
sessionFrom: JSON.stringify(data), // 会话来源(可选)
|
||||
showMessageCard: false, // 是否展示消息卡片
|
||||
success() {
|
||||
callBack();
|
||||
console.log('客服会话已打开');
|
||||
},
|
||||
fail() {
|
||||
callBack();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -464,4 +468,21 @@ export default class Utils {
|
|||
}
|
||||
return xhr;
|
||||
}
|
||||
|
||||
|
||||
// const propName={
|
||||
// gold_1: "金币包1",
|
||||
// gold_2: "金币包2",
|
||||
// gold_3: "金币包3",
|
||||
// gold_4: "金币包4",
|
||||
// gold_5: "金币包5",
|
||||
// gold_6: "金币包6",
|
||||
// unlimited_health_bundle_1:"无限体力组合包1",
|
||||
// unlimited_health_bundle_2:"无限体力组合包2",
|
||||
// unlimited_health_bundle_3:"无限体力组合包3",
|
||||
// freeze_in_game:"局内购买冻结",
|
||||
// hammer_in_game:"局内购买锤子",
|
||||
// wand_in_gamerefill:"局内购买魔棒",
|
||||
// health:"补满体力"
|
||||
// };
|
||||
}
|
||||
|
|
|
@ -354,7 +354,7 @@ var GameTool = {
|
|||
result: "success"
|
||||
}
|
||||
cc.fx.GameTool.shushu_Track("finish_stage", data);
|
||||
MiniGameSdk.API.shushu_SetSuperProperties(null);
|
||||
MiniGameSdk.API.shushu_SetSuperProperties(null, null);
|
||||
}
|
||||
|
||||
cc.fx.GameTool.setUserLevel((data) => {
|
||||
|
@ -390,7 +390,7 @@ var GameTool = {
|
|||
coin: cc.fx.GameConfig.GM_INFO.coin,
|
||||
timestamp: timestamp,
|
||||
}
|
||||
MiniGameSdk.API.shushu_SetSuperProperties(null);
|
||||
MiniGameSdk.API.shushu_SetSuperProperties(null, null);
|
||||
cc.fx.StorageMessage.setStorage("coin", coinInfo);
|
||||
// console.log("存储金币数据:",cc.fx.GameConfig.GM_INFO.coin,coinInfo);
|
||||
cc.fx.GameTool.setUserCoin((data) => {
|
||||
|
@ -502,7 +502,7 @@ var GameTool = {
|
|||
"health": cc.fx.GameConfig.GM_INFO.hp,
|
||||
"timestamp": data.result.timestamp
|
||||
}
|
||||
MiniGameSdk.API.shushu_SetSuperProperties(null);
|
||||
MiniGameSdk.API.shushu_SetSuperProperties(null, null);
|
||||
cc.fx.StorageMessage.setStorage("health", healthInfo);
|
||||
}
|
||||
else if (data.result.code == 404 && data.result.message == "未找到体力数据") {
|
||||
|
@ -596,7 +596,7 @@ var GameTool = {
|
|||
}
|
||||
}
|
||||
cc.fx.StorageMessage.setStorage("health", healthInfo);
|
||||
MiniGameSdk.API.shushu_SetSuperProperties(null);
|
||||
MiniGameSdk.API.shushu_SetSuperProperties(null, null);
|
||||
//@ts-ignore
|
||||
if (typeof wx !== 'undefined' && wx !== null) {
|
||||
//@ts-ignore
|
||||
|
@ -889,6 +889,7 @@ var GameTool = {
|
|||
cost_type: "cash"
|
||||
}
|
||||
cc.fx.GameTool.shushu_Track("shop_buy", buyData);
|
||||
MiniGameSdk.API.shushu_SetSuperProperties(null, true);
|
||||
},
|
||||
|
||||
formatDate(date: Date): string {
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{281,71}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1338,830},{281,71}}</string>
|
||||
<string>{{1641,1466},{281,71}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
|
@ -30,7 +30,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{255,70}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1806,645},{255,70}}</string>
|
||||
<string>{{1714,1455},{255,70}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
|
@ -45,9 +45,9 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{255,70}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1533,1161},{255,70}}</string>
|
||||
<string>{{1786,1432},{255,70}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>add.png</key>
|
||||
<dict>
|
||||
|
@ -60,7 +60,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{76,82}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1493,59},{76,82}}</string>
|
||||
<string>{{1946,1320},{76,82}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
@ -75,9 +75,9 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{636,174}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{45,263},{636,174}}</string>
|
||||
<string>{{59,873},{636,174}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>baozha.png</key>
|
||||
<dict>
|
||||
|
@ -90,9 +90,9 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{348,66}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1470,737},{348,66}}</string>
|
||||
<string>{{415,1885},{348,66}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>bgl.png</key>
|
||||
<dict>
|
||||
|
@ -105,7 +105,37 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{154,172}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{613,1265},{154,172}}</string>
|
||||
<string>{{1621,1016},{154,172}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>btn_lq.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{453,194}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{453,194}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1041,777},{453,194}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>btn_lq2.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{189,89}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{189,89}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1501,1780},{189,89}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
|
@ -120,7 +150,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{281,64}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1947,944},{281,64}}</string>
|
||||
<string>{{1668,1172},{281,64}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
|
@ -135,7 +165,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{316,316}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{740,506},{306,316}}</string>
|
||||
<string>{{1040,1232},{306,316}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
@ -150,7 +180,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{150,150}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1295,1113},{126,132}}</string>
|
||||
<string>{{1795,1010},{126,132}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
@ -165,7 +195,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{284,284}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1394,451},{238,284}}</string>
|
||||
<string>{{1484,165},{238,284}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
@ -180,7 +210,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{80,100}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1738,1290},{80,100}}</string>
|
||||
<string>{{1923,1011},{80,100}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
@ -195,9 +225,9 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{264,104}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1700,646},{264,104}}</string>
|
||||
<string>{{1446,451},{264,104}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>closet.png</key>
|
||||
<dict>
|
||||
|
@ -210,7 +240,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{66,66}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1820,1346},{66,66}}</string>
|
||||
<string>{{955,1739},{66,66}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
@ -225,7 +255,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{312,62}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1636,736},{312,62}}</string>
|
||||
<string>{{1548,1175},{312,62}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
|
@ -240,9 +270,9 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{86,98}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1393,59},{86,98}}</string>
|
||||
<string>{{1921,1778},{86,98}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>coins4.png</key>
|
||||
<dict>
|
||||
|
@ -255,7 +285,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{171,191}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1700,912},{171,191}}</string>
|
||||
<string>{{1592,1774},{171,191}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
@ -270,9 +300,9 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{58,64}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1888,1346},{58,64}}</string>
|
||||
<string>{{1714,1712},{58,64}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>diguan.png</key>
|
||||
<dict>
|
||||
|
@ -285,7 +315,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{234,36}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1988,385},{234,36}}</string>
|
||||
<string>{{1994,688},{234,36}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
|
@ -300,7 +330,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{802,118}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1,1},{802,118}}</string>
|
||||
<string>{{912,1},{802,118}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
@ -315,7 +345,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{616,100}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{45,967},{616,96}}</string>
|
||||
<string>{{735,341},{616,96}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
@ -330,9 +360,9 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{322,64}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1328,506},{322,64}}</string>
|
||||
<string>{{1716,1},{322,64}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>exit.png</key>
|
||||
<dict>
|
||||
|
@ -345,7 +375,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{144,164}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1149,1092},{144,164}}</string>
|
||||
<string>{{1179,611},{144,164}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
@ -360,7 +390,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{291,66}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1953,651},{291,66}}</string>
|
||||
<string>{{1926,718},{291,66}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
|
@ -375,7 +405,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{434,144}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1,1265},{434,144}}</string>
|
||||
<string>{{519,1739},{434,144}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
@ -390,9 +420,9 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{434,144}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1573,1},{434,144}}</string>
|
||||
<string>{{1237,777},{434,144}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>goon.png</key>
|
||||
<dict>
|
||||
|
@ -405,10 +435,55 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{476,164}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{740,340},{476,164}}</string>
|
||||
<string>{{701,611},{476,164}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>gui_chiuzi.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{320,310}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{320,310}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{728,1129},{320,310}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>gui_mofa.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{311,350}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{311,350}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{728,777},{311,350}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>gui_shizhong.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{297,323}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{297,323}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1030,1550},{297,323}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>guide.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
|
@ -420,9 +495,9 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{174,236}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1846,147},{174,236}}</string>
|
||||
<string>{{1383,999},{174,236}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>haoyun.png</key>
|
||||
<dict>
|
||||
|
@ -435,7 +510,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{412,65}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1432,147},{412,65}}</string>
|
||||
<string>{{1,1877},{412,65}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
@ -450,9 +525,9 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{289,54}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1533,1105},{289,54}}</string>
|
||||
<string>{{1612,1175},{289,54}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>hpme.png</key>
|
||||
<dict>
|
||||
|
@ -465,7 +540,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{586,57}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{805,59},{586,57}}</string>
|
||||
<string>{{735,439},{586,57}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
@ -480,7 +555,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{561,54}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{805,118},{561,54}}</string>
|
||||
<string>{{702,555},{561,54}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
@ -495,9 +570,9 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{316,316}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1042,848},{242,294}}</string>
|
||||
<string>{{1383,703},{242,294}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>ices.png</key>
|
||||
<dict>
|
||||
|
@ -510,9 +585,9 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{150,150}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1423,1102},{108,130}}</string>
|
||||
<string>{{1814,1320},{108,130}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>jianshao.png</key>
|
||||
<dict>
|
||||
|
@ -525,9 +600,9 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{363,57}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1411,737},{363,57}}</string>
|
||||
<string>{{955,1849},{363,57}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>jianshaohp.png</key>
|
||||
<dict>
|
||||
|
@ -540,7 +615,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{586,57}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{805,59},{586,57}}</string>
|
||||
<string>{{735,439},{586,57}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
@ -555,7 +630,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{516,164}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{740,174},{516,164}}</string>
|
||||
<string>{{1,1711},{516,164}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
@ -570,7 +645,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{476,164}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{740,340},{476,164}}</string>
|
||||
<string>{{701,611},{476,164}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
@ -585,7 +660,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{314,96}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1538,737},{314,96}}</string>
|
||||
<string>{{1348,1213},{314,96}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
|
@ -600,9 +675,9 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{154,172}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1258,174},{154,172}}</string>
|
||||
<string>{{1858,1430},{154,172}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>lockzi.png</key>
|
||||
<dict>
|
||||
|
@ -615,9 +690,9 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{109,32}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{695,121},{109,32}}</string>
|
||||
<string>{{735,307},{109,32}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>meijinbi.png</key>
|
||||
<dict>
|
||||
|
@ -630,7 +705,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{158,44}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{683,847},{158,44}}</string>
|
||||
<string>{{1961,528},{158,44}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
|
@ -645,9 +720,9 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{582,55}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{683,263},{582,55}}</string>
|
||||
<string>{{702,498},{582,55}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>next.png</key>
|
||||
<dict>
|
||||
|
@ -660,9 +735,9 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{636,174}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{45,439},{636,174}}</string>
|
||||
<string>{{235,873},{636,174}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>ninyihuode.png</key>
|
||||
<dict>
|
||||
|
@ -675,7 +750,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{189,43}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1788,1234},{189,43}}</string>
|
||||
<string>{{1152,1908},{189,43}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
@ -690,9 +765,9 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{766,56}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{805,1},{766,56}}</string>
|
||||
<string>{{1,873},{766,56}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>nulldaoju.png</key>
|
||||
<dict>
|
||||
|
@ -705,9 +780,9 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{154,172}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1223,1258},{154,172}}</string>
|
||||
<string>{{1858,1604},{154,172}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>open.png</key>
|
||||
<dict>
|
||||
|
@ -720,7 +795,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{264,104}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1882,385},{264,104}}</string>
|
||||
<string>{{1745,718},{264,104}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
|
@ -735,7 +810,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{314,96}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1,1042},{3,3}}</string>
|
||||
<string>{{846,156},{3,3}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
@ -750,9 +825,9 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{434,144}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{713,1112},{434,144}}</string>
|
||||
<string>{{1355,1529},{434,144}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>set.png</key>
|
||||
<dict>
|
||||
|
@ -765,9 +840,9 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{154,174}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{437,1265},{154,174}}</string>
|
||||
<string>{{1814,1144},{154,174}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>shijaijndaol.png</key>
|
||||
<dict>
|
||||
|
@ -780,7 +855,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{283,64}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1634,451},{283,64}}</string>
|
||||
<string>{{1575,1489},{283,64}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
|
@ -795,7 +870,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{316,316}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{740,824},{286,300}}</string>
|
||||
<string>{{728,1451},{286,300}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
|
@ -810,9 +885,9 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{150,150}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1553,1290},{116,120}}</string>
|
||||
<string>{{1323,439},{116,120}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>start.png</key>
|
||||
<dict>
|
||||
|
@ -825,7 +900,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{520,198}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1,1065},{520,198}}</string>
|
||||
<string>{{59,1511},{520,198}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
@ -840,7 +915,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{258,78}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1802,385},{258,78}}</string>
|
||||
<string>{{1734,1172},{258,78}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
|
@ -855,7 +930,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{154,172}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1397,1247},{154,172}}</string>
|
||||
<string>{{1765,1778},{154,172}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
@ -870,7 +945,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{150,65}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1820,1279},{150,65}}</string>
|
||||
<string>{{765,1885},{150,65}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
@ -885,9 +960,9 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{127,65}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1671,1290},{127,65}}</string>
|
||||
<string>{{1353,341},{127,65}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>tilibuman.png</key>
|
||||
<dict>
|
||||
|
@ -900,7 +975,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{290,73}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1878,651},{290,73}}</string>
|
||||
<string>{{1851,718},{290,73}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
|
@ -915,7 +990,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{233,55}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1553,1233},{233,55}}</string>
|
||||
<string>{{917,1908},{233,55}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
@ -930,9 +1005,9 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{777,42}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1,263},{777,42}}</string>
|
||||
<string>{{912,121},{777,42}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>touxiang.png</key>
|
||||
<dict>
|
||||
|
@ -945,9 +1020,9 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{188,198}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{523,1065},{188,198}}</string>
|
||||
<string>{{1761,528},{188,198}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>try.png</key>
|
||||
<dict>
|
||||
|
@ -960,9 +1035,9 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{636,174}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{45,615},{636,174}}</string>
|
||||
<string>{{411,873},{636,174}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>trya.png</key>
|
||||
<dict>
|
||||
|
@ -975,7 +1050,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{144,164}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1218,340},{144,164}}</string>
|
||||
<string>{{581,1533},{144,164}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
@ -990,7 +1065,97 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{434,144}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{787,1258},{434,144}}</string>
|
||||
<string>{{1325,557},{434,144}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>txt_1c.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{909,153}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{909,153}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1,1},{909,153}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>txt_2c.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{699,138}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{699,138}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1,451},{699,138}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>txt_3m.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{843,149}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{843,149}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1,156},{843,149}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>txt_4m.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{658,139}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{658,139}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{587,873},{658,139}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>txt_5t.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{732,142}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{732,142}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1,307},{732,142}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
<key>txt_6t.png</key>
|
||||
<dict>
|
||||
<key>aliases</key>
|
||||
<array/>
|
||||
<key>spriteOffset</key>
|
||||
<string>{0,0}</string>
|
||||
<key>spriteSize</key>
|
||||
<string>{698,138}</string>
|
||||
<key>spriteSourceSize</key>
|
||||
<string>{698,138}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1,591},{698,138}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
@ -1005,7 +1170,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{636,174}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{45,791},{636,174}}</string>
|
||||
<string>{{846,165},{636,174}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
@ -1020,7 +1185,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{692,140}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1,121},{692,140}}</string>
|
||||
<string>{{1,731},{692,140}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
@ -1035,7 +1200,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{98,98}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1748,214},{94,90}}</string>
|
||||
<string>{{1921,1878},{94,90}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
@ -1050,7 +1215,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{340,340}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1048,506},{340,278}}</string>
|
||||
<string>{{1724,67},{340,278}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
|
@ -1065,7 +1230,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{289,72}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1873,943},{289,72}}</string>
|
||||
<string>{{1501,1489},{289,72}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
|
@ -1080,9 +1245,9 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{72,36}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{729,121},{72,36}}</string>
|
||||
<string>{{1325,703},{72,36}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>yinxiao.png</key>
|
||||
<dict>
|
||||
|
@ -1095,9 +1260,9 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{311,116}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1364,333},{311,116}}</string>
|
||||
<string>{{1627,703},{311,116}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>yinyue1.png</key>
|
||||
<dict>
|
||||
|
@ -1110,7 +1275,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{311,100}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1700,333},{311,100}}</string>
|
||||
<string>{{1446,1175},{311,100}}</string>
|
||||
<key>textureRotated</key>
|
||||
<true/>
|
||||
</dict>
|
||||
|
@ -1125,7 +1290,7 @@
|
|||
<key>spriteSourceSize</key>
|
||||
<string>{314,117}</string>
|
||||
<key>textureRect</key>
|
||||
<string>{{1432,214},{314,117}}</string>
|
||||
<string>{{1724,409},{314,117}}</string>
|
||||
<key>textureRotated</key>
|
||||
<false/>
|
||||
</dict>
|
||||
|
@ -1141,9 +1306,9 @@
|
|||
<key>realTextureFileName</key>
|
||||
<string>gameui.png</string>
|
||||
<key>size</key>
|
||||
<string>{2025,1420}</string>
|
||||
<string>{2039,1970}</string>
|
||||
<key>smartupdate</key>
|
||||
<string>$TexturePacker:SmartUpdate:97ddd2a2aba94f729ec1de8deae46fe5:1aebd3750f8f20dcee2b4ba501126681:13103c15d0108e7aab1316a48f90f5be$</string>
|
||||
<string>$TexturePacker:SmartUpdate:796430d3c8dab19d45b1c4d4db02ecc7:b7a5134cef19debbc05bec73485b87ed:13103c15d0108e7aab1316a48f90f5be$</string>
|
||||
<key>textureFileName</key>
|
||||
<string>gameui.png</string>
|
||||
</dict>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Before Width: | Height: | Size: 296 KiB After Width: | Height: | Size: 409 KiB |
|
@ -8,8 +8,8 @@
|
|||
"premultiplyAlpha": false,
|
||||
"genMipmaps": false,
|
||||
"packable": true,
|
||||
"width": 2025,
|
||||
"height": 1420,
|
||||
"width": 2039,
|
||||
"height": 1970,
|
||||
"platformSettings": {},
|
||||
"subMetas": {}
|
||||
}
|
13
assets/effect/getSpine.meta
Normal file
13
assets/effect/getSpine.meta
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"ver": "1.1.3",
|
||||
"uuid": "10250af3-a286-4ebd-9da6-ffafce376a46",
|
||||
"importer": "folder",
|
||||
"isBundle": false,
|
||||
"bundleName": "",
|
||||
"priority": 1,
|
||||
"compressionType": {},
|
||||
"optimizeHotUpdate": {},
|
||||
"inlineSpriteFrames": {},
|
||||
"isRemoteBundle": {},
|
||||
"subMetas": {}
|
||||
}
|
BIN
assets/effect/getSpine/goldbi.png
Normal file
BIN
assets/effect/getSpine/goldbi.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.2 KiB |
38
assets/effect/getSpine/goldbi.png.meta
Normal file
38
assets/effect/getSpine/goldbi.png.meta
Normal file
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"ver": "2.3.7",
|
||||
"uuid": "f7f69fb1-46b8-4416-af75-9f3768be5796",
|
||||
"importer": "texture",
|
||||
"type": "sprite",
|
||||
"wrapMode": "clamp",
|
||||
"filterMode": "bilinear",
|
||||
"premultiplyAlpha": false,
|
||||
"genMipmaps": false,
|
||||
"packable": true,
|
||||
"width": 109,
|
||||
"height": 112,
|
||||
"platformSettings": {},
|
||||
"subMetas": {
|
||||
"goldbi": {
|
||||
"ver": "1.0.6",
|
||||
"uuid": "09f6acb6-4313-4a5a-9510-de00b16901be",
|
||||
"importer": "sprite-frame",
|
||||
"rawTextureUuid": "f7f69fb1-46b8-4416-af75-9f3768be5796",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": 0,
|
||||
"offsetY": 0,
|
||||
"trimX": 0,
|
||||
"trimY": 0,
|
||||
"width": 109,
|
||||
"height": 112,
|
||||
"rawWidth": 109,
|
||||
"rawHeight": 112,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"subMetas": {}
|
||||
}
|
||||
}
|
||||
}
|
27
assets/effect/getSpine/starzha.atlas
Normal file
27
assets/effect/getSpine/starzha.atlas
Normal file
|
@ -0,0 +1,27 @@
|
|||
|
||||
starzha.png
|
||||
size: 740,740
|
||||
format: RGBA8888
|
||||
filter: Linear,Linear
|
||||
repeat: none
|
||||
light
|
||||
rotate: false
|
||||
xy: 0, 41
|
||||
size: 697, 697
|
||||
orig: 697, 697
|
||||
offset: 0, 0
|
||||
index: -1
|
||||
star1
|
||||
rotate: false
|
||||
xy: 699, 698
|
||||
size: 39, 40
|
||||
orig: 53, 52
|
||||
offset: 7, 6
|
||||
index: -1
|
||||
star2
|
||||
rotate: false
|
||||
xy: 699, 658
|
||||
size: 38, 38
|
||||
orig: 51, 52
|
||||
offset: 6, 7
|
||||
index: -1
|
6
assets/effect/getSpine/starzha.atlas.meta
Normal file
6
assets/effect/getSpine/starzha.atlas.meta
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"ver": "1.0.3",
|
||||
"uuid": "8ee6d148-c5c8-49f6-a884-c06b2a12935a",
|
||||
"importer": "asset",
|
||||
"subMetas": {}
|
||||
}
|
1738
assets/effect/getSpine/starzha.json
Normal file
1738
assets/effect/getSpine/starzha.json
Normal file
File diff suppressed because it is too large
Load Diff
10
assets/effect/getSpine/starzha.json.meta
Normal file
10
assets/effect/getSpine/starzha.json.meta
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"ver": "1.2.5",
|
||||
"uuid": "62ae7eaa-1552-4465-9696-f6220311642a",
|
||||
"importer": "spine",
|
||||
"textures": [
|
||||
"43fc1dbb-dacd-442f-9818-f0da7a5f6e98"
|
||||
],
|
||||
"scale": 1,
|
||||
"subMetas": {}
|
||||
}
|
BIN
assets/effect/getSpine/starzha.png
Normal file
BIN
assets/effect/getSpine/starzha.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 114 KiB |
38
assets/effect/getSpine/starzha.png.meta
Normal file
38
assets/effect/getSpine/starzha.png.meta
Normal file
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"ver": "2.3.7",
|
||||
"uuid": "43fc1dbb-dacd-442f-9818-f0da7a5f6e98",
|
||||
"importer": "texture",
|
||||
"type": "sprite",
|
||||
"wrapMode": "clamp",
|
||||
"filterMode": "bilinear",
|
||||
"premultiplyAlpha": false,
|
||||
"genMipmaps": false,
|
||||
"packable": true,
|
||||
"width": 740,
|
||||
"height": 740,
|
||||
"platformSettings": {},
|
||||
"subMetas": {
|
||||
"starzha": {
|
||||
"ver": "1.0.6",
|
||||
"uuid": "5163d43f-6fb8-4eb1-a961-981be52a1fa3",
|
||||
"importer": "sprite-frame",
|
||||
"rawTextureUuid": "43fc1dbb-dacd-442f-9818-f0da7a5f6e98",
|
||||
"trimType": "auto",
|
||||
"trimThreshold": 1,
|
||||
"rotated": false,
|
||||
"offsetX": -1,
|
||||
"offsetY": -19.5,
|
||||
"trimX": 0,
|
||||
"trimY": 41,
|
||||
"width": 738,
|
||||
"height": 697,
|
||||
"rawWidth": 740,
|
||||
"rawHeight": 740,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"subMetas": {}
|
||||
}
|
||||
}
|
||||
}
|
BIN
assets/effect/getSpine/starzha.spine
Normal file
BIN
assets/effect/getSpine/starzha.spine
Normal file
Binary file not shown.
6
assets/effect/getSpine/starzha.spine.meta
Normal file
6
assets/effect/getSpine/starzha.spine.meta
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"ver": "1.0.3",
|
||||
"uuid": "1c20dc53-6c05-4919-9cd8-55838568b25d",
|
||||
"importer": "asset",
|
||||
"subMetas": {}
|
||||
}
|
284
assets/prefab/pop/Rward.prefab
Normal file
284
assets/prefab/pop/Rward.prefab
Normal file
|
@ -0,0 +1,284 @@
|
|||
[
|
||||
{
|
||||
"__type__": "cc.Prefab",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"_native": "",
|
||||
"data": {
|
||||
"__id__": 1
|
||||
},
|
||||
"optimizationPolicy": 0,
|
||||
"asyncLoadAssets": false,
|
||||
"readonly": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "Rward",
|
||||
"_objFlags": 0,
|
||||
"_parent": null,
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 2
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 7
|
||||
},
|
||||
{
|
||||
"__id__": 8
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 9
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 1080,
|
||||
"height": 1920
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_trs": {
|
||||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
},
|
||||
"_eulerAngles": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_skewX": 0,
|
||||
"_skewY": 0,
|
||||
"_is3DNode": false,
|
||||
"_groupIndex": 0,
|
||||
"groupIndex": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "New Sprite(Splash)",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 3
|
||||
},
|
||||
{
|
||||
"__id__": 4
|
||||
},
|
||||
{
|
||||
"__id__": 5
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 6
|
||||
},
|
||||
"_opacity": 150,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 0,
|
||||
"g": 0,
|
||||
"b": 0,
|
||||
"a": 255
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 1080,
|
||||
"height": 1920
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_trs": {
|
||||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
},
|
||||
"_eulerAngles": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_skewX": 0,
|
||||
"_skewY": 0,
|
||||
"_is3DNode": false,
|
||||
"_groupIndex": 0,
|
||||
"groupIndex": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 2
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
{
|
||||
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
||||
}
|
||||
],
|
||||
"_srcBlendFactor": 770,
|
||||
"_dstBlendFactor": 771,
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
|
||||
},
|
||||
"_type": 0,
|
||||
"_sizeMode": 0,
|
||||
"_fillType": 0,
|
||||
"_fillCenter": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": null,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.BlockInputEvents",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 2
|
||||
},
|
||||
"_enabled": true,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Widget",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 2
|
||||
},
|
||||
"_enabled": true,
|
||||
"alignMode": 1,
|
||||
"_target": null,
|
||||
"_alignFlags": 45,
|
||||
"_left": 0,
|
||||
"_right": 0,
|
||||
"_top": 0,
|
||||
"_bottom": 0,
|
||||
"_verticalCenter": 0,
|
||||
"_horizontalCenter": 0,
|
||||
"_isAbsLeft": true,
|
||||
"_isAbsRight": true,
|
||||
"_isAbsTop": true,
|
||||
"_isAbsBottom": true,
|
||||
"_isAbsHorizontalCenter": true,
|
||||
"_isAbsVerticalCenter": true,
|
||||
"_originalWidth": 100,
|
||||
"_originalHeight": 100,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "bcCjyvB1tKmZrkzvzwccI3",
|
||||
"sync": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Widget",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"alignMode": 1,
|
||||
"_target": null,
|
||||
"_alignFlags": 45,
|
||||
"_left": 0,
|
||||
"_right": 0,
|
||||
"_top": 0,
|
||||
"_bottom": 0,
|
||||
"_verticalCenter": 0,
|
||||
"_horizontalCenter": 0,
|
||||
"_isAbsLeft": true,
|
||||
"_isAbsRight": true,
|
||||
"_isAbsTop": true,
|
||||
"_isAbsBottom": true,
|
||||
"_isAbsHorizontalCenter": true,
|
||||
"_isAbsVerticalCenter": true,
|
||||
"_originalWidth": 0,
|
||||
"_originalHeight": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "f30d3ipM7dP6JubTtb9L2yZ",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"rewardNode": {
|
||||
"__uuid__": "50bf5efc-889c-4eed-985a-4e204247a251"
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "",
|
||||
"sync": false
|
||||
}
|
||||
]
|
9
assets/prefab/pop/Rward.prefab.meta
Normal file
9
assets/prefab/pop/Rward.prefab.meta
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"ver": "1.3.2",
|
||||
"uuid": "42afc6d4-1976-49c6-9595-91e157447e82",
|
||||
"importer": "prefab",
|
||||
"optimizationPolicy": "AUTO",
|
||||
"asyncLoadAssets": false,
|
||||
"readonly": false,
|
||||
"subMetas": {}
|
||||
}
|
652
assets/prefab/pop/rewardNode.prefab
Normal file
652
assets/prefab/pop/rewardNode.prefab
Normal file
|
@ -0,0 +1,652 @@
|
|||
[
|
||||
{
|
||||
"__type__": "cc.Prefab",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"_native": "",
|
||||
"data": {
|
||||
"__id__": 1
|
||||
},
|
||||
"optimizationPolicy": 0,
|
||||
"asyncLoadAssets": false,
|
||||
"readonly": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "rewardNode",
|
||||
"_objFlags": 0,
|
||||
"_parent": null,
|
||||
"_children": [
|
||||
{
|
||||
"__id__": 2
|
||||
},
|
||||
{
|
||||
"__id__": 5
|
||||
},
|
||||
{
|
||||
"__id__": 8
|
||||
},
|
||||
{
|
||||
"__id__": 11
|
||||
},
|
||||
{
|
||||
"__id__": 14
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [],
|
||||
"_prefab": {
|
||||
"__id__": 17
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 0,
|
||||
"height": 0
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_trs": {
|
||||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
},
|
||||
"_eulerAngles": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_skewX": 0,
|
||||
"_skewY": 0,
|
||||
"_is3DNode": false,
|
||||
"_groupIndex": 0,
|
||||
"groupIndex": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "starzha",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 3
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 4
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 763.62,
|
||||
"height": 763.62
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_trs": {
|
||||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
1,
|
||||
1
|
||||
]
|
||||
},
|
||||
"_eulerAngles": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_skewX": 0,
|
||||
"_skewY": 0,
|
||||
"_is3DNode": false,
|
||||
"_groupIndex": 0,
|
||||
"groupIndex": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "sp.Skeleton",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 2
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
{
|
||||
"__uuid__": "7afd064b-113f-480e-b793-8817d19f63c3"
|
||||
}
|
||||
],
|
||||
"paused": false,
|
||||
"defaultSkin": "default",
|
||||
"defaultAnimation": "animation",
|
||||
"_preCacheMode": 0,
|
||||
"_cacheMode": 0,
|
||||
"loop": true,
|
||||
"premultipliedAlpha": false,
|
||||
"timeScale": 1,
|
||||
"_accTime": 0,
|
||||
"_playCount": 0,
|
||||
"_frameCache": null,
|
||||
"_curFrame": null,
|
||||
"_skeletonCache": null,
|
||||
"_animationName": "animation",
|
||||
"_animationQueue": [],
|
||||
"_headAniInfo": null,
|
||||
"_playTimes": 0,
|
||||
"_isAniComplete": true,
|
||||
"_N$skeletonData": {
|
||||
"__uuid__": "62ae7eaa-1552-4465-9696-f6220311642a"
|
||||
},
|
||||
"_N$_defaultCacheMode": 0,
|
||||
"_N$debugSlots": false,
|
||||
"_N$debugBones": false,
|
||||
"_N$debugMesh": false,
|
||||
"_N$useTint": false,
|
||||
"_N$enableBatch": false,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "3246SrjZtDCqJjcNjLJoSJ",
|
||||
"sync": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "coin",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 6
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 7
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 86,
|
||||
"height": 98
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_trs": {
|
||||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
1.5,
|
||||
1.5,
|
||||
1
|
||||
]
|
||||
},
|
||||
"_eulerAngles": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_skewX": 0,
|
||||
"_skewY": 0,
|
||||
"_is3DNode": false,
|
||||
"_groupIndex": 0,
|
||||
"groupIndex": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 5
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
{
|
||||
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
||||
}
|
||||
],
|
||||
"_srcBlendFactor": 770,
|
||||
"_dstBlendFactor": 771,
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "b94c323b-3d26-4684-ba64-0f00a13438d2"
|
||||
},
|
||||
"_type": 0,
|
||||
"_sizeMode": 1,
|
||||
"_fillType": 0,
|
||||
"_fillCenter": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": {
|
||||
"__uuid__": "52d3eb5b-948f-403a-aafa-1c8f1a40a8c8"
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "40yFZaE/dBDrxorfDNFUMC",
|
||||
"sync": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "freeze",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_children": [],
|
||||
"_active": false,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 9
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 10
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 238,
|
||||
"height": 284
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_trs": {
|
||||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0.6,
|
||||
0.6,
|
||||
1
|
||||
]
|
||||
},
|
||||
"_eulerAngles": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_skewX": 0,
|
||||
"_skewY": 0,
|
||||
"_is3DNode": false,
|
||||
"_groupIndex": 0,
|
||||
"groupIndex": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 8
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
{
|
||||
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
||||
}
|
||||
],
|
||||
"_srcBlendFactor": 770,
|
||||
"_dstBlendFactor": 771,
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "a8496263-a191-44c8-b3d8-d1e7cd275fdf"
|
||||
},
|
||||
"_type": 0,
|
||||
"_sizeMode": 1,
|
||||
"_fillType": 0,
|
||||
"_fillCenter": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": {
|
||||
"__uuid__": "52d3eb5b-948f-403a-aafa-1c8f1a40a8c8"
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "c5266WhWxF3plZF/PuHtKD",
|
||||
"sync": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "hammer",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_children": [],
|
||||
"_active": false,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 12
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 13
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 306,
|
||||
"height": 316
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_trs": {
|
||||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0.6,
|
||||
0.6,
|
||||
1
|
||||
]
|
||||
},
|
||||
"_eulerAngles": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_skewX": 0,
|
||||
"_skewY": 0,
|
||||
"_is3DNode": false,
|
||||
"_groupIndex": 0,
|
||||
"groupIndex": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 11
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
{
|
||||
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
||||
}
|
||||
],
|
||||
"_srcBlendFactor": 770,
|
||||
"_dstBlendFactor": 771,
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "bca46f6f-1c18-46c4-b7ee-2b28d311a5ae"
|
||||
},
|
||||
"_type": 0,
|
||||
"_sizeMode": 1,
|
||||
"_fillType": 0,
|
||||
"_fillCenter": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": {
|
||||
"__uuid__": "52d3eb5b-948f-403a-aafa-1c8f1a40a8c8"
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "72MartNEJAL6ekj/G4vmuw",
|
||||
"sync": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "magic",
|
||||
"_objFlags": 0,
|
||||
"_parent": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_children": [],
|
||||
"_active": false,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 15
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 16
|
||||
},
|
||||
"_opacity": 255,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 286,
|
||||
"height": 300
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_trs": {
|
||||
"__type__": "TypedArray",
|
||||
"ctor": "Float64Array",
|
||||
"array": [
|
||||
5.527,
|
||||
-7.6,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
1,
|
||||
0.6,
|
||||
0.6,
|
||||
1
|
||||
]
|
||||
},
|
||||
"_eulerAngles": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_skewX": 0,
|
||||
"_skewY": 0,
|
||||
"_is3DNode": false,
|
||||
"_groupIndex": 0,
|
||||
"groupIndex": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"node": {
|
||||
"__id__": 14
|
||||
},
|
||||
"_enabled": true,
|
||||
"_materials": [
|
||||
{
|
||||
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
|
||||
}
|
||||
],
|
||||
"_srcBlendFactor": 770,
|
||||
"_dstBlendFactor": 771,
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "7ddd5001-543c-4725-ba8d-4e97668eb297"
|
||||
},
|
||||
"_type": 0,
|
||||
"_sizeMode": 1,
|
||||
"_fillType": 0,
|
||||
"_fillCenter": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_atlas": {
|
||||
"__uuid__": "52d3eb5b-948f-403a-aafa-1c8f1a40a8c8"
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "12il4hk6JFpoeVFTlRc+fT",
|
||||
"sync": false
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "",
|
||||
"sync": false
|
||||
}
|
||||
]
|
9
assets/prefab/pop/rewardNode.prefab.meta
Normal file
9
assets/prefab/pop/rewardNode.prefab.meta
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"ver": "1.3.2",
|
||||
"uuid": "50bf5efc-889c-4eed-985a-4e204247a251",
|
||||
"importer": "prefab",
|
||||
"optimizationPolicy": "AUTO",
|
||||
"asyncLoadAssets": false,
|
||||
"readonly": false,
|
||||
"subMetas": {}
|
||||
}
|
|
@ -13,7 +13,6 @@ export default class NewClass extends cc.Component {
|
|||
//商品列表
|
||||
@property(cc.Node)
|
||||
itemList: cc.Node = null;
|
||||
// onLoad () {}
|
||||
|
||||
//金币数量
|
||||
@property(cc.Node)
|
||||
|
@ -57,7 +56,10 @@ export default class NewClass extends cc.Component {
|
|||
this.btn_Touch = true;
|
||||
this.openShop();
|
||||
this.setHealthInfo();
|
||||
}
|
||||
|
||||
init() {
|
||||
this.btn_Touch = true;
|
||||
}
|
||||
//打开商店界面
|
||||
openShop() {
|
||||
|
@ -148,10 +150,12 @@ export default class NewClass extends cc.Component {
|
|||
|
||||
onShow() {
|
||||
if (cc.sys.platform === cc.sys.WECHAT_GAME) {
|
||||
console.log("从后台进入前台订单号:", cc.fx.GameConfig.GM_INFO.iosOutTradeNo);
|
||||
if (cc.fx.GameConfig.GM_INFO.iosOutTradeNo != null && cc.fx.GameConfig.GM_INFO.iosOutTradeNo != "") {
|
||||
//console.log("有苹果订单号,开始轮训");
|
||||
console.log("有苹果订单号,开始轮训");
|
||||
const iosOutTradeNo = cc.fx.GameConfig.GM_INFO.iosOutTradeNo;
|
||||
cc.fx.GameConfig.GM_INFO.iosOutTradeNo = "";
|
||||
this.openLoad();
|
||||
Utils.getIosPayInfo(iosOutTradeNo,
|
||||
(data) => {
|
||||
console.log("获得轮训结果:", data);
|
||||
|
@ -167,39 +171,41 @@ export default class NewClass extends cc.Component {
|
|||
cc.fx.GameTool.shushu_Track("payment", dataSuccess);
|
||||
let name = "购买金币道具:" + this.iosProductId;
|
||||
MiniGameSdk.API.yinli_Pay(this.iosPrice, iosOutTradeNo, name)
|
||||
Utils.setPayInfo((res) => {
|
||||
this.closeLoad();
|
||||
//console.log("设置轮训结果:", res);
|
||||
if (res.code === 1) {
|
||||
console.log("_________正式发货");
|
||||
MiniGameSdk.API.showToast("充值成功");
|
||||
cc.fx.GameTool.shopBuy(this.iosProductId);
|
||||
//console.log("充值成功获得金币");
|
||||
}
|
||||
else {
|
||||
MiniGameSdk.API.showToast("网络异常,充值奖励将在登录后再次发放");
|
||||
const dataFail4 = {
|
||||
outTradeNo: iosOutTradeNo,
|
||||
price: this.iosPrice,
|
||||
payment_name: this.iosProductId,
|
||||
payment_num: this.iosCount,
|
||||
type: "ios",
|
||||
fail_reason: "成功付款,但是发货时请求服务器失败,充值成功未发货",
|
||||
Utils.setPayInfo(
|
||||
(res) => {
|
||||
this.closeLoad();
|
||||
//console.log("设置轮训结果:", res);
|
||||
if (res.code === 1) {
|
||||
console.log("_________正式发货");
|
||||
MiniGameSdk.API.showToast("充值成功");
|
||||
cc.fx.GameTool.shopBuy(this.iosProductId);
|
||||
//console.log("充值成功获得金币");
|
||||
}
|
||||
cc.fx.GameTool.shushu_Track("payment_fail", dataFail4);
|
||||
}
|
||||
NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.coin, 30, 15, "coin_", this.coin, true);
|
||||
if (this.node.parent.getComponent("JiaZai"))
|
||||
this.node.parent.getComponent("JiaZai").updateCoin();
|
||||
else if (this.node.parent.getComponent("SceneManager")) {
|
||||
this.node.parent.getComponent("SceneManager").updateCoin();
|
||||
}
|
||||
}, null)
|
||||
else {
|
||||
MiniGameSdk.API.showToast("网络异常,充值奖励将在登录后再次发放");
|
||||
const dataFail4 = {
|
||||
outTradeNo: iosOutTradeNo,
|
||||
price: this.iosPrice,
|
||||
payment_name: this.iosProductId,
|
||||
payment_num: this.iosCount,
|
||||
type: "ios",
|
||||
fail_reason: "成功付款,但是发货时请求服务器失败,充值成功未发货",
|
||||
}
|
||||
cc.fx.GameTool.shushu_Track("payment_fail", dataFail4);
|
||||
}
|
||||
NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.coin, 30, 15, "coin_", this.coin, true);
|
||||
if (this.node.parent.getComponent("JiaZai"))
|
||||
this.node.parent.getComponent("JiaZai").updateCoin();
|
||||
else if (this.node.parent.getComponent("SceneManager")) {
|
||||
this.node.parent.getComponent("SceneManager").updateCoin();
|
||||
}
|
||||
}, iosOutTradeNo)
|
||||
}
|
||||
else if (data.code == 0) {
|
||||
console.log("用户自己取消充值");
|
||||
MiniGameSdk.API.showToast("充值失败");
|
||||
this.closeLoad();
|
||||
this.btn_Touch = true;
|
||||
const dataFail = {
|
||||
outTradeNo: iosOutTradeNo,
|
||||
price: this.iosPrice,
|
||||
|
@ -356,7 +362,9 @@ export default class NewClass extends cc.Component {
|
|||
this.iosPrice = price;
|
||||
this.iosProductId = productId;
|
||||
this.iosCount = 1;
|
||||
Utils.GoKEFu(iosPayInfo);
|
||||
Utils.GoKEFu(iosPayInfo, (res) => {
|
||||
this.closeLoad();
|
||||
});
|
||||
}
|
||||
else {
|
||||
const data = {
|
||||
|
@ -437,33 +445,34 @@ export default class NewClass extends cc.Component {
|
|||
let name = "购买金币道具:" + productId;
|
||||
MiniGameSdk.API.yinli_Pay(price, Utils.outTradeNo, name)
|
||||
//console.log("7.14_______________充值成功,轮训成功,准备发货");
|
||||
Utils.setPayInfo((res) => {
|
||||
//console.log("设置轮训结果:", res);
|
||||
if (res.code === 1) {
|
||||
//console.log("7.14_________正式发货");
|
||||
MiniGameSdk.API.showToast("充值成功");
|
||||
cc.fx.GameTool.shopBuy(productId);
|
||||
//console.log("充值成功获得金币");
|
||||
}
|
||||
else {
|
||||
MiniGameSdk.API.showToast("网络异常,充值奖励将在登录后再次发放");
|
||||
const dataFail4 = {
|
||||
outTradeNo: Utils.outTradeNo,
|
||||
price: price,
|
||||
payment_name: productId,
|
||||
payment_num: 1,
|
||||
type: systemType,
|
||||
fail_reason: "成功付款,但是发货时请求服务器失败,充值成功未发货",
|
||||
Utils.setPayInfo(
|
||||
(res) => {
|
||||
//console.log("设置轮训结果:", res);
|
||||
if (res.code === 1) {
|
||||
//console.log("7.14_________正式发货");
|
||||
MiniGameSdk.API.showToast("充值成功");
|
||||
cc.fx.GameTool.shopBuy(productId);
|
||||
//console.log("充值成功获得金币");
|
||||
}
|
||||
cc.fx.GameTool.shushu_Track("payment_fail", dataFail4);
|
||||
}
|
||||
NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.coin, 30, 15, "coin_", this.coin, true);
|
||||
if (this.node.parent.getComponent("JiaZai"))
|
||||
this.node.parent.getComponent("JiaZai").updateCoin();
|
||||
else if (this.node.parent.getComponent("SceneManager")) {
|
||||
this.node.parent.getComponent("SceneManager").updateCoin();
|
||||
}
|
||||
}, null)
|
||||
else {
|
||||
MiniGameSdk.API.showToast("网络异常,充值奖励将在登录后再次发放");
|
||||
const dataFail4 = {
|
||||
outTradeNo: Utils.outTradeNo,
|
||||
price: price,
|
||||
payment_name: productId,
|
||||
payment_num: 1,
|
||||
type: systemType,
|
||||
fail_reason: "成功付款,但是发货时请求服务器失败,充值成功未发货",
|
||||
}
|
||||
cc.fx.GameTool.shushu_Track("payment_fail", dataFail4);
|
||||
}
|
||||
NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.coin, 30, 15, "coin_", this.coin, true);
|
||||
if (this.node.parent.getComponent("JiaZai"))
|
||||
this.node.parent.getComponent("JiaZai").updateCoin();
|
||||
else if (this.node.parent.getComponent("SceneManager")) {
|
||||
this.node.parent.getComponent("SceneManager").updateCoin();
|
||||
}
|
||||
}, null)
|
||||
}
|
||||
else {
|
||||
NumberToImage.numberToImageNodes(cc.fx.GameConfig.GM_INFO.coin, 30, 15, "coin_", this.coin, true);
|
||||
|
|
Loading…
Reference in New Issue
Block a user