Commit dbdd5bee authored by 李维's avatar 李维

Test on platform

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