You are on page 1of 28

Torque 3D 1.

2 Education: Comprehensive FPS Tutorial


Teachers Guide

Contents
Welcome..................................................................................................................... 3
Why Torque 3D?.......................................................................................................... 3
Why use an FPS Tutorial?............................................................................................ 5
Motivating your Students with a Long-term Mechanic................................................5
Create a game as a group project...........................................................................5
Run a mock studio................................................................................................... 6
Build a portfolio....................................................................................................... 7
Hold a Game Competition....................................................................................... 7
Make Money............................................................................................................ 8
Tips and Tricks............................................................................................................ 9
Tip #1 The Five-step Model for Structured Training..............................................9
Tip #2 The Five-minute Rule...............................................................................11
Tip #3 The Tourist without a Camera..................................................................12
Tip #4 Analogies................................................................................................. 12
Tip #5 Anyone? Anyone?................................................................................... 13
Tip #6 Enlist Teachers Assistants.......................................................................14
Resources................................................................................................................. 14
Answer Key............................................................................................................... 15
Welcome
The Torque 3D 1.2 Documentation Team has created this teachers guide to help
you make the most out of the other educational materials found at
http://demos.garagegames.com/education. The educational materials are free to
use, modify, and freely distribute, with no restrictions or attribution necessary.

This guide is for educators for class preparation and in class guidance. The guide is
particularly useful for those teachers who are new to teaching Torque 3D or game
design. The guide includes suggestions for ways to motivate and engage students,
ideas on how to teach specific concepts, and includes a list of resources and an
answer key.

After youve reviewed this teachers guide and the other educational materials,
wed love to get your feedback at the Torque in Education forum. Additionally, any
educators who want to get more involved as an Associate to GarageGames should
email dexterchow@garagegames.com.

To request an instructor evaluation license for the full version of Torque 3D 1.2,
Torsion, or the other tools, genre kits, and art packs, use one of the following
methods:

See http://www.garagegames.com/education .
Email education@garagegames.com.
Call 702-727-1915.

Why Torque 3D?


Your students might ask you why you chose Torque 3D over other tools.

Before considering the advantages of Torque 3D, you could tell them that learning
how to script gameplay is the important thing to focus on. Scripting is how you
make something happen in a game. Its how you make the behavior of your game
unique.

Learning how to use the features of a tool like the Torque 3D World Editor (or any
other tools editor) is a finite task, and gets you only so far. In the World Editor, you
design the look and feel of your game. You can also change the behavior of some
objects by setting their properties, but the World Editor deals mostly with the
appearance of your game and the layout of your levels.

Learning the syntax of a scripting language is also a finite task. After you
understand the structure of script files, how they are executed, the key words that
you can use, and the functions you can call, youre all set.
However, learning how to code a game type and game mechanics is infinite!
Building on your scripting skills results in the ability to create an infinite number of
possibilities for things that you can do in your game, and those skills are
transferrable between game engines.

Say it took you 100 hours to learn how to use the tools of the Torque 3D World
Editor, and 50 hours to learn the syntax of TorqueScript. Then, say you began the
long journey of learning how to code game types, code game mechanics, and solve
design problems in script. If you wanted to switch to another engine, youd spend
another 100 hours learning the new tool (probably less because you wouldnt have
to relearn common concepts), another 50 hours learning the syntax and structure of
the new scripting language (probably much less, because scripting languages are
very similar). After that, youd be good to go because you would already know how
to design game mechanics with code.

All of that aside, what are the specific advantages of using Torque 3D? You could
offer your students the following reasons:

The demo version of Torque 3D is free to use, without an expiration date. The
demo is missing only a few advanced features (such as source code access).
Most of the game mechanics you might want to implement can be done by
using script in the free demo version.
Torque is very popular among game companies. See the Best of Torque page.
Game companies place a lot of value on obtaining and customizing engine
source code. The cost of the Torque 3D engine that includes source code
access is much lower than most engines.
There is a strong, cooperative, and vocal community.
Its fast and easy to get your questions answered by the Torque team.
Theres a chat window at the bottom of the tutorial pages at
http://www.garagegames.com/products/torque-3d/fps#/1-setup/1. During the
week, you can chat with someone if you have a problem, or leave a message
if the chat service is offline. You can also get answers via the forums. The
team has a Community Power Hour every Friday when they answer questions
in the forums.
The tutorial suite provides a fast and thorough introduction to Torque 3D.
Features are encapsulated into individual editors. For example, you add
objects to your world using the Object Editor, and you modify terrain using
the Terrain Editor. Your work is protected because when youre in one editor
(for example, the Object Editor), you cant accidentally modify the work
youve done in another editor (such as your terrain).
There are so many features encapsulated in individual editors: Object Editor,
Terrain Editor, Terrain Painter, Material Editor, Sketch Tool, Datablock Editor,
Decal Editor, Forest Editor, Mesh Road Editor, Mission Area Editor, Particle
Editor, River Editor, Road and Path Editor, Shape Editor, and the GUI Editor
(for creating menus and HUDs). The Object Editor is the most powerful, with
tools that help you create sun, sky, clouds, water, precipitation, and ground
cover.
The documentation includes overviews and how-tos for each of the editors
and features of the Object Editor. The documentation also includes tutorials
about scripting common tasks.
Its easy to attach code to objects, to make things happen in the game.
Its easy to swap code packages for different game types/genres. If you dont
want to start scripting a genre from scratch, there are genre packages
available at http://www.garagegames.com/products/torque-3d/add-
ons#/genre-kits.
The scripting model is very clean and robust. It supports both event-driven
and state-driven design.
There are many art, sound, model, scripting, and code add-ons that are
available from http://www.garagegames.com/products/torque-3d/add-ons.
Many are created by long-time customers of Torque 3D. Eventually, if you
create a set of assets or script files that you think other game designers
would like to use, you could submit them for review and then sell them on the
Add-On page.

