diff options
| author | RibbonCable <ambiguousmachine@gmail.com> | 2022-02-20 15:19:09 -0800 |
|---|---|---|
| committer | RibbonCable <ambiguousmachine@gmail.com> | 2022-02-20 15:19:09 -0800 |
| commit | a6097b11affbbd8c93c40bfc575bf25146c0c8fb (patch) | |
| tree | adc2fe5dfe4ddbf8289e6c6dc2647dd00b8545c4 /bullets.lua | |
| parent | acaa223a1a5060191fda5678b543d33e71684b3f (diff) | |
updated sfx
Diffstat (limited to 'bullets.lua')
| -rw-r--r-- | bullets.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bullets.lua b/bullets.lua index bd91e0f..5d050a2 100644 --- a/bullets.lua +++ b/bullets.lua @@ -90,7 +90,7 @@ function addlaser(x, y, r, enemy) --collision detection after the warm up if timer > 1.5 and timer < 3.6 then if not playingsound then - sfx(24,3) + sfx(24,3) -- laser loop playingsound = true end shake = rnd(8)/timer @@ -101,14 +101,14 @@ function addlaser(x, y, r, enemy) --delete laser once its done if timer > 4 or enemy.health <= 0 then del(obj, laser) - sfx(25, 3) + sfx(25, 3) -- laser finish for i = 1, 16, 1 do addcircle(rnd(x), y-5+rnd(r), -0.5, -0.5, rnd(3), rnd(2), rnd({11,14,3})) end end end add(obj, laser) - sfx(23,3) + sfx(23,3) -- laser charge end |
