diff options
| author | Chris Bradley <1029chris@gmail.com> | 2022-02-20 18:39:03 -0800 |
|---|---|---|
| committer | Chris Bradley <1029chris@gmail.com> | 2022-02-20 18:39:03 -0800 |
| commit | efc2bacb0928a51ac362007733bbcb3a57639529 (patch) | |
| tree | 6d692b59d96d5f257ecd7bcf970ffa6130e35bef /update.lua | |
| parent | 3a78f154f1fc147a8d7a21861d22083ef1c049ab (diff) | |
Win screen song! and fix to scroll speed, other tweaks
Diffstat (limited to 'update.lua')
| -rw-r--r-- | update.lua | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -19,10 +19,10 @@ if gameover then elseif gamerunning then updatewaves() -- update the wave function local targetspeed = ft - if currentsong >= 8 then + if currentwave == 20 then + targetspeed /= 8 --slow scroll on score screen + elseif currentsong >= 8 then targetspeed /= 2 --half scroll speed when boss - elseif currentwave == 20 then - targetspeed /= 8 end scrollspeed = lerp(scrollspeed, targetspeed, 0.03) end |
