TGB 1.7 Released
by Dan Maruschak · 01/31/2008 (1:57 am) · 23 comments
Hi guys. I'm happy to announce the release of TGB 1.7! It's got some features that I've wanted to see in TGB for a while, like the ability to specify collision-polygon style information as behavior fields, which we were able to put through a trial-by-fire in our recent Game-in-a-Day entry, GarageQuest. It was really cool to get a chance to use the tools I've been working on to do some fun game development stuff. And Game-in-a-day was a nice break from normal development, since people didn't mind so much if my code had a few rough edges, and I could focus mostly on the fun stuff. :) It's a good reminder that even though making our tools can be hard work sometimes, the end goal is about helping people have fun and make their own fun stuff.
So what's new for 1.7? Well, it's got a new Linkpoint Editor:

And a new Collision Polygon Editor:

And it has beefed up support for the t2dShapeVector object, in case anyone gets on an extreme retro kick:

Official 1.7 Change Log:
- 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
And 1.7.2 adds:
- 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"
Feel free to post any questions, issues, or comments specifically about this release either here or in this forum thread. If you have any bug reports feel free to post them in the report bugs forum. Enjoy!
So what's new for 1.7? Well, it's got a new Linkpoint Editor:

And a new Collision Polygon Editor:

And it has beefed up support for the t2dShapeVector object, in case anyone gets on an extreme retro kick:

Official 1.7 Change Log:
- 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
And 1.7.2 adds:
- 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"
Feel free to post any questions, issues, or comments specifically about this release either here or in this forum thread. If you have any bug reports feel free to post them in the report bugs forum. Enjoy!
#22
Example for mask:
www.lightfactory.co.yu/documents/Mask_sample.swf
03/27/2008 (1:12 pm)
Is there any chance that maybe a "mask" ability for object can be implemented?Example for mask:
www.lightfactory.co.yu/documents/Mask_sample.swf
#23
03/27/2008 (2:30 pm)
If I understand the desired effect correctly you can achive this with a texture and alpha (for the star) and move the plane around.
Torque Owner Tom Eastman (Eastbeast314)
Awesome! That's what I was waiting for.
Now, for some free time...