Commit 2be3dd9f authored by cc's avatar cc
parents f70d0f3f 5bd854f3
...@@ -26,7 +26,9 @@ import { domain, ensureDomain } from "@spark/dbdomain"; ...@@ -26,7 +26,9 @@ import { domain, ensureDomain } from "@spark/dbdomain";
import shareStore from './store/share.js'; import shareStore from './store/share.js';
import music from "../src/assets/audio/bgm.mp3"; import music from "../src/assets/audio/bgm.mp3";
import * as eruda from "eruda";
eruda.init({});
@observer @observer
class App extends Component { class App extends Component {
......
...@@ -39,10 +39,10 @@ export class Game extends Base { ...@@ -39,10 +39,10 @@ export class Game extends Base {
const qsBg = this.addChild(new Sprite(Assets.get("问题.png"))); const qsBg = this.addChild(new Sprite(Assets.get("问题.png")));
qsBg.position.set(49, 316); qsBg.position.set(49, 316);
this.level = this.addChild(new Level16()); // this.level = this.addChild(new Level5());
globalEvent.on(GameEvent.NextLevel, this.nextLevel, this); globalEvent.on(GameEvent.NextLevel, this.nextLevel, this);
// this.nextLevel(); this.nextLevel();
} }
......
...@@ -13,6 +13,7 @@ import { Level12 } from "@/pages/GamePage/Level/Level12.ts"; ...@@ -13,6 +13,7 @@ import { Level12 } from "@/pages/GamePage/Level/Level12.ts";
import { Level13 } from "@/pages/GamePage/Level/Level13.ts"; import { Level13 } from "@/pages/GamePage/Level/Level13.ts";
import { Level14 } from "@/pages/GamePage/Level/Level14.ts"; import { Level14 } from "@/pages/GamePage/Level/Level14.ts";
import { Level15 } from "@/pages/GamePage/Level/Level15.ts"; import { Level15 } from "@/pages/GamePage/Level/Level15.ts";
import { Level16 } from "@/pages/GamePage/Level/Level16.ts";
import { Level18 } from "@/pages/GamePage/Level/Level18.ts"; import { Level18 } from "@/pages/GamePage/Level/Level18.ts";
import { Level19 } from "@/pages/GamePage/Level/Level19.ts"; import { Level19 } from "@/pages/GamePage/Level/Level19.ts";
import { Level20 } from "@/pages/GamePage/Level/Level20.ts"; import { Level20 } from "@/pages/GamePage/Level/Level20.ts";
...@@ -38,7 +39,7 @@ export const LevelArr = [ ...@@ -38,7 +39,7 @@ export const LevelArr = [
{ cls: Level13, tip: `打开盖子看看` }, { cls: Level13, tip: `打开盖子看看` },
{ cls: Level14, tip: `将香蕉移动到牛奶中<br/>变成香蕉牛奶` }, { cls: Level14, tip: `将香蕉移动到牛奶中<br/>变成香蕉牛奶` },
{ cls: Level15, tip: `猫吃老鼠` }, { cls: Level15, tip: `猫吃老鼠` },
{ cls: Level14, tip: `移动笼子罩住小鸭子` }, // 16 { cls: Level16, tip: `移动笼子罩住小鸭子` }, // 16
{ cls: Level14, tip: `别忘了,人是高等动物哦` }, // 17 { cls: Level14, tip: `别忘了,人是高等动物哦` }, // 17
{ cls: Level18, tip: `移开乌云露出太阳<br/>让冰块融化` }, { cls: Level18, tip: `移开乌云露出太阳<br/>让冰块融化` },
{ cls: Level19, tip: `将冰箱放大至能够装下长颈鹿` }, { cls: Level19, tip: `将冰箱放大至能够装下长颈鹿` },
......
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