Browse Source

set pixels of drops after each update

main
Colin McMillen 12 months ago
parent
commit
c8235dea59
  1. 4
      picogora.p8

4
picogora.p8

@ -146,10 +146,14 @@ function update_drops()
new_drops = {}
for i=1,#drops do
d = drops[i]
oldx = d.x
oldy = d.y
update_drop(d)
if d.y < 128 then
add(new_drops, d)
end
pset(oldx, oldy, bg)
pset(d.x, d.y, white)
end
drops = new_drops
end

Loading…
Cancel
Save