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 /players.lua | |
| parent | acaa223a1a5060191fda5678b543d33e71684b3f (diff) | |
updated sfx
Diffstat (limited to 'players.lua')
| -rw-r--r-- | players.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/players.lua b/players.lua index b1bff09..bc5a095 100644 --- a/players.lua +++ b/players.lua @@ -52,11 +52,11 @@ function addplayer(x, y, sprite, spriteup, spritedwn, bulletsprite) player.inv = 20 killallenemies() currentscore-=10 - sfx(11, 3) --killed + sfx(11, 0) --killed sfx(22, 1) --rewind beat elseif player.health <= 0 then currentscore = ceil(currentscore * 0.5) --halves score if coop - sfx(11, 3) + sfx(11, 0) player.inv = 5 end end @@ -67,7 +67,7 @@ function addplayer(x, y, sprite, spriteup, spritedwn, bulletsprite) for i = 1, 8, 1 do addcircle(player.x+4, player.y+4, sin(i/8), cos(i/8), 2, 0.6, 7) end - sfx(25+#players,1) --normal and light respawn sfx for co-op + sfx(#players,1) --normal and light respawn sfx for co-op end function player:update() |
