From 0210b764c5e36cf2afdce7365325fa72ca701a01 Mon Sep 17 00:00:00 2001 From: 1029chris <1029chris@gmail.com> Date: Wed, 9 Feb 2022 20:10:47 -0800 Subject: 3shot sound implemented --- players.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/players.lua b/players.lua index c7ea70d..25f206b 100644 --- a/players.lua +++ b/players.lua @@ -111,10 +111,12 @@ function addplayer(x, y, sprite, bulletsprite) --addcircle(player.x+3, player.y+4, rnd(1)+0.5, rnd(1)-0.5, 1.5, rnd(0.4), 12) --end addbullet(player.x+3, player.y, 2, 0, false, player.bulletsprite) - sfx(9) if player.shoot3 then addbullet(player.x+3, player.y+3, 2, 0.25, false, player.bulletsprite) addbullet(player.x+3, player.y-3, 2, -0.25, false, player.bulletsprite) + sfx(12) + else + sfx(9) end player.shootcooldown = player.shootspeed end -- cgit