Commit a0a10508 authored by Master Q's avatar Master Q

游戏

parent 39dfa31b
import { NewGuyScene } from './scenes/NewGuyScene/NewGuyScene';
import { destroyLayers, layers } from "../module/views/layers"; import { destroyLayers, layers } from "../module/views/layers";
import { RES } from "../module/RES"; import { RES } from "../module/RES";
import { changeScene, destroyAllCtrls, showToast } from "../module/ctrls"; import { changeScene, destroyAllCtrls, showToast } from "../module/ctrls";
...@@ -8,9 +9,6 @@ import { destroyTbNetData, sendTbNet, TbNetName } from "./TaoBaoNet"; ...@@ -8,9 +9,6 @@ import { destroyTbNetData, sendTbNet, TbNetName } from "./TaoBaoNet";
import { SkinJson } from "./SkinJson"; import { SkinJson } from "./SkinJson";
import { G_EVENT } from "./common/G_EVENT"; import { G_EVENT } from "./common/G_EVENT";
import { Tools } from "./Tools"; import { Tools } from "./Tools";
import { GameScene } from "./scenes/GameScene/GameScene";
import { cusPlaySound, Soundurl, stopAllSound } from "./SoundWeb";
import { NewGuyScene } from "./scenes/NewGuyScene/NewGuyScene";
import { GameOverScene } from "./scenes/GameOverScene/GameOverScene"; import { GameOverScene } from "./scenes/GameOverScene/GameOverScene";
/** /**
...@@ -177,14 +175,14 @@ export class Main { ...@@ -177,14 +175,14 @@ export class Main {
// } // }
// const scene = Tools.globalData.newUser ? StoryScene : IndexScene; // const scene = Tools.globalData.newUser ? StoryScene : IndexScene;
// , {
// score: 45,
// isNewRecord: true,
// productLink: 'http://qnpic.top/yoona2.jpg',
// isWinPrize: false
// }
// vtodo 是否是新手 // vtodo 是否是新手
changeScene(GameScene); changeScene(NewGuyScene, {
score: 45,
isNewRecord: true,
productLink: 'http://qnpic.top/yoona2.jpg',
isWinPrize: false
});
// MusicBtn.changeMusicStatus(true); // TODO 进游戏打开音乐先 // MusicBtn.changeMusicStatus(true); // TODO 进游戏打开音乐先
......
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