Line drawing
by Kevin Ryan · in Torque Game Builder · 12/22/2005 (9:45 am) · 5 replies
Is there any line drawing support in the new 1.1 alpha or is it being planned? I've got one specific instance where I will need it in one of my games and will just write my own, but don't want to write something different if it is already planned on being in the stock T2D.
BTW, T2D has been very easy to work with.
BTW, T2D has been very easy to work with.
#2
In the meantime, you can grab it here:
T2D Primitives
The resource now includes a class called t2dLineStrip that you can use to draw one or more line segments in a single sceneobject. Everything *should* work with 1.1 alpha, but the version I tested with has some custom functions, so if anything doesn't work right be sure and let me know. Also, there isn't a demo for the t2dLineStrip class yet, its fairly simple though, just use addPoint() to add as many points as you need.
12/22/2005 (11:05 am)
Thanks for reminding me I need to update that :) I'll post a new resource for T2D 1.1 AlphaIn the meantime, you can grab it here:
T2D Primitives
The resource now includes a class called t2dLineStrip that you can use to draw one or more line segments in a single sceneobject. Everything *should* work with 1.1 alpha, but the version I tested with has some custom functions, so if anything doesn't work right be sure and let me know. Also, there isn't a demo for the t2dLineStrip class yet, its fairly simple though, just use addPoint() to add as many points as you need.
#3
- Melv.
12/22/2005 (11:15 am)
There is work planned to support vector graphics including animated properties for them as well.- Melv.
#4
12/22/2005 (11:39 am)
Great! Thanks guys...
#5
Things just keep getting better :)
12/28/2005 (7:11 pm)
"There is work planned to support vector graphics including animated properties for them as well."Things just keep getting better :)
Torque Owner Philip Mansfield
Default Studio Name
A quick search should turn it up and it might save you a bit of work.