aboutsummaryrefslogtreecommitdiff
path: root/objects.lua
diff options
context:
space:
mode:
Diffstat (limited to 'objects.lua')
-rw-r--r--objects.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/objects.lua b/objects.lua
index fa04ee8..4990280 100644
--- a/objects.lua
+++ b/objects.lua
@@ -1,4 +1,15 @@
obj = {}
+gt = 0 -- game time
+scrollspeed = 0
+respawntimer = 0
+gameover = false
+gamerunning = false
+
+function startgame()
+ wave[currentwave].start()
+ music(0, 0, 3)
+ gamerunning = true
+end
function updateobjs()
foreach(players, function(obj) obj:update() end)