From TDN
|
Tutorials and Reference Guides
Here you will find helpful user submitted articles covering everything from in depth game making tutorials to general information on specific TGB functionality.
To find out how to add your own articles to this listing, go here.
|
|
|
Breakout |
Learn how to program in TorqueScript while creating a Breakout/Arkanoid type game. |
|
|
|
|
Rainy_Day |
Great tutorial on using particle effects, t2dTrigger objects, and behaviors. |
|
|
|
|
Shooter |
The basics of the TGB editor are explained while creating a side scrolling shooter. |
|
|
|
|
TicTacToe |
Create simple complete Tic-tac-toe gameplay. |
|
|
|
|
Stacker_Clone |
Aims to take someone from zero knowledge of TGB to a working game. |
|
|
|
|
Match 3 |
This tutorial demonstrates a very basic match-3 engine. |
|
|
|
|
Reflection Grid PDF Guide |
A very detailed guide covering the creation of a shooter. This guide covers making the level, player controls, lasers, damage, particle effects, and scoring. |
|
|
|
|
Alien Invasion |
Create a UFO game where you fly around in your UFO as the level changes from day to night. |
|
|
|
|
FishGameBehavior |
Create the classic TGB Fish Game using behaviors, instead of pure script. |
|
|
|
|
Fill Battle |
Build a board game and learn TorqueScript, C++, and A.I. |
|
|
|
|
The Game of Life |
Build a C++ cellular automata engine and integrate with TorqueScript |
|
|
|
|
Asteroids |
A large tutorial series covering the creation of a top down shooter. |
|
|
|
|
Platformer |
Tutorial series that deals with basic platformer mechanics. |
|
|
|
|
Pacman |
A large tutorial explaining how a pacman clone is implemented (with help from aStar). |
|
|
|
|
SplashScreen |
(TGB 1.7.1) Set up a splash screen using a behavior. |
|
|
|
|
Pause Game |
(TGB 1.7.3) Pause your game when user navigates away from the game. |
|
|
|
|
TScriptArray Resource |
(TGB 1.7.4) Basic usage of TScriptArray Resource to write custom operations on a tilelayer. |
|
|
|
|
Using the Torque 2D Console |
Shows how to open the console in Torque 2D, and how to access the console.log file. A simple code example is also included. |
|
|
|
|
Creating New Script Files |
This article will show you how to create and execute script files using the console and in code. Also discusses re-executing script. |
|
|
|
|
Explaining Main.cs and Game.cs |
This article will cover the script files include in all new Torque 2D projects. It will go over what is is these files and what code you should add to it. |
|
|
|
|
Naming Objects |
This article will show you how to name objects and access the object in code. |
|
|
|
|
Classes |
This article will show you how to set an object's class, create functions for that class, and use callbacks such as onLevelLoaded(). |
|
|
|
|
Torque Script Video Series (Video 1) |
This video covers serval features of Torque Script for use with Torque 3D, Torque 2D, and iTorque2D. Using the Console, Mathematical Expressions, Variables, Arrays, and If Statments. |
|
|
|
|
Torque Script Video Series (Video 2) |
This video covers serval features of Torque Script for use with Torque 3D, Torque 2D, and iTorque2D. Creating a Function, Arguments, Returning Arguments, and Loops. |
|
|
|
|
TGB_Units |
Learn about TGB units and measuring conventions. |
|
|
|
|
TGB Debug Banner |
How to use the TGB debug banner, which provides runtime information such as object counts, fps etc. A visual guide to the debug modes can be found here. |
|
|
|
|
FileIO in TGB 1.6 |
Details the changes to file handling. Applies to all TGB versions after 1.6. |
|
|
|
|
The GUI Editor |
A simple tutorial on the GUI Editor. Applies to all TGB versions after 1.5. |
|
|
|
|
TGB Particle Engine |
An easy-to-read explanation of the workings of the (really cool) TGB particle engine. |
|
|
|
|
TGB Reference Guide |
The complete script reference to TGB. Use as a supplement to the reference included in the official documentation. |
|
|