Join 117,165 Programmers for FREE! Ask your question and get quick answers from experts. There are 2,492 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!
I have fiddled around with many different languages over the years, and I'm certainly not advanced in any, but I do know some C++ and Java and Visual Basic. Like I said, I'm not advanced in any of the languages, but I was wondering which language of all of them is the most powerful and most used in the gaming industry?
If you could help, I would greatly appreciate it so that I can shift my focus over to a certain language.
IMO, Thats C/C++. Almost all commercial games are written in either C or C++. Not to mention they're also powerful. Good for coding fast programs/games.
But C doesn't easily support OO , its very portable. On the other hand C++, supports OOP, but is slightly slower than C, as what I have heard.
Other than that they both share the same syntax and if you learn C or C++, learning the other would be very easy. Although I'm still a beginner, I may be wrong at some points.
And one more thing, take a look at game programming jobs and you will know what languages are used.
Hope this helps
This post has been edited by manzoor: 13 Jun, 2008 - 10:14 PM
To the best of my knowledge, C++ and Java are the two main languages of large commercial games. If it were me I'd concentrate on both C++ and Java, but that's just my 2¢
Thanks guys, that really helped. Luckily I have great books for both C++ and Java. Now I just had to read them all the way through. Haha!
So once I get... let's say C++, what kind of graphics things should I study? I know there's DirectX and OpenGL. What are the differences and what do you think would be better study?
Thanks guys, that really helped. Luckily I have great books for both C++ and Java. Now I just had to read them all the way through. Haha!
So once I get... let's say C++, what kind of graphics things should I study? I know there's DirectX and OpenGL. What are the differences and what do you think would be better study?
Well you're going to fast.. you don't really need to know what graphics you'll need eventually.. when you're actually there you'll know what to use...
And you shouldn't only rely on reading books.. eventhough you read the whole books but never actually apply each chapter.. its pretty useless.. I've once read the whole first chapter before actually applying it.. but well I end up reading the book again.. read and apply..
Most C++ books unless wrote with games in mind wont delve into the game side of programming which is a different kettle of fish altogether, so try to really read the books that are going to matter for game programming. so obviously dont read "the c++ programming language by Bjarne Stroustrup"(although it never hurts to have that at your disposal) and definitely keep away from books claiming they can teach you to make games in 30 days or whatever.
These guys are right as well, dont start reading about which 3D graphics renderer to use or how to use them it will only confuse you, go slow and the pay off will be worth it .
and definitely keep away from books claiming they can teach you to make games in 30 days or whatever.
why? .. I think those books are great.. they came right down at the topic.. no more BS talks.. and they are not plain boring.. well that's my opinion.. and programming should be fun.. and those books really does a good job and making sure your having fun..
example.. normal books would make you read pages of explanation before you even see a few lines of working code.. while those books gives you the working code so you can feel it and explain each line.. its better to learn actual codings rather than theories..
This post has been edited by mensahero: 14 Jun, 2008 - 05:12 AM
C doesn't have to "support" object oriented programming. You can do that in just about any language. Languages like C++ and Java just make it easier/required.
You won't be writing any "big games" anytime soon, sorry to burst your bubble. Don't worry about what they're being written in, pick a language that you like and learn it well. Then start writing games.
The only thing slow about Java is it's reliance upon built-in libraries for things like graphics and sound. Third party libraries exist that run much faster. If you want to write serious games, use those.
This post has been edited by Tom9729: 14 Jun, 2008 - 12:45 PM
Real games are written in C/C++, but I can see C# used more in the future, especially if consoles manufacturers start providing template engines for games to jump start production like they advertised 5 years ago or so.
I don't know where you guys are getting your information from, but the homebrew scenes that I am a part of use assembler & C. The fact that they use C compilers (both Development Kits & gcc) also allow them to use inline assembler.
I guess it always comes back to what platform are we talking about? Console or PC?