aboutsummaryrefslogtreecommitdiff
path: root/players.lua
diff options
context:
space:
mode:
author1029chris <1029chris@gmail.com>2022-02-04 17:50:20 -0800
committer1029chris <1029chris@gmail.com>2022-02-04 17:50:20 -0800
commitc3adabae861162b66c1b4499754848d1ffdc0833 (patch)
tree750b9a5d0564c5bae66a3538b0779ec266db8f23 /players.lua
parent72801b4200dca4fd47c38a488c8812dc1284a5da (diff)
WAVES!!!!!!!! and other stuff
Diffstat (limited to 'players.lua')
-rw-r--r--players.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/players.lua b/players.lua
index a4792ec..bb73345 100644
--- a/players.lua
+++ b/players.lua
@@ -41,6 +41,7 @@ function addplayer(sprite, bulletsprite)
player.shootspeed = 0.25
player.shoot3 = false
shake = 9
+ sfx(1)
explosion(player.x, player.y)
end
@@ -88,6 +89,7 @@ function addplayer(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(0)
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)