Why use an FPS Tutorial?


The tutorial suite lessons are based on the Chinatown project template, which is a
first person shooter (FPS) game level. Students who dont particularly like FPS
games might ask why an FPS is used.

The FPS game type showcases all of the features of a game engine, thus providing
complete examples of level design, script code, and source code; all contained
within the same project. This means that if a student wants to see an example of
script that uses a particular scripting object that they looked up in the Scripting
Manual, they can search for an example in the Chinatown project. (There is a link to
the Scripting Manual in the Start Menu after you install Torque 3D.)

Additionally, the FPS game type allows students to playtest their work right away
due to the small learning curve of an FPS game.

Motivating your Students with a Long-term


Mechanic
You can motivate your students by wrapping their learning within a larger purpose.
The following examples provide good motivation for students to show up, do the
work, and feel rewarded.
Create a game as a group project
After the mid-term, students might be ready to come up with an idea for a
Chinatown mod or a standalone game. There are a few caveats, though. Student
projects can be problematic if one persons work relies on anothers, or if the
students come up with an idea that is impossible to implement in the time allotted.
Also, its quite possible that students will come up with a game mechanic that would
take much more scripting skill than they will have by the end of the course.

To work around these issues, you could ask the group to choose a theme or aspect
of gameplay. Then each student would select a single task that depends as little as
possible on any other students work. For example, the theme could be a bumper-
car game, and the game mechanic could be that a player has to cross four
boundaries to win the game. Here are the possible roles of the students in the
group:

1) One student could be responsible for changing the player model into a
character seated in a bumper car, optionally with no player animations.
2) Another student could choose to design the HUD that displays taunting
messages during the game, and displays a value in a Score property.
3) Another student could create the game world with objects that identify the
boundaries. They could put customized triggers at the locations of the
objects.
4) Another student could create the script code for the triggers onEnterTrigger
callback function that would increment the Score property of the player that
crossed the boundary.
5) Another student could script the win/loss conditions, and perhaps a timer.

Alternatively, you could break up the roles by specialization, and try to balance each
team so that there were enough artists, designers, scripters, and a producer for
each team. For example:

1) 3D modeler: One student could be responsible for designing the character


model seated in a bumper car. They might also be responsible for other
models in the game.
2) Artist: Another student could create a set of textures for each player, up to
four players. They might also be responsible for texturing other models in
the game.
3) Level designer: Another student could create the game world with objects
that identify the boundaries.
4) Game designer: Another student could design the gameplay, specify the
rules, and decide on the winning and scoring conditions.
5) Scripters: One or two students could be responsible for scripting the
gameplay features.
6) Producer: One student could make sure constant progress was made,
manage the main project files, make sure everything worked together
correctly, and coordinate with the teacher who would play the role of
stakeholder.

All of these tasks could be easily graded on their own. For example, you could
grade the models or the textures or the script code by themselves. You could give
extra marks only to those students who coordinated to get their content to work
together. For example, getting the textured character models spawned into the
game at different locations would require coordination between almost all of the
students.

Note: The tutorial suite and the education materials provide an introduction
to all of the topics involved in making a game with Torque 3D. If a student
wants to specialize for a specific role, the instructor can modify the syllabus
or add to it.

Run a mock studio


The instructor could run a mock studio and operate as the producer of all of the
group projects. This is a good opportunity to introduce the concepts of sprints and
scrums, because these are aspects of the Agile Development trend that is now
common in the software industry. Groups would be expected to scope their work,
splitting the work into three sprints, due on certain dates. After each of those dates,
the team would scrum to determine the state of their project, and the scrum leader
of each group would then meet with the instructor for a mega scrum.

Running group projects in a mock studio actually provides your students a


simulation of real world game design. Simulations are valuable because they are
active instead of passive activities. If you need to convince your students that a
simulation is a valuable learning mechanic, you could quote Clark Aldrich:

Take a look at people walking into a classroom. They act like passengers
boarding an airplane. They have revved down their own intellect. They are
in passive mode. [But,] Simulations will be challenging. They cause
frustration. They will cause some mulling. They should be exhilarating.
Approaching a simulation is more like being late for a meeting and having a
car that wont start. Passivity isnt an option. 1

