Dynamic triangle creation not possible?

Hi,

My game requires creation of dynamic polygons during run-time.

So for example I would need to create a triangle with points (A,B,C) during run-time.

But since I don't know the size/shape of the triangle ahead of time, I can't create a triangle mask from as an image file as was shown in the example code.

Basically I need some ability to dynamically generate a mask during runtime, and not from an image file, is there any such way?

Thanks

views:1461 update:2011/10/1 9:04:19
corona forums © 2003-2011