aboutsummaryrefslogtreecommitdiff
path: root/draw.lua
diff options
context:
space:
mode:
authorChris Bradley <1029chris@gmail.com>2022-02-20 17:51:17 -0800
committerChris Bradley <1029chris@gmail.com>2022-02-20 17:51:17 -0800
commitae91f49c0e637c9b47f8ce5537f4e3a14eea1b92 (patch)
tree5384a0fd4ed625ee8670a83cc9fd292a063cab0a /draw.lua
parent8b236f9ee426381aacca305a8dc6803797aab62f (diff)
Main menu and win music!!! score scrolls in too
also fixed boss dropping stuff ONCE AND FOR ALL!!!!!!
Diffstat (limited to 'draw.lua')
-rw-r--r--draw.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/draw.lua b/draw.lua
index 9beb927..f5e67f1 100644
--- a/draw.lua
+++ b/draw.lua
@@ -30,7 +30,7 @@ if gamerunning then
end
end
end
-if not gamerunning or menuscroll < 1 then
+if not gamerunning or currentwave == 1 then
menuscroll += scrollspeed
@@ -58,7 +58,8 @@ end
--final score screen and outro transition
if currentwave == 20 then
- finalscorescreen(0,0)
+ menuscroll = lerp(menuscroll,1,0.05)
+ finalscorescreen(menuscroll,0)
--outro acid transition
if isoutro then