|
O, Thanks a lot in last version 0.2.0.135 Poly and fillpoly now works properly.
But i have something like suggestion or may be question is it possible to use fillpoly or poly function with arrays. I mean can i use this functions like this: local part={} local maxparts=200 for c=0, maxparts do part[c]={} part[c]["x"]=math.random(0, screenwidth()) part[c]["y"]=math.random(-screenheight(), -20) end
Poly (r ,g, b, part[c]["x"], XStart,part[c]["y"], YStart, Count)
instead of sample:
poly(r, g, b, math.random(0, screenwidth()), math.random(0, screenheight()), math.random(0, screenwidth()), math.random(0, screenheight()), math.random(0, screenwidth()), math.random(0, screenheight()), math.random(0, screenwidth()), math.random(0, screenheight()), math.random(0, screenwidth()), math.random(0, screenheight()), math.random(0, screenwidth()), math.random(0, screenheight()) )
Thanks
ARNOLD
|