TGB/AllTutorials

From TDN

back to hub

This page and its contents are located in the TGB Archive. You may, and probably will, find out of date material here. Feel free to update any of these articles yourself. The current tutorial and reference section can be found here.

TDN is completely open to the community, so feel free to edit, add to, or create new and/or existing articles.

Image:HubHeaderLeftA.gif Image:HubHeaderRightA.gif
Image:HubHeaderLeftB.gif

All Torque Game Builder Tutorials

Image:HubHeaderRightB.gif

Read through these tutorials to have the major principles as well as the subtle details of a topic explained in simple language.


Beginner Tutorials


TGB Basic Tutorial - A great introduction in using the Level Builder to create a side-scrolling shooter. Covers concepts such as: loading images, mapping player input, collisions, and particle effects.

TGB Fish Game Tutorial - Ideal for those new to scripting and TGB in general: a tutorial set to take you through creating a very simple fish themed game.

Memory Game Tutorial - Memory game Tutorial: This tutorial will take you through, building Torque Memory, a Match Two Memory Game, using the Fish Game Tutorial Graphics.



Development System Tutorials


Setting up a Microsoft Windows®-based development system for Torque Game Builder

Building a Debug Version of Torque Game Builder with Microsoft Visual C++ 2005 Express Edition

Creating and Debugging “Hello, world!” with Torque Game Builder

Building, Running, Debugging Torque Game Builder and more on a Mac-based development system

General Script Tutorials


For beginner to advanced users - general mini tutorials and examples for specifc game functions can be found here.


Level Builder Reference Tutorials

How to get the most out of TGB's built in systems - using the Level Builder.

TGB Image Map Tutorial - Everything you need to know about image maps in TGB

TGB Tile Map Tutorial - How to get started making tile maps in TGB

TGB Scroller Tutorial - Introduction to using scrolling backgrounds and objects in TGB

TGB Mounting Tutorial - Overview on how to mount objects to each other with the Level Builder

Using 3D Shapes in TGB - How to use 3D shapes from .dts files (tge format) in TGB

Introduction to the TGB Particle Editor (OUTDATED) - A basic tutorial on creating a particle effect in the old TGB Particle Editor


Graphical User Interface Tutorials


GUI Button Tutorial - This is a very simple introduction to the GUI Editor and making buttons

GuiControlListPopUp Tutorial - This is a step by step example for adding a GuiControlListPopUp and setting custom values

Keeping Score - Explains the basics for tracking and displaying the score in a game.

Pause screen - Code snippet for creating a pause screen.

Splash screen - Short guide on how to set up two splash screens on game startup.

Dynamic Splash screen - Short guide on how to set up a series of dynamic splash screens on game startup.

Using Sceneobjects with GUIs - Tutorial on how to use t2dSceneObjects in your GUIs.

Configure GUIs for Multiple Resolutions - Learn how to dynamically re-size your GUIs and text for different resolutions.


Specific Function Tutorials


Changing the Window Title - This shows how to change the title of the T2D window

Fading Tutorial - This shows a method for fading objects in and out

Mouse Movement - A short tutorial explaining how to control a scene object with the mouse.

Joystick Setup - How to setup a joystick for use

Music & Sound Effects - How to add music and sound effects to your game

Object Selection 1 Tutorial - Shows a simple method for selecting objects and making them follow the mouse

Object Selection 2 Tutorial - Shows a more complex method for selecting objects and making them follow the mouse

Object Selection 3 Tutorial - Uses the previous object selection tutorials to illustrate the creation of a simple debug message tool using GUI objects

PathPoint Tutorial - This shows a method for creating pathfollowing code using a queue of locations for an object to move to

Package Tutorial - Basic concept for creating a package

Hello TGB Network example - The minimal example for TGB networking
What Time Is It - Clock Example (Mounting & Rotation Demo)

Moving Along a Tile Map, Tile by Tile - Basic Tile by Tile Movement Tutorial


Game Play


High score tables - Explains how to create a simple High Scores table and save/load the data for later use


Deployment Tutorials


Asset protection - Guide to add encryption to protect your game files.


Working with Source Tutorials


C++ Tutorial - Goes through the basics of getting into the C++ code, making a new object, and exposing it to script.


Mini Tutorials


Follow this link to access the TGB Mini Tutorial section


TGB Tutorial and Examples Wishlist


Graphics and GUIs: Gameplay: Deployment:

Main menu (GUI)

Loading status bar

Custom "options" menu

Tips for good graphics

Creating user profiles

Saving game state

Organizing game levels

Handling pause/minimize

Custom fonts

Unicode examples

The Basics

Torquescript optimization

Packaging

Trial period & activation

Accepting payment

Outdated Genre Tutorials

The following tutorials were written in a previous version of TGB and may no longer work correctly with the current TGB release. It is not recommended that beginner users attempt them. As a community based wiki, please consider taking the time to update these tutorials so they can be readded to the top list!

Platformer Genre Shooter Genre Puzzle Genre

Basic Platformer Mechanics

Basic Shooter Tutorial (from SDK)

Tetris Style Game

Platformer Genre Shooter Genre Strategy Genre

Overview

Building Levels Using Tile Maps

Scripting Basic Movement

Setting up a Scrolling Camera System

Creating Animations for Your Character

Adding Enemies and Basic AI

Implementing Winning and Losing Conditions

Building the User Interface

Additional Topics

Asteroids: Overview

Asteroids: Adding the Player

Overview, Planning, and Design

Creating The World (utilizing Tile Maps)

Mouse Selections and Selecting Objects

Setting up a Unit Creation System and Moving New Units

Creating Scripted Actions/Behaviors

Setting up Basic GUI Interactions In-Game

Setting up the Camera System to Scroll with The Mouse

Setting Conditions for Winning and Losing

Creating a Basic Interface GUI

Missing Genre Tutorials

There are many types of games for which there are currently no tutorials. Become a hero of new (and old) TGB users everywhere and create a new genre tutorial series!


Moving Along a Tile Map, Tile by Tile



Image:HubFooterLeftA.gif Image:HubFooterRightA.gif
Image:HubFooterLeftB.gif Image:HubFooterRightB.gif