Artist ToolsCommunityTDNTutorialsDocumentation

The Offline Documentation is the first place you should start your TGB education. When you download and install TGB, a set of docs in the form of html files will be installed in the same directory you installed the SDK. Quite a few of the tutorials listed on this page can be found in the offline documentation.

There is a great wealth of tutorials and documentation available for TGB online. The main sources of documentation online are the Torque Developer Network and the OFFICIAL DOCUMENTATION. The documentation available on these sites can be categorized as below.

Official Documentation Submissions
If you would like to create simple tutorials or reference documentation, jump down to the Community Section for details. To gain greater exposure or have your work used in Official GarageGames Documentation, read through the Submission Guidelines and contact Michael Perry

Below you will find several great tutorials shipped with TGB.
These will help you learn how to use the powerful toolset included with TGB. Some tutorials were written before behaviors were added to TGB, but still contain great instructions on using the editors and TorqueScript. To find the tutorials not linked on this page, open the Documentation Overview.html file found in the documentation directory where you installed the SDK.

OFFICIAL TUTORIALS:

  • TGB Features Tutorial
  • - A collection of tutorials that walk you through TGB's features, which includes scripting, editors, asset management, and more.

  • Behavior Mini-Tutorial (uses Behaviors)
  • - The Behavior Mini-Tutorial teaches you the basics of adding a behavior to objects using TGB's Level Builder. This is the most simple example of adding a behavior to a sprite.

  • Fish Demo Tutorial
  • - The Fish Demo Tutorial is great for those new to TGB and those new to scripting in general. Many of the TGB scripting basics are detailed in a step-by-step process that anyone new to TGB can approach.

  • Fish Game Scripting Tutorial
  • - This Fish Game Tutorial is a follow-up to the Fish Demo. In this tutorials you will now add a fish that you can control through your keys. Objectives, goals, and challenges are added in these tutorials as well to make a simple fish game.

  • Fish Game Behavior Tutorial (uses Behaviors)
  • - This is the same Fish Game Tutorial shown above. However, now you will develop the game using Behaviors. This is a great way to learn how to develop Behaviors, in addition to showing you how they can speed up your development.

  • Rainy Day Tutorial (uses Behaviors)
  • - The Rainy Day Tutorial teaches you how to use particle effects and the T2DTrigger object to make a game in which rain will make plants grow.

  • Rainy Day Tutorial (Video Tutorial)
  • - This is the same Rainy Day Tutorial listed above, but converted into a video format so you can follow along visually as you develop.

  • Whack-A-Mole Tutorial
  • - The Whack-A-Mole Tutorial steps you through creating a fun and simple game based on "whacking" a mole with a hammer, reliving the days of being a kid and going to an arcade with good hammer stomping.

  • Shooter Tutorial
  • - The Shooter Tutorial instructs you in creating a bare bones shooter game in TGB (recreating some of the basics of the demo).

  • Checkers Tutorial
  • - The Checkers Tutorial covers TGB's networking system by creating a networked checkers game.

  • A* (a star) Tutorial (offline tutorial)
  • - A* (pronounced "A Star"), is an AI search algorithm often used in pathfinding for non-player controlled entities. This tutorial will show you how to use the A* tech that has been integrated into TGB v1.7.3.

COMMUNITY TUTORIALS:

  • Code Free Pong (by Christopher Ross at thisismyurl)
  • - This tutorial is an excellent example of what you can do with TGB without ever touching C++ or TorqueScript. Be sure to check out Christopher's other tutorials as he creates them.

  • Making Indie Games Tutorial Set (Video Tutorial)
  • - The team at makingindiegames.com has been putting together a nice set of tutorials. They are actively working on new resources, so bookmarking this site is suggested. As an added bonus, the forums are active and monitored the site admins in case you need help.

The community of developers using Torque Game Builder is vibrant and active. Get involved in the community by joining the ongoing discussions in both the public and the private TGB forums.

You can find more tutorials and add-on modules in the Resources section of the GarageGames site. Before TDN, this was the primary method of community contribution. You can simply browse through all of the Torque resources, or you can use the advanced search feature and query for specific TGB terms. Click the image to the left to see one example search for "TGB" in the articles, code, and "how-to" resource areas.

Forum Discussions

Most discussion of TGB and related projects occurs in the forums. In the Public Forums you will find general discussion and a lot of great "Getting Started" threads. If you are having problems in your very first run of TGB, this would be a good area to post your questions as a beginner.

The Private Forums are much more extensive in terms of topics, engine discussion, bug fixes, and general TGB development. You must have a license to view and post in the Private area.

In the forums, can post your own questions, answer queries posted by other TGB users, show off your work, or simply join in general discussion about the engine and its features.

Submitting Your Own Resources

If you are the generous type, and have something cool to share with the rest of the TGB community, log in to the GarageGames site and navigate to the "Submit A Resource..." page. There is a section for every type of contribution. If you have written a new function that others will find useful, you can post it as a Code Resource. If you have a mini-tutorial, you can put a write-up in the HowTo section. This is also the page where you can post blogs about your TGB projects and progress.

TDN_Icon

The Torque Developer Network is mentioned constantly throughout this documentation. This site is nearly 100% community driven, meaning your TGB peers are doing what they can to help you. The TGB section is particularly well taken care of and updated frequently. On any given page or tutorial, you can click on the history button in the top right to see which community members are working on the site.

Writing TDN Articles

Much like the GarageGames resources, several user maintained tutorials and articles can be found on TDN. As mentioned before, TGB has its own section on the site. If you want your tutorial, article, or code hosted in an organized location, you are encouraged to Submit Your Own Article. Once your article is posted, you can re-visit the page and make modifications or see how other users have contributed to your resource.

Submitting Behaviors

Just like articles, you can Submit New Behaviors you've written to TDN.

Some extremely dedicated TGB community members go the "extra mile" and develop new content packs for the engine. While there is a small cost, these kits contain highly useful code, assets and new system add-ons. Here, you will find vehicles, models, animations, environment systems, audio packs, and much more. Using content packs is a guaranteed way to get a head start on your project.
The Platformer Starter Kit has been constructed for Torque Game Builder v1.5.0 and up. The framework has been developed entirely in TorqueScript to take advantage of the new Behavior system and does not require engine modifications. This means that any TGB user can start to re-create all their favorite classic platform games. The included source, art, documentation and demo files will enable you to start developing prototypes in a matter of hours, not days. Check out the Japanese learning game that developer Tanoku made with the Platformer Starter Kit here.
The TGB Adventure Kit has been developed to provide a flexible starter framework which can be expanded to create any action, adventure, and/or role playing top down game in Torque Game Builder. Right from TGB's LevelBuilder you're able to drop in scene and gameplay elements and instantly play test the level you just built! The Adventure Kit also features a huge starter library of production ready high quality tiles, sprites, animated sprites and sound effects to help fill out your game world. All of this is heavy documented to help you get started. Check out a video of it in action here.
The 2D Fantasy Character Pack from WIT Entertainment features 15 different 2D characters, all animated and ready to go. Each character comes with several different animations including attacks, walk, idle, death and more. Each animation sequence contains 8 different directions, north, northeast, east, southeast, south, southwest, west and northwest. All of them are production quality and drop straight into your fantasy adventure game in TGB. Perfect for building games and prototypes quickly.