diff options
| author | Ribbon <ambiguousmachine@gmail.com> | 2022-02-08 16:24:51 -0800 |
|---|---|---|
| committer | Ribbon <ambiguousmachine@gmail.com> | 2022-02-08 16:24:51 -0800 |
| commit | 0bad51c4345bde0cdb7bff01edd719250075564a (patch) | |
| tree | 6654cd292b43ac30fe6493c62eae667b5d7fd771 /enemies.lua | |
| parent | 7ce2c5f87ed280d2e9294e14ab0fc0320f9cccec (diff) | |
updated ringed planet and other sprites + adjusted wall crawl sprite placement
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 9342056..aed4654 100644 --- a/enemies.lua +++ b/enemies.lua @@ -80,11 +80,11 @@ end function addwallshooter(x, shootup, health, speed) local enemy = {} enemy.x = x - enemy.y = 120 + enemy.y = 119 enemy.sprite = 60 enemy.offset = rnd() if shootup then - enemy.y = 0 + enemy.y = 1 enemy.sprite = 44 end enemy.w = 8 @@ -126,7 +126,7 @@ function addwallshooter(x, shootup, health, speed) enemy.shootcooldown = 0.08 local vely = -1 if shootup then vely = 1 end - addbullet(enemy.x-3, enemy.y, -speed, vely, true, 2) + addbullet(enemy.x, enemy.y, -speed, vely, true, 2) end if enemy.x < -8 then del(enemies, enemy) |
