From 4f4a5405a95c47b34e0250e6b0f143e8e5f8dc76 Mon Sep 17 00:00:00 2001 From: RibbonCable Date: Sun, 20 Feb 2022 12:55:11 -0800 Subject: 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. --- objects.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'objects.lua') 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 -- cgit