Commit 0b71f387 authored by zjz1994's avatar zjz1994

修改樱花格式位置

parent b909732b
...@@ -1363,7 +1363,7 @@ export default class MainScene extends Scene { ...@@ -1363,7 +1363,7 @@ export default class MainScene extends Scene {
} }
//初始化樱花 //初始化樱花
initCherry(){ initCherry(){
var cherydata = this.chapterData.map.cherrydata; var cherydata = this.chapterData.cherrydata;
if(cherydata){ if(cherydata){
this.cherryData = JSON.parse(JSON.stringify(cherydata)); this.cherryData = JSON.parse(JSON.stringify(cherydata));
}else{ }else{
......
...@@ -6,6 +6,10 @@ export const Chapters32: ChapterData[] = [ ...@@ -6,6 +6,10 @@ export const Chapters32: ChapterData[] = [
{ baseElementTypes: [ 0, 1, 2, 3 ], { baseElementTypes: [ 0, 1, 2, 3 ],
bubbleProbability: 0, stepCount: 26, bubbleProbability: 0, stepCount: 26,
passTarget: { type: 1, elements: [ { type: 9, count: 71 }, { type: 0, count: 102 } ] }, starScores: [ 15000, 20000, 25000 ], passTarget: { type: 1, elements: [ { type: 9, count: 71 }, { type: 0, count: 102 } ] }, starScores: [ 15000, 20000, 25000 ],
cherrydata:[
[38,39,40,41,50,59,58,57,56,47],
[42,51,52,43,44,35,34],
],
map: { map: {
lattices: [ lattices: [
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
...@@ -46,9 +50,6 @@ export const Chapters32: ChapterData[] = [ ...@@ -46,9 +50,6 @@ export const Chapters32: ChapterData[] = [
0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 20, 0, 0, 0, 0,
], ],
recycles: [], recycles: [],
cherrydata:[ }
[38,39,40,41,50,59,58,57,56,47],
[42,51,52,43,44,35,34],
] }
}, },
] ]
...@@ -33,4 +33,8 @@ export interface ChapterData { ...@@ -33,4 +33,8 @@ export interface ChapterData {
* 星数对应的分数,数组长度为3 * 星数对应的分数,数组长度为3
*/ */
starScores: number[]; starScores: number[];
/**
* 樱花
*/
cherrydata?:number[][];
} }
\ No newline at end of file
...@@ -82,8 +82,4 @@ export interface MapData { ...@@ -82,8 +82,4 @@ export interface MapData {
luidx:number,//左上位置 luidx:number,//左上位置
dir:string,//朝向 dir:string,//朝向
}>; }>;
/**
* 樱花
*/
cherrydata?:number[][];
} }
\ No newline at end of file
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