Commit baf9d383 authored by zjz1994's avatar zjz1994

Merge branch 'dev' of http://gitlab2.dui88.com/wanghongyuan/xiaoxiaole into 草地

parents c6a4ce8a 08544bf8
......@@ -8,6 +8,7 @@
<e:Image y="199.5" source="targetBoard_png" x="174"/>
<e:Image y="-47.5" source="progressDown_png" horizontalCenter="0"/>
<e:Image id="starProgress" x="138" y="159.35" source="starProgress_png"/>
<e:Group id="chaptergro" width="750" height="200"/>
<e:Image x="69" y="-64.5" source="stepsBoard_png"/>
<e:Image x="171.5" y="166.35" source="dangqianfenshu_png"/>
......
......@@ -422,7 +422,7 @@ export default class MainScene extends Scene {
this.chapterTxt.num = '0' // >> 0;
this.chapterTxt.x = 520;
this.chapterTxt.y = 97.5;
this.addChild(this.chapterTxt);
//步数
this.stepNumber = new StepNumber();
this.stepNumber.x = 175;
......@@ -508,6 +508,10 @@ export default class MainScene extends Scene {
this.guideContainer.removeChildren();
this.festivalContainer.removeChildren();
this.wormholeContainer.removeChildren();
if(!this.chapterTxt.parent){
this['chaptergro'].addChild(this.chapterTxt);
}
}
async start(data) {
super.start();
......
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