Commit a920eed1 authored by wjf's avatar wjf

l

parent 18c18d93
...@@ -729,7 +729,7 @@ export default class MainScene extends Scene { ...@@ -729,7 +729,7 @@ export default class MainScene extends Scene {
this.lattices[festivalIndex].element.visible = false; this.lattices[festivalIndex].element.visible = false;
ani.play(p, () => { ani.play(p, () => {
this.lattices[festivalIndex].element.visible = true; this.lattices[festivalIndex].element.visible = true;
RectsWaveAni(this.lattices,this.map) RectsWaveAni(this.lattices, this.map)
//检查三消 //检查三消
if (this.threeMatch()) { if (this.threeMatch()) {
this.eliminate(); this.eliminate();
...@@ -955,7 +955,7 @@ export default class MainScene extends Scene { ...@@ -955,7 +955,7 @@ export default class MainScene extends Scene {
this.propGuide.once(egret.TouchEvent.TOUCH_TAP, () => { this.propGuide.once(egret.TouchEvent.TOUCH_TAP, () => {
//还原事件 //还原事件
this.addEventListener(egret.Event.ENTER_FRAME, this.onEnterFrame, this); this.addEventListener(egret.Event.ENTER_FRAME, this.onEnterFrame, this);
this.removeChild(this.stepCircle) if (this.stepCircle.parent) this.removeChild(this.stepCircle)
}, this); }, this);
} }
} }
......
...@@ -556,7 +556,7 @@ export const Chapters11: ChapterData[] = [ ...@@ -556,7 +556,7 @@ export const Chapters11: ChapterData[] = [
bubbleProbability: 0, bubbleProbability: 0,
stepCount: 29, stepCount: 29,
passTarget: { type: 1, elements: [{ type: 1, count: 45 }, { type: 5, count: 12 }] }, passTarget: { type: 1, elements: [{ type: 1, count: 45 }, { type: 5, count: 12 }] },
starScores: [], starScores: [5000, 12000, 21000],
map: { map: {
lattices: [ lattices: [
0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0,
......
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