Commit d29b88fb authored by wildfirecode's avatar wildfirecode

1

parent af656171
...@@ -494,12 +494,11 @@ export default class MapScene extends Scene { ...@@ -494,12 +494,11 @@ export default class MapScene extends Scene {
} }
getScrollV(lastOrder, stageHeight) { getScrollV(lastOrder, stageHeight) {
// lastOrder = 69; if (lastOrder <= MapTopPart.LEVEL_NUMS) {//顶部的1-7关
if (lastOrder <= 7) {//顶部的1-7关
return this.getScrollV1(lastOrder, stageHeight); return this.getScrollV1(lastOrder, stageHeight);
} }
if (lastOrder >= window['total_level'] - 10) {//底部的60-70关 70-10 if (lastOrder > window['total_level'] - MapBottomPart.LEVEL_NUMS) {//底部的60-70关 70-10
return this.getScrollV2(lastOrder, stageHeight); return this.getScrollV2(lastOrder, stageHeight);
} }
//中部的4个循环*13 8~59 //中部的4个循环*13 8~59
......
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