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. --- bullets.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'bullets.lua') diff --git a/bullets.lua b/bullets.lua index f069036..bc9fc22 100644 --- a/bullets.lua +++ b/bullets.lua @@ -19,6 +19,7 @@ function addbullet(x, y, velx, vely, good, sprite) function bullet.accurate_collide(object) if x+4 >= object.x-2 and x+4 <= object.x+2+object.w and y+4 >= object.y-2 and y+4 <= object.y+object.h+2 then object:shot() + explosion(x,y) del(obj, bullet) end end -- cgit