Game Development Community

dev|Pro Game Development Curriculum

Undiscovered Torque 2D Tutorials

by Kevin OFlaherty · 01/15/2013 (1:20 pm) · 5 comments

Hello Torque users. I have always been a big fan of Torque 2D. The tool allows rapid development and, if good programming practices are maintained, projects can turn into polished releases. I hope those of you that are using Torque 2D have recognized the unique features that the engine and scripting langue provides. There are many hidden tricks with Torque 2D and I hope that my resources reveal some of the mystery. I feel like many resources have gone unnoticed. In this post I will give you links to my best free resources and other resources that I believe are essential to learning the engine.

#1 - Torque Script Reference

This reference, available on the Torque Development Network, is essential to programming in Torque. It was taken from one of Edward F. Maurina III's Torque books. I'm not sure which, since I've haven't read them. The resource can be found here: tdn.garagegames.com/wiki/TorqueScript

#2 - Shooter Tutorial in the Documentation (Video Tutorial)

I'm not entirely sure of the history of the shooter tutorial but it has been the tutorial for Torque 2D for years. Many users know of the tutorial, since it is in the documentation, but few know that there are video tutorials. They can be found here: t2dtutorials.com/

t0.gstatic.com/images?q=tbn:ANd9GcRWXWieauuFNnkQt98th_F8GNszHXedfV-gUYLczX-HdKCf-lUB4Rpia3IP

#3 - Rock Paper Scissor (Video Tutorial)

The Rock Paper Scissors was a weekend project that I created just for fun. There are a total of five videos that will teach you how to make the game using Torque 2D. The images and project is available for those that would like to create the project themselves. These videos get better after the first video. Also I feel like this series needs a lot more views and that is why it is #3 on the undiscovered list. The videos can be found here: torquescripter.com/Rock_Paper_Scissors.html

torquescripter.com/images/Rock_Paper_Scissors.jpg

#4 - Reflection Grid Guide (27 Page PDF)

Last year I created a multiplayer ship shooter resource for Torque 2D. A couple months ago I released this resource for free. Looking in my website's history I noticed it fell behind the first blog page of Garage Games and has lost visitors. Here is a reminder that you can find the resource here: torquescripter.com/Reflection_Grid.html

torquescripter.com/RF_sample1.jpg torquescripter.com/RF_sample2.jpg

#5 - Platformer Tutorial

The platformer tutorial and shooter tutorial got me started with Torque 2D in 2007. Since then the platformer tutorial has gotten hidden on the Torque Development Network. You can find this gem here: tdn.garagegames.com/wiki/TGB/Tutorials/Platformer

tdn.garagegames.com/wiki/images/3/34/TGB_Platformer_Tutorial_Icon.jpg tdn.garagegames.com/wiki/images/d/d9/TGB_Platformer_Tutorial_Setup_Icon.jpg tdn.garagegames.com/wiki/images/3/3c/TGB_Platformer_Tutorial_Camera_Icon.jpg

#6 - Score Tutorial (GUI/File IO)

I have always had a bit of trouble using the Torque 2D GUI editor. I usually use static sprite objects to have more control over the GUI but this isn't the best practice. The score and timer tutorial got me started with GUI. It is a very clear tutorial. However, on my hunt to find the tutorial in TDN I found one that looks like it has more information. I haven't gone through this tutorial myself but it looks informative, covering a broader range of topics. You can find the tutorial here: tdn.garagegames.com/wiki/TGB/ScriptTutorials/ScoreTutorial

tdn.garagegames.com/wiki/images/d/d5/ScoresDisplay.gif

About the author

I'm a computer science student at Stony Brook University and entrepreneur. I founded torquescripter.com where my small team develops resources for Torque 2D.


#1
01/16/2013 (7:14 am)
Hope to see more from your site when Torque 2d MIT is released.
#2
01/17/2013 (3:57 am)
Hi Kevin, thanks for the mention on the shooter video tutorial and a big compliment on the tutorials and guides you have made. To fill in a small bit of history, the shooter or "basic" tutorial was actually the main tutorial that came with Torque 2D way back in 2005 when it was first released. That first version of T2D only came with a particle editor, everything had to be done in script. So in a way, it is a bit amusing that we are coming full circle with an editor-less T2D MIT version in 2013 (obviously everything else being much improved).
#3
01/26/2013 (2:51 pm)
There are also two unfinished tutorials one for a breakout game and the other for a RTS game. They both contain a wealth of information and greater insight on game development. Another tip is to scan the blogs for released source code. I've found more than a wealth of info for working with Torque Script.
#4
08/14/2013 (6:12 am)
Hello Kevin, I really appreciate that you are still hosting these tutorials after Torque MIT has started to come out. I am making a game with Torque 2d and am relying heavily on your tutorials for learning to script. Since I am a beginner in regards to programming, I have decided to go with the older version of torque with the level designer. So far I love it.

Anyways just wanted to put it out there, that I appreciate your work.
#5
10/16/2013 (11:46 am)
Hey Zachary.

I'm really glad that my tutorials are helping you out! It's really good to know that all the docs I've written years ago are still making an impact. Thanks for the shutout!