Commit f7f4e6f5 authored by limingzhe's avatar limingzhe

fix: start 初始化

parent 5d592527
......@@ -64,15 +64,12 @@ var game = cc.Class({
// 生命周期 onLoad
onLoad() {
},
start() {
//初始化游戏
this.initGame()
// //监听尺寸变化
// if (window.addEventListener) {
// window.addEventListener('resize', this.scaleEventCallBack, false)
// } else if (window.attachEvent) {
// window.attachEvent('resize', this.scaleEventCallBack, false)
// }
},
//屏幕缩放
......
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