Game Development Community

Wireframe drawing

by Bucko · in Torque Game Builder · 03/21/2005 (11:28 am) · 2 replies

Will there be support for drawing simple colored lines in T2D? These are very useful for selection boxes, destinations etc in various games. Line drawing is also very useful for debugging.

My networked turn based 2D space combat really needs those green glowing antialiased lines :)

#1
03/21/2005 (12:27 pm)
Yes, we'll be adding textured/non textured 2+ side polygon support.

It's actually really easy to create custom objects to do more specialised stuff yourself as well.

- Melv.
#2
03/21/2005 (3:31 pm)
If you want a good start on how to go about doing this, have a look at the code that draws the blue debug bounding box and related stuff in fxSceneObject2D::renderObject.