Want to learn Torque and TorqueScript. Where to begin?

There are no stupid questions, just stupid answers.
  • 1
  • 2
13 posts Page 1 of 2
Wolfsong3D
Posts: 8
Joined: Sat Sep 19, 2020 1:45 am
by Wolfsong3D » Tue Sep 22, 2020 1:01 am
I'm interested in learning Torque3D to make some games. I am mostly a 3D/2D artist, but would also like to learn the scripting side of things. At least enough to prototype something without breaking it too much.

I poked around some of the links, but saw a lot of unfinished pages, links to empty articles, and so on. Is there a good solid source someone could point me to to start learning?

Thank you
Wolfsong3D
Posts: 8
Joined: Sat Sep 19, 2020 1:45 am
by Wolfsong3D » Tue Sep 22, 2020 4:17 am
Sorry to reply to my own topic, but I found something since I last posted. Looks like it could be what I'm looking for. I just want to make sure it's up to date, though.

I found this file download on the garagegames site.

Would this still be relevant and recommended to learn from?
Sir_Skurpsalot
Posts: 60
Joined: Tue Jan 28, 2020 6:32 pm
by Sir_Skurpsalot » Tue Sep 22, 2020 9:43 pm
That works... I reference this site a lot: https://torque-3d.readthedocs.io/en/lat ... geref.html
Wolfsong3D
Posts: 8
Joined: Sat Sep 19, 2020 1:45 am
by Wolfsong3D » Wed Sep 23, 2020 1:11 am
That works... I reference this site a lot: https://torque-3d.readthedocs.io/en/lat ... geref.html
Nice resource! Bookmarked.

I started looking at the Coin Collecting game lesson on this site, too. Between all these resources I think I'm in good shape.

Thank you
Wolfsong3D
Posts: 8
Joined: Sat Sep 19, 2020 1:45 am
by Wolfsong3D » Wed Sep 23, 2020 1:38 am
Question for you, Sir_Skurpsalot,

Did you do the echo part of the tutorials on this page?

I'm typing in the code as written, into the console, but am not getting the intended result.

The code is just:
echo("Hello World", 3);

The result should be:
Hello World3

Instead, I get:
33

Not sure what's going on there.

The first code I've ever typed for T3D, and already having issues. Yikes :lol:
fLUnKnhaXYU
Posts: 182
Joined: Wed Nov 15, 2017 8:19 am
by fLUnKnhaXYU » Wed Sep 23, 2020 6:19 am
some one here can probably get you a link to this book . It covers many aspects of using the program and it has a great introduction to torqueScript .If you are new to torque3D and interested in torque3D, then you will appreciate this book .

The Ultimate Guide to Torque 3D
Volume I: By Robert C. Fritzen
Duion
Posts: 1646
Joined: Sun Feb 08, 2015 1:51 am
 
by Duion » Wed Sep 23, 2020 12:20 pm
Forget all the documentation and books for now, the easist way, at least for me was to do something pratical.

To do something practical you ideally start with something that is fully functional or at least mostly functional and then you invent a feature and implement it.

The bad news is, Torque3D is not very functional by default, a lot of code has been removed in order to make Torque3D a more general game engine, where you have to do everything yourself, this may work for people who are already good at programming, but it will block off most people who don't (like me).

Developing a game takes a lot of time, so you have to work goal oriented and the goal is to get your feature done and save time, because your time is limited.

So what you should do now is, first think about what you want to do, like what kind of game you want to develop and then think what features you need to add, that do not already exist in Torque and then work them off one by one, starting with the easier ones and most importantly, don't try to code it yourself, but search first on the forum, especially the old garagegames forums if not already someone had the same idea/problem and maybe already solved it or at least tried to solve it, then you can look how that person did it and build upon it. Of course keep the documentation at hand with the basics, like the script syntax etc so you know what you can use in script.
Wolfsong3D
Posts: 8
Joined: Sat Sep 19, 2020 1:45 am
by Wolfsong3D » Wed Sep 23, 2020 1:41 pm
The way I learn best is to reference documentation on how something works, the syntax, the tools, or what have you. I follow the basic tutorials, then I create simple little projects to practice and reinforce what I know, then I advance from there.

That's what works for me.

However, there has to be a starting point which, for me, is this documentation. However, if what the documentation shows doesn't match the actual results, then that's an obstacle. That's the situation here.

This is why I posted my question to Sir_Skurpsalot. They suggested the resource, and so they may have gone through that same part and can answer my question.
Last edited by Wolfsong3D on Wed Sep 23, 2020 1:45 pm, edited 1 time in total.
Wolfsong3D
Posts: 8
Joined: Sat Sep 19, 2020 1:45 am
by Wolfsong3D » Wed Sep 23, 2020 1:44 pm
some one here can probably get you a link to this book . It covers many aspects of using the program and it has a great introduction to torqueScript .If you are new to torque3D and interested in torque3D, then you will appreciate this book .

The Ultimate Guide to Torque 3D
Volume I: By Robert C. Fritzen
Thanks for that!

I'll have to start scouring the interwebz for it. I'm sure I'll scrounge up a copy somewhere.
Sir_Skurpsalot
Posts: 60
Joined: Tue Jan 28, 2020 6:32 pm
by Sir_Skurpsalot » Wed Sep 23, 2020 8:55 pm
Question for you, Sir_Skurpsalot,

Did you do the echo part of the tutorials on this page?

I'm typing in the code as written, into the console, but am not getting the intended result.

The code is just:
echo("Hello World", 3);

The result should be:
Hello World3

Instead, I get:
33

Not sure what's going on there.

The first code I've ever typed for T3D, and already having issues. Yikes :lol:
Never did that one. Didn't realize echo is supposed to take a second argument until just now... might have to find it in the source code to see how the second argument really works, tutorial must be outdated.
To get Hello World3 in a similar fashion I would type
echo("Hello World"@3);
@ concates strings
  • 1
  • 2
13 posts Page 1 of 2

Who is online

Users browsing this forum: No registered users and 11 guests