Simulations can better prepare a student for a job with a real game studio, and give
them an edge over other candidates by providing the following benefits:

Students learn how to portion up work so that one persons work doesnt rely so
heavily on another persons, but it also makes students aware that there will be
people depending upon them and expecting them to meet deadlines.

1
Clark Aldrich, The Complete Guide to Simulations and Serious Games (California: Pfeiffer,
2009).
A savvy student learns how to scale back on their feature in subtle ways, if they
have to, in order to meet a deadline. Sadly, this happens a lot in the software
industry.
It encourages students to cooperate, because if they do, the reward is that they
see their features in action.
It allows students to build skills in the areas of leadership and negotiation. For
example, consider a brainstorming meeting where the team discusses game
feature ideas or troubleshoots scheduling problems. Even if some headstrong
personalities emerge and need to be reined in, its still a realistic and valuable
learning experience.

Build a Portfolio
Students can create portfolio show pieces by taking a lesson from the tutorial suite
and tweaking it. For example, they could design a new weapon, script its behavior,
and then capture video of the weapon in action. After adding some titles and music
to the video, they would have a great showpiece. The group project is also a great
portfolio showpiece, as long as they add credits to identify what they were
responsible for creating.

Hold a Game Competition


The instructor could split the class into two teams who each design a level or a
Chinatown mod. At the end of the course, the two levels would be played, either by
joining them into one level, or by adding portals that jump the players from one
level to the other. The following ideas are variations that could be added to this
competition:

Within certain restrictions specified by the instructor, the students could


design their part of the level to give their team an edge. For example, one
restriction could be that the levels terrain or the roads and buildings have to
remain unchanged. Another restriction could be that the portals have to
remain unchanged and cannot be obstructed. Students would be motivated
to learn what they need in order to create a secret advantage.
The goal could be that the players start out in the other teams level, and
they have to make their way across a kill zone to the portal without getting
killed (by sentries, structural dangers, or players on the opposing team).
Their reward is that they get ported to their own level, where they can begin
killing the opposing team members who are still stuck there. One player
could start out in their own level as a kind of sentry.

With a challenge like this, you could even connect two classes from different
schools.

Make Money
Show your students the blog entry at
http://www.garagegames.com/community/blogs/view/21463. A Torque 3D user
created art assets, packaged them up, put them in a level, and created a video
showcasing the assets. In his blog post, he said:

The idea is to package all this stuff up, along with several PDF format art
asset creation tutorials I wrote while doing all of this and sell it for around
$30 in the store (Should Garage Games deem it worthy).

In the comments at the end of the blog post, many people deemed the assets very
worthy, and expressed their interest in purchasing the art pack once it is added to
the Add-ons page.

As a group project, students in your class could work towards creating something
they could eventually sell (if your school allows that). Examples are linked below:

Art asset pack


Environment pack
Character pack
Weapon pack
Detail pack
Effects pack
Music or sound effects pack
HUD pack
Animation pack
Genre kit
Game type kit
Game AI

The benefits of these add-on packs are that they are Torque-ready. For example,
animation packs contain animation sequences that are already named using the
names that Torque 3D expects for characters and vehicles. Art assets (objects,
textures, etc.) are already in the correct format. As a group project, students could
choose one aspect of game production and create some resources for other people.
They could even encapsulate win/loss scenarios in script files. Apart from making
money, having a published pack looks great to prospective employers.

Tips and Tricks


Its often difficult to find instructors who are experts at both teaching methodology
and the tools they are teaching. For that reason, the following tips are provided in
the case that a Torque 3D expert finds themselves teaching this course.

Note If youre not a Torque 3D expert, you can prepare for each class by
going through the corresponding tutorial lesson. If you do that on a weekday
between 9:00 and 17:00 PST, you can use the chat/message window at the
bottom of the Tutorial pages to ask questions of the GarageGames team.
Alternatively, you can post questions in the forums. The GarageGames team
spends most Fridays answering forum questions.

Tip #1 The Five-step Model for Structured Training2


Before introducing students to a new concept, they need to know the rationale for
learning the concept. After they understand the rationale, they are more motivated
to continue. Next, give them the objectives for the exercises they will do that are
relative to the concept. This will orient them before they see the exercises, whether
they follow along while you do the exercises on the main screen, or do them alone.
Finally, after the exercises, check in with the students to see if they understood
what they just did, and how they can apply it to other tasks. Check for any
misunderstandings that you might need to clear up, and check for correct
understandings that you should confirm and reward.

By following this model in every class or for individual concepts, you provide the
framework on which the students can hang everything they learn through the
repetition of the content (presentation, lab exercises, homework, and feedback).
Repetition is a great tool to increase comprehension and retention.

Consider Lesson 3: Scripting, Exercise 3: Make Something Happen in the Game.


