Commit 11597950 authored by zhangjinzhou's avatar zhangjinzhou

调整游戏实现0914暂存

parent 608d2d6c
......@@ -29,10 +29,10 @@ export default class SceneCtrl {
// console.log("sceneCtrl------change",type,data,onComplete);
if(type==ModuleTypes.MAIN_SCENE){//游戏页
// console.log("游戏界面单例处理");
if(this.mainscene){
// console.log("使用已存在mainscene");
this.showAfterLoadAtlas(this.mainscene,data,onComplete);
}else{
// if(this.mainscene){
// // console.log("使用已存在mainscene");
// this.showAfterLoadAtlas(this.mainscene,data,onComplete);
// }else{
// console.log("第一次创建mainscene");
this.mainscene = new MainScene();
if (!window['development']) {
......@@ -46,7 +46,7 @@ export default class SceneCtrl {
} else {
this.showAfterLoadAtlas(this.mainscene, data, onComplete);
}
}
// }
}
else if(type==ModuleTypes.MAP_SCENE){//mapscene
if(this.mapscene){
......
import getResPath from "../../libs/new_tc/getResPath";
export const baseScore = 20;
export default class gamePool {
//加载器
static svgaParser = new window["SVGA"].Parser();
//三个toast和bonusTime
static movieClips: any = {};
static cannoblockdata: any = null;
static cannomvdata: any = null;
static cannofire1mvdata: any = null;
static cannolightmvdata: any = null;
static cannoparticlemvdata: any = null;
static pongomvdata: any = null;
static pongolfootdata: any = null;
static pongorfootdata: any = null;
static pongojiodata: any = null;
static pongojioArr: Array<any> = [];
static wormlightdata: any = null;
static wormlightArr: Array<any> = [];
//草坪的特效
static lawndata: any = null;
static lawnArr: Array<any> = [];
static dangaodata: any = null;
static regoudata: any = null;
static tiantianquandata: any = null;
static xugaodata: any = null;
//樱花
static cherryAniData: any = {};
static cherryAniArr: any = {};
}
\ No newline at end of file
This diff is collapsed.
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