
What's New?
Owners of Torque Game Builder may now download version 1.7 of TGB from their My Account page. For full details, read Dan Maruschak's blog, but read on for some of the highlights:
New and Improved Linkpoint Editor
The new linkpoint editor for TGB 1.7 offers more precise control, and allows the user to set linkpoints
outside the boundaries of the object.
New and Improved Collision Polygon Editor
The new collision polygon editor provides better visual feedback, indicating when and where portions of the polygon are not convex.
...and more
Improved support for t2dShapeVector, some new t2dSceneObject methods, and some bug fixes also made it into this release. Check out the full changelist here.
Torque Game Builder
Version 1.7.2
Released February 5, 2008
- New Collision Polygon Editor
- New Linkpoint Editor
- New method: t2dSceneObject.mountToLinkpoint, lets you mount directly to a linkpoint if you already
have its LinkpointID (be careful, linkpointIDs aren't necessarily the same as the index of the
linkpoint)
- New method: t2dSceneObject.getAllMountedChildren, returns a list of all of the objects that are
mounted to this object
- New method: t2dSceneObject.getChildrenOfLinkpoint, returns all objects mounted to object at a
particular linkpointID
- Can create t2dShapeVector objects from the Create pane (look for the "Polygon" type in the "Other"
rollout of the create pane -- also, be careful when using the "fill" options on these polygons, only
convex polygons are guaranteed to render correctly when you have the "fill" option set)
- New editor for creating t2dShapeVector objects
- New utility function: t2dAngleToPoint
- Added support for a new type of behavior field: "polygon"
- Bug fix: t2dSceneWindow's getCurrentCameraArea and getCurrentCameraSize methods now return
the current size directly, without modifying it
- Bug fix: t2dTextObject size no longer arbitrarily add 1.0 to width of text objects, so text objects
widths work better for very small text object sizes
- Bug fix: Now able to delete any linkpoint, regardless of whether or not there is another sceneobject
located at the linkpoint's world position
- Bug fix: cloneWithBehaviors method now copies linkpoints from original object to clone
- Bug fix: t2dShape3D objects now clone properly with cloneWithBehaviors method
- Bug fix: t2dShapeVectors now take the FlipX/FlipY properties into account when rendering
- Bug fix: small tweaks and fixes to the new editors introduced in 1.7
- Added support for a new type of behavior field: "localpointlist"






