Commit eb5541d2 authored by wildfirecode's avatar wildfirecode

1

parent e7ba6005
......@@ -49,8 +49,9 @@
<img id="pic" style="width:100%;position: absolute;z-index: 999;display: none;" />
<script>
// localStorage.clear();
window['total_level'] = 18 + 13 * 4;
window['last_level'] = 69;//必须大于等于total_level
window['total_level'] = 18 + 13 * 5;
window['last_level'] = 80;//必须大于等于total_level
// localStorage.clear();
var sharePic = document.getElementById('pic');
......
......@@ -37,14 +37,6 @@ export default class MapScene extends Scene {
const { signInfoVO } = DataManager.ins.getData('getSignInfo');
if(signInfoVO.continueDay >=7) return;
// const date = new Date();
// date.setHours(0, 0, 0, 0);
// const nowTimerStr = date.getTime() + '';
// const oldTimerStr = localStorage.getItem('nowTimerStr' + window['CFG'].consumerId);
// if (oldTimerStr != nowTimerStr) {
// localStorage.setItem('nowTimerStr' + window['CFG'].consumerId, nowTimerStr);
// PanelCtrl.instance.show('sign');
// }
if(signInfoVO.todaySigned == 0){
PanelCtrl.instance.show('sign');
}
......@@ -65,19 +57,6 @@ export default class MapScene extends Scene {
this.initSound();
// setTimeout(function() {
// PanelCtrl.instance.show('sign')
// }, 1000);
// window['gameover'] = ()=>{
// NetManager.ins.hc_submit(() => { }, 1, 1, null, '');
// NetManager.ins.getPlugOrderStatus(() => { }, 1, () => { return false })
// // setTimeout(() => {
// PanelCtrl.instance.show('failed', { level: 1 })
// // }, 2000);
// }
this._data = data;
//滚动的背景变黑
this['rectbg'].height = this.stage.stageHeight;
......@@ -189,7 +168,7 @@ export default class MapScene extends Scene {
return this.getScrollV1(lastOrder, stageHeight);
}
if (lastOrder >= 60) {//底部的60-70关
if (lastOrder >= window['total_level'] -10) {//底部的60-70关 70-10
return this.getScrollV2(lastOrder, stageHeight);
}
//中部的4个循环*13 8~59
......
......@@ -2,11 +2,8 @@
"success": true,
"code": "0000000000",
"desc": "OK",
"timestamp": 1566885811001,
"timestamp": 1566885811031,
"data": {
"refectionCountdown": 10,
"remainEnargy": 5,
"isGetAllTreasureBox": 0,
"wealth": 7960,
"totalStars": 145,
"levels": [
......@@ -139,25 +136,245 @@
"levelNum": 26,
"maxScore": 99999,
"stars": 3
},
{
"levelNum": 27,
"maxScore": 44540,
"stars": 2
},
{
"levelNum": 28,
"maxScore": 112230,
"stars": 3
},
{
"levelNum": 29,
"maxScore": 67810,
"stars": 3
},
{
"levelNum": 30,
"maxScore": 43530,
"stars": 2
},
{
"levelNum": 31,
"maxScore": 99999,
"stars": 3
},
{
"levelNum": 32,
"maxScore": 18450,
"stars": 1
},
{
"levelNum": 33,
"maxScore": 28560,
"stars": 1
},
{
"levelNum": 34,
"maxScore": 99999,
"stars": 1
},
{
"levelNum": 35,
"maxScore": 99999,
"stars": 3
},
{
"levelNum": 36,
"maxScore": 14860,
"stars": 0
},
{
"levelNum": 37,
"maxScore": 22300,
"stars": 0
},
{
"levelNum": 38,
"maxScore": 43380,
"stars": 3
},
{
"levelNum": 39,
"maxScore": 27610,
"stars": 0
},
{
"levelNum": 40,
"maxScore": 99999,
"stars": 3
},
{
"levelNum": 41,
"maxScore": 30890,
"stars": 2
},
{
"levelNum": 42,
"maxScore": 15660,
"stars": 3
},
{
"levelNum": 43,
"maxScore": 48170,
"stars": 1
},
{
"levelNum": 44,
"maxScore": 18080,
"stars": 1
},
{
"levelNum": 45,
"maxScore": 29170,
"stars": 1
},
{
"levelNum": 46,
"maxScore": 37980,
"stars": 1
},
{
"levelNum": 47,
"maxScore": 37800,
"stars": 3
},
{
"levelNum": 48,
"maxScore": 19950,
"stars": 1
},
{
"levelNum": 49,
"maxScore": 36190,
"stars": 0
},
{
"levelNum": 50,
"maxScore": 42610,
"stars": 2
},
{
"levelNum": 51,
"maxScore": 34300,
"stars": 1
},
{
"levelNum": 52,
"maxScore": 31650,
"stars": 3
},
{
"levelNum": 53,
"maxScore": 5140,
"stars": 0
},
{
"levelNum": 54,
"maxScore": 49630,
"stars": 3
},
{
"levelNum": 55,
"maxScore": 99999,
"stars": 1
},
{
"levelNum": 56,
"maxScore": 99999,
"stars": 3
},
{
"levelNum": 57,
"maxScore": 34090,
"stars": 2
},
{
"levelNum": 58,
"maxScore": 13030,
"stars": 3
},
{
"levelNum": 59,
"maxScore": 72760,
"stars": 1
},
{
"levelNum": 60,
"maxScore": 16250,
"stars": 1
},
{
"levelNum": 61,
"maxScore": 81870,
"stars": 3
},
{
"levelNum": 62,
"maxScore": 36110,
"stars": 1
},
{
"levelNum": 63,
"maxScore": 28240,
"stars": 3
},
{
"levelNum": 64,
"maxScore": 23910,
"stars": 1
},
{
"levelNum": 65,
"maxScore": 47990,
"stars": 1
},
{
"levelNum": 66,
"maxScore": 60740,
"stars": 3
},
{
"levelNum": 67,
"maxScore": 33670,
"stars": 1
},
{
"levelNum": 68,
"maxScore": 25370,
"stars": 3
},
{
"levelNum": 69,
"maxScore": 11650,
"stars": 0
},
{
"levelNum": 70,
"maxScore": 15910,
"stars": 1
}
],
"remainProp": [
{
"type": 2,
"num": 10
"num": 0
},
{
"type": 3,
"num": 10
"num": 0
},
{
"type": 4,
"num": 10
"num": 0
}
],
"askForEnergy": true,
"canReceiveTreasureBoxNum": 10,
"remainEnargy": 9979,
"askForEnergy": false,
"canReceiveTreasureBoxNum": 0,
"nextRangeStarsNum": 150
}
}
\ No newline at end of file
......@@ -2,6 +2,6 @@
"success": true,
"signInfoVO": {
"continueDay": 6,
"todaySigned": 0
"todaySigned": 1
}
}
\ No newline at end of file
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