Game Development Community

Announcing TGB 1.7.3 Open Beta!

by Stephen Zepp · 04/29/2008 (12:07 am) · 30 comments

GarageGames is excited to announce the TGB 1.7.3 Open Beta!

Remember all that talk about community participation and transparent development? We're doing it again. We've done a lot of work (probably way more than the point update would indicate) on TGB 1.7.3 and we want your help to make sure it's really solid before it goes out the door with the official GG stamp of quality on it. If you currently own TGB (Binary or Source), you're invited to participate in the next stage of TGB development!

www.garagegames.com/images/site/blogs/IceWolf-5.jpg
Ice Wolf -- a TGB game used to help test the new physics changes

If you want to jump right in before reading the rest of this update and already own a license to TGB, you can head on over to your My Account page and get started downloading the TGB 1.7.3 beta installer.

Note: Our Mac installer is going to be slightly delayed, so unfortunately this beta is only for PC users. The Mac build is in the works, so rest assured that we'll have a Mac compliant version of 1.7.3 very soon!

What's in Store for TGB 1.7.3

This update is pretty impressive--from bug fixes to the physics system to quite a few performance optimizations to enhanced documentation and new features, we've got a lot to talk about, so settle down and get ready!

Physics System Updates

Melv May, coding monster that he is, has been hard at work for the last month on optimizing the physics system for TGB, working with many of you to resolve issues by utilizing your real world projects to discover and correct many of the problems the community has discovered while using TGB. He's made a number of optimizations of the underlying code to provide a leaner, meaner, faster than before physics system. Here's a non-exhaustive list of things that have been addressed for this update:


  • *Added tick-physics smooth object rotation.
  • *Added tick-physics smooth particle interpolation.
  • *Added per-tick scene callback.
  • *Added "t2dSceneObject::getRenderPosition".
  • *Fixed tick-physics mounting issues.
  • *Fixed physics interpenetration issues.
  • *Fixed physics collision response issues.
  • *Fixed collision callback reporting issues.
  • *Fixed position-target system issue.
  • *Fixed mounting bug in t2dTextObject.
  • *Improved circle/poly circle/circle collision detection code.
  • *Improved t2dTrigger performance
  • *Improved contact-history renderer.


  • Some of this stuff is tough to "get" just reading the bullets, so Melv did a few video captures to show some of the bigger differences between the ways 1.7.2 handles collisions and physics in general to the new, much more accurate and efficient TGB 1.7.3. Check 'em out below:


    www.garagegames.com/images/site/blogs/1.jpg www.garagegames.com/images/site/blogs/2.jpg













    www.garagegames.com/images/site/blogs/3.jpg www.garagegames.com/images/site/blogs/4.jpg














    Click any image to watch the movies

    Physics System Theory Documentation
    One of the things Melv discovered during his interaction with the community was that in some cases, the theory and best practices for optimizing the performance of a game wasn't clear enough to allow developers to properly use the systems the way they were intended. To help inform TGB developers of the best practices and underlying concepts of the TGB physics system, he's provided another of his amazingly detailed discussions to help illuminate the sometimes confusing details of TGB collision and physics. Here is just a sample:

    Quote:
    To explain collision contact and collision normal further let's bring back our objects "A" and "B". Imagine that
    object "B" is stationary and cannot be moved no matter what; it's immovable. Now imagine that object "A" is moving right and hits object "B". When it hits it hits at the collision point (the collision contact) and that
    collision has a collision normal as shown here:


    www.garagegames.com/images/site/blogs/CollisionContactAndNormal.jpg

    New Game Demos and Documentation

    The community has asked for new examples of how TGB can be used to make a variety of game types, and we've responded! Thanks to the hard work of Tom Eastman , Matt Langley and a member of our intern team, Robert Potter, we bring you some new game examples:

    Reactor


    www.garagegames.com/images/site/blogs/Reactor001.jpg

    Solitaire
    www.garagegames.com/images/site/blogs/Solitaire001.jpg

    As well as a Behavior based version of the Shooter Demo, Blackjack, and an enhanced Checkers Demo!

    All of the new Game Demos come with full TorqueScript, images, and can serve as starting points for an even larger variety of game types for the new user.

    In addition to the four new Demos, we've also greatly increased the reference level documentation of TGB's user API, providing even more detailed information on hundreds of TGB classes and their methods. Here's an example:

    [b]castCollision(float [i]elapsedTime[/i])[/b]
    [b]Description:[/b] Returns collision details for object over elapsed-time.
    [b]Params:[/b]
      [b][i]elapsedTime:[/i][/b] The number of seconds into the future to check for collisions. If this number is
     0.0, the collision will be done based on the current position of all objects. If it is greater
     than 0.0, the engine will perform the collision detection across a simulated time period of 
     length time and return the first collision detected.
    [b]Return:[/b]
      [b][i]space separated list:[/i][/b] If no collision occurs, the return value is an empty string. 
      Otherwise,  the list is in the form 'object time contactX contactY normalX normalY'. 'object' 
      is the object collided with, 'time' is the number of seconds in the future the collision took 
      place as a float (this number will always be less than the time parameter), 'contact' is 
      the position the objects collided at as a  vector, and 'normal' is the normal of the 
      collision as a vector.
    
    [b]Example(s):[/b]
    
    // time - time to check for collision using current object setup.
    // This function allows you to check to see if the object, usings its current setup, will 
    // collide over a specified period of time. 
    
    %obj.castCollision( 1.0 );

    New Functionality: Built in A-Star Pathfinding

    We always love to see users enhancing Torque to accomplish cool things, and it's even better when they decide to give back to the community the results of their hard work as a resource or asset for the community to use. Sometimes, the contribution is so nice to have that we decide it should become a core feature of future products.

    One perfect example is the amazing work done by Phil Shenk on his resource A-Star Pathfinding Extension for T2D -- a C++ implementation of a very popular and powerful path finding algorithm used in hundreds if not thousands of 2D and 3D games.

    Based extensively on Phil's resource, we're proud to announce that Torque Game Builder 1.7.3 now provides integrated A-Star Pathfinding for any TGB object. We've taken Phil's resource and provided a TorqueScript interface that allows even binary only TGB owners to use real time path finding within their game, including dynamic modifications of the world affecting current and future paths.

    We've also written a new tutorial to teach the basics of the TGB aStar API, Attack of the Mutant Butterflies!

    www.garagegames.com/images/site/blogs/AMB001-00000.jpg


    You have Become Better at Transparent Development (100)!

    As I mentioned above, we've been very impressed with the community participation we've received so far during our Transparent Development strategy, and we're ready to take it to the next step: interactive development.

    For the TGB 1.7.3 update, this will take place in two different ways:

    Enhancement of the aStar Pathfinding feature for future releases

    The aStar implementation provided with this update has some interesting features, but there's always room for improvement! Over the course of both the 1.7.3 open beta period, and in the following months we will be looking for active feedback and contributions to make the feature even more powerful for you, the community. We hope to see both developers brand new to TGB and power developers that have been with us since the beginning work together to further enhance the aStar capabilities built in to TGB.

    A soon to be announced interactive project between GarageGames and the Community

    I'll save the details for a .plan in the very near future, but we will be sponsoring an interactive development project for the community based on the aStar functionality. Stay tuned for further announcements, but I'll leave you with this teaser:


    www.garagegames.com/images/site/blogs/TD.jpg

    TGB 1.7.3 Beta Discussion/Reporting

    Here are a couple of posts that should be used when discussing this beta, as well as directions for how to submit bugs:

    TGB aStar General Discussion
    How to submit bugs for TGB 1.7.3 beta
    TGB 1.7.3 Installation/general questions

    Full change list

    Known Issues with TGB 1.7.3 beta 1
    Page «Previous 1 2
    #1
    04/29/2008 (12:22 am)
    awesome! I'll grab it right now! (hehe only a precious few hours of dev time until GTA4 :D )
    #2
    04/29/2008 (12:36 am)
    Ok, the beta installers are up.

    Please remember that you must be a licensed TGB user to participate in this beta--there are no Trial beta installers at this time.
    #3
    04/29/2008 (12:59 am)
    TGB is getting some major love. And Melv is back working on TGB? That's awesome! Guess I'll update this time, I can live with the splash screen :P
    #4
    04/29/2008 (1:05 am)
    Quote:
    ...you must be a licensed TGB user to participate in this beta...

    Damn... :)
    #5
    04/29/2008 (1:05 am)
    I love that Melv May. I want to have his lovechild in a Twins sorta way!
    #6
    04/29/2008 (1:19 am)
    Awesome
    adjective
    1. inspiring awe: an awesome sight.
    2. showing or characterized by awe.
    3. Slang. very impressive: That new white convertible is totally awesome.
    4. This blog.
    #7
    04/29/2008 (1:53 am)
    Can't wait to dig into the new physics and behaviors ... I've been away from TGB for too long!
    #8
    04/29/2008 (2:11 am)
    Great news... This may actually get me to work on some old TGB projects that I was never able to finish..
    #9
    04/29/2008 (5:46 am)
    I know the new demos alone are a huge deal, having worked on them, but man, the physics alone should be worthy of a new version number ;)

    And integrated A*... awesome!

    And also, please, please, sic an artist on my awful programmer art for Reactor. I tried to make it as ugly as possible so that an artist would fix it :)
    #10
    04/29/2008 (8:46 am)
    I have to say, Melv is awesome, it was really nice to be working with him on some of the extreme IceWolf issues.
    Even if in the end the last biggest one was a design miscalculation on my part x[]
    #11
    04/29/2008 (9:01 am)
    Awesome news! Now I've got to come up with a physics based game :P
    #12
    04/29/2008 (9:19 am)
    Great! I can't wait to try out the beta. Thanks Melv May, Stephen Zepp and Philip OShea for staying in contact with us on the physics forum. Thanks to Melv for fixing the physics issues.
    #13
    04/29/2008 (9:57 am)
    Thanks for your kind comments everyone and yes, I'm back on TGB with a vengence and I'm here to stay. I'm going to make a concerted effort to get back a decent forum presence so expect me to be trawling the forums soon.

    I know the GG guys expected this comment from me but nevertheless I'd just like to highlight that I've not tried to rework the physics completely or anything, simply remove the obvious and annoying issues that people were fighting with namely objects sticking and the rigid-body being completely borked and other really poor performance issues. Changes I could've made were completely beyond what we could've got to you in time for this release.

    With all that said, it should work pretty sweet for most people and some really silly problems have been completely eradicated.

    All in all, it's a very nice beta-release and hopefully one that people will be happy to develop with. Big thanks to all those people who helped this code monkey get it done, you know who you all are.

    Looking forward to your feedback and please don't hesitate if you find any problem.

    Melv.

    EDIT: @Benjamin: Thanks for your patience especially. I really, really, really hope you get IceWolf out to the masses as it is very cool indeed.
    #14
    04/29/2008 (10:34 am)
    Man, you're hammering out the updates.

    excellANT.
    #15
    04/29/2008 (2:20 pm)
    Wow, WELL DONE Melv, Tom, Matt, Robert, Phil, garage games and all involved (community and all)! You could've called this TGB 1.8.0 and no one would've flinched it's that darn good (at least fixes & feature wise, haven't tried it yet) :-)
    #16
    04/29/2008 (5:36 pm)
    Looks like you're rocking a little tower defense action there in the last screen. I love me some tower defense! I'm pretty excited to see where this "interactive project" goes.
    #17
    04/29/2008 (5:39 pm)
    Quote:
    Looks like you're rocking a little tower defense action there in the last screen. I love me some tower defense! I'm pretty excited to see where this "interactive project" goes.

    Stay tuned!
    #18
    04/29/2008 (7:35 pm)
    TGB just keeps getting better and better. Huge thanks to everyone that worked on the contents of this release.
    #19
    04/29/2008 (10:50 pm)
    Awesome news, looking forward to the collision + normals update
    #20
    04/30/2008 (2:43 am)
    Wow, awesome job guys. Keep up the good work.
    Page «Previous 1 2