aboutsummaryrefslogtreecommitdiff
path: root/draw.lua
diff options
context:
space:
mode:
authorChris Bradley <1029chris@gmail.com>2022-02-18 15:38:37 -0800
committerChris Bradley <1029chris@gmail.com>2022-02-18 15:38:37 -0800
commitef48284d5dbda449ad74d1da2bfe9bf02557b785 (patch)
treeebd6e1bdbd037eb14cd621cb3d4285000b35cb61 /draw.lua
parent803b40cd9ba514c1b6deb15e995723ba653474e4 (diff)
Final boss!! other stuff too :sweat_smile:
bullets now cause explosions where they hit enemies drop random pickups again, but only health high score is saved!!!! other tweaks, i dunno i forgot.
Diffstat (limited to 'draw.lua')
-rw-r--r--draw.lua19
1 files changed, 4 insertions, 15 deletions
diff --git a/draw.lua b/draw.lua
index 77566f7..3a3e3e1 100644
--- a/draw.lua
+++ b/draw.lua
@@ -13,8 +13,9 @@ pal(0,130,1)
drawbg()
drawobjs()
-
+camera() --so the score doesn't shake
if gamerunning then
+ local scoreflash = false
if gameover then --gameover timer, it does a cute spinny! 😵
printdropshadow(ceil(respawntimer),63+circletimex,55+circletimey,6,5)
runningscore(currentscore,true) --flashes score
@@ -55,7 +56,7 @@ if not gamerunning or menuscroll < 1 then
end
--final score screen and outro transition
-if scorescreen then
+if currentwave == 18 then
finalscorescreen(0,0)
--outro acid transition
@@ -65,16 +66,4 @@ if scorescreen then
acidtransition()
end
if acidcounter < -0.2 then run() end --resets cart
-end
-
-
-
-
-
-
--- --final boss portal parts
--- addportalthruster(70,6)
--- addportalthruster(70,107,true)
--- addfinalbossportal(80,10)
--- addportalthruster(95,6)
--- addportalthruster(95,107,true) \ No newline at end of file
+end \ No newline at end of file