From 524160c6b75a0d2c466b83512a99e9c5cfde83dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Baumg=C3=A4rtner?= Date: Tue, 20 Aug 2024 16:12:52 +0200 Subject: [PATCH] changed naming of demoroom --- Overworld.js | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/Overworld.js b/Overworld.js index b0d8a80..247a9c2 100644 --- a/Overworld.js +++ b/Overworld.js @@ -60,7 +60,7 @@ class Overworld { } init() { - this.startMap(window.OverworldMaps.DemoRoom); + this.startMap(window.OverworldMaps.Entrance); this.bindActionInput(); this.bindHeroPositionCheck(); @@ -70,14 +70,8 @@ class Overworld { this.startGameLoop(); - this.map.startCutscene([ - // { who: "hero", type: "walk", direction: "down" }, - // { 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" }, - ]) + // this.map.startCutscene([ + // { type: "battle" }, + // ]) } } \ No newline at end of file