Painting a poly line by line is inefficient. It works well for very small polys but anything from medium to large size slows down gameplay.
Right now I use the function provided by croisened to paint a poly:
https://developer.anscamobile.com/forum/2011/05/17/drawing-polygon-fill
but doubt we can make it significantly faster in Lua. [import]uid: 52103 topic_id: 17364 reply_id: 317364[/import]