This is one of the most challenging exercises in the tutorial suite, and comes after
stepping through code and learning some TorqueScript keywords. How do you get
students to buy into the importance of the exercise, and to internalize what they
learn from it? Here is a long example of the five-step model for this exercise:

Rationale Whats a game? Players interact with a game. Their results are
rewarding or challenging. If you want your game to be more than just
an un-scored FPS, it has to do something when players interact with the
objects in the game world.

The good news is, to cover 80% of the scripting tasks youll want to do
with your game, you only need to understand two related concepts:
How to attach code to an object in your game so that the code
gets called when something happens.
How to call code that already belongs to an object (i.e., a pre-
defined function that belongs to an object).
By using these two concepts in multiple combinations, with the same
game object or across objects, you can create 80% of an engaging,
beginner game.

What are some interactions that you can think of in games youve
played? In Sonic the Hedgehog, when Sonic collides with a coin, it
disappears, and your score increases. The something that happens
(or event) is Sonic colliding with a coin. The code that gets called
might be a disappear function that belongs to the coin object, and an
increase function that belongs to the score. You can break down many
2
Harold Stolovitch, Telling Aint Training (Virginia: ASTD Press, 2002).
gameplay elements like this.

Objective Were going to do an exercise that shows you how to attach code to an
s object, and how to call code that already belongs to another object.
Were going to do this using a trigger and a bubble emitter. When a
player moves into (or collides with) the physical space of the trigger,
the bubble emitter will start spewing bubbles. In other words, the
something that happens (or event) is the player colliding with the
invisible trigger space. The code that gets called will be the function
that starts the bubble emitter.

Well attach code to the trigger by finding out which callback functions
belong to the TriggerData class, and choosing the one that the game
engine looks for when a player enters the trigger space. Its easy to
identify because its called onEnterTrigger. (Show the documentation
page for the TriggerData class.) In that callback function, well add
code that calls a function that already exists on the bubble emitter, to
make it start emitting bubbles. This function is a little more versatile.
Instead of being called Start, or Emit, its called setActive. You set the
active state of the bubble emitter to true to make the bubbles start.
(Show the documentation page for the ParticleEmitterNode class.)

The end result is, when a player walks through the trigger space, the
game engine looks for any onEnterTrigger function that youve created
for that trigger, and runs your code. The bubble emitter will start
because your code makes it activate.

Activities Lesson 3: Scripting, Exercise 3: Making something happen in the game

(The instructor could run through the exercise quickly on the big screen,
pausing everywhere there is a Game Design Tip or other note, in order
to explain those notes and allow for discussion. Then the students
could then do the full exercise on their own.)

Evaluatio Ask the students if they understand what they just did, and how they
n could use these two tasks in the future.

Feedback Ask the students questions that allow for confirming or corrective
feedback. For example, in the Sonic the Hedgehog coin-collection
example, ask them how might it be done in Torque 3D using the two
tasks they just learned?

If a student says they could use an onEnter callback function on the


coin object, you could point out that an onEnter callback function might
not exist (unless they wrote it themselves). Thats the beauty of the
invisible Trigger objectthey can use it anywhere. They could create a
trigger object in the same spot as the coin. In the onEnterTrigger
callback function for the trigger, they could add code that would, say,
call the setHidden method of the coin object, setting it to true. They
could also add more code to the same callback function to increment
the score counter.

You can also use the five-step model to get students on board regarding the bigger-
picture issues. For example, to answer a question like, Why use the FPS game type
for the tutorial?, you could use the rationale that The FPS game type showcases
all of the features of a game engine (thus providing complete examples), while
allowing students to playtest their work right away due to the small learning curve
of an FPS.

Look for some suggestions for Rationale and Objectives in the notes of the slides.
For example, the Rationale and Objectives in the preceding table are included in the
notes for slide 67. In the notes for slide 21, there are suggestions for the rationale
and objectives that support learning the exercises in Lesson 2: World Building.

Tip #2 The Five-minute Rule


The longer a student sits still while listening to a lecture, the less engaged they
become, and the less information they retain. Lectures by themselves teach
students how to know something, but activities teach students how to do
something. The sooner a student applies a concept they just learned, the more
likely theyll attain total understanding, and theyll internalize the concept, its
application, and remember it.3 After all, the game industry favors do-ers, not talk-
ers. If someone with a Masters computer science degree and no portfolio competes
for a job with someone who has a college certificate and a fully-functional game
that they created on their own (as well as other polished portfolio pieces), the hiring
manager might favor the person who has proof that they produce work under their
own motivation. Hiring managers are wary of candidates who are all talk. Get
your students in the habit of doing.

To support this, a good general rule is to lecture for no more than 5 minutes before
walking through an exercise and then having the class do the same exercise
themselves.

