Game Development Community

EdgeCount and vertexList$ of 2D images

by Joe Bestor · in Torque Game Builder · 03/02/2005 (6:38 pm) · 7 replies

I'm playing with the T2D tutorial and would like to setup collision for the other enemy ships.

setCollisionPolyCustom needs the edgeCount and vertexList$ of the image.

Is there a way to actually collect this data (possibly programatically or from a tool such as Paint Shop Pro) or do we estimate a polygon figure to resemble the image?

#2
03/02/2005 (7:38 pm)
Maybe that tool should be posted as a T2D resource? I have no idea how that stuff works, though......
#3
03/02/2005 (8:50 pm)
Ta ?dum? I'm gonna assume you meant "da" :)

Thanks, I'm downloading it now.
#4
03/02/2005 (11:01 pm)
No, I definetly meant "ta dum" :) Okay how about... "viola!" or or... "bingo!" or...

Ok I'll shut up now
#5
03/02/2005 (11:33 pm)
Actually, "viola!" makes no sense, either. :P It's funny, though. :)
#6
03/03/2005 (12:49 am)
Crap, I can't spell French!! :P Vwala? Vuola? Maybe I need one of those little accent mark thingies...

Edit:
On second thought maybe it's Italian?

Stop laughing at me!

*goes away and cries


;)
#7
03/03/2005 (10:05 am)
It's French, and it's "voila!" :)

(Edit: added link)