Game Development Community

Absolute beginner here, please help!

by Erik Pede · in Torque Game Builder · 07/10/2009 (2:36 pm) · 7 replies

Hi everyone!
As the title says, I'm an absolute beginner when it comes to game programming.
I've worked as a game designer and I've got a published game in my portfolio, but programming has never been my thing. But now I wanna give it a shot, and the problem is... where do I start?
Can anyone give some advice about Torquescript resources for a total newbie?
I'm following the tutorials and they work when I reach the end, but I have no idea why they do - it's just a little more than a matter of copy & paste, but no tutorial I tried so far actually tells me what's happening, how and why.
Please, help! :)

About the author

Recent Threads


#1
07/10/2009 (3:03 pm)
What's your objective here? If it's simply to learn programing then you might be better starting with something besides Torque script like c++ for example. Torque script is pretty simple (simpler in most respects than c++) but it might not be the best choice for your first language. It is limited to the torque engine, you have the additional complexity of the builder and documentation is a little lacking. There are plenty of good resources out there for learning programing in general and you might get more benefit out of those if your goal is solely to learn how to program.

On the other hand, if you don't really care about programing but want to make your own game then it's probably a good idea to just start tweaking the tutorials you've finish and trying to add features on your own. I found that the tutorials in the official documentation were pretty good about explaining things and the reference at tdn.garagegames.com/wiki/TGB/Reference was pretty handy when I needed to look up what functions I had to work with. If you have absolutely no programing background, you might have problems when you get to the object oriented part of torquescript. If you're having problems with the concept then a beginning c++ book might be helpful.
#2
07/14/2009 (4:14 am)
First of all, thanks for your quick reply. I've been told that everyone here is always eager to help, but I didn't expect such a fast response. :)

With that said, let's make my objectives clear, since my post wasn't actually that clear itself. General programming isn't my thing, I just want to make my own games. As I said, I worked as a game designer and I still have so many ideas for new little games it nearly hurts my head. But I haven't got a team anymore, so - as the intro in Irem's Vigilante said - I decided to take the matter into my own hands.

I tried Gamemaker, but it just didn't cut. So, after investigating here and there, I chose TGB, knowing that it was going to require a lot of effort to learn its scripting language. Now, I'm willing to apply and learn, but I need resources. The tutorials work, but - at least for me - they're not clear enough when it comes to understanding the general mechanics and what each function does.
I guess the reason for this is that I'm not a programmer at all, so I need help to start from absolute zero knowledge. I'm still on the tutorials and I will complete them and try to understand, but... is there any other place I can browse for noob-oriented info?

Thanks again! :)
#3
07/14/2009 (8:21 am)
My approach was figure out what I want to make in a game, break it down into manageable components and then start searching the forums for how to implement those components and where I couldn't find anything, ask specific questions on the forums.
#4
07/14/2009 (2:44 pm)
reading other peoples code can be a bit tricky. You need to get a basic understanding of the language you are trying to learn. Once you learn one language though the others are easier.

You might want to start out by trying to learn the logic of whats happening.

%MyCounter = 0;
for(%c = 0; %c < 10; %c++)
{
%MyCounter = %MyCounter + %c;
}

So this little piece of code will just loop from 0 to 9 (most things in programming are zero based, get used to it) and add them up.

loop 0 : 0 + 0 = 0;
loop 1 : 0 + 1 = 1;
loop 2 = 1 + 2 = 3;
loop 3 = 3 + 3 = 6;

this is just a quick example but if you have questions on what a piece of code is actually doing then just post it, i'm sure someone can tell you exactly what and why.
#5
07/20/2009 (11:14 am)
@Drethon:
Yes, that approach is similar to the one I use when designing. Separate blocks and components, and so on. I'll try doing so with my code too, since it looks like separate files work so fine with Torque. Thanks! :)

@Timothy:
The logic is quite clear, luckily. :)
I did a little programming in my life, just a little tho. But, since I don't know anything about TGB and more importantly Torquescript, I guess I'll have to look into their logic as well. Thank you too! :)

My problem is 'just' (lol) that I know nothing at all about Torquescript, as I said, and I need somewhere to start from when I'll complete all of the tutorials.
#6
07/20/2009 (11:39 am)
So you're just like me. I did some PHP programming, but never saw Torquescript in my life... I'm trying to make my own little game and I can pretty much say that TDN is saving my life. Just check out the tutorials over there and you can get some knowledge on how to make games on TGB.

tdn.garagegames.com/wiki/TDN_Home

Remember, most of those tutorials aren't official, thus they can contain bugs, but you'll still learn lots of stuff from there. If you want another knowledge base, I suggest buying the so-called Yellow Book (wich I'm going to acquire in a few weeks). This book isn't focused on TGB, but on TGE, but I know that it still contains tips for Torquescript:

www.garagegames.com/products/gameprogrammersguide

Yeah, it's US$60, but I think it's worth the price. (Imagine me, where I'll have to pay 120 local bucks + shipping to Brazil to have that book!)
#7
07/20/2009 (12:18 pm)
Yes, I'm exactly in the same situation as you, since I did some PHP and MySQL for my website too. :)
So, that book is good for TGB too... I always wondered about that, and now I have an answer. A bit expensive, as you say (I'm in Italy, so I'd have to shell out quite a pretty penny to get the book - not as much as you, tho), but I'll seriously think about it.
Thank you! :)