Commit dbdd5bee authored by 李维's avatar 李维

Test on platform

parent ed18f197
...@@ -85,25 +85,25 @@ cc.Class({ ...@@ -85,25 +85,25 @@ cc.Class({
this.data = data || this.getDefaultData(); this.data = data || this.getDefaultData();
this.data = JSON.parse(JSON.stringify(this.data)) this.data = JSON.parse(JSON.stringify(this.data))
this.preloadItem(_=>{ this.preloadItem(_=>{
this.gameLogic = new GameLogic(this.data, { // this.gameLogic = new GameLogic(this.data, {
designSize: this._designSize, // designSize: this._designSize,
frameSize: this._frameSize, // frameSize: this._frameSize,
mapScaleMin: this._mapScaleMin, // mapScaleMin: this._mapScaleMin,
mapScaleMax: this._mapScaleMax, // mapScaleMax: this._mapScaleMax,
cocosScale: this._cocosScale, // cocosScale: this._cocosScale,
imageResList: this._imageResList, // imageResList: this._imageResList,
audioResList: this._audioResList, // audioResList: this._audioResList,
animaResList: this._animaResList, // animaResList: this._animaResList,
prefabs: { // prefabs: {
bubble: this.bubble, // bubble: this.bubble,
star: this.star, // star: this.star,
score: this.score // score: this.score
}, // },
properties: { // properties: {
option: this.option, // option: this.option,
empty: this.empty // empty: this.empty
} // }
}) // })
}) })
}) })
}, },
......
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