You can see evidence of the 5-minute rule in Lesson 2: World Building, Exercise 2:
Move around in the World Editor by changing camera settings. The introduction
paragraph is short. Instead of listing all of the camera types and how they are used,
the student is immediately thrown into an exercise where they can experiment for
themselves. In this way, for any camera they select, they experience the results of
using that camera, and connect the camera name to the results. Another example
is in Lesson 3: Scripting, Exercise 1: Step through the game. In some scripting
books, pages and pages of front-matter are dedicated to describing how the game
engine looks for, and executes, code. Instead, Torsion is used to allow the student

3
Clark Aldrich, Unschooling Rules: 55 Ways to Unlearn What We Know About Schools and
Rediscover Education (Texas: Greenleaf Book Group, 2011).
to experience the code the same way as the engine sees it, giving a deeper
understanding.

There is always a way to turn front-matter into exercises, or even debates. The
benefit of using exercises is to increase the hands-on time that the students have
with the tool, each time making them feel more and more at comfortable with it.
The biggest obstacle to some students will be fear of the unknown or feeling
incapable, so the more time they use the tool, the better. The hands-on exercises in
the tutorial suite slowly increase in complexity, to reduce the dread factor.

Tip #3 The Tourist without a Camera


One way of introducing the exercises in this course is for the instructor to walk
through the exercise on the big screen while the students just watch. This allows for
questions (both asked by the students, and asked by the instructor), and debate.
Afterwards, the students can go through the exercise on their own, using the tutorial
steps that are already written out for them. This repetition reinforces
comprehension, and helps students to internalize what they learned.

Making students watch instead of follow along the first time they are introduced to a
concept is like being a tourist without a camera. Its still an active exercise, but
without the extra responsibility of having to capture each moment by taking notes
or following along. Instead, the students are free to absorb and puzzle over what
theyre seeing (activating the cognitive centers of the brain).

The PowerPoint presentation in the educational materials packet includes slides that
support some of the more complicated exercises in the tutorial lessons. The notes
for the slides identify which exercise it is on the GarageGames website. You can use
those slides as a stopping point before switching to the Torque 3D World Editor to
walk through an exercise.

Tip #4 Analogies
You can use analogies to convey unfamiliar or difficult concepts.

For some concepts, you can use examples from games that the students might
have already played. For example, the Sonic the Hedgehog coin-collection example
is used in Tip #1 The Five-step Model for Structured Training.

For other concepts, you might need to use an analogy from the real world. For
example, in the notes for slide 98, the following analogy is used to introduce the
concept of events and callback functions, in preparation for doing Lesson 3:
Scripting, Exercise 3: Making something happen in the game.

The EnterTrigger event will always occur when a player walks through the
trigger space. Nothing will happen when that event occurs unless you make
use of a special function that the game engine will look for when the event
occurs. In other words, if theres no function defined (by you), nothing
happens. By creating script for the function, you ensure that your script will
be called when a player walks through the trigger space.

Most game objects have functions available that the game engine will look
for when an event happens to the object. These special functions are called
callback functions, because the engine calls back to the object to say, Hey,
do you have anything for me to do here? This is how you make things
happenby deciding which events you care about, and then defining the
corresponding callback function and adding script to the function to do
something.

For an analogy, consider a hotel where theres a message box for each
room. If someone leaves you a message, the concierge writes it down and
puts it in the box for your room.

The event is: you check at the front desk for your messages. The event will
always cause the concierge to check your message box. (Just like how the
EnterTrigger event will always cause the game engine to look for an
onEnterTrigger callback function.)

The callback function is: the box. Its available, but it might never contain a
message.

The script inside a callback function is: the message, if one exists. If theres
nothing in your message box, nothing happens. If theres a message in your
box, you act on it, just like the game engine would act on the script code you
put inside the callback function that you define.

Tip #5 Anyone? Anyone?


If you havent seen the movie Ferris Buellers Day Off, heres an excerpt of dialog
from the script:

Economics Teacher: In 1930, the Republican-controlled House of


Representatives, in an effort to alleviate the effects of the... Anyone?
Anyone?... the Great Depression, passed the... Anyone? Anyone? The tariff
bill? The Hawley-Smoot Tariff Act? Which, anyone? Raised or lowered?...
raised tariffs, in an effort to collect more revenue for the federal government.
Did it work? Anyone? Anyone know the effects? It did not work, and the
United States sank deeper into the Great Depression. Today we have a
similar debate over this. Anyone know what this is? Class? Anyone? Anyone?
Anyone seen this before? The Laffer Curve. Anyone know what this says? It
says that at this point on the revenue curve, you will get exactly the same
amount of revenue as at this point. This is very controversial. Does anyone
know what Vice President Bush called this in 1980? Anyone? Something-D-O-
O economics. "Voodoo" economics.
Asking questions during a lecture is great, but questions that meet the following
criteria are better than the examples above. Your leading questions should:

