aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--background.lua2
-rw-r--r--enemies.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/background.lua b/background.lua
index bd1febe..ef08485 100644
--- a/background.lua
+++ b/background.lua
@@ -43,7 +43,7 @@ function drawbg()
--stars
for i = 1, 64, 1 do
- pset((((-gt*0.1)+i*4.3824)*(i/32))%128, sin(i*0.536382)*64+64, 4)
+ pset((((-gt*0.1)+i*4.3824)*(i/32))%128, sin(i*0.536382)*64+64, 4) --funny random star algorithm!!
end
--galaxies
diff --git a/enemies.lua b/enemies.lua
index 7864f1a..3283ec3 100644
--- a/enemies.lua
+++ b/enemies.lua
@@ -230,7 +230,7 @@ function addballshooter(x, y, health, speed)
for i = 1, 24, 1 do
addcircle(enemy.x+rnd(8), enemy.y+rnd(8), rnd(4)-2, -rnd(2)-1, 1, 2, rnd({3, 11, 9}), -0.1)
end
- if rnd(100) > 80 then
+ if rnd(100) > 70 then
addpickup(enemy.x, enemy.y)
end
if shake < 3 then