From ef48284d5dbda449ad74d1da2bfe9bf02557b785 Mon Sep 17 00:00:00 2001 From: Chris Bradley <1029chris@gmail.com> Date: Fri, 18 Feb 2022 15:38:37 -0800 Subject: 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. --- draw.lua | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) (limited to 'draw.lua') 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 -- cgit