Allow students to offer opinions, or offer examples from their favorite games.
Allow students to cooperate or provide support for each other. For example,
if one student has a bug they cant decipher, you could ask for a couple
volunteers to go with you to their computer to try and troubleshoot. It will
build camaraderie as well as expose the volunteers to ways that code can go
wrong.
Allow students to come up with analogies, such as the one in Tip #4
Analogies. You can use this as a tool to see if any misunderstandings persist,
or to confirm that students correctly understand the material.
Encourage debate or encourage brainstorming. For example, you could ask
the students how fast a player should be allowed to run, and what problems a
fast speed might cause. Or, you could trigger a spontaneous game
idea/design session with a question like, Hey, if you had a bumper car game,
how could you score it? How could you make it more fun? Should there be
multiple speeds? Is there such a thing as too fast?

Tip #6 Enlist Teachers Assistants


It could be useful to have a knowledgeable teaching assistant to work with students
that are having a harder time keeping up. This prevents the faster students from
being held back. Teachers Assistants can be given credit in another game class for
their assistance, if the instructors of each class can come to an agreement.

Resources
The following is a list of resources for you and your students. These resources are
also listed in the Pre-Class slides of the PowerPoint slide deck.

Documentation, and Guides The official docs.


Tutorial suite The tutorial suite.
Chat window Chat with someone on the team if you have trouble following
the tutorials.
Forums, community, resources, blogs, Twitter The members of the Torque
team and community are incredibly co-operative and active. Some post
solutions to problems, answer questions, write how-tos. Theres a
Community Power Hour on Fridays where the team members spend the day
answering questions in the forums and blogs.
Add-ons Packages of code for different game types, art packs, etc.
YouTube videos, Vimeo videos Tutorial and demo videos.
Answer Key
Here are the answers to the quiz questions that are included in the educational
materials. Each quiz is separated by page breaks in case you want to print out just
one.
Lesson 1
Q: What Physics system does Torque 3D incorporate into its technology?
A: Newtonian Physics Torque 3D Physics PhysX None

Q: What version of DirectX is required to run Torque 3D 1.2?


A: DX 7 DX 8 DX9 DX 10 DX 11

Q: Which is a bigger download?


A: DirectX SDK DirectX Runtime

Q: What is the name of the main launcher for Torque Projects?


A: Toolbox Funbox Techbox Mybox

Q: What is the name of tutorial file you open in the Lesson 1?


A: ActionMan Tutorial101 FPS Tutorial MyTech

Q: What town is featured in the level?


A: Hometown Skytown Torquetown Chinatown

Q: What is Torsion?
A: Computer Acrobatics Torque Script Editor Computer Game

Q: In Torsion, what is the correct version of the tutorial project do you run?
A: Release Debug The Right One

Q: What does a Break do in Torsion?


A: Breaks Computer Software Breakdancing Demo Stops Code

Q: What is the main editor called in Torque 3D?


A: Universe Editor Planet Editor World Editor Torque 3D Supreme Editor

Q: Who makes Direct X technology?


A: GarageGames Apple Microsoft IBM

Q: What Command switches from game playing mode to World Editor mode?
A: Genie Switch F11 Space Bar Return Key

Q: Which Camera Mode is NOT supported in Torque?


A: Sky Camera World Camera Player Camera

Q: Which camera view do you see your character from behind (the camera is placed behind
the character on screen)?
A: Orbit Camera 1st Person 3rd Person
Lesson 2
Q: In top-down view, which direction represents North in a level?
A: Top Right Left Bottom

Q: What color are selectable objects in a top down view in Torque 3D


A: Blue Green Purple

Q: Which section in the Object Editor includes every object in the scene?
A: World Editor Scene Tab Torsion

Q: Which item is NOT a selection (subtab) under Library?


A: Script Level Character

Q: Where are static 3D models located in the Library?


A: Meshes Prefabs

Q: Where are invisible objects players can interact with located?


A: Level Character Script

Q: What does NOT belong in the Level subtab?


A: Animation System Environment

Q: What is NOT an example of a hidden object in a Torque 3D level?


A: Trigger Level Boundary Air

Q: What is NOT located in the Scripted tab Example under Library?


A: Airplane Building Dog

Q: Why do we group objects together in the Prefabs?


A: So They Look Better So They Are FabulousSo They Can Be Organized Together

Q: What position does the Scene tab NOT indicate?


A: Y A X Z

Q: What Game Design tip is NOT covered?


A: Hand to Hand Combat Cover Choke Points

Q: In Lesson 2, what weapon are you manipulating?


A: Machine Gun Grenade Turret Knife

Q: In Lesson 2, what object are we manipulating?


A: A Table A Street Light A Dumpster A Clown

Q: What command do you use to help locate objects in the search function?
A: Filter Open Sesame Super Search

Q: What extra design tip is NOT included in Lesson 2?


A: Play Test Establish a Story Do a Sketch Exercise a Lot

Q: What is a new object called or named when you create it in Torque 3D?
A: Neutralone MyObject TSStatic UltimateGift

Q: What is the name of the Panel that provides details on objects?


A: Inspector Professor Encyclopedia AllSpark
Lesson 3
Q: How is the difficulty level of TorqueScript compared to other programming languages?
A: Harder Easier About the Same

Q: Which of the following types of files are written by TorqueScript?


