aboutsummaryrefslogtreecommitdiff
path: root/objects.lua
diff options
context:
space:
mode:
author1029chris <1029chris@gmail.com>2022-02-09 18:05:07 -0800
committer1029chris <1029chris@gmail.com>2022-02-09 18:05:07 -0800
commit3e37c3fd09e335101f3c0ed199c1607879af2f86 (patch)
tree457b7f9314c4826aa8173291efc066b343db34b7 /objects.lua
parent08fee0aa2dbe709173aec43236b47ace8b14e0ac (diff)
MENU WORKS!!!!!!
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)