remove insanity checking

This commit is contained in:
RadsammyT 2026-06-16 22:30:46 -04:00
commit b728bfb047
No known key found for this signature in database

View file

@ -60,9 +60,9 @@ function draw()
for i, v in ipairs(squares) do
v.x = v.x + v.vx
v.y = v.y + v.vy
if v.x <= 0 then v.vx = 1; v.color = math.random(0xFFFFFF) end
if v.x == 0 then v.vx = 1; v.color = math.random(0xFFFFFF) end
if v.x + SQUARE_WIDTH >= ly.width-1 then v.vx = -1; v.color = math.random(0xFFFFFF) end
if v.y <= 0 then v.vy = 1; v.color = math.random(0xFFFFFF) end
if v.y == 0 then v.vy = 1; v.color = math.random(0xFFFFFF) end
if v.y + SQUARE_HEIGHT >= ly.height-1 then v.vy = -1; v.color = math.random(0xFFFFFF) end
end
timer = ly.clock()