Log In  


How come do you create a dount spawner?, i used some code about random tiling but im not sure how to make it like clear the tiles and change it every 10 seocnds or so, here's my code, thanks in advance:
--dount generation--
function place_dounts()
for x=0,15 do
for y=0,15 do
--random tiles picking)
local sp = rnd(6)

if rnd(1)<.1 then
mset(x,y,sp)
end
end--yaxis
end--xais
end--function




[Please log in to post a comment]