A: .MIS .DOC .FAT

Q: What does TorqueScript NOT do?


A: Setup Collisions Set Win/Loss Inventory Adjust the Time on the Computer

Q: TorqueScript is generated after what process?


A: Editing the level Day Dreaming Loading in the Game

Q: What program can you use instead of Torsion to edit scripts?


A: Excel #2 Pencil Notepad Text Editor 3D Studio Max

Q: What is the name of the main page where projects in Torque 3D are launched?
A: Command Central The Beginning Toolbox Google

Q: Which setting is the correct setting in Torsion to run the Chinatown project?
A: Debug Release The Super Version

Q: What does it mean to step through code?


A: Take One Piece of Code at a Time Step Through the Fun Parts Exit the Room

End Lesson 3 Part 1

Lesson 3 Part 2

Q: Concatenation means:
A: Code is Concentrated in One Area Code is Combined Name of a New Kind of
Fruit

Q: In programming, which one is NOT a type of variable?


A: Global Social Local

Q: What is the equivalent of a period for writing code in TorqueScript?


A: . Period ! Exclamation Point ; Semi-colon *Asterisk

Q: Which statement is true?


A: You Should Comment a Lot You Should Comment a Little

Q: What is a common source of errors in programming given noted in the lesson example?
A: Installing Windows Programs on a Mac Giving an Incorrect Path Falling Asleep

Q: What is typing script into the console textbox like?


A: Writing Code on an iPhone Watching all the Graphics Scripting On-The-Fly
Q: What is an Array?
A: A Shelf with All the Trophies from Winning Games Store Values of the Same
Type

Q: Loops help you do what?


A: Circle around the level in real time Run through a block of code Turn
Off Computer

Q: If Then Statements Test for What?


A: Condition to Decide on the Code to Execute Weather Which
Projects to Run

Q: What are the Two Main Ways to Edit an Object in Torque 3D?
A: In the World Editor Loading Level into StarCraft II Editing Scripts

End of Lesson 3 Part 2

Lesson 3 Part 3

Q: Which statement is true?


A: Datablocks Contain Information That DOES NOT Change
Datablocks Contain Information That DOES Change

Q: Do comments affect the outcome of programming or scripting code?


A: Yes No

Q: What is the symbol for commenting code?


A: $ ^ () //

Q: What is the Path of the data?


A: Where You Bought the Computer
The Inside Information on Engine Secrets
The Location of Where Code is Located

Q: Does Torque3D use Relative or Absolute paths to locate where data resides in a
programming statement?
A: Relative Absolute Neither

Q: What is the shape of the trigger gizmo in the bubble effect example?
A: Cube Triangle Circle Star

Q: What command is the equivalent of go for a function?


A: Exec() GoGadget() ScriptOne()

Q: What object do you place in the middle of the trigger area?


A: Airplane Tree Boulder Car

Q: When you place the object in the trigger area, is it:


A: Too Big Too Small Just Right

Q: Why do you put Breakpoints in the code?


A: To Slow Down the Program To Look for Bugs To Breakdance While Coding
Q: What purpose does a trigger serve in level building?
A: To Execute an Action if Something Happens Guns Need to Be Accurate

Q: In Torque 3D, if you want to move an object up and down in the scene, what axis is that?
A: X Axis Y Axis Z Axis A Axis
Lesson 4
Q: When your camera rotates around the character in a circular fashion while moving the
camera, what camera mode is this called?
A: Circle Merry Go Around Orbit Surround Video

Q: What is the area called where players and objects enter or re-enter the game?
A: Door Teleport Spawn Magic Gate

Q: What is the panel called to look at object properties?


A: Torque Window Inspector Datablocks

Q: When a Class starts with a bunch of functionality and properties, this is called what?
A: Lucky Torque Starter Kit Inheritance

Q: Datablocks are a way for objects to store data, does the server know about this data?
A: Yes No

Q: Torque 3D supports all these 3D formats BUT which one?


A: COLLADA AOL DTS DSQ

Q: Skeleton Nodes are identified by?


A: Green Stars Red Checks White Crosses Orange Fruit

Q: Is this True? The Shape Editor is designed to replace your 3D program like 3D Studio Max.
A: True False

Q: What is NOT a component of a player?


A: Spawn Sphere Datablock 2D Model 3D Model

Q: Mat is short for what?


A: Matters Matthew Materials Mate

Q: Which one is NOT a Texture Map?


A: Unique Map Diffuse Map Normal Map Spec Map

Q: Which map highlights the light and dark areas where extra shading appears?
A: Unique Map Diffuse Map Normal Map Spec Map

Q: What happens when you Copy values from in a new datablock?


A: You Create Data to be Used You Copy Data From a Previous Design Adds 1

Q: Which property is NOT in the character Datablock?


A: maxForwardSpeed airControl Falling Dancing

Q: What is the name of the character in Lesson 4?


A: Thomas Gideon Joe Killer Mario
Q: The process in 3D Studio Max that creates texture maps is called?
A: Magic Torque Art Process Material Making UV Unwrapping

