diff options
| author | Chris Bradley <1029chris@gmail.com> | 2022-02-18 22:20:20 -0800 |
|---|---|---|
| committer | Chris Bradley <1029chris@gmail.com> | 2022-02-18 22:20:20 -0800 |
| commit | 4e64d1f68c0c8e74cced27043ae0ec52c7ced2a1 (patch) | |
| tree | 15a4474205b0bb8f8d16beb2658a1a0ba9458685 /bullets.lua | |
| parent | 0f74449ed091ed8a93bfbe75ede12f86e869bc62 (diff) | |
more final boss stuff, and token hunting!!!!
THESE TOKENS ARE GETTING TIGHT!!!!! FUUUUUCKKKK!!!!!!!!
Diffstat (limited to 'bullets.lua')
| -rw-r--r-- | bullets.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bullets.lua b/bullets.lua index c4eee06..461ee15 100644 --- a/bullets.lua +++ b/bullets.lua @@ -80,7 +80,7 @@ function addlaser(x, y, r, enemy) function laser.collide(object) --local _ENV = laser - if object.x < x and y+r*2 > object.y+object.h and y-r*2 < object.y and object.inv < 0 then + if object.x < x and y+r*2 > object.y+object.h and y-r*2 < object.y and object.inv < 0 and not object.stay then object:shot() end end @@ -103,7 +103,7 @@ function addlaser(x, y, r, enemy) del(obj, laser) sfx(25, 3) for i = 1, 16, 1 do - addcircle(rnd(x), y-r/2+rnd(r), -0.5, -0.5, rnd(3), rnd(2), rnd({11,14,3})) + addcircle(rnd(x), y-5+rnd(r), -0.5, -0.5, rnd(3), rnd(2), rnd({11,14,3})) end end end |
