Commit acc6c6af authored by zjz1994's avatar zjz1994

特效消除前暂存

parent 87826b84
...@@ -2896,6 +2896,7 @@ export default class MainScene extends Scene { ...@@ -2896,6 +2896,7 @@ export default class MainScene extends Scene {
} }
//如果还有消除元素,继续执行 //如果还有消除元素,继续执行
if(this.eliminatedElements.length) { if(this.eliminatedElements.length) {
console.log("特效产生消除元素");
setTimeout(() => { setTimeout(() => {
this.eliminate(pcannostatArr); this.eliminate(pcannostatArr);
}, 200) }, 200)
...@@ -3203,10 +3204,12 @@ export default class MainScene extends Scene { ...@@ -3203,10 +3204,12 @@ export default class MainScene extends Scene {
if(effectElements.length) { if(effectElements.length) {
Array.prototype.push.apply(this.eliminatedElements, effectElements); Array.prototype.push.apply(this.eliminatedElements, effectElements);
this.eliminate(); this.eliminate();
}else{ return;
console.log("可以结束");
} }
return; // else{
// console.log("可以结束");
// }
//通关了 //通关了
//提交分数等 //提交分数等
// console.log("结算检测---------------------弹窗检测4"); // console.log("结算检测---------------------弹窗检测4");
......
...@@ -42,17 +42,17 @@ export const Chapters28: ChapterData[] = [ ...@@ -42,17 +42,17 @@ export const Chapters28: ChapterData[] = [
//702 //702
{ baseElementTypes: [ 0, 2, 3, 4 ], bubbleProbability: 0, stepCount: 21, { baseElementTypes: [ 0, 2, 3, 4 ], bubbleProbability: 0, stepCount: 21,
passTarget: { type: 1, elements: [ { type: 41, count: 10 } ] }, starScores: [ 15000, 20000, 25000 ], map: { passTarget: { type: 1, elements: [ { type: 41, count: 100 } ] }, starScores: [ 15000, 20000, 25000 ], map: {
lattices: [ lattices: [
0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 8, 0, 0, 0,
0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0,
0, 91, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0,
0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0,
0, 0, 0, 8, 1, 3, 0, 0, 0 ], connectedLats: [], 0, 0, 0, 1, 1, 3, 0, 0, 0 ], connectedLats: [],
conveyor: [ [ 75, 77 ] ], conveyor: [ [ 75, 77 ] ],
conveyorConnectedLats: [ [ 77, 75 ] ], conveyorConnectedLats: [ [ 77, 75 ] ],
// WORMHOLE: [[33,11,55,66]], // WORMHOLE: [[33,11,55,66]],
...@@ -67,9 +67,9 @@ export const Chapters28: ChapterData[] = [ ...@@ -67,9 +67,9 @@ export const Chapters28: ChapterData[] = [
1, 1, 4, 4, 4, 4, 4, 1, 1, 1, 1, 4, 4, 4, 4, 4, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1 ], 1, 1, 1, 1, 1, 1, 1, 1, 1 ],
baseElements: [ baseElements: [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 12, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 10, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 22, 11, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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