Commit 2f2c8d75 authored by wildfirecode's avatar wildfirecode

1

parent b1face9f
...@@ -11,6 +11,7 @@ export class MyExmlPlugin extends ExmlPlugin2 implements plugins.Command { ...@@ -11,6 +11,7 @@ export class MyExmlPlugin extends ExmlPlugin2 implements plugins.Command {
'cutTimeFont.png', 'cutTimeFont.png',
'sharenums.png', 'sharenums.png',
'nums.png', 'nums.png',
'nums3.png',
'nums2.png' 'nums2.png'
]; ];
if (excludes.indexOf(file.basename) != -1) { if (excludes.indexOf(file.basename) != -1) {
......
...@@ -34,7 +34,7 @@ export default class MapRpeatPart extends ComponentBase { ...@@ -34,7 +34,7 @@ export default class MapRpeatPart extends ComponentBase {
MapScene.starHash[levelOrder] = star; MapScene.starHash[levelOrder] = star;
icon.addChild(star); icon.addChild(star);
icon['visibleY'] = this._topHeight + this.height * this._index + icon.y; icon['visibleY'] = this._topHeight + this.height * this._index + icon.y;
console.log(icon['visibleY'] ); // console.log(icon['visibleY'] );
} }
this['animal1'].visible = this._index % 2; this['animal1'].visible = this._index % 2;
......
...@@ -23,7 +23,7 @@ export default class MapTopPart extends ComponentBase { ...@@ -23,7 +23,7 @@ export default class MapTopPart extends ComponentBase {
icon['mappart']=this; icon['mappart']=this;
icon.show = ()=>{this.addChild(icon)}; icon.show = ()=>{this.addChild(icon)};
icon['visibleY'] = icon.y; icon['visibleY'] = icon.y;
console.log(icon['visibleY']); // console.log(icon['visibleY']);
} }
} }
......
...@@ -120,6 +120,7 @@ showlog(){ ...@@ -120,6 +120,7 @@ showlog(){
}); });
if (success) { if (success) {
// Loading.instace.show(); // Loading.instace.show();
this.hidePanel();
try { try {
const key = 'main2'; const key = 'main2';
await Promise.all([ await Promise.all([
...@@ -130,7 +131,6 @@ showlog(){ ...@@ -130,7 +131,6 @@ showlog(){
} }
// Loading.instace.hide(); // Loading.instace.hide();
this.hidePanel();
SceneCtrl.instance.change(ModuleTypes.MAIN_SCENE, { chapter: this._level }); SceneCtrl.instance.change(ModuleTypes.MAIN_SCENE, { chapter: this._level });
StartPanel.currlevel=this._level StartPanel.currlevel=this._level
} }
......
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