-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.lua
More file actions
43 lines (36 loc) · 1.02 KB
/
main.lua
File metadata and controls
43 lines (36 loc) · 1.02 KB
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
function love.load()
-- os.time and math.randomseed
local startTime = os.time()
math.randomseed(os.time())
misc = require "func.misc"
load = require "func.load"
block = require "func.block"
asset = require "func.asset"
status = require "func.status"
id = require "func.id"
bool = require "func.bool"
zoom = require "func.zoom"
camera = require "func.camera"
draw = require "func.draw"
update = require "func.update"
biome = require "func.biome"
worldFunc = require "func.world"
collision = require "func.collision"
gui = require "func.gui"
button = require "func.button"
player = require "func.player"
item = require "func.item"
timer = require "func.timer"
inventory = require "func.inventory"
crafting = require "func.crafting"
worldInteraction= require "func.worldInteraction"
lui = require "lui.index"
ui = lui()
load.init()
end
function love.update(delta)
update.update(delta)
end
function love.draw()
draw.draw()
end