Author Topic: Does anyone know where i can learn torque ?  (Read 3686 times)

Yea... i dont know torque but would like to learn it, does anyone where i can learn it that actually makes sense because some websites dont know how to show people how to code correctly i would use codeacademy.com but they dont have torque D:

Torquescript is stuff, which is why no one has it. You could learn JavaScript first from codeacademy, which is very similar in syntax.


The biggest and most complete guide to scripting in TorqueScript in the world is this Coding Help board. The topic BluetoothBoy posted should get you started, then feel free to use this forum as much as you want to get all the help you need. Just don't forget to use the search button before posting a topic, as I said this board contains the biggest repository of help regarding TorqueScript in existence already.


Another helpful tool is google. Search what you're looking for like this: "site:garagegames.com <insert query here>". This searches the garagegames website for your question, giving you a bunch of forum results and documentation. It has been really helpful to me in the past.

The reason why I kind of tell newcomers to steer away from this kind of stuff is that because while all the syntax and everything is the same, Blockland and Torque have diverged on a scripting level. For example, in Ultimax's tutorial, they use NetObjects as an example, which are not only unaccessable but nonexistant in Blockland.

http://docs.garagegames.com/tgea/official/content/documentation/Scripting%20Reference/Introduction/TorqueScript.html

read all of this

Actually, that's the TGEA tutorial, which is why some things are different. We use TGE. http://docs.garagegames.com/tge/

In any case though, newcomers would be best off taking trinick's advice.

aww ok lol fine, i wanted to make my own mod for blockland so i needed something that would show me how to script, i only know the python language which is similar to java script

aww ok lol fine, i wanted to make my own mod for blockland so i needed something that would show me how to script, i only know the python language which is similar to java script
no... python is nowhere near javascript.

like... even remotely.
The biggest and most complete guide to scripting in TorqueScript in the world is this Coding Help board.
he's not even stuffting you. torque forums don't even really come close, most of their stuff is random stuff like torquedev and how to do lovey super loving complicated stuff like shaders.

you google something about torquestuff and you'll come up with the BLF every time.

i suppose you're right. i'd say learn the syntax, read iban's tutorial, learn about dump() and trace() (two very useful functions) and start experimenting with blockland.

no... python is nowhere near javascript.

like... even remotely.he's not even stuffting you. torque forums don't even really come close, most of their stuff is random stuff like torquedev and how to do lovey super loving complicated stuff like shaders.

you google something about torquestuff and you'll come up with the BLF every time.
...Except I do this successfully all the time, and have learned a lot about Blockland scripting via the Garage Games forums. Are you guys breaking Google or something?

Torquescript is stuff, which is why no one has it. You could learn JavaScript first from codeacademy, which is very similar in syntax.
I'm making a web page in JavaScript, and the syntax is very different.


I'm making a web page in JavaScript, and the syntax is very different.


function bullstuff(%stuff) {}
VS
function bullstuff(stuff) {}
VS
def bullstuff(stuff):
(tabs and stuff here, no braces)

for(%i = 0; %i < assHattery; %i++) {}
VS
for(var I = 0; I < assHattery; I++) {}
VS
for I in range(0,assHattery):
(still more tabs and stuff)

TORQUE VS JAVASCRIPT VS PYTHON

Yes thank you, I win. The only difference in these examples between ts and js is
A: defining variables (var I) instead of just using them
B: no % sign

Yeah, not similar my ass
Please, prove me wrong, I've been saying that they're similar for months now, if I'm wrong I should know asap