diff options
| author | 1029chris <1029chris@gmail.com> | 2022-02-09 18:05:07 -0800 |
|---|---|---|
| committer | 1029chris <1029chris@gmail.com> | 2022-02-09 18:05:07 -0800 |
| commit | 3e37c3fd09e335101f3c0ed199c1607879af2f86 (patch) | |
| tree | 457b7f9314c4826aa8173291efc066b343db34b7 /enemies.lua | |
| parent | 08fee0aa2dbe709173aec43236b47ace8b14e0ac (diff) | |
MENU WORKS!!!!!!
Diffstat (limited to 'enemies.lua')
| -rw-r--r-- | enemies.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/enemies.lua b/enemies.lua index f7936c5..420146b 100644 --- a/enemies.lua +++ b/enemies.lua @@ -13,7 +13,7 @@ function addbasicenemy(x, y, sprite, health, speed) enemy.inv = -1 enemy.sprite = sprite enemy.health = health - enemy.shootcooldown = rnd(1)+2 + enemy.shootcooldown = rnd(2)+1 enemy.speed = speed function enemy.draw(enemy) @@ -203,7 +203,7 @@ function addballshooter(x, y, health, speed) addbullet(enemy.x+4, enemy.y+4, sin(i/48)/2, cos(i/48)/2, true, 2) end end - sfx(15) + sfx(19) end if enemy.x < -32 then del(enemies, enemy) @@ -221,7 +221,7 @@ function addballshooter(x, y, health, speed) if shake < 3 then shake = 12 end - sfx(17) + sfx(20) explosion(enemy.x+4, enemy.y+4, 8*4, 8*2) del(enemies, enemy) end |
