Documentation Example:
shape
number: Shape value in the form of a table with the shape vertices, {x1,y1,x2,y2,…,xn,yn}. For example: squareShape = { -20,-10, 20,-10, 20,10, -20,10 }
Question 1:
This does not explain how the shaped is matched on an image. This is confusing to me, I dont understand how you can have -20 and -10 in the shape declaration unless you are using the X position in the middle of the image. If so what about other shape types like this pentagon Shape
pentagonShape = { 0,-37, 37,-10, 23,34, -23,34, -37,-10 }
how do these mappings work in corona? Can someone please let us know, there really needs to be more documentation on this.
Question 2:
Anybody know of a tool that will do this for your shapes automatically for complex shapes?
If this is explained more in the documentation i could not find it.
Thanks Larry
[import]uid: 11860 topic_id: 4489 reply_id: 304489[/import]