Commit 2903b311 authored by wjf's avatar wjf

l

parent 0eded96c
......@@ -27,6 +27,43 @@
"stock": 200
},
{
"image": "https://img.alicdn.com/imgextra/i2/2275046294/O1CN01c4rCs11wMhRrsjEep_!!2275046294-2-miniprogram.png",
"isBackUp": true,
"properiodto": 10000,
"level": 2,
"probability": "84",
"prizeType": 60,
"updateTime": 1594623032197,
"type": 5,
"properiodfrom": 1601,
"activityId": "5f08084ec3ad3494b9201c0e",
"lockStatus": 1,
"createTime": 1594623032197,
"deleteStatus": 1,
"name": "谢谢参与",
"useStock": 0,
"_id": "5f0c043852bbde91d1ca5682"
},
{
"image": "https://img.alicdn.com/imgextra/i2/2275046294/O1CN01c4rCs11wMhRrsjEep_!!2275046294-2-miniprogram.png",
"isBackUp": true,
"properiodto": 10000,
"level": 2,
"probability": "84",
"prizeType": 60,
"updateTime": 1594623032197,
"type": 5,
"properiodfrom": 1601,
"activityId": "5f08084ec3ad3494b9201c0e",
"lockStatus": 1,
"createTime": 1594623032197,
"deleteStatus": 1,
"name": "谢谢参与",
"useStock": 0,
"_id": "5f0c043852bbde91d1ca5682"
},
{
"image": "https://img.alicdn.com/imgextra/i2/2275046294/O1CN01c4rCs11wMhRrsjEep_!!2275046294-2-miniprogram.png",
"isBackUp": true,
"properiodto": 10000,
"level": 2,
......
......@@ -88,6 +88,7 @@ class Toast extends FYGE.Container {
}
destroy() {
FYGE.Tween.removeTweens(this);
super.destroy();
this.msg = null
this.bg = null;
......
......@@ -800,6 +800,7 @@ var Toast = (function (_super) {
this.msg.x = (this.bg.width - this.msg.textWidth) / 2;
};
Toast.prototype.destroy = function () {
FYGE.Tween.removeTweens(this);
_super.prototype.destroy.call(this);
this.msg = null;
this.bg = null;
......@@ -1701,6 +1702,7 @@ var Main = (function () {
}
var stage = new FYGE.Stage(canvas, 750, 1624, sysInfo && sysInfo.windowWidth || document.body.clientWidth, sysInfo && sysInfo.windowHeight || document.body.clientHeight, FYGE.RENDERER_TYPE.CANVAS);
this.stage = stage;
this.canvas = canvas;
stage.addEventListener(FYGE.Event.INIT_STAGE, this.onAddToStage, this);
var self = this;
loop();
......@@ -1759,7 +1761,7 @@ var Main = (function () {
};
Main.prototype.destroy = function () {
FYGE.Tween.removeAllTweens();
my ? canvas.cancelAnimationFrame(this.requestID) :
my ? this.canvas.cancelAnimationFrame(this.requestID) :
window.cancelAnimationFrame(this.requestID);
layers_1.destroyLayers();
ctrls_1.destroyAllCtrls();
......@@ -1787,642 +1789,150 @@ Object.defineProperty(exports, "__esModule", { value: true });
exports.ResJson = {
"groups": [
{
"keys": "增加体力背景.png,无字按钮底.png",
"name": "BuyPowerPanel",
"keys": "amazing.png,great.png,img_0.png,img_1.png,img_10.png,img_11.png,img_12.png,img_13.png,img_14.png,img_15.png,img_16.png,img_17.png,img_18.png,img_19.png,img_2.png,img_3.png,img_4.png,img_5.png,img_6.png,img_7.png,img_8.png,img_9.png,wonderful.png",
"name": "bonusTime",
"atlas": {
"增加体力背景.png": {
"amazing.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 477,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 477,
"y": 567,
"w": 427,
"h": 132,
"ox": 16,
"oy": 5,
"sw": 459,
"sh": 142,
"ro": true
},
"无字按钮底.png": {
"x": 2,
"y": 644,
"w": 424,
"h": 114,
"ox": 0,
"great.png": {
"x": 652,
"y": 125,
"w": 365,
"h": 142,
"ox": 47,
"oy": 0,
"sw": 424,
"sh": 114,
"sw": 459,
"sh": 142,
"ro": false
}
}
},
{
"keys": "积分不足背景.png,赚取积分.png",
"name": "CreditsOutPanel",
"atlas": {
"积分不足背景.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 437,
},
"img_0.png": {
"x": 136,
"y": 660,
"w": 75,
"h": 76,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 437,
"ro": true
"sw": 75,
"sh": 76,
"ro": false
},
"赚取积分.png": {
"x": 2,
"y": 644,
"w": 424,
"h": 114,
"img_1.png": {
"x": 136,
"y": 567,
"w": 491,
"h": 91,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"sw": 491,
"sh": 91,
"ro": false
}
}
},
{
"keys": "兑换成功背景.png,知道啦.png",
"name": "ExchangeSucPanel",
"atlas": {
"兑换成功背景.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 599,
},
"img_10.png": {
"x": 50,
"y": 996,
"w": 22,
"h": 20,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 599,
"sw": 22,
"sh": 20,
"ro": true
},
"img_11.png": {
"x": 864,
"y": 701,
"w": 142,
"h": 86,
"ox": 0,
"oy": 0,
"sw": 142,
"sh": 86,
"ro": false
},
"知道啦.png": {
"x": 644,
"y": 2,
"w": 424,
"h": 114,
"img_12.png": {
"x": 963,
"y": 506,
"w": 68,
"h": 43,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"sw": 68,
"sh": 43,
"ro": true
}
}
},
{
"keys": "失败Bg.png,失败重新闯关.png",
"name": "FailedPanel",
"atlas": {
"失败Bg.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 839,
},
"img_13.png": {
"x": 312,
"y": 789,
"w": 159,
"h": 217,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 839,
"sw": 159,
"sh": 217,
"ro": false
},
"失败重新闯关.png": {
"x": 2,
"y": 843,
"w": 424,
"h": 114,
"img_14.png": {
"x": 652,
"y": 269,
"w": 299,
"h": 309,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": false
}
}
},
{
"keys": "圆圈.png,开心收下.png",
"name": "FreePowerPanel",
"atlas": {
"圆圈.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 798,
"sw": 299,
"sh": 309,
"ro": true
},
"img_15.png": {
"x": 136,
"y": 789,
"w": 174,
"h": 218,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 798,
"sw": 174,
"sh": 218,
"ro": false
},
"开心收下.png": {
"x": 2,
"y": 802,
"w": 424,
"h": 114,
"img_16.png": {
"x": 963,
"y": 269,
"w": 143,
"h": 59,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": false
}
}
},
{
"keys": "joinBg.png,joinBtn.png",
"name": "JoinPanel",
"atlas": {
"joinBg.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 438,
"ox": 55,
"oy": 497,
"sw": 750,
"sh": 1624,
"sw": 143,
"sh": 59,
"ro": true
},
"joinBtn.png": {
"x": 2,
"y": 644,
"w": 424,
"h": 114,
"img_17.png": {
"x": 629,
"y": 570,
"w": 199,
"h": 233,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": false
}
}
},
{
"keys": "体力不足Bg.png,体力不足按钮.png",
"name": "NoEnergyPanel",
"atlas": {
"体力不足Bg.png": {
"sw": 199,
"sh": 233,
"ro": true
},
"img_18.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 567,
"w": 648,
"h": 563,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 567,
"ro": false
},
"体力不足按钮.png": {
"x": 2,
"y": 571,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": true
}
}
},
{
"keys": "步数耗尽Bg.png,步数耗尽复活.png,步数耗尽结束按钮.png",
"name": "NoStepPanel",
"atlas": {
"步数耗尽Bg.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 527,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 527,
"ro": false
},
"步数耗尽复活.png": {
"x": 644,
"y": 118,
"w": 274,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 274,
"sh": 114,
"ro": false
},
"步数耗尽结束按钮.png": {
"x": 644,
"y": 2,
"w": 274,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 274,
"sh": 114,
"ro": false
}
}
},
{
"keys": "prizePanel.png,prizePanelBtn.png",
"name": "PrizePanel",
"atlas": {
"prizePanel.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 789,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 789,
"ro": false
},
"prizePanelBtn.png": {
"x": 2,
"y": 793,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": false
}
}
},
{
"keys": "活动规则背景.png",
"name": "RulePanel",
"atlas": {
"活动规则背景.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 747,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 747,
"ro": false
}
}
},
{
"keys": "开始闯关Bg.png",
"name": "StartPanel",
"atlas": {
"开始闯关Bg.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 799,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 799,
"ro": false
}
}
},
{
"keys": "关卡弹窗Bg.png",
"name": "StartPanelPrize",
"atlas": {
"关卡弹窗Bg.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 1019,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 1019,
"ro": false
}
}
},
{
"keys": "star_dis.png,star_en.png,去抽奖.png,圆角矩形 648.png,道具圆圈.png,闯关成功.png,闯关成功Bg.png,闯关成功不满星按钮.png",
"name": "SuccessPanel",
"atlas": {
"star_dis.png": {
"x": 835,
"y": 957,
"w": 150,
"h": 144,
"ox": 0,
"oy": 0,
"sw": 150,
"sh": 144,
"ro": false
},
"star_en.png": {
"x": 835,
"y": 644,
"w": 164,
"h": 157,
"ox": 0,
"oy": 0,
"sw": 164,
"sh": 157,
"ro": false
},
"去抽奖.png": {
"x": 2,
"y": 1883,
"w": 274,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 274,
"sh": 114,
"ro": false
},
"圆角矩形 648.png": {
"x": 2,
"y": 1379,
"w": 502,
"h": 196,
"ox": 0,
"oy": 2,
"sw": 504,
"sh": 200,
"ro": true
},
"道具圆圈.png": {
"x": 835,
"y": 803,
"w": 152,
"h": 152,
"ox": 0,
"oy": 0,
"sw": 152,
"sh": 152,
"ro": false
},
"闯关成功.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 971,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 971,
"ro": true
},
"闯关成功Bg.png": {
"x": 2,
"y": 644,
"w": 640,
"h": 831,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 831,
"ro": true
},
"闯关成功不满星按钮.png": {
"x": 835,
"y": 1103,
"w": 274,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 274,
"sh": 114,
"ro": true
}
}
},
{
"keys": "任务背景.png,去完成.png,去完成灰.png,待领取.png",
"name": "TaskPanel",
"atlas": {
"任务背景.png": {
"x": 2,
"y": 2,
"w": 750,
"h": 1046,
"ox": 0,
"oy": 0,
"sw": 750,
"sh": 1046,
"ro": false
},
"去完成.png": {
"x": 754,
"y": 84,
"w": 183,
"h": 80,
"ox": 0,
"oy": 0,
"sw": 183,
"sh": 80,
"ro": false
},
"去完成灰.png": {
"x": 939,
"y": 2,
"w": 183,
"h": 80,
"ox": 0,
"oy": 0,
"sw": 183,
"sh": 80,
"ro": true
},
"待领取.png": {
"x": 754,
"y": 2,
"w": 183,
"h": 80,
"ox": 0,
"oy": 0,
"sw": 183,
"sh": 80,
"ro": false
}
}
},
{
"keys": "道具不足背景.png",
"name": "ToolsOutPanel",
"atlas": {
"道具不足背景.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 437,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 437,
"ro": true
}
}
},
{
"keys": "使用道具背景.png",
"name": "UseToolPanel",
"atlas": {
"使用道具背景.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 437,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 437,
"ro": true
}
}
},
{
"keys": "amazing.png,great.png,img_0.png,img_1.png,img_10.png,img_11.png,img_12.png,img_13.png,img_14.png,img_15.png,img_16.png,img_17.png,img_18.png,img_19.png,img_2.png,img_3.png,img_4.png,img_5.png,img_6.png,img_7.png,img_8.png,img_9.png,wonderful.png",
"name": "bonusTime",
"atlas": {
"amazing.png": {
"x": 2,
"y": 567,
"w": 427,
"h": 132,
"ox": 16,
"oy": 5,
"sw": 459,
"sh": 142,
"ro": true
},
"great.png": {
"x": 652,
"y": 125,
"w": 365,
"h": 142,
"ox": 47,
"oy": 0,
"sw": 459,
"sh": 142,
"ro": false
},
"img_0.png": {
"x": 136,
"y": 660,
"w": 75,
"h": 76,
"ox": 0,
"oy": 0,
"sw": 75,
"sh": 76,
"ro": false
},
"img_1.png": {
"x": 136,
"y": 567,
"w": 491,
"h": 91,
"ox": 0,
"oy": 0,
"sw": 491,
"sh": 91,
"ro": false
},
"img_10.png": {
"x": 50,
"y": 996,
"w": 22,
"h": 20,
"ox": 0,
"oy": 0,
"sw": 22,
"sh": 20,
"ro": true
},
"img_11.png": {
"x": 864,
"y": 701,
"w": 142,
"h": 86,
"ox": 0,
"oy": 0,
"sw": 142,
"sh": 86,
"ro": false
},
"img_12.png": {
"x": 963,
"y": 506,
"w": 68,
"h": 43,
"ox": 0,
"oy": 0,
"sw": 68,
"sh": 43,
"ro": true
},
"img_13.png": {
"x": 312,
"y": 789,
"w": 159,
"h": 217,
"ox": 0,
"oy": 0,
"sw": 159,
"sh": 217,
"ro": false
},
"img_14.png": {
"x": 652,
"y": 269,
"w": 299,
"h": 309,
"ox": 0,
"oy": 0,
"sw": 299,
"sh": 309,
"ro": true
},
"img_15.png": {
"x": 136,
"y": 789,
"w": 174,
"h": 218,
"ox": 0,
"oy": 0,
"sw": 174,
"sh": 218,
"ro": false
},
"img_16.png": {
"x": 963,
"y": 269,
"w": 143,
"h": 59,
"ox": 0,
"oy": 0,
"sw": 143,
"sh": 59,
"ro": true
},
"img_17.png": {
"x": 629,
"y": 570,
"w": 199,
"h": 233,
"ox": 0,
"oy": 0,
"sw": 199,
"sh": 233,
"ro": true
},
"img_18.png": {
"x": 2,
"y": 2,
"w": 648,
"h": 563,
"ox": 0,
"oy": 0,
"sw": 648,
"sh": 563,
"sw": 648,
"sh": 563,
"ro": false
},
"img_19.png": {
......@@ -2537,6 +2047,34 @@ exports.ResJson = {
}
}
},
{
"keys": "增加体力背景.png,无字按钮底.png",
"name": "BuyPowerPanel",
"atlas": {
"增加体力背景.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 477,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 477,
"ro": true
},
"无字按钮底.png": {
"x": 2,
"y": 644,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": false
}
}
},
{
"keys": "boomBtn.png,comCloseBtn.png,comm_light.png,ele0.png,ele1.png,ele10.png,ele11.png,ele12.png,ele13.png,ele14.png,ele2.png,ele3.png,ele4.png,ele5.png,ele6.png,ele7.png,ele8.png,ele9.png,hammerBtn.png,star.png,stepBtn.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,再想想.png,开始闯关不要能量.png,开始闯关要能量.png,确定.png,继续闯关大.png,继续闯关小.png",
"name": "common",
......@@ -2871,16 +2409,100 @@ exports.ResJson = {
"sh": 114,
"ro": true
},
"继续闯关小.png": {
"x": 350,
"y": 575,
"w": 274,
"继续闯关小.png": {
"x": 350,
"y": 575,
"w": 274,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 274,
"sh": 114,
"ro": true
}
}
},
{
"keys": "积分不足背景.png,赚取积分.png",
"name": "CreditsOutPanel",
"atlas": {
"积分不足背景.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 437,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 437,
"ro": true
},
"赚取积分.png": {
"x": 2,
"y": 644,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": false
}
}
},
{
"keys": "兑换成功背景.png,知道啦.png",
"name": "ExchangeSucPanel",
"atlas": {
"兑换成功背景.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 599,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 599,
"ro": false
},
"知道啦.png": {
"x": 644,
"y": 2,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": true
}
}
},
{
"keys": "失败Bg.png,失败重新闯关.png",
"name": "FailedPanel",
"atlas": {
"失败Bg.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 839,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 839,
"ro": false
},
"失败重新闯关.png": {
"x": 2,
"y": 843,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 274,
"sw": 424,
"sh": 114,
"ro": true
"ro": false
}
}
},
......@@ -5822,6 +5444,62 @@ exports.ResJson = {
}
}
},
{
"keys": "圆圈.png,开心收下.png",
"name": "FreePowerPanel",
"atlas": {
"圆圈.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 798,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 798,
"ro": false
},
"开心收下.png": {
"x": 2,
"y": 802,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": false
}
}
},
{
"keys": "joinBg.png,joinBtn.png",
"name": "JoinPanel",
"atlas": {
"joinBg.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 438,
"ox": 55,
"oy": 497,
"sw": 750,
"sh": 1624,
"ro": true
},
"joinBtn.png": {
"x": 2,
"y": 644,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": false
}
}
},
{
"keys": "carb_arm.png,carb_body.png,carb_hand_l.png,carb_hand_r.png,fox_arm_l.png,fox_body.png,fox_head.png,fox_tail0.png,fox_tail1.png,fox_tail10.png,fox_tail11.png,fox_tail12.png,fox_tail13.png,fox_tail14.png,fox_tail2.png,fox_tail3.png,fox_tail4.png,fox_tail5.png,fox_tail6.png,fox_tail7.png,fox_tail8.png,fox_tail9.png,hommer.png,img_line1.png,img_line2.png,img_line3.png,img_line4.png,img_line5.png,img_owl.png,img_tree.png,lighting_1.png,lighting_2.png,loadingBg.jpg,loadingBg2.png,loadingPro0.png,loadingPro1.png,loadingPro10.png,loadingPro11.png,loadingPro2.png,loadingPro3.png,loadingPro4.png,loadingPro5.png,loadingPro6.png,loadingPro7.png,loadingPro8.png,loadingPro9.png,loadingTitle.png,owl_sleep.png,proDown.png,wheel.png",
"name": "loadingScene",
......@@ -6367,6 +6045,56 @@ exports.ResJson = {
}
}
},
{
"keys": "lotteryBtn.png,lotteryItemBg.png,lotteryMachineBg.jpg,prizeItemBg.png,shadowMask.png",
"name": "lotteryScene",
"atlas": {
"lotteryBtn.png": {
"x": 2,
"y": 2,
"w": 350,
"h": 80,
"ox": 0,
"oy": 0,
"sw": 350,
"sh": 80,
"ro": false
},
"lotteryItemBg.png": {
"x": 342,
"y": 113,
"w": 103,
"h": 108,
"ox": 0,
"oy": 0,
"sw": 103,
"sh": 108,
"ro": true
},
"prizeItemBg.png": {
"x": 354,
"y": 2,
"w": 109,
"h": 109,
"ox": 0,
"oy": 0,
"sw": 109,
"sh": 109,
"ro": false
},
"shadowMask.png": {
"x": 2,
"y": 84,
"w": 338,
"h": 195,
"ox": 0,
"oy": 0,
"sw": 338,
"sh": 195,
"ro": false
}
}
},
{
"keys": "cur_light_1.png,cur_light_2.png,guide_fox.png,guide_hand.png,guide_light.png,guide_tip.png,map_avatar_bg.png,map_bg1.jpg,map_bg2.jpg,map_bg3.jpg,map_check_disable.png,map_check_disable_prize.png,map_check_enable.png,map_check_enable_cur.png,map_creditsBg.png,map_energyAdd.png,map_energyBg.png,map_prizeBox.png,map_prizeBtn.png,map_ruleBtn.png,map_star_disable.png,map_star_enable.png,map_taskBtn.png,map_推车.png,map_狐狸气球.png,water1.png,water2.png",
"name": "map",
......@@ -7508,6 +7236,101 @@ exports.ResJson = {
}
}
},
{
"keys": "体力不足Bg.png,体力不足按钮.png",
"name": "NoEnergyPanel",
"atlas": {
"体力不足Bg.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 567,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 567,
"ro": false
},
"体力不足按钮.png": {
"x": 2,
"y": 571,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": true
}
}
},
{
"keys": "noPrizeBg.png,知道了.png",
"name": "NoPrizePanel",
"atlas": {
"noPrizeBg.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 438,
"ox": 55,
"oy": 497,
"sw": 750,
"sh": 1624,
"ro": true
},
"知道了.png": {
"x": 2,
"y": 644,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": false
}
}
},
{
"keys": "步数耗尽Bg.png,步数耗尽复活.png,步数耗尽结束按钮.png",
"name": "NoStepPanel",
"atlas": {
"步数耗尽Bg.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 527,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 527,
"ro": false
},
"步数耗尽复活.png": {
"x": 644,
"y": 118,
"w": 274,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 274,
"sh": 114,
"ro": false
},
"步数耗尽结束按钮.png": {
"x": 644,
"y": 2,
"w": 274,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 274,
"sh": 114,
"ro": false
}
}
},
{
"keys": "blueDoorBg.png,bonusFra0.png,bonusFra1.png,bonusFra10.png,bonusFra11.png,bonusFra2.png,bonusFra3.png,bonusFra4.png,bonusFra5.png,bonusFra6.png,bonusFra7.png,bonusFra8.png,bonusFra9.png,bonusShoot.png,boom0.png,boom1.png,boom10.png,boom11.png,boom12.png,boom13.png,boom14.png,boom15.png,boom16.png,boom17.png,boom18.png,boom19.png,boom2.png,boom20.png,boom3.png,boom4.png,boom5.png,boom6.png,boom7.png,boom8.png,boom9.png,brownBallFace.png,bubbleStar1.png,bubbleStar10.png,bubbleStar11.png,bubbleStar12.png,bubbleStar13.png,bubbleStar14.png,bubbleStar15.png,bubbleStar16.png,bubbleStar17.png,bubbleStar18.png,bubbleStar19.png,bubbleStar2.png,bubbleStar3.png,bubbleStar4.png,bubbleStar5.png,bubbleStar6.png,bubbleStar7.png,bubbleStar8.png,bubbleStar9.png,bubleEle0.png,bubleEle1.png,bubleEle2.png,bubleEle3.png,bubleEle4.png,chapterNum0.png,chapterNum1.png,chapterNum2.png,chapterNum3.png,chapterNum4.png,chapterNum5.png,chapterNum6.png,chapterNum7.png,chapterNum8.png,chapterNum9.png,chapterNum关.png,chapterNum第.png,chooseRect.png,doorClosed.png,doorOpen.png,eggPiece1.png,eggPiece2.png,eggPiece3.png,eggPiece4.png,eggPiece5.png,eggStatus0.png,eggStatus1.png,eggStatus2.png,ele0Exp.png,ele1Exp.png,ele2Exp.png,ele3Exp.png,ele4Exp.png,exLighting0.png,exLighting10.png,exLighting13.png,exLighting15.png,exLighting17.png,exLighting18.png,exLighting2.png,exLighting20.png,exLighting22.png,exLighting24.png,exLighting26.png,exLighting28.png,exLighting31.png,exLighting33.png,exLighting4.png,exLighting6.png,exLighting8.png,eyeDownLeft.png,eyeDownRight.png,eyeSingle.png,gameGuideBoard.png,greenCircleDown.png,greenCircleUp.png,greyBallFace.png,guidePropBoom.png,guidePropCow.png,guidePropHammer.png,guidePropHand.png,guidePropMsgPanel.png,guidePropShoe.png,hairballDisBg.png,hairballPiece1.png,hairballPiece2.png,hairballPiece3.png,hairballPiece4.png,hairballPiece5.png,hairballPiece6.png,hairballPiece7.png,hairballPiece8.png,hairballPiece9.png,ice2.png,ice3.png,ice4.png,ice5.png,ice6.png,jellyArrow.png,leftArrow.png,lightedStar.png,lineLight.png,lockVine.png,magicLion.png,magicLionBg.png,main_mapbottom.png,musicOff.png,musicOn.png,playBg.jpg,propNum0.png,propNum1.png,propNum2.png,propNum3.png,propNum4.png,propNum5.png,propNum6.png,propNum7.png,propNum8.png,propNum9.png,rectLat.png,rectLatWhite.png,redDoorBg.png,rightArrow.png,rightMark.png,rock2.png,rock3.png,rock4.png,rock5.png,rock6.png,scoreNum0.png,scoreNum1.png,scoreNum2.png,scoreNum3.png,scoreNum4.png,scoreNum5.png,scoreNum6.png,scoreNum7.png,scoreNum8.png,scoreNum9.png,scoreNum关.png,scoreNum冒号.png,scoreNum分.png,scoreNum数.png,scoreNum通.png,settingBg.png,settingBtn.png,starProgress.png,stepAni1.png,stepAni10.png,stepAni11.png,stepAni2.png,stepAni3.png,stepAni4.png,stepAni5.png,stepAni6.png,stepAni7.png,stepAni8.png,stepAni9.png,stepNum0.png,stepNum1.png,stepNum2.png,stepNum3.png,stepNum4.png,stepNum5.png,stepNum6.png,stepNum7.png,stepNum8.png,stepNum9.png,table.png,tarNum0.png,tarNum1.png,tarNum2.png,tarNum3.png,tarNum4.png,tarNum5.png,tarNum6.png,tarNum7.png,tarNum8.png,tarNum9.png,topBg.png,unlightedStar.png,yellowCircleDown.png,yellowCircleUp.png,yellowDoorBg.png",
"name": "playScene",
......@@ -9884,30 +9707,75 @@ exports.ResJson = {
"h": 106,
"ox": 0,
"oy": 0,
"sw": 108,
"sh": 106,
"ro": true
"sw": 108,
"sh": 106,
"ro": true
},
"yellowCircleUp.png": {
"x": 168,
"y": 1848,
"w": 144,
"h": 140,
"ox": 0,
"oy": 0,
"sw": 144,
"sh": 140,
"ro": true
},
"yellowDoorBg.png": {
"x": 709,
"y": 1558,
"w": 94,
"h": 95,
"ox": 0,
"oy": 0,
"sw": 94,
"sh": 95,
"ro": false
}
}
},
{
"keys": "prizePanel.png,prizePanelBtn.png",
"name": "PrizePanel",
"atlas": {
"prizePanel.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 789,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 789,
"ro": false
},
"yellowCircleUp.png": {
"x": 168,
"y": 1848,
"w": 144,
"h": 140,
"prizePanelBtn.png": {
"x": 2,
"y": 793,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 144,
"sh": 140,
"ro": true
},
"yellowDoorBg.png": {
"x": 709,
"y": 1558,
"w": 94,
"h": 95,
"sw": 424,
"sh": 114,
"ro": false
}
}
},
{
"keys": "活动规则背景.png",
"name": "RulePanel",
"atlas": {
"活动规则背景.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 747,
"ox": 0,
"oy": 0,
"sw": 94,
"sh": 95,
"sw": 640,
"sh": 747,
"ro": false
}
}
......@@ -10093,9 +9961,221 @@ exports.ResJson = {
"ro": false
}
}
},
{
"keys": "开始闯关Bg.png",
"name": "StartPanel",
"atlas": {
"开始闯关Bg.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 799,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 799,
"ro": false
}
}
},
{
"keys": "关卡弹窗Bg.png",
"name": "StartPanelPrize",
"atlas": {
"关卡弹窗Bg.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 1019,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 1019,
"ro": false
}
}
},
{
"keys": "star_dis.png,star_en.png,去抽奖.png,圆角矩形 648.png,道具圆圈.png,闯关成功.png,闯关成功Bg.png,闯关成功不满星按钮.png",
"name": "SuccessPanel",
"atlas": {
"star_dis.png": {
"x": 835,
"y": 957,
"w": 150,
"h": 144,
"ox": 0,
"oy": 0,
"sw": 150,
"sh": 144,
"ro": false
},
"star_en.png": {
"x": 835,
"y": 644,
"w": 164,
"h": 157,
"ox": 0,
"oy": 0,
"sw": 164,
"sh": 157,
"ro": false
},
"去抽奖.png": {
"x": 2,
"y": 1883,
"w": 274,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 274,
"sh": 114,
"ro": false
},
"圆角矩形 648.png": {
"x": 2,
"y": 1379,
"w": 502,
"h": 196,
"ox": 0,
"oy": 2,
"sw": 504,
"sh": 200,
"ro": true
},
"道具圆圈.png": {
"x": 835,
"y": 803,
"w": 152,
"h": 152,
"ox": 0,
"oy": 0,
"sw": 152,
"sh": 152,
"ro": false
},
"闯关成功.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 971,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 971,
"ro": true
},
"闯关成功Bg.png": {
"x": 2,
"y": 644,
"w": 640,
"h": 831,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 831,
"ro": true
},
"闯关成功不满星按钮.png": {
"x": 835,
"y": 1103,
"w": 274,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 274,
"sh": 114,
"ro": true
}
}
},
{
"keys": "任务背景.png,去完成.png,去完成灰.png,待领取.png",
"name": "TaskPanel",
"atlas": {
"任务背景.png": {
"x": 2,
"y": 2,
"w": 750,
"h": 1046,
"ox": 0,
"oy": 0,
"sw": 750,
"sh": 1046,
"ro": false
},
"去完成.png": {
"x": 754,
"y": 84,
"w": 183,
"h": 80,
"ox": 0,
"oy": 0,
"sw": 183,
"sh": 80,
"ro": false
},
"去完成灰.png": {
"x": 939,
"y": 2,
"w": 183,
"h": 80,
"ox": 0,
"oy": 0,
"sw": 183,
"sh": 80,
"ro": true
},
"待领取.png": {
"x": 754,
"y": 2,
"w": 183,
"h": 80,
"ox": 0,
"oy": 0,
"sw": 183,
"sh": 80,
"ro": false
}
}
},
{
"keys": "道具不足背景.png",
"name": "ToolsOutPanel",
"atlas": {
"道具不足背景.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 437,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 437,
"ro": true
}
}
},
{
"keys": "使用道具背景.png",
"name": "UseToolPanel",
"atlas": {
"使用道具背景.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 437,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 437,
"ro": true
}
}
}
],
"path": "https://yun.duiba.com.cn/db_games/activity/babycare_xiaoxiao/1595387678/resource/"
"path": "https://yun.duiba.com.cn/db_games/activity/babycare_xiaoxiao/1595570101/resource/"
};
......@@ -17976,7 +18056,7 @@ var CusButton = (function (_super) {
}, true);
break;
case TaskType.browseGoods:
TaoBaoNet_1.sendTbNet(TaoBaoNet_1.TbNetName.navigateTo, { url: '/pages/collectGoods/collectGoods' }, function () { }, true);
TaoBaoNet_1.sendTbNet(TaoBaoNet_1.TbNetName.navigateTo, { url: '/pages/browseProductList/browseProductList' }, function () { }, true);
break;
case TaskType.invites:
TaoBaoNet_1.sendTbNet(TaoBaoNet_1.TbNetName.showSharePanel, { openId: Tools_1.Tools.globalData.openId }, function () { }, true);
......@@ -21637,6 +21717,7 @@ var MapUI = (function (_super) {
break;
case this.myPrizeBtn:
console.log('我的奖品');
TaoBaoNet_1.sendTbNet(TaoBaoNet_1.TbNetName.navigateTo, { url: '/pages/myPrize/myPrize' }, function () { }, true);
break;
case this.prizeBox:
console.log('奖励盒子');
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -4,4 +4,19 @@ sendTbNet里 dispatchEvent({ type: "onMessage" }需要放在addEvent之后
taobaomini里的onMessage 里的var app =getApp();
本地缓存方式修改
\ No newline at end of file
本地缓存方式修改
Main里的循环,暂时不去FYGE里的,小程序用传入的canvas的,浏览器用window的
Main的run和pause必须执行了,因为小程序canvas的循环动画帧在页面隐藏后会停止,
//TODO
RES修改成与FYGE独立的贴图缓存,否则FYGE多页面应该会有同名资源覆盖问题
多page上的canvas,存在资源干扰的情况,考虑RES单独缓存,不进TextureCache缓存,createTextureSheet也不缓存进TextureCache
多page上的canvas,destroy最好别执行removeAllTweens,
多page上的canvas,对于相同资源是否考虑,还有公用弹框,(还是不考虑吧,多page只在活动相互独立的情况下使用)
\ No newline at end of file
{
"groups": [
{
"keys": "amazing.png,great.png,img_0.png,img_1.png,img_10.png,img_11.png,img_12.png,img_13.png,img_14.png,img_15.png,img_16.png,img_17.png,img_18.png,img_19.png,img_2.png,img_3.png,img_4.png,img_5.png,img_6.png,img_7.png,img_8.png,img_9.png,wonderful.png",
"name": "bonusTime"
},
{
"keys": "增加体力背景.png,无字按钮底.png",
"name": "BuyPowerPanel"
},
{
"keys": "boomBtn.png,comCloseBtn.png,comm_light.png,ele0.png,ele1.png,ele10.png,ele11.png,ele12.png,ele13.png,ele14.png,ele2.png,ele3.png,ele4.png,ele5.png,ele6.png,ele7.png,ele8.png,ele9.png,hammerBtn.png,star.png,stepBtn.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,再想想.png,开始闯关不要能量.png,开始闯关要能量.png,确定.png,继续闯关大.png,继续闯关小.png",
"name": "common"
},
{
"keys": "积分不足背景.png,赚取积分.png",
"name": "CreditsOutPanel"
......@@ -17,100 +25,100 @@
"name": "FailedPanel"
},
{
"keys": "圆圈.png,开心收下.png",
"name": "FreePowerPanel"
"keys": "fesEleSmallDis1.png,fesEleSmallDis10.png,fesEleSmallDis2.png,fesEleSmallDis3.png,fesEleSmallDis4.png,fesEleSmallDis5.png,fesEleSmallDis6.png,fesEleSmallDis7.png,fesEleSmallDis8.png,fesEleSmallDis9.png,fesRedBigLight.png,fesRedBombSta1.png,fesRedCap.png,fesRedDown.png,fesRedSmallLight.png,fesRedUp.png,festivalTargetBg.png,lineLight1.png,lineLight10.png,lineLight11.png,lineLight12.png,lineLight13.png,lineLight2.png,lineLight3.png,lineLight4.png,lineLight5.png,lineLight6.png,lineLight7.png,lineLight8.png,lineLight9.png,xingxingbi.png",
"name": "festival"
},
{
"keys": "joinBg.png,joinBtn.png",
"name": "JoinPanel"
"keys": "dis_ele0_0.png,dis_ele0_1.png,dis_ele0_10.png,dis_ele0_11.png,dis_ele0_12.png,dis_ele0_13.png,dis_ele0_14.png,dis_ele0_2.png,dis_ele0_3.png,dis_ele0_4.png,dis_ele0_5.png,dis_ele0_6.png,dis_ele0_7.png,dis_ele0_8.png,dis_ele0_9.png,dis_ele1_0.png,dis_ele1_1.png,dis_ele1_10.png,dis_ele1_11.png,dis_ele1_12.png,dis_ele1_13.png,dis_ele1_14.png,dis_ele1_2.png,dis_ele1_3.png,dis_ele1_4.png,dis_ele1_5.png,dis_ele1_6.png,dis_ele1_7.png,dis_ele1_8.png,dis_ele1_9.png,dis_ele2_0.png,dis_ele2_1.png,dis_ele2_10.png,dis_ele2_11.png,dis_ele2_12.png,dis_ele2_13.png,dis_ele2_14.png,dis_ele2_2.png,dis_ele2_3.png,dis_ele2_4.png,dis_ele2_5.png,dis_ele2_6.png,dis_ele2_7.png,dis_ele2_8.png,dis_ele2_9.png,dis_ele3_.png,dis_ele3_0.png,dis_ele3_1.png,dis_ele3_10.png,dis_ele3_11.png,dis_ele3_12.png,dis_ele3_13.png,dis_ele3_14.png,dis_ele3_2.png,dis_ele3_3.png,dis_ele3_4.png,dis_ele3_6.png,dis_ele3_7.png,dis_ele3_8.png,dis_ele3_9.png,dis_ele4_0.png,dis_ele4_1.png,dis_ele4_10.png,dis_ele4_11.png,dis_ele4_12.png,dis_ele4_13.png,dis_ele4_14.png,dis_ele4_2.png,dis_ele4_3.png,dis_ele4_4.png,dis_ele4_5.png,dis_ele4_6.png,dis_ele4_7.png,dis_ele4_8.png,dis_ele4_9.png,hor_ele0_0.png,hor_ele0_1.png,hor_ele0_10.png,hor_ele0_11.png,hor_ele0_12.png,hor_ele0_13.png,hor_ele0_14.png,hor_ele0_15.png,hor_ele0_2.png,hor_ele0_3.png,hor_ele0_4.png,hor_ele0_5.png,hor_ele0_6.png,hor_ele0_7.png,hor_ele0_8.png,hor_ele0_9.png,hor_ele1_0.png,hor_ele1_1.png,hor_ele1_10.png,hor_ele1_11.png,hor_ele1_12.png,hor_ele1_13.png,hor_ele1_14.png,hor_ele1_15.png,hor_ele1_2.png,hor_ele1_3.png,hor_ele1_4.png,hor_ele1_5.png,hor_ele1_6.png,hor_ele1_7.png,hor_ele1_8.png,hor_ele1_9.png,hor_ele2_0.png,hor_ele2_1.png,hor_ele2_10.png,hor_ele2_11.png,hor_ele2_12.png,hor_ele2_13.png,hor_ele2_14.png,hor_ele2_15.png,hor_ele2_2.png,hor_ele2_3.png,hor_ele2_4.png,hor_ele2_5.png,hor_ele2_6.png,hor_ele2_7.png,hor_ele2_8.png,hor_ele2_9.png,hor_ele3_0.png,hor_ele3_1.png,hor_ele3_10.png,hor_ele3_11.png,hor_ele3_12.png,hor_ele3_13.png,hor_ele3_14.png,hor_ele3_15.png,hor_ele3_2.png,hor_ele3_3.png,hor_ele3_4.png,hor_ele3_5.png,hor_ele3_6.png,hor_ele3_7.png,hor_ele3_8.png,hor_ele3_9.png,hor_ele4_0.png,hor_ele4_1.png,hor_ele4_10.png,hor_ele4_11.png,hor_ele4_12.png,hor_ele4_13.png,hor_ele4_14.png,hor_ele4_15.png,hor_ele4_2.png,hor_ele4_3.png,hor_ele4_4.png,hor_ele4_5.png,hor_ele4_6.png,hor_ele4_7.png,hor_ele4_8.png,hor_ele4_9.png,ver_ele0_0.png,ver_ele0_1.png,ver_ele0_10.png,ver_ele0_11.png,ver_ele0_12.png,ver_ele0_13.png,ver_ele0_14.png,ver_ele0_15.png,ver_ele0_2.png,ver_ele0_3.png,ver_ele0_4.png,ver_ele0_5.png,ver_ele0_6.png,ver_ele0_7.png,ver_ele0_8.png,ver_ele0_9.png,ver_ele1_0.png,ver_ele1_1.png,ver_ele1_10.png,ver_ele1_11.png,ver_ele1_12.png,ver_ele1_13.png,ver_ele1_14.png,ver_ele1_15.png,ver_ele1_2.png,ver_ele1_3.png,ver_ele1_4.png,ver_ele1_5.png,ver_ele1_6.png,ver_ele1_7.png,ver_ele1_8.png,ver_ele1_9.png,ver_ele2_0.png,ver_ele2_1.png,ver_ele2_10.png,ver_ele2_11.png,ver_ele2_12.png,ver_ele2_13.png,ver_ele2_14.png,ver_ele2_15.png,ver_ele2_2.png,ver_ele2_3.png,ver_ele2_4.png,ver_ele2_5.png,ver_ele2_6.png,ver_ele2_7.png,ver_ele2_8.png,ver_ele2_9.png,ver_ele3_0.png,ver_ele3_1.png,ver_ele3_10.png,ver_ele3_11.png,ver_ele3_12.png,ver_ele3_13.png,ver_ele3_14.png,ver_ele3_15.png,ver_ele3_2.png,ver_ele3_3.png,ver_ele3_4.png,ver_ele3_5.png,ver_ele3_6.png,ver_ele3_7.png,ver_ele3_8.png,ver_ele3_9.png,ver_ele4_0.png,ver_ele4_1.png,ver_ele4_10.png,ver_ele4_11.png,ver_ele4_12.png,ver_ele4_13.png,ver_ele4_14.png,ver_ele4_15.png,ver_ele4_2.png,ver_ele4_3.png,ver_ele4_4.png,ver_ele4_5.png,ver_ele4_6.png,ver_ele4_7.png,ver_ele4_8.png,ver_ele4_9.png",
"name": "fiveVerHorDis"
},
{
"keys": "体力不足Bg.png,体力不足按钮.png",
"name": "NoEnergyPanel"
"keys": "圆圈.png,开心收下.png",
"name": "FreePowerPanel"
},
{
"keys": "步数耗尽Bg.png,步数耗尽复活.png,步数耗尽结束按钮.png",
"name": "NoStepPanel"
"keys": "joinBg.png,joinBtn.png",
"name": "JoinPanel"
},
{
"keys": "prizePanel.png,prizePanelBtn.png",
"name": "PrizePanel"
"keys": "carb_arm.png,carb_body.png,carb_hand_l.png,carb_hand_r.png,fox_arm_l.png,fox_body.png,fox_head.png,fox_tail0.png,fox_tail1.png,fox_tail10.png,fox_tail11.png,fox_tail12.png,fox_tail13.png,fox_tail14.png,fox_tail2.png,fox_tail3.png,fox_tail4.png,fox_tail5.png,fox_tail6.png,fox_tail7.png,fox_tail8.png,fox_tail9.png,hommer.png,img_line1.png,img_line2.png,img_line3.png,img_line4.png,img_line5.png,img_owl.png,img_tree.png,lighting_1.png,lighting_2.png,loadingBg.jpg,loadingBg2.png,loadingPro0.png,loadingPro1.png,loadingPro10.png,loadingPro11.png,loadingPro2.png,loadingPro3.png,loadingPro4.png,loadingPro5.png,loadingPro6.png,loadingPro7.png,loadingPro8.png,loadingPro9.png,loadingTitle.png,owl_sleep.png,proDown.png,wheel.png",
"name": "loadingScene"
},
{
"keys": "活动规则背景.png",
"name": "RulePanel"
"keys": "lotteryBtn.png,lotteryItemBg.png,lotteryMachineBg.jpg,prizeItemBg.png,shadowMask.png",
"name": "lotteryScene"
},
{
"keys": "开始闯关Bg.png",
"name": "StartPanel"
"keys": "cur_light_1.png,cur_light_2.png,guide_fox.png,guide_hand.png,guide_light.png,guide_tip.png,map_avatar_bg.png,map_bg1.jpg,map_bg2.jpg,map_bg3.jpg,map_check_disable.png,map_check_disable_prize.png,map_check_enable.png,map_check_enable_cur.png,map_creditsBg.png,map_energyAdd.png,map_energyBg.png,map_prizeBox.png,map_prizeBtn.png,map_ruleBtn.png,map_star_disable.png,map_star_enable.png,map_taskBtn.png,map_推车.png,map_狐狸气球.png,water1.png,water2.png",
"name": "map"
},
{
"keys": "关卡弹窗Bg.png",
"name": "StartPanelPrize"
"keys": "prize_check_0.png,prize_check_1.png,prize_check_10.png,prize_check_11.png,prize_check_12.png,prize_check_13.png,prize_check_14.png,prize_check_15.png,prize_check_16.png,prize_check_2.png,prize_check_3.png,prize_check_4.png,prize_check_5.png,prize_check_6.png,prize_check_7.png,prize_check_8.png,prize_check_9.png",
"name": "mapCheckPrizeEffect"
},
{
"keys": "star_dis.png,star_en.png,去抽奖.png,圆角矩形 648.png,道具圆圈.png,闯关成功.png,闯关成功Bg.png,闯关成功不满星按钮.png",
"name": "SuccessPanel"
"keys": "map_crab_0.png,map_crab_1.png,map_crab_10.png,map_crab_11.png,map_crab_12.png,map_crab_13.png,map_crab_14.png,map_crab_15.png,map_crab_16.png,map_crab_17.png,map_crab_18.png,map_crab_19.png,map_crab_2.png,map_crab_20.png,map_crab_21.png,map_crab_22.png,map_crab_23.png,map_crab_24.png,map_crab_25.png,map_crab_26.png,map_crab_27.png,map_crab_28.png,map_crab_29.png,map_crab_3.png,map_crab_30.png,map_crab_4.png,map_crab_5.png,map_crab_6.png,map_crab_7.png,map_crab_8.png,map_crab_9.png",
"name": "mapCrabEffect"
},
{
"keys": "任务背景.png,去完成.png,去完成灰.png,待领取.png",
"name": "TaskPanel"
"keys": "map_owl_0.png,map_owl_1.png,map_owl_10.png,map_owl_11.png,map_owl_12.png,map_owl_13.png,map_owl_14.png,map_owl_15.png,map_owl_2.png,map_owl_3.png,map_owl_4.png,map_owl_5.png,map_owl_6.png,map_owl_7.png,map_owl_8.png,map_owl_9.png",
"name": "mapOwlEffect"
},
{
"keys": "道具不足背景.png",
"name": "ToolsOutPanel"
"keys": "map_whale_0.png,map_whale_1.png,map_whale_10.png,map_whale_11.png,map_whale_12.png,map_whale_2.png,map_whale_3.png,map_whale_4.png,map_whale_5.png,map_whale_6.png,map_whale_7.png,map_whale_8.png,map_whale_9.png",
"name": "mapWhaleEffect"
},
{
"keys": "使用道具背景.png",
"name": "UseToolPanel"
"keys": "体力不足Bg.png,体力不足按钮.png",
"name": "NoEnergyPanel"
},
{
"keys": "amazing.png,great.png,img_0.png,img_1.png,img_10.png,img_11.png,img_12.png,img_13.png,img_14.png,img_15.png,img_16.png,img_17.png,img_18.png,img_19.png,img_2.png,img_3.png,img_4.png,img_5.png,img_6.png,img_7.png,img_8.png,img_9.png,wonderful.png",
"name": "bonusTime"
"keys": "noPrizeBg.png,知道了.png",
"name": "NoPrizePanel"
},
{
"keys": "boomBtn.png,comCloseBtn.png,comm_light.png,ele0.png,ele1.png,ele10.png,ele11.png,ele12.png,ele13.png,ele14.png,ele2.png,ele3.png,ele4.png,ele5.png,ele6.png,ele7.png,ele8.png,ele9.png,hammerBtn.png,star.png,stepBtn.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,再想想.png,开始闯关不要能量.png,开始闯关要能量.png,确定.png,继续闯关大.png,继续闯关小.png",
"name": "common"
"keys": "步数耗尽Bg.png,步数耗尽复活.png,步数耗尽结束按钮.png",
"name": "NoStepPanel"
},
{
"keys": "fesEleSmallDis1.png,fesEleSmallDis10.png,fesEleSmallDis2.png,fesEleSmallDis3.png,fesEleSmallDis4.png,fesEleSmallDis5.png,fesEleSmallDis6.png,fesEleSmallDis7.png,fesEleSmallDis8.png,fesEleSmallDis9.png,fesRedBigLight.png,fesRedBombSta1.png,fesRedCap.png,fesRedDown.png,fesRedSmallLight.png,fesRedUp.png,festivalTargetBg.png,lineLight1.png,lineLight10.png,lineLight11.png,lineLight12.png,lineLight13.png,lineLight2.png,lineLight3.png,lineLight4.png,lineLight5.png,lineLight6.png,lineLight7.png,lineLight8.png,lineLight9.png,xingxingbi.png",
"name": "festival"
"keys": "blueDoorBg.png,bonusFra0.png,bonusFra1.png,bonusFra10.png,bonusFra11.png,bonusFra2.png,bonusFra3.png,bonusFra4.png,bonusFra5.png,bonusFra6.png,bonusFra7.png,bonusFra8.png,bonusFra9.png,bonusShoot.png,boom0.png,boom1.png,boom10.png,boom11.png,boom12.png,boom13.png,boom14.png,boom15.png,boom16.png,boom17.png,boom18.png,boom19.png,boom2.png,boom20.png,boom3.png,boom4.png,boom5.png,boom6.png,boom7.png,boom8.png,boom9.png,brownBallFace.png,bubbleStar1.png,bubbleStar10.png,bubbleStar11.png,bubbleStar12.png,bubbleStar13.png,bubbleStar14.png,bubbleStar15.png,bubbleStar16.png,bubbleStar17.png,bubbleStar18.png,bubbleStar19.png,bubbleStar2.png,bubbleStar3.png,bubbleStar4.png,bubbleStar5.png,bubbleStar6.png,bubbleStar7.png,bubbleStar8.png,bubbleStar9.png,bubleEle0.png,bubleEle1.png,bubleEle2.png,bubleEle3.png,bubleEle4.png,chapterNum0.png,chapterNum1.png,chapterNum2.png,chapterNum3.png,chapterNum4.png,chapterNum5.png,chapterNum6.png,chapterNum7.png,chapterNum8.png,chapterNum9.png,chapterNum关.png,chapterNum第.png,chooseRect.png,doorClosed.png,doorOpen.png,eggPiece1.png,eggPiece2.png,eggPiece3.png,eggPiece4.png,eggPiece5.png,eggStatus0.png,eggStatus1.png,eggStatus2.png,ele0Exp.png,ele1Exp.png,ele2Exp.png,ele3Exp.png,ele4Exp.png,exLighting0.png,exLighting10.png,exLighting13.png,exLighting15.png,exLighting17.png,exLighting18.png,exLighting2.png,exLighting20.png,exLighting22.png,exLighting24.png,exLighting26.png,exLighting28.png,exLighting31.png,exLighting33.png,exLighting4.png,exLighting6.png,exLighting8.png,eyeDownLeft.png,eyeDownRight.png,eyeSingle.png,gameGuideBoard.png,greenCircleDown.png,greenCircleUp.png,greyBallFace.png,guidePropBoom.png,guidePropCow.png,guidePropHammer.png,guidePropHand.png,guidePropMsgPanel.png,guidePropShoe.png,hairballDisBg.png,hairballPiece1.png,hairballPiece2.png,hairballPiece3.png,hairballPiece4.png,hairballPiece5.png,hairballPiece6.png,hairballPiece7.png,hairballPiece8.png,hairballPiece9.png,ice2.png,ice3.png,ice4.png,ice5.png,ice6.png,jellyArrow.png,leftArrow.png,lightedStar.png,lineLight.png,lockVine.png,magicLion.png,magicLionBg.png,main_mapbottom.png,musicOff.png,musicOn.png,playBg.jpg,propNum0.png,propNum1.png,propNum2.png,propNum3.png,propNum4.png,propNum5.png,propNum6.png,propNum7.png,propNum8.png,propNum9.png,rectLat.png,rectLatWhite.png,redDoorBg.png,rightArrow.png,rightMark.png,rock2.png,rock3.png,rock4.png,rock5.png,rock6.png,scoreNum0.png,scoreNum1.png,scoreNum2.png,scoreNum3.png,scoreNum4.png,scoreNum5.png,scoreNum6.png,scoreNum7.png,scoreNum8.png,scoreNum9.png,scoreNum关.png,scoreNum冒号.png,scoreNum分.png,scoreNum数.png,scoreNum通.png,settingBg.png,settingBtn.png,starProgress.png,stepAni1.png,stepAni10.png,stepAni11.png,stepAni2.png,stepAni3.png,stepAni4.png,stepAni5.png,stepAni6.png,stepAni7.png,stepAni8.png,stepAni9.png,stepNum0.png,stepNum1.png,stepNum2.png,stepNum3.png,stepNum4.png,stepNum5.png,stepNum6.png,stepNum7.png,stepNum8.png,stepNum9.png,table.png,tarNum0.png,tarNum1.png,tarNum2.png,tarNum3.png,tarNum4.png,tarNum5.png,tarNum6.png,tarNum7.png,tarNum8.png,tarNum9.png,topBg.png,unlightedStar.png,yellowCircleDown.png,yellowCircleUp.png,yellowDoorBg.png",
"name": "playScene"
},
{
"keys": "dis_ele0_0.png,dis_ele0_1.png,dis_ele0_10.png,dis_ele0_11.png,dis_ele0_12.png,dis_ele0_13.png,dis_ele0_14.png,dis_ele0_2.png,dis_ele0_3.png,dis_ele0_4.png,dis_ele0_5.png,dis_ele0_6.png,dis_ele0_7.png,dis_ele0_8.png,dis_ele0_9.png,dis_ele1_0.png,dis_ele1_1.png,dis_ele1_10.png,dis_ele1_11.png,dis_ele1_12.png,dis_ele1_13.png,dis_ele1_14.png,dis_ele1_2.png,dis_ele1_3.png,dis_ele1_4.png,dis_ele1_5.png,dis_ele1_6.png,dis_ele1_7.png,dis_ele1_8.png,dis_ele1_9.png,dis_ele2_0.png,dis_ele2_1.png,dis_ele2_10.png,dis_ele2_11.png,dis_ele2_12.png,dis_ele2_13.png,dis_ele2_14.png,dis_ele2_2.png,dis_ele2_3.png,dis_ele2_4.png,dis_ele2_5.png,dis_ele2_6.png,dis_ele2_7.png,dis_ele2_8.png,dis_ele2_9.png,dis_ele3_.png,dis_ele3_0.png,dis_ele3_1.png,dis_ele3_10.png,dis_ele3_11.png,dis_ele3_12.png,dis_ele3_13.png,dis_ele3_14.png,dis_ele3_2.png,dis_ele3_3.png,dis_ele3_4.png,dis_ele3_6.png,dis_ele3_7.png,dis_ele3_8.png,dis_ele3_9.png,dis_ele4_0.png,dis_ele4_1.png,dis_ele4_10.png,dis_ele4_11.png,dis_ele4_12.png,dis_ele4_13.png,dis_ele4_14.png,dis_ele4_2.png,dis_ele4_3.png,dis_ele4_4.png,dis_ele4_5.png,dis_ele4_6.png,dis_ele4_7.png,dis_ele4_8.png,dis_ele4_9.png,hor_ele0_0.png,hor_ele0_1.png,hor_ele0_10.png,hor_ele0_11.png,hor_ele0_12.png,hor_ele0_13.png,hor_ele0_14.png,hor_ele0_15.png,hor_ele0_2.png,hor_ele0_3.png,hor_ele0_4.png,hor_ele0_5.png,hor_ele0_6.png,hor_ele0_7.png,hor_ele0_8.png,hor_ele0_9.png,hor_ele1_0.png,hor_ele1_1.png,hor_ele1_10.png,hor_ele1_11.png,hor_ele1_12.png,hor_ele1_13.png,hor_ele1_14.png,hor_ele1_15.png,hor_ele1_2.png,hor_ele1_3.png,hor_ele1_4.png,hor_ele1_5.png,hor_ele1_6.png,hor_ele1_7.png,hor_ele1_8.png,hor_ele1_9.png,hor_ele2_0.png,hor_ele2_1.png,hor_ele2_10.png,hor_ele2_11.png,hor_ele2_12.png,hor_ele2_13.png,hor_ele2_14.png,hor_ele2_15.png,hor_ele2_2.png,hor_ele2_3.png,hor_ele2_4.png,hor_ele2_5.png,hor_ele2_6.png,hor_ele2_7.png,hor_ele2_8.png,hor_ele2_9.png,hor_ele3_0.png,hor_ele3_1.png,hor_ele3_10.png,hor_ele3_11.png,hor_ele3_12.png,hor_ele3_13.png,hor_ele3_14.png,hor_ele3_15.png,hor_ele3_2.png,hor_ele3_3.png,hor_ele3_4.png,hor_ele3_5.png,hor_ele3_6.png,hor_ele3_7.png,hor_ele3_8.png,hor_ele3_9.png,hor_ele4_0.png,hor_ele4_1.png,hor_ele4_10.png,hor_ele4_11.png,hor_ele4_12.png,hor_ele4_13.png,hor_ele4_14.png,hor_ele4_15.png,hor_ele4_2.png,hor_ele4_3.png,hor_ele4_4.png,hor_ele4_5.png,hor_ele4_6.png,hor_ele4_7.png,hor_ele4_8.png,hor_ele4_9.png,ver_ele0_0.png,ver_ele0_1.png,ver_ele0_10.png,ver_ele0_11.png,ver_ele0_12.png,ver_ele0_13.png,ver_ele0_14.png,ver_ele0_15.png,ver_ele0_2.png,ver_ele0_3.png,ver_ele0_4.png,ver_ele0_5.png,ver_ele0_6.png,ver_ele0_7.png,ver_ele0_8.png,ver_ele0_9.png,ver_ele1_0.png,ver_ele1_1.png,ver_ele1_10.png,ver_ele1_11.png,ver_ele1_12.png,ver_ele1_13.png,ver_ele1_14.png,ver_ele1_15.png,ver_ele1_2.png,ver_ele1_3.png,ver_ele1_4.png,ver_ele1_5.png,ver_ele1_6.png,ver_ele1_7.png,ver_ele1_8.png,ver_ele1_9.png,ver_ele2_0.png,ver_ele2_1.png,ver_ele2_10.png,ver_ele2_11.png,ver_ele2_12.png,ver_ele2_13.png,ver_ele2_14.png,ver_ele2_15.png,ver_ele2_2.png,ver_ele2_3.png,ver_ele2_4.png,ver_ele2_5.png,ver_ele2_6.png,ver_ele2_7.png,ver_ele2_8.png,ver_ele2_9.png,ver_ele3_0.png,ver_ele3_1.png,ver_ele3_10.png,ver_ele3_11.png,ver_ele3_12.png,ver_ele3_13.png,ver_ele3_14.png,ver_ele3_15.png,ver_ele3_2.png,ver_ele3_3.png,ver_ele3_4.png,ver_ele3_5.png,ver_ele3_6.png,ver_ele3_7.png,ver_ele3_8.png,ver_ele3_9.png,ver_ele4_0.png,ver_ele4_1.png,ver_ele4_10.png,ver_ele4_11.png,ver_ele4_12.png,ver_ele4_13.png,ver_ele4_14.png,ver_ele4_15.png,ver_ele4_2.png,ver_ele4_3.png,ver_ele4_4.png,ver_ele4_5.png,ver_ele4_6.png,ver_ele4_7.png,ver_ele4_8.png,ver_ele4_9.png",
"name": "fiveVerHorDis"
"keys": "prizePanel.png,prizePanelBtn.png",
"name": "PrizePanel"
},
{
"keys": "carb_arm.png,carb_body.png,carb_hand_l.png,carb_hand_r.png,fox_arm_l.png,fox_body.png,fox_head.png,fox_tail0.png,fox_tail1.png,fox_tail10.png,fox_tail11.png,fox_tail12.png,fox_tail13.png,fox_tail14.png,fox_tail2.png,fox_tail3.png,fox_tail4.png,fox_tail5.png,fox_tail6.png,fox_tail7.png,fox_tail8.png,fox_tail9.png,hommer.png,img_line1.png,img_line2.png,img_line3.png,img_line4.png,img_line5.png,img_owl.png,img_tree.png,lighting_1.png,lighting_2.png,loadingBg.jpg,loadingBg2.png,loadingPro0.png,loadingPro1.png,loadingPro10.png,loadingPro11.png,loadingPro2.png,loadingPro3.png,loadingPro4.png,loadingPro5.png,loadingPro6.png,loadingPro7.png,loadingPro8.png,loadingPro9.png,loadingTitle.png,owl_sleep.png,proDown.png,wheel.png",
"name": "loadingScene"
"keys": "活动规则背景.png",
"name": "RulePanel"
},
{
"keys": "cur_light_1.png,cur_light_2.png,guide_fox.png,guide_hand.png,guide_light.png,guide_tip.png,map_avatar_bg.png,map_bg1.jpg,map_bg2.jpg,map_bg3.jpg,map_check_disable.png,map_check_disable_prize.png,map_check_enable.png,map_check_enable_cur.png,map_creditsBg.png,map_energyAdd.png,map_energyBg.png,map_prizeBox.png,map_prizeBtn.png,map_ruleBtn.png,map_star_disable.png,map_star_enable.png,map_taskBtn.png,map_推车.png,map_狐狸气球.png,water1.png,water2.png",
"name": "map"
"keys": "star_light_0.png,star_light_1.png,star_light_10.png,star_light_11.png,star_light_12.png,star_light_13.png,star_light_14.png,star_light_15.png,star_light_2.png,star_light_3.png,star_light_4.png,star_light_5.png,star_light_6.png,star_light_7.png,star_light_8.png,star_light_9.png",
"name": "starLight"
},
{
"keys": "prize_check_0.png,prize_check_1.png,prize_check_10.png,prize_check_11.png,prize_check_12.png,prize_check_13.png,prize_check_14.png,prize_check_15.png,prize_check_16.png,prize_check_2.png,prize_check_3.png,prize_check_4.png,prize_check_5.png,prize_check_6.png,prize_check_7.png,prize_check_8.png,prize_check_9.png",
"name": "mapCheckPrizeEffect"
"keys": "开始闯关Bg.png",
"name": "StartPanel"
},
{
"keys": "map_crab_0.png,map_crab_1.png,map_crab_10.png,map_crab_11.png,map_crab_12.png,map_crab_13.png,map_crab_14.png,map_crab_15.png,map_crab_16.png,map_crab_17.png,map_crab_18.png,map_crab_19.png,map_crab_2.png,map_crab_20.png,map_crab_21.png,map_crab_22.png,map_crab_23.png,map_crab_24.png,map_crab_25.png,map_crab_26.png,map_crab_27.png,map_crab_28.png,map_crab_29.png,map_crab_3.png,map_crab_30.png,map_crab_4.png,map_crab_5.png,map_crab_6.png,map_crab_7.png,map_crab_8.png,map_crab_9.png",
"name": "mapCrabEffect"
"keys": "关卡弹窗Bg.png",
"name": "StartPanelPrize"
},
{
"keys": "map_owl_0.png,map_owl_1.png,map_owl_10.png,map_owl_11.png,map_owl_12.png,map_owl_13.png,map_owl_14.png,map_owl_15.png,map_owl_2.png,map_owl_3.png,map_owl_4.png,map_owl_5.png,map_owl_6.png,map_owl_7.png,map_owl_8.png,map_owl_9.png",
"name": "mapOwlEffect"
"keys": "star_dis.png,star_en.png,去抽奖.png,圆角矩形 648.png,道具圆圈.png,闯关成功.png,闯关成功Bg.png,闯关成功不满星按钮.png",
"name": "SuccessPanel"
},
{
"keys": "map_whale_0.png,map_whale_1.png,map_whale_10.png,map_whale_11.png,map_whale_12.png,map_whale_2.png,map_whale_3.png,map_whale_4.png,map_whale_5.png,map_whale_6.png,map_whale_7.png,map_whale_8.png,map_whale_9.png",
"name": "mapWhaleEffect"
"keys": "任务背景.png,去完成.png,去完成灰.png,待领取.png",
"name": "TaskPanel"
},
{
"keys": "blueDoorBg.png,bonusFra0.png,bonusFra1.png,bonusFra10.png,bonusFra11.png,bonusFra2.png,bonusFra3.png,bonusFra4.png,bonusFra5.png,bonusFra6.png,bonusFra7.png,bonusFra8.png,bonusFra9.png,bonusShoot.png,boom0.png,boom1.png,boom10.png,boom11.png,boom12.png,boom13.png,boom14.png,boom15.png,boom16.png,boom17.png,boom18.png,boom19.png,boom2.png,boom20.png,boom3.png,boom4.png,boom5.png,boom6.png,boom7.png,boom8.png,boom9.png,brownBallFace.png,bubbleStar1.png,bubbleStar10.png,bubbleStar11.png,bubbleStar12.png,bubbleStar13.png,bubbleStar14.png,bubbleStar15.png,bubbleStar16.png,bubbleStar17.png,bubbleStar18.png,bubbleStar19.png,bubbleStar2.png,bubbleStar3.png,bubbleStar4.png,bubbleStar5.png,bubbleStar6.png,bubbleStar7.png,bubbleStar8.png,bubbleStar9.png,bubleEle0.png,bubleEle1.png,bubleEle2.png,bubleEle3.png,bubleEle4.png,chapterNum0.png,chapterNum1.png,chapterNum2.png,chapterNum3.png,chapterNum4.png,chapterNum5.png,chapterNum6.png,chapterNum7.png,chapterNum8.png,chapterNum9.png,chapterNum关.png,chapterNum第.png,chooseRect.png,doorClosed.png,doorOpen.png,eggPiece1.png,eggPiece2.png,eggPiece3.png,eggPiece4.png,eggPiece5.png,eggStatus0.png,eggStatus1.png,eggStatus2.png,ele0Exp.png,ele1Exp.png,ele2Exp.png,ele3Exp.png,ele4Exp.png,exLighting0.png,exLighting10.png,exLighting13.png,exLighting15.png,exLighting17.png,exLighting18.png,exLighting2.png,exLighting20.png,exLighting22.png,exLighting24.png,exLighting26.png,exLighting28.png,exLighting31.png,exLighting33.png,exLighting4.png,exLighting6.png,exLighting8.png,eyeDownLeft.png,eyeDownRight.png,eyeSingle.png,gameGuideBoard.png,greenCircleDown.png,greenCircleUp.png,greyBallFace.png,guidePropBoom.png,guidePropCow.png,guidePropHammer.png,guidePropHand.png,guidePropMsgPanel.png,guidePropShoe.png,hairballDisBg.png,hairballPiece1.png,hairballPiece2.png,hairballPiece3.png,hairballPiece4.png,hairballPiece5.png,hairballPiece6.png,hairballPiece7.png,hairballPiece8.png,hairballPiece9.png,ice2.png,ice3.png,ice4.png,ice5.png,ice6.png,jellyArrow.png,leftArrow.png,lightedStar.png,lineLight.png,lockVine.png,magicLion.png,magicLionBg.png,main_mapbottom.png,musicOff.png,musicOn.png,playBg.jpg,propNum0.png,propNum1.png,propNum2.png,propNum3.png,propNum4.png,propNum5.png,propNum6.png,propNum7.png,propNum8.png,propNum9.png,rectLat.png,rectLatWhite.png,redDoorBg.png,rightArrow.png,rightMark.png,rock2.png,rock3.png,rock4.png,rock5.png,rock6.png,scoreNum0.png,scoreNum1.png,scoreNum2.png,scoreNum3.png,scoreNum4.png,scoreNum5.png,scoreNum6.png,scoreNum7.png,scoreNum8.png,scoreNum9.png,scoreNum关.png,scoreNum冒号.png,scoreNum分.png,scoreNum数.png,scoreNum通.png,settingBg.png,settingBtn.png,starProgress.png,stepAni1.png,stepAni10.png,stepAni11.png,stepAni2.png,stepAni3.png,stepAni4.png,stepAni5.png,stepAni6.png,stepAni7.png,stepAni8.png,stepAni9.png,stepNum0.png,stepNum1.png,stepNum2.png,stepNum3.png,stepNum4.png,stepNum5.png,stepNum6.png,stepNum7.png,stepNum8.png,stepNum9.png,table.png,tarNum0.png,tarNum1.png,tarNum2.png,tarNum3.png,tarNum4.png,tarNum5.png,tarNum6.png,tarNum7.png,tarNum8.png,tarNum9.png,topBg.png,unlightedStar.png,yellowCircleDown.png,yellowCircleUp.png,yellowDoorBg.png",
"name": "playScene"
"keys": "道具不足背景.png",
"name": "ToolsOutPanel"
},
{
"keys": "star_light_0.png,star_light_1.png,star_light_10.png,star_light_11.png,star_light_12.png,star_light_13.png,star_light_14.png,star_light_15.png,star_light_2.png,star_light_3.png,star_light_4.png,star_light_5.png,star_light_6.png,star_light_7.png,star_light_8.png,star_light_9.png",
"name": "starLight"
"keys": "使用道具背景.png",
"name": "UseToolPanel"
}
],
"path": "./resource/"
......
......@@ -6,7 +6,7 @@ var fs = require("fs");
// fs.readFileSync("./output.js")
// )
// var endPath = 'D:/duibaGame/测试项目0527/taobaominiTest/client/pages/index1/';
var endPath = 'D:/duibaGame/淘宝项目/babycareXiaoxiaoleTBminiTry/client/pages/index/';
var endPath = 'D:/duibaGame/淘宝项目/taobao_mini/babycare_xiaoxiaole/babycare_c_client/client/pages/index/';
var version = Math.round(new Date().getTime() / 1000);
// fs.writeFileSync(endPath + "output." + version + ".js", fs.readFileSync("./released/output.js"));
fs.writeFileSync(endPath + "output.js", fs.readFileSync("./released/output.js"));
......
......@@ -13,6 +13,8 @@ import { PlayScene } from "./scene/PlayScene";
import { LoadingScene } from "./scene/LoadingScene";
import { JoinPanel } from "./panels/JoinPanel";
import { NoStepPanel } from "./panels/NoStepPanel";
import { NoPrizePanel } from "./panels/NoPrizePanel";
import { LotteryScene } from "./scene/LotteryScene";
/**
* 全局事件,为了和小程序交互
......@@ -86,13 +88,12 @@ export class Main {
//隐藏加载中
// if (document.getElementById("__loading__")) document.getElementById("__loading__").style.display = "none";
//打开开始场景
// changeScene(MapScene);
changeScene(LoadingScene);
// changeScene(SStartScene);
// changeScene(StoryScene);
// changeScene(AdoptScene);
// console.log("恶趣味去")
// showPanel(NoStepPanel)
// showPanel(NoPrizePanel)
//测试
// sendTbNet(TbNetName.aaa, {}, (s, res) => {
// console.log(res)
......
export const ResJson = {
"groups": [
{
"keys": "增加体力背景.png,无字按钮底.png",
"name": "BuyPowerPanel",
"atlas": {
"增加体力背景.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 477,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 477,
"ro": true
},
"无字按钮底.png": {
"x": 2,
"y": 644,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": false
}
}
},
{
"keys": "积分不足背景.png,赚取积分.png",
"name": "CreditsOutPanel",
"atlas": {
"积分不足背景.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 437,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 437,
"ro": true
},
"赚取积分.png": {
"x": 2,
"y": 644,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": false
}
}
},
{
"keys": "兑换成功背景.png,知道啦.png",
"name": "ExchangeSucPanel",
"atlas": {
"兑换成功背景.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 599,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 599,
"ro": false
},
"知道啦.png": {
"x": 644,
"y": 2,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": true
}
}
},
{
"keys": "失败Bg.png,失败重新闯关.png",
"name": "FailedPanel",
"atlas": {
"失败Bg.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 839,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 839,
"ro": false
},
"失败重新闯关.png": {
"x": 2,
"y": 843,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": false
}
}
},
{
"keys": "圆圈.png,开心收下.png",
"name": "FreePowerPanel",
"atlas": {
"圆圈.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 798,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 798,
"ro": false
},
"开心收下.png": {
"x": 2,
"y": 802,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": false
}
}
},
{
"keys": "joinBg.png,joinBtn.png",
"name": "JoinPanel",
"atlas": {
"joinBg.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 438,
"ox": 55,
"oy": 497,
"sw": 750,
"sh": 1624,
"ro": true
},
"joinBtn.png": {
"x": 2,
"y": 644,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": false
}
}
},
{
"keys": "体力不足Bg.png,体力不足按钮.png",
"name": "NoEnergyPanel",
"atlas": {
"体力不足Bg.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 567,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 567,
"ro": false
},
"体力不足按钮.png": {
"x": 2,
"y": 571,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": true
}
}
},
{
"keys": "步数耗尽Bg.png,步数耗尽复活.png,步数耗尽结束按钮.png",
"name": "NoStepPanel",
"atlas": {
"步数耗尽Bg.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 527,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 527,
"ro": false
},
"步数耗尽复活.png": {
"x": 644,
"y": 118,
"w": 274,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 274,
"sh": 114,
"ro": false
},
"步数耗尽结束按钮.png": {
"x": 644,
"y": 2,
"w": 274,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 274,
"sh": 114,
"ro": false
}
}
},
{
"keys": "prizePanel.png,prizePanelBtn.png",
"name": "PrizePanel",
"atlas": {
"prizePanel.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 789,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 789,
"ro": false
},
"prizePanelBtn.png": {
"x": 2,
"y": 793,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": false
}
}
},
{
"keys": "活动规则背景.png",
"name": "RulePanel",
"atlas": {
"活动规则背景.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 747,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 747,
"ro": false
}
}
},
{
"keys": "开始闯关Bg.png",
"name": "StartPanel",
"atlas": {
"开始闯关Bg.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 799,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 799,
"ro": false
}
}
},
{
"keys": "关卡弹窗Bg.png",
"name": "StartPanelPrize",
"atlas": {
"关卡弹窗Bg.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 1019,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 1019,
"ro": false
}
}
},
{
"keys": "star_dis.png,star_en.png,去抽奖.png,圆角矩形 648.png,道具圆圈.png,闯关成功.png,闯关成功Bg.png,闯关成功不满星按钮.png",
"name": "SuccessPanel",
"atlas": {
"star_dis.png": {
"x": 835,
"y": 957,
"w": 150,
"h": 144,
"ox": 0,
"oy": 0,
"sw": 150,
"sh": 144,
"ro": false
},
"star_en.png": {
"x": 835,
"y": 644,
"w": 164,
"h": 157,
"ox": 0,
"oy": 0,
"sw": 164,
"sh": 157,
"ro": false
},
"去抽奖.png": {
"x": 2,
"y": 1883,
"w": 274,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 274,
"sh": 114,
"ro": false
},
"圆角矩形 648.png": {
"x": 2,
"y": 1379,
"w": 502,
"h": 196,
"ox": 0,
"oy": 2,
"sw": 504,
"sh": 200,
"ro": true
},
"道具圆圈.png": {
"x": 835,
"y": 803,
"w": 152,
"h": 152,
"ox": 0,
"oy": 0,
"sw": 152,
"sh": 152,
"ro": false
},
"闯关成功.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 971,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 971,
"ro": true
},
"闯关成功Bg.png": {
"x": 2,
"y": 644,
"w": 640,
"h": 831,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 831,
"ro": true
},
"闯关成功不满星按钮.png": {
"x": 835,
"y": 1103,
"w": 274,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 274,
"sh": 114,
"ro": true
}
}
},
{
"keys": "任务背景.png,去完成.png,去完成灰.png,待领取.png",
"name": "TaskPanel",
"atlas": {
"任务背景.png": {
"x": 2,
"y": 2,
"w": 750,
"h": 1046,
"ox": 0,
"oy": 0,
"sw": 750,
"sh": 1046,
"ro": false
},
"去完成.png": {
"x": 754,
"y": 84,
"w": 183,
"h": 80,
"ox": 0,
"oy": 0,
"sw": 183,
"sh": 80,
"ro": false
},
"去完成灰.png": {
"x": 939,
"y": 2,
"w": 183,
"h": 80,
"ox": 0,
"oy": 0,
"sw": 183,
"sh": 80,
"ro": true
},
"待领取.png": {
"x": 754,
"y": 2,
"w": 183,
"h": 80,
"ox": 0,
"oy": 0,
"sw": 183,
"sh": 80,
"ro": false
}
}
},
{
"keys": "道具不足背景.png",
"name": "ToolsOutPanel",
"atlas": {
"道具不足背景.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 437,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 437,
"ro": true
}
}
},
{
"keys": "使用道具背景.png",
"name": "UseToolPanel",
"atlas": {
"使用道具背景.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 437,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 437,
"ro": true
}
}
},
{
"keys": "amazing.png,great.png,img_0.png,img_1.png,img_10.png,img_11.png,img_12.png,img_13.png,img_14.png,img_15.png,img_16.png,img_17.png,img_18.png,img_19.png,img_2.png,img_3.png,img_4.png,img_5.png,img_6.png,img_7.png,img_8.png,img_9.png,wonderful.png",
"name": "bonusTime",
......@@ -751,6 +259,34 @@ export const ResJson = {
}
}
},
{
"keys": "增加体力背景.png,无字按钮底.png",
"name": "BuyPowerPanel",
"atlas": {
"增加体力背景.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 477,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 477,
"ro": true
},
"无字按钮底.png": {
"x": 2,
"y": 644,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": false
}
}
},
{
"keys": "boomBtn.png,comCloseBtn.png,comm_light.png,ele0.png,ele1.png,ele10.png,ele11.png,ele12.png,ele13.png,ele14.png,ele2.png,ele3.png,ele4.png,ele5.png,ele6.png,ele7.png,ele8.png,ele9.png,hammerBtn.png,star.png,stepBtn.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,再想想.png,开始闯关不要能量.png,开始闯关要能量.png,确定.png,继续闯关大.png,继续闯关小.png",
"name": "common",
......@@ -1085,16 +621,100 @@ export const ResJson = {
"sh": 114,
"ro": true
},
"继续闯关小.png": {
"x": 350,
"y": 575,
"w": 274,
"继续闯关小.png": {
"x": 350,
"y": 575,
"w": 274,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 274,
"sh": 114,
"ro": true
}
}
},
{
"keys": "积分不足背景.png,赚取积分.png",
"name": "CreditsOutPanel",
"atlas": {
"积分不足背景.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 437,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 437,
"ro": true
},
"赚取积分.png": {
"x": 2,
"y": 644,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": false
}
}
},
{
"keys": "兑换成功背景.png,知道啦.png",
"name": "ExchangeSucPanel",
"atlas": {
"兑换成功背景.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 599,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 599,
"ro": false
},
"知道啦.png": {
"x": 644,
"y": 2,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": true
}
}
},
{
"keys": "失败Bg.png,失败重新闯关.png",
"name": "FailedPanel",
"atlas": {
"失败Bg.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 839,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 839,
"ro": false
},
"失败重新闯关.png": {
"x": 2,
"y": 843,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 274,
"sw": 424,
"sh": 114,
"ro": true
"ro": false
}
}
},
......@@ -4036,6 +3656,62 @@ export const ResJson = {
}
}
},
{
"keys": "圆圈.png,开心收下.png",
"name": "FreePowerPanel",
"atlas": {
"圆圈.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 798,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 798,
"ro": false
},
"开心收下.png": {
"x": 2,
"y": 802,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": false
}
}
},
{
"keys": "joinBg.png,joinBtn.png",
"name": "JoinPanel",
"atlas": {
"joinBg.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 438,
"ox": 55,
"oy": 497,
"sw": 750,
"sh": 1624,
"ro": true
},
"joinBtn.png": {
"x": 2,
"y": 644,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": false
}
}
},
{
"keys": "carb_arm.png,carb_body.png,carb_hand_l.png,carb_hand_r.png,fox_arm_l.png,fox_body.png,fox_head.png,fox_tail0.png,fox_tail1.png,fox_tail10.png,fox_tail11.png,fox_tail12.png,fox_tail13.png,fox_tail14.png,fox_tail2.png,fox_tail3.png,fox_tail4.png,fox_tail5.png,fox_tail6.png,fox_tail7.png,fox_tail8.png,fox_tail9.png,hommer.png,img_line1.png,img_line2.png,img_line3.png,img_line4.png,img_line5.png,img_owl.png,img_tree.png,lighting_1.png,lighting_2.png,loadingBg.jpg,loadingBg2.png,loadingPro0.png,loadingPro1.png,loadingPro10.png,loadingPro11.png,loadingPro2.png,loadingPro3.png,loadingPro4.png,loadingPro5.png,loadingPro6.png,loadingPro7.png,loadingPro8.png,loadingPro9.png,loadingTitle.png,owl_sleep.png,proDown.png,wheel.png",
"name": "loadingScene",
......@@ -4581,6 +4257,56 @@ export const ResJson = {
}
}
},
{
"keys": "lotteryBtn.png,lotteryItemBg.png,lotteryMachineBg.jpg,prizeItemBg.png,shadowMask.png",
"name": "lotteryScene",
"atlas": {
"lotteryBtn.png": {
"x": 2,
"y": 2,
"w": 350,
"h": 80,
"ox": 0,
"oy": 0,
"sw": 350,
"sh": 80,
"ro": false
},
"lotteryItemBg.png": {
"x": 342,
"y": 113,
"w": 103,
"h": 108,
"ox": 0,
"oy": 0,
"sw": 103,
"sh": 108,
"ro": true
},
"prizeItemBg.png": {
"x": 354,
"y": 2,
"w": 109,
"h": 109,
"ox": 0,
"oy": 0,
"sw": 109,
"sh": 109,
"ro": false
},
"shadowMask.png": {
"x": 2,
"y": 84,
"w": 338,
"h": 195,
"ox": 0,
"oy": 0,
"sw": 338,
"sh": 195,
"ro": false
}
}
},
{
"keys": "cur_light_1.png,cur_light_2.png,guide_fox.png,guide_hand.png,guide_light.png,guide_tip.png,map_avatar_bg.png,map_bg1.jpg,map_bg2.jpg,map_bg3.jpg,map_check_disable.png,map_check_disable_prize.png,map_check_enable.png,map_check_enable_cur.png,map_creditsBg.png,map_energyAdd.png,map_energyBg.png,map_prizeBox.png,map_prizeBtn.png,map_ruleBtn.png,map_star_disable.png,map_star_enable.png,map_taskBtn.png,map_推车.png,map_狐狸气球.png,water1.png,water2.png",
"name": "map",
......@@ -5722,6 +5448,101 @@ export const ResJson = {
}
}
},
{
"keys": "体力不足Bg.png,体力不足按钮.png",
"name": "NoEnergyPanel",
"atlas": {
"体力不足Bg.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 567,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 567,
"ro": false
},
"体力不足按钮.png": {
"x": 2,
"y": 571,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": true
}
}
},
{
"keys": "noPrizeBg.png,知道了.png",
"name": "NoPrizePanel",
"atlas": {
"noPrizeBg.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 438,
"ox": 55,
"oy": 497,
"sw": 750,
"sh": 1624,
"ro": true
},
"知道了.png": {
"x": 2,
"y": 644,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 424,
"sh": 114,
"ro": false
}
}
},
{
"keys": "步数耗尽Bg.png,步数耗尽复活.png,步数耗尽结束按钮.png",
"name": "NoStepPanel",
"atlas": {
"步数耗尽Bg.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 527,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 527,
"ro": false
},
"步数耗尽复活.png": {
"x": 644,
"y": 118,
"w": 274,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 274,
"sh": 114,
"ro": false
},
"步数耗尽结束按钮.png": {
"x": 644,
"y": 2,
"w": 274,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 274,
"sh": 114,
"ro": false
}
}
},
{
"keys": "blueDoorBg.png,bonusFra0.png,bonusFra1.png,bonusFra10.png,bonusFra11.png,bonusFra2.png,bonusFra3.png,bonusFra4.png,bonusFra5.png,bonusFra6.png,bonusFra7.png,bonusFra8.png,bonusFra9.png,bonusShoot.png,boom0.png,boom1.png,boom10.png,boom11.png,boom12.png,boom13.png,boom14.png,boom15.png,boom16.png,boom17.png,boom18.png,boom19.png,boom2.png,boom20.png,boom3.png,boom4.png,boom5.png,boom6.png,boom7.png,boom8.png,boom9.png,brownBallFace.png,bubbleStar1.png,bubbleStar10.png,bubbleStar11.png,bubbleStar12.png,bubbleStar13.png,bubbleStar14.png,bubbleStar15.png,bubbleStar16.png,bubbleStar17.png,bubbleStar18.png,bubbleStar19.png,bubbleStar2.png,bubbleStar3.png,bubbleStar4.png,bubbleStar5.png,bubbleStar6.png,bubbleStar7.png,bubbleStar8.png,bubbleStar9.png,bubleEle0.png,bubleEle1.png,bubleEle2.png,bubleEle3.png,bubleEle4.png,chapterNum0.png,chapterNum1.png,chapterNum2.png,chapterNum3.png,chapterNum4.png,chapterNum5.png,chapterNum6.png,chapterNum7.png,chapterNum8.png,chapterNum9.png,chapterNum关.png,chapterNum第.png,chooseRect.png,doorClosed.png,doorOpen.png,eggPiece1.png,eggPiece2.png,eggPiece3.png,eggPiece4.png,eggPiece5.png,eggStatus0.png,eggStatus1.png,eggStatus2.png,ele0Exp.png,ele1Exp.png,ele2Exp.png,ele3Exp.png,ele4Exp.png,exLighting0.png,exLighting10.png,exLighting13.png,exLighting15.png,exLighting17.png,exLighting18.png,exLighting2.png,exLighting20.png,exLighting22.png,exLighting24.png,exLighting26.png,exLighting28.png,exLighting31.png,exLighting33.png,exLighting4.png,exLighting6.png,exLighting8.png,eyeDownLeft.png,eyeDownRight.png,eyeSingle.png,gameGuideBoard.png,greenCircleDown.png,greenCircleUp.png,greyBallFace.png,guidePropBoom.png,guidePropCow.png,guidePropHammer.png,guidePropHand.png,guidePropMsgPanel.png,guidePropShoe.png,hairballDisBg.png,hairballPiece1.png,hairballPiece2.png,hairballPiece3.png,hairballPiece4.png,hairballPiece5.png,hairballPiece6.png,hairballPiece7.png,hairballPiece8.png,hairballPiece9.png,ice2.png,ice3.png,ice4.png,ice5.png,ice6.png,jellyArrow.png,leftArrow.png,lightedStar.png,lineLight.png,lockVine.png,magicLion.png,magicLionBg.png,main_mapbottom.png,musicOff.png,musicOn.png,playBg.jpg,propNum0.png,propNum1.png,propNum2.png,propNum3.png,propNum4.png,propNum5.png,propNum6.png,propNum7.png,propNum8.png,propNum9.png,rectLat.png,rectLatWhite.png,redDoorBg.png,rightArrow.png,rightMark.png,rock2.png,rock3.png,rock4.png,rock5.png,rock6.png,scoreNum0.png,scoreNum1.png,scoreNum2.png,scoreNum3.png,scoreNum4.png,scoreNum5.png,scoreNum6.png,scoreNum7.png,scoreNum8.png,scoreNum9.png,scoreNum关.png,scoreNum冒号.png,scoreNum分.png,scoreNum数.png,scoreNum通.png,settingBg.png,settingBtn.png,starProgress.png,stepAni1.png,stepAni10.png,stepAni11.png,stepAni2.png,stepAni3.png,stepAni4.png,stepAni5.png,stepAni6.png,stepAni7.png,stepAni8.png,stepAni9.png,stepNum0.png,stepNum1.png,stepNum2.png,stepNum3.png,stepNum4.png,stepNum5.png,stepNum6.png,stepNum7.png,stepNum8.png,stepNum9.png,table.png,tarNum0.png,tarNum1.png,tarNum2.png,tarNum3.png,tarNum4.png,tarNum5.png,tarNum6.png,tarNum7.png,tarNum8.png,tarNum9.png,topBg.png,unlightedStar.png,yellowCircleDown.png,yellowCircleUp.png,yellowDoorBg.png",
"name": "playScene",
......@@ -8098,30 +7919,75 @@ export const ResJson = {
"h": 106,
"ox": 0,
"oy": 0,
"sw": 108,
"sh": 106,
"ro": true
"sw": 108,
"sh": 106,
"ro": true
},
"yellowCircleUp.png": {
"x": 168,
"y": 1848,
"w": 144,
"h": 140,
"ox": 0,
"oy": 0,
"sw": 144,
"sh": 140,
"ro": true
},
"yellowDoorBg.png": {
"x": 709,
"y": 1558,
"w": 94,
"h": 95,
"ox": 0,
"oy": 0,
"sw": 94,
"sh": 95,
"ro": false
}
}
},
{
"keys": "prizePanel.png,prizePanelBtn.png",
"name": "PrizePanel",
"atlas": {
"prizePanel.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 789,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 789,
"ro": false
},
"yellowCircleUp.png": {
"x": 168,
"y": 1848,
"w": 144,
"h": 140,
"prizePanelBtn.png": {
"x": 2,
"y": 793,
"w": 424,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 144,
"sh": 140,
"ro": true
},
"yellowDoorBg.png": {
"x": 709,
"y": 1558,
"w": 94,
"h": 95,
"sw": 424,
"sh": 114,
"ro": false
}
}
},
{
"keys": "活动规则背景.png",
"name": "RulePanel",
"atlas": {
"活动规则背景.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 747,
"ox": 0,
"oy": 0,
"sw": 94,
"sh": 95,
"sw": 640,
"sh": 747,
"ro": false
}
}
......@@ -8307,7 +8173,219 @@ export const ResJson = {
"ro": false
}
}
},
{
"keys": "开始闯关Bg.png",
"name": "StartPanel",
"atlas": {
"开始闯关Bg.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 799,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 799,
"ro": false
}
}
},
{
"keys": "关卡弹窗Bg.png",
"name": "StartPanelPrize",
"atlas": {
"关卡弹窗Bg.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 1019,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 1019,
"ro": false
}
}
},
{
"keys": "star_dis.png,star_en.png,去抽奖.png,圆角矩形 648.png,道具圆圈.png,闯关成功.png,闯关成功Bg.png,闯关成功不满星按钮.png",
"name": "SuccessPanel",
"atlas": {
"star_dis.png": {
"x": 835,
"y": 957,
"w": 150,
"h": 144,
"ox": 0,
"oy": 0,
"sw": 150,
"sh": 144,
"ro": false
},
"star_en.png": {
"x": 835,
"y": 644,
"w": 164,
"h": 157,
"ox": 0,
"oy": 0,
"sw": 164,
"sh": 157,
"ro": false
},
"去抽奖.png": {
"x": 2,
"y": 1883,
"w": 274,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 274,
"sh": 114,
"ro": false
},
"圆角矩形 648.png": {
"x": 2,
"y": 1379,
"w": 502,
"h": 196,
"ox": 0,
"oy": 2,
"sw": 504,
"sh": 200,
"ro": true
},
"道具圆圈.png": {
"x": 835,
"y": 803,
"w": 152,
"h": 152,
"ox": 0,
"oy": 0,
"sw": 152,
"sh": 152,
"ro": false
},
"闯关成功.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 971,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 971,
"ro": true
},
"闯关成功Bg.png": {
"x": 2,
"y": 644,
"w": 640,
"h": 831,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 831,
"ro": true
},
"闯关成功不满星按钮.png": {
"x": 835,
"y": 1103,
"w": 274,
"h": 114,
"ox": 0,
"oy": 0,
"sw": 274,
"sh": 114,
"ro": true
}
}
},
{
"keys": "任务背景.png,去完成.png,去完成灰.png,待领取.png",
"name": "TaskPanel",
"atlas": {
"任务背景.png": {
"x": 2,
"y": 2,
"w": 750,
"h": 1046,
"ox": 0,
"oy": 0,
"sw": 750,
"sh": 1046,
"ro": false
},
"去完成.png": {
"x": 754,
"y": 84,
"w": 183,
"h": 80,
"ox": 0,
"oy": 0,
"sw": 183,
"sh": 80,
"ro": false
},
"去完成灰.png": {
"x": 939,
"y": 2,
"w": 183,
"h": 80,
"ox": 0,
"oy": 0,
"sw": 183,
"sh": 80,
"ro": true
},
"待领取.png": {
"x": 754,
"y": 2,
"w": 183,
"h": 80,
"ox": 0,
"oy": 0,
"sw": 183,
"sh": 80,
"ro": false
}
}
},
{
"keys": "道具不足背景.png",
"name": "ToolsOutPanel",
"atlas": {
"道具不足背景.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 437,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 437,
"ro": true
}
}
},
{
"keys": "使用道具背景.png",
"name": "UseToolPanel",
"atlas": {
"使用道具背景.png": {
"x": 2,
"y": 2,
"w": 640,
"h": 437,
"ox": 0,
"oy": 0,
"sw": 640,
"sh": 437,
"ro": true
}
}
}
],
"path": "https://yun.duiba.com.cn/db_games/activity/babycare_xiaoxiao/1595387678/resource/"
"path": "https://yun.duiba.com.cn/db_games/activity/babycare_xiaoxiao/1595570101/resource/"
}
\ No newline at end of file
import { Panel } from "../../module/views/Panel";
import { RES } from "../../module/RES";
export class NoPrizePanel extends Panel {
get groupNames(){return ["NoPrizePanel"]}
initUi() {
this.addChild(new FYGE.Sprite(RES.getRes("noPrizeBg.png")))
this.addChild(new FYGE.Button(RES.getRes("关闭按钮.png")))
.addEventListener(FYGE.MouseEvent.CLICK, this.hidePanel, this)
.position.set(633,468);
this.addChild(new FYGE.Button(RES.getRes("知道了.png")))
.addEventListener(FYGE.MouseEvent.CLICK, this.hidePanel, this)
.position.set(165,759);
}
}
\ No newline at end of file
......@@ -220,7 +220,7 @@ class CusButton extends Button {
case TaskType.browseGoods:
sendTbNet(
TbNetName.navigateTo,
{ url: '/pages/collectGoods/collectGoods' },//TODO,路径
{ url: '/pages/browseProductList/browseProductList' },
() => { },
true
);
......
......@@ -9,6 +9,7 @@ import { layers } from "../../module/views/layers";
import { GTool } from "../../module/tools/GTool";
import { Lottie } from "../Lottie";
import { loading_animal } from "../lotties/loading_animal";
import { LotteryScene } from "./LotteryScene";
export class LoadingScene extends Scene {
get groupNames() {
......@@ -144,7 +145,8 @@ export class LoadingScene extends Scene {
.call(() => {
if (pro >= 1) {
this.removeEventListener(FYGE.Event.PROGRESS, this.progressEvent, this);
changeScene(MapScene, { from: "loading" })
// changeScene(MapScene, { from: "loading" })
changeScene(LotteryScene,{level:1});
}
})
// this.lastP=p
......
import { Scene } from "../../module/views/Scene";
import { RES } from "../../module/RES";
import { layers } from "../../module/views/layers";
import { Tools } from "../Tools";
import { showWaiting } from "../../module/ctrls";
import { sendTbNet, TbNetName } from "../TaoBaoNet";
/**
* 摇奖机弹框
*/
export class LotteryScene extends Scene {
get groupNames() { return ["lotteryScene"] }
data: {
level: number,
}
initUi() {
//适配
this.y = -layers.stageOffsetY;
//背景
this.addChild(new FYGE.Sprite(RES.getRes("lotteryMachineBg.jpg")))
//计算下一关的关数
let upLevel: number = 120;
let dLevel: number = 120;
Tools.baseInfo.prizeLevels.forEach((value, index) => {
const d: number = value - this.data.level;
if (this.data.level <= value && d >= 0 && d <= dLevel) {
upLevel = value;
dLevel = d + 1;
}
});
//标题文案
this.addChild(Tools.getText(
this.data.level + "关抽奖奖励",
53.19,
"#ffffff",
FYGE.TEXT_ALIGN.CENTER,
488,
(750 - 488) / 2,
360
)).bold = true;
//下一次抽奖文案
this.addChild(Tools.getText(
"下一奖励关卡:" + upLevel + "关",
32.54,
"#ffffff",
FYGE.TEXT_ALIGN.CENTER,
488,
(750 - 488) / 2,
360
))
//抽奖按钮
this.addChild(new FYGE.Button(RES.getRes("lotteryBtn.png")))
.addEventListener(FYGE.MouseEvent.CLICK, this.lottery, this)
.position.set((750 - RES.getRes("lotteryBtn.png").width) / 2, 797);
//刷新奖品列表和摇奖列表
this.updatePrizes();
}
async updatePrizes() {
showWaiting();
const { data: prizeList } = await sendTbNet(TbNetName.getPrizesByLevel, { level: this.data.level });
//滚动列表
console.log(prizeList)
var scroll = this.addChild(new FYGE.ScrollList(PrizeItem, 122, 140, 345, 152, false))
scroll.position.set(195, 1013);
scroll.updateData(prizeList || [])
//摇奖部分
}
lottery() {
}
}
interface PrizeInt {
image: string,
name: string,
_id: string
}
class PrizeItem extends FYGE.Container implements FYGE.IScrollListItem {
private prizeImage: FYGE.Sprite;
private nameTxt: FYGE.TextField;
constructor() {
super();
this.addChild(new FYGE.Sprite(RES.getRes("prizeItemBg.png")))
this.prizeImage = this.addChild(new FYGE.Sprite());
this.prizeImage.width = this.prizeImage.height = 101;
this.prizeImage.position.set(4, 4);
//名字
this.nameTxt = this.addChild(Tools.getText(
"",
19.23,
"#317f7f",
FYGE.TEXT_ALIGN.CENTER,
109,
0, 112
))
}
initData(id: number, data: PrizeInt) {
if (id < 0 || !data) return;
this.prizeImage.texture = FYGE.Texture.from(data.image);
this.nameTxt.text = data.name;
}
id;
data: number;
}
class LotteryItem extends FYGE.Container {
private showImage: FYGE.Sprite;
private cusPosition: number;
constructor(tex?: FYGE.Texture) {
super();
this.addChild(new FYGE.Sprite(RES.getRes("lotteryItemBg.png")));
this.showImage = this.addChild(new FYGE.Sprite(tex));
this.showImage.width = this.showImage.height = 88;
this.showImage.position.set((103 - 88) / 2, 6);
}
changeShowImage(tex: FYGE.Texture) {
this.showImage.texture = tex;
}
}
/**
* 滚动条
* 功能可以滚动到指定的图
*/
class LotteryScroll extends FYGE.Container {
private currentIndex: number;
constructor(textures: FYGE.Texture[]) {
super();
textures.forEach((t, i) => {
this.addChild(new LotteryItem(t))
.position.set(0, i * 123)
})
//修改位置
this.addEventListener(FYGE.Event.ENTER_FRAME, () => {
this.children.forEach((c) => {
// if () { }
})
}, this)
}
scrollTo(index: number, time: number, callback: () => void) {
}
reset() {
}
updatePosition() {
this.children.forEach((c) => {
// if () { }
})
}
}
\ No newline at end of file
......@@ -50,10 +50,14 @@ export default class MapUI extends Container {
console.log('规则');
showPanel(RulePanel);
break;
case this.myPrizeBtn:
/// TODO 我的奖品
console.log('我的奖品');
sendTbNet(
TbNetName.navigateTo,
{ url: '/pages/myPrize/myPrize' },
() => { },
true
);
break;
case this.prizeBox:
......@@ -183,12 +187,9 @@ class CreditsBox extends Container {
const creditsData = await sendTbNet(TbNetName.queryCredits, {}, () => {
}, true);
let jfLabel = '积分:0';
if (!creditsData || !creditsData.data) {
jfLabel = '积分:0';
} else {
if (creditsData.success && creditsData.data && creditsData.data.credits) {
jfLabel = `积分:${creditsData.data.credits}`;
}
this.countLabel.text = jfLabel;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment