aboutsummaryrefslogtreecommitdiff
path: root/objects.lua
diff options
context:
space:
mode:
authorRibbonCable <ambiguousmachine@gmail.com>2022-02-20 12:55:11 -0800
committerRibbonCable <ambiguousmachine@gmail.com>2022-02-20 12:55:11 -0800
commit4f4a5405a95c47b34e0250e6b0f143e8e5f8dc76 (patch)
tree9cfe9651c194db292621e712ee099984a9359aa5 /objects.lua
parent23acc296abf209ccf2fa15e3641f266b02add71d (diff)
Lots of updates to the music player. Other than track titles and final songs, it's p much done. Also made some sprint non-flipped to save on tokens.
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