changed naming of demoroom
This commit is contained in:
parent
aa9dcea14b
commit
524160c6b7
14
Overworld.js
14
Overworld.js
@ -60,7 +60,7 @@ class Overworld {
|
|||||||
}
|
}
|
||||||
|
|
||||||
init() {
|
init() {
|
||||||
this.startMap(window.OverworldMaps.DemoRoom);
|
this.startMap(window.OverworldMaps.Entrance);
|
||||||
|
|
||||||
this.bindActionInput();
|
this.bindActionInput();
|
||||||
this.bindHeroPositionCheck();
|
this.bindHeroPositionCheck();
|
||||||
@ -70,14 +70,8 @@ class Overworld {
|
|||||||
|
|
||||||
this.startGameLoop();
|
this.startGameLoop();
|
||||||
|
|
||||||
this.map.startCutscene([
|
// this.map.startCutscene([
|
||||||
// { who: "hero", type: "walk", direction: "down" },
|
// { type: "battle" },
|
||||||
// { who: "hero", type: "walk", direction: "down" },
|
// ])
|
||||||
// { who: "hero", type: "walk", direction: "down" },
|
|
||||||
// { who: "npc1", type: "walk", direction: "right" },
|
|
||||||
// { who: "hero", type: "stand", direction: "left", time: 200 },
|
|
||||||
// { type: "textMessage", text: "Hi! Lorem ipsum" },
|
|
||||||
// { type: "changeMap", map: "Kitchen" },
|
|
||||||
])
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user