creating shapes

Sorry for the noob/dumb question, but what tool do u use to get something like this?

triangleShape = { 0,-35, 37,30, -37,30 }
pentagonShape = { 0,-37, 37,-10, 23,34, -23,34, -37,-10 }

Thanks,
RD [import]uid: 7856 topic_id: 4671 reply_id: 304671[/import]

little bump :wink: [import]uid: 7856 topic_id: 4671 reply_id: 15309[/import]

You create the shape in the code, setting coordinates with the point of origin the center of your display object ;D

For example, if you have an object with a height and width of 20, then the point of origin (x,y) should be 10,10 [import]uid: 11930 topic_id: 4671 reply_id: 15326[/import]

take a look a the polyline sample.

c. [import]uid: 24 topic_id: 4671 reply_id: 15356[/import]

he’s asking what we could use to draw shapes and get the coordinates.

i suggest Graph Paper :wink:

[import]uid: 6645 topic_id: 4671 reply_id: 15381[/import]

graph paper eh? well, it varies…there’s just too many samples, inches and pixels to choose from (lol)
but I think I get the point.

A sample/tutorial wouldn’t hurt though :wink:
Thanks,
RD [import]uid: 7856 topic_id: 4671 reply_id: 15388[/import]

anyone suggest any software for this? illustrator or an SVG edtor etc that would output some points?

been looking around for an online Flash tool but not found one yet. [import]uid: 6645 topic_id: 4671 reply_id: 15435[/import]

And here’s the answer to my question:
http://developer.anscamobile.com/forum/2011/01/06/physics-shape-panel-adobe-fireworks

It couldn’t be any more sexier than that :wink:

RD [import]uid: 7856 topic_id: 4671 reply_id: 15655[/import]