aboutsummaryrefslogtreecommitdiff
path: root/objects.lua
diff options
context:
space:
mode:
Diffstat (limited to 'objects.lua')
-rw-r--r--objects.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/objects.lua b/objects.lua
index e216b46..313e59e 100644
--- a/objects.lua
+++ b/objects.lua
@@ -1,4 +1,5 @@
obj = {}
+doshake = true
gt = 0 -- game time, but not actually, this is only used by the background for scrolling.
ft = 1/60 --frametime
scrollspeed = 0
@@ -42,7 +43,11 @@ end
function playsong(song, fade)
fade = fade or 0
if song ~= currentsong then
- music(song, fade, 3)
+ music(song, fade)
currentsong = song
end
+end
+
+function addplayer1() --reduces tokens since called once per gamemmode
+ addplayer(18, 60, 16, 17, 18, 3)
end \ No newline at end of file