Q: What is NOT a filter for the material selector?


A: Unchartered Unmapped Mapped

Q: What is NOT a Lighting Property?


A: Specular Glow Starlight Emissive

Q: Which one is the animation file format for Torque 3D?


A: DSQ ESQ ASQ TSQ

Q: What is the name of the gun in Lesson 4?


A: Killer M16 TorqueKiller Lurker
Lesson 5
Q: What is NOT a point of view for weapons?
A: First Person Second Person Third Person

Q: What is the name of the first weapon in Lesson 5?


A: M16 Torque Gun Killer Ryder

Q: Which property is NOT part of the weapon example?


A: AmmoClip maxInventory firePower

Q: How many models support the weapon views in Torque 3D?


A: 1 model 2 models 3 models

Q: Why do you select casing under BulletShell?


A: Look of Ejected Bullet Cases Number of Bullet Cases

Q: What is NOT a state of the weapon properties?


A: Activate ReloadClip Fire Safety

Q: Datablocks are controlled by the server, when is the data loaded into the computer?
A: At the Beginning of Loading In the Middle of Game Play Upon Exiting the Level

Q: The state machine does what?


A: Determines the Location on the Map Transitional Areas of an Event

Q: What editor do you use to create additional states?


A: Graphics Editor T3D Game Editor Datablock Editor
Unreal Editor

Q: In lesson 5, what New Wait State is added to the gun?


A: Wait to Shoot the Next Shot Wait to Pick up Another Gun Wait to Say Yippee

Q: State Machines are a quick and handy way to setup what?


A: Save Game Files Brighter Lights Object Behaviors
Lesson 6
Q: In Torque 3D, synchronization means what?
A: Actors Sing in Tune Everybody Get Fair Amounts of Ammo Players See The
Same World

Q: Typically, how many instances of a server are there running at one time in one game?
A: One Two Three

Q: MessageClient does what in Torque 3D?


A: Sends Email to all Players Sends Message to a Client Talks to Players with Sound

Q: What happens if there is no definition for a callback function?


A: The Game Crashes You Win 10 Points Nothing, the Game Carries On

Q: The GameCore::onClientEnterGame function is called when?


A: When You Exit When a Player Dies When a Client Joins

Q: Do you need to tell the clients or the server when objects need updating?
A: Client Server

Q: Which file is one of the first files executed when a game runs and hold key information?
A: TorqueStart.cs Important.cs Main.cs

Q: What key switches a player from first to third person views?


A: Tab Backspace Space

Q: What key opens and closes the console window?


A: Question (?) Comma (,) Tilde (~)

Q: Which one do you select when you EXPECT properties to CHANGE in the game?
A: Datablock Properties Object Properties

Q: What must you do for all your changes in order to ensure they are entered into Torque
3D?
A: Comments Save Cast Spells

Q: Which one of these commands is called automatically after an event in Torque 3D?
A: Properties Trigger Callback

Q: Which teleportation pad is NOT included in prefabs?


A: GroundTeleporter RoofTeleporter AirPlaneTeleporter

Q: Why do you use the Build command to create another project?


A: Its Fun Run a Multiplayer Game Make the Game Run Faster
Lesson 7
Q: The lesson recommends level designers base their decisions on what?
A: Design Considerations Best Looking Options Whatever Feels Right

Q: When in editor mode, what command allows your Player to move?


A: Super Move Key Start Simulation Lets Rock

Q: What is the first exercise in Lesson 7?


A: Change a Player Character Add Sounds Add Ammunition Pickups

Q: What is NOT a type of First Person Shooter Player Type?


A: Sniper Jumping Flanking Run-and-Gun

Q: What is the maximum amount of bullets in the Lurker ammo clip?


A: 6 60 600

Q: In Lesson 7, what does hitting the Refresh button do?


A: List the Multiplayer Games Respawn Dead Characters Cleans up All the
Graphics

Q: The GameCore::incKills function keeps track of what?


A: Number of Kills Number of Lives Left Number of Players in the
Game

Q: What is very important in a fair game?


A: Bright Colors Night Lights Spawn Point Locations

Q: What does FFA stand for?


A: Fighting For All Free For All Feast For All

Q: What happens if the spawn area is inside of a wall?


A: Players Can Get Stuck Players Get Bonus Points Players
Automatically Die

Q: What happens when you dont have enough spawn points?


A: The Game Crashes The Game Doesnt End It is Crowded When
Spawning
Note Lesson 8: Deployment is not recommended in this class. It is
most useful in an advanced portfolio or presentation class where final
levels are being graded.

Copyright Information:

Torque 3D 1.2 Educational Materials are provided free of charge for educational purposes. All or part of
materials are freely distributable and use for any individual, school, or workshop for learning and
educational purposes.
Torque 3D is a trademark and GarageGames is a registered trademark of GarageGames, LLC. All other
trademarks or registered trademarks belong to their respective owners.

You might also like