-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.lua
45 lines (31 loc) · 1.07 KB
/
init.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
-- External Modules
json = require "frameworkScripts.json"
-- Framework Modules
require "frameworkScripts.misc"
require "frameworkScripts.loading"
require "frameworkScripts.shaders"
require "frameworkScripts.mathPlus"
require "frameworkScripts.input"
require "frameworkScripts.sprites"
require "frameworkScripts.particles"
require "frameworkScripts.tiles"
require "frameworkScripts.timer"
require "frameworkScripts.camera"
require "frameworkScripts.text"
require "frameworkScripts.audio"
require "frameworkScripts.tweening"
-- Project Specific Modules
require "data.scripts.player"
require "data.scripts.buttons"
require "data.scripts.rooms"
require "data.scripts.generation"
require "data.scripts.enemies"
-- Scenes
require "data.scripts.scenes.blank"; require "data.scripts.scenes.game"; require "data.scripts.scenes.intro"; require "data.scripts.scenes.menu"
scene = "intro"
scenes = {
blank = {blank,blankReload,blankDie},
game = {game,gameReload,gameDie},
intro = {intro,introReload,introDie},
menu = {menu,menuReload,menuDie}
}