Welcome to Dream.In.Code
Become an Expert!

Join 150,064 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,758 people online right now. Registration is fast and FREE... Join Now!




Newbie seeking basic advice

2 Pages V  1 2 >  
Reply to this topicStart new topic

Newbie seeking basic advice, What languages are the big games programmed in?

more_cowbell
13 Jun, 2008 - 07:36 PM
Post #1

New D.I.C Head
*

Joined: 13 Jun, 2008
Posts: 4

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.
User is offlineProfile CardPM
+Quote Post

manzoor
RE: Newbie Seeking Basic Advice
13 Jun, 2008 - 09:12 PM
Post #2

D.I.C Regular
Group Icon

Joined: 7 Aug, 2007
Posts: 409



Thanked: 2 times
Dream Kudos: 50
My Contributions
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 biggrin.gif

This post has been edited by manzoor: 13 Jun, 2008 - 09:14 PM
User is offlineProfile CardPM
+Quote Post

PsychoCoder
RE: Newbie Seeking Basic Advice
13 Jun, 2008 - 09:14 PM
Post #3

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 9,483



Thanked: 161 times
Dream Kudos: 9075
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
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¢
User is offlineProfile CardPM
+Quote Post

more_cowbell
RE: Newbie Seeking Basic Advice
13 Jun, 2008 - 09:25 PM
Post #4

New D.I.C Head
*

Joined: 13 Jun, 2008
Posts: 4

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. crazy.gif 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?
User is offlineProfile CardPM
+Quote Post

mensahero
RE: Newbie Seeking Basic Advice
13 Jun, 2008 - 10:58 PM
Post #5

c0mput3rz Are Only Human
Group Icon

Joined: 26 May, 2008
Posts: 664



Thanked: 17 times
Dream Kudos: 75
My Contributions
QUOTE(more_cowbell @ 13 Jun, 2008 - 10:25 PM) *

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. crazy.gif 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..

just my 1 peso.. blink.gif

User is offlineProfile CardPM
+Quote Post

stayscrisp
RE: Newbie Seeking Basic Advice
14 Jun, 2008 - 03:50 AM
Post #6

D.I.C Regular
***

Joined: 14 Feb, 2008
Posts: 284



Thanked: 11 times
My Contributions
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 .

good luck smile.gif
User is offlineProfile CardPM
+Quote Post

mensahero
RE: Newbie Seeking Basic Advice
14 Jun, 2008 - 04:09 AM
Post #7

c0mput3rz Are Only Human
Group Icon

Joined: 26 May, 2008
Posts: 664



Thanked: 17 times
Dream Kudos: 75
My Contributions
QUOTE(stayscrisp @ 14 Jun, 2008 - 04:50 AM) *

and definitely keep away from books claiming they can teach you to make games in 30 days or whatever.


blink.gif why? .. I think those books are great.. they came right down at the topic.. no more BS talks.. blink.gif and they are not plain boring.. well that's my opinion.. blink.gif and programming should be fun.. and those books really does a good job and making sure your having fun.. blink.gif blink.gif

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 - 04:12 AM
User is offlineProfile CardPM
+Quote Post

gabehabe
RE: Newbie Seeking Basic Advice
14 Jun, 2008 - 04:18 AM
Post #8

better than jam.
Group Icon

Joined: 6 Feb, 2008
Posts: 5,837



Thanked: 104 times
Dream Kudos: 2700
Expert In: slobbing.

My Contributions
Just my 2¢
As Psycho said, most games are written in C++ and Java. However, when the games get bigger, Java can become a bit laggy.

Just as a note, PlayStation 3 games are most commonly written in C/C++ using OpenGL.

I also completed Enchanted Arms a while back, and that was written in Lua.
User is offlineProfile CardPM
+Quote Post

Tom9729
RE: Newbie Seeking Basic Advice
14 Jun, 2008 - 11:43 AM
Post #9

Debian guru
Group Icon

Joined: 30 Dec, 2007
Posts: 1,592



Thanked: 12 times
Dream Kudos: 325
My Contributions
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. smile.gif

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 - 11:45 AM
User is online!Profile CardPM
+Quote Post

KYA
RE: Newbie Seeking Basic Advice
15 Jun, 2008 - 02:01 AM
Post #10

#include <nerd.h>
Group Icon

Joined: 14 Sep, 2007
Posts: 5,910



Thanked: 159 times
Dream Kudos: 1375
My Contributions
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.
User is online!Profile CardPM
+Quote Post

no2pencil
RE: Newbie Seeking Basic Advice
15 Jun, 2008 - 02:05 AM
Post #11

My fridge be runnin OH NOEZ!
Group Icon

Joined: 10 May, 2007
Posts: 7,159



Thanked: 78 times
Dream Kudos: 2425
Expert In: Goofing Off

My Contributions
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?
User is online!Profile CardPM
+Quote Post

KYA
RE: Newbie Seeking Basic Advice
15 Jun, 2008 - 02:41 AM
Post #12

#include <nerd.h>
Group Icon

Joined: 14 Sep, 2007
Posts: 5,910



Thanked: 159 times
Dream Kudos: 1375
My Contributions
I was talking about Commercial games on the PC.
User is online!Profile CardPM
+Quote Post

2 Pages V  1 2 >
Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 10:42PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month