I'm an aspiring game programmer and I do not know which program to study. I was about to start learning C++, but my friend, who knows a good deal about programming. He says that programmers in the gaming industry do not use the C++ language anymore(he says it's outdated) and that they mainly focus on Javascript.
My question is should I start learning Javascript, and if so, what are some good Java programs to use? Thanks in advance.
A programming question
"C++ and java aren't all that different, Java is completely object oriented though unlike c++ (because of pointers)."Java and C++ are very different as far as i know. Java isn't compiled into machine language the computer can run, it is compiled into byte code and a java virtual machine interprets the byte code. That's why java is used for web based apps so you don't need to compile the program if you want to run it, and its platform independent. C++ isn't like that. I'm learning Java atm and i think its a good programming language to start with. If TC is just starting programming then he has a long long way to go before hes coding games of any complexity so theres no reason to choose a programming language based on what game devs use. (which is most commonly C++).
C++ is good to learn, but keep in mind that you must be very good in logical stuff.
I learned in Visual Basic, then went into C++... I didn't enjoy it but at least I tried.
Dude, first I think you should learn what the languages are - Javascript and Java are unrelated.
I suggest you learn C++, it's a very useful language. If you want to go straight to program-building (because doing that in C++ will take a long time to learn) then I suggest C# or Java. But nobody codes *real* games in C# or Java (except browser based ones like Runescape).
Sorry, but Visual Basic is more or less useless.
By the way, I know several people who have been in the field and they unanimously say that you should not become a game programmer - you have strict deadlines, a lot of work, and it isn't close to what you might imagine it to be.
Yup, Visual Basic is useless. But it is easier than C++. It is more for work programs than for gaming. Although I did make some good games in Visual Basic. But I got so tired of For Loops, and If Statements, and Call Statements, and Case Statements... ugh I just gave up on programming.
C++ is a great programming language to learn.
"serbsta said:LOL"Im currently doing Visual Basic, im in class now, lol, im gonna blow my head off."It takes like 70 fucking lines to blow your head off in Visual Basic."
To TC: If you don't know any other programming languages and are new at programming, I'd start off simple and learn something like Python. C++ is extremely confusing if you don't know anything about programming.
I've worked on several shipped games, so I'll provide a bit of insight based on my experiences. If you're interested in the nitty gritty stuff -- things like physics, the 3d engine, the simulations -- 99.9999% of what you're going to need to know is C and/or C++. If you want to develop for consoles, then C/C++ are really your only options. Some developers prefer C, some prefer C++. C++ is slightly more complicated, but if you know C++, you'll know most of what you'll need to know for C.
Many games are moving much of the game logic (what happens when you pull a lever or push a button, what happens when you level up, etc.) to script languages. Python (Civ 4, some of the Myst games, etc.) and LUA (World of Warcraft) are most of what you're going to find. These languages are much easier to learn than C++, and consequently these positions are generally easier to hire for.
If you've never programmed before, I'd start out learning Python or LUA. If you're a WoW player, start off trying to write an addon (or look at some of the ones out there). The objective here is to learn the basics of programming that are shared across many languages (conditions, loops, variables, functions, etc.) You'll have a much easier time getting into one of these languages than starting off in C++ in my opinion.
If you have any other questions, feel free to ask.
"That's quite a lot to lay on a kid just trying to start in the world :-PLUA is at least used for add-ons. My guess is they also use it for game scripting (quests, encounters in the game, etc.), though I'm not 100% certain on that. Certainly the graphics engine, network, etc. are all C/C++.
Is LUA used in WoW strictly for add-ons, or is it actually the game's primary language?"
"Dude, first I think you should learn what the languages are - Javascript and Java are unrelated.I don't think it is fast cash and fame. I know about the deadlines, the very long hours, and strict bosses. I still want to do it anyways.
I suggest you learn C++, it's a very useful language. If you want to go straight to program-building (because doing that in C++ will take a long time to learn) then I suggest C# or Java. But nobody codes *real* games in C# or Java (except browser based ones like Runescape).
Sorry, but Visual Basic is more or less useless.
By the way, I know several people who have been in the field and they unanimously say that you should not become a game programmer - you have strict deadlines, a lot of work, and it isn't close to what you might imagine it to be."
andy said:
"I've worked on several shipped games, so I'll provide a bit of insight based on my experiences. If you're interested in the nitty gritty stuff -- things like physics, the 3d engine, the simulations -- 99.9999% of what you're going to need to know is C and/or C++. If you want to develop for consoles, then C/C++ are really your only options. Some developers prefer C, some prefer C++. C++ is slightly more complicated, but if you know C++, you'll know most of what you'll need to know for C.Thank you for the advice. So, should I abandon learning C++, or should I make it take a backseat and focus on Python/LUA? Also, what are some good tutorial books to learn from(can you tell me the ones you used)?
Many games are moving much of the game logic (what happens when you pull a lever or push a button, what happens when you level up, etc.) to script languages. Python (Civ 4, some of the Myst games, etc.) and LUA (World of Warcraft) are most of what you're going to find. These languages are much easier to learn than C++, and consequently these positions are generally easier to hire for.
If you've never programmed before, I'd start out learning Python or LUA. If you're a WoW player, start off trying to write an addon (or look at some of the ones out there). The objective here is to learn the basics of programming that are shared across many languages (conditions, loops, variables, functions, etc.) You'll have a much easier time getting into one of these languages than starting off in C++ in my opinion.
If you have any other questions, feel free to ask.
"
@Jayge: My friend programed Galaga in Javascript over the summer. It took him all of summer to do it, but he updated the visuals of it.
Learn C++. It's the industry standard at the moment and even if it does change, it's object oriented nature (as opposed to the procedural nature of C or scripting languages) means that in the very least the theory will still hold true. There's also a whooooole lot of resources out there on the net specifically about writing games in C++. The scripting stuff like LUA is really dependant on the project that you're working on and so being comfortable with the theory is important (most of which you'll pick up from learning C++) but knowledge of particular languages is somwhat less so.
I mostly use Java at uni but all of the games companies I've spoken to or read the job descriptions of emphasise that C++ is a must.
"Why would anyone do that though? What does he gain from it?"Just for fun.
drew said:
"Learn C++. It's the industry standard at the moment and even if it does change, it's object oriented nature (as opposed to the procedural nature of C or scripting languages) means that in the very least the theory will still hold true. There's also a whooooole lot of resources out there on the net specifically about writing games in C++. The scripting stuff like LUA is really dependant on the project that you're working on and so being comfortable with the theory is important (most of which you'll pick up from learning C++) but knowledge of particular languages is somwhat less so.So if you're well knowledgeable in Javascript and not C++, you have less of a chance of getting the job?
I mostly use Java at uni but all of the games companies I've spoken to or read the job descriptions of emphasise that C++ is a must."
Please Log In to post.
Log in to comment