aboutsummaryrefslogtreecommitdiff
path: root/scenes
diff options
context:
space:
mode:
Diffstat (limited to 'scenes')
-rw-r--r--scenes/level1_scene.lua8
-rw-r--r--scenes/menu_scene.lua2
2 files changed, 6 insertions, 4 deletions
diff --git a/scenes/level1_scene.lua b/scenes/level1_scene.lua
index f532703..e5f4ec0 100644
--- a/scenes/level1_scene.lua
+++ b/scenes/level1_scene.lua
@@ -1,12 +1,14 @@
level1 = {} -- Level1 State
-require("utils.screen_shaker")
-Map = require("utils.map")
+require("core.screen_shaker")
+Map = require("core.map")
-- imports
-require("utils.constants")
+require("core.constants")
+require("core.ambience")
function level1:init()
constants.resetColors()
screenShake = ScreenShaker()
+ ambience = Ambience({"atmosphere1","thunder"})
map = Map("level1")
end
diff --git a/scenes/menu_scene.lua b/scenes/menu_scene.lua
index a930dcc..13bf8fd 100644
--- a/scenes/menu_scene.lua
+++ b/scenes/menu_scene.lua
@@ -3,7 +3,7 @@ menu = {} -- Menu Game State
local Timer = require "libs.hump.timer"
local Gamestate = require("libs.hump.gamestate")
Moonshine = require("libs.moonshine")
-require("utils.constants")
+require("core.constants")
-- scenes
require("scenes.level1_scene");