rdcube
December 22, 2010, 9:31pm
1
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]
rdcube
January 2, 2011, 4:24pm
2
little bump [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]
jmp909
January 3, 2011, 3:35pm
5
he’s asking what we could use to draw shapes and get the coordinates.
i suggest Graph Paper
[import]uid: 6645 topic_id: 4671 reply_id: 15381[/import]
rdcube
January 3, 2011, 7:53pm
6
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
Thanks,
RD [import]uid: 7856 topic_id: 4671 reply_id: 15388[/import]
jmp909
January 4, 2011, 7:24am
7
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]
rdcube
January 6, 2011, 1:51pm
8
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
RD [import]uid: 7856 topic_id: 4671 reply_id: 15655[/import]