Results 1 to 10 of 21
I've been wanting to learn how to program video games for years now and my efforts have been futile. People have told me to try C/C#/C++ but I cant find ...
- 09-18-2006 #1Just Joined!
- Join Date
- Nov 2005
- Location
- Auburn, Maine
- Posts
- 75
Game Programming: Which Language?
I've been wanting to learn how to program video games for years now and my efforts have been futile. People have told me to try C/C#/C++ but I cant find any good books or tutorials that really explains it all that well. I think C is just a little bit too complex for me until I get more experienced. I've also tried Java but I dont like it because every time a new version comes out, the entire environment changes. Basically, I'd have to find a book that teaches the exact same version of Java I have or I'll be loaded with compilation errors. Anyways thats not the point. I just would like to know what programming language you guys suggest I start out with for game development. Any resources, tutorials, websites, and books that you might think would be helpfull would also be appreciated. Thanks in advance!
- 09-18-2006 #2
First off, Java is backwards-compatible, and the entire environment doesn't change with a new release. New concepts are added, sure, but a book on Java 1.4 is still useable in a 1.5 environment. I know also that O'Reilly has a book called "Game Programming with Java" or something like that. I haven't used it, but I do love O'Reilly.
Otherwise, you can't go wrong with C. Most games for Windows are done using DirectX, the *nix (and Mac OS X) equivalent is called OpenGL. You could also use a toolkit called SDL that is platform-independent (it's actually what Neverwinter Nights uses).
The greatest book on C is called "The C Programming Language", and it is an excellent explanation of the language. You will need to familiarize yourself with game libraries and terminology, of course, but there must be books and websites out there that have introductions for writing games in C.
Best of luck!DISTRO=Arch
Registered Linux User #388732
- 09-18-2006 #3Just Joined!
- Join Date
- Nov 2005
- Location
- Auburn, Maine
- Posts
- 75
hmm.. well for some reason, i've always had compilation problems when using Java.First off, Java is backwards-compatible, and the entire environment doesn't change with a new release. New concepts are added, sure, but a book on Java 1.4 is still useable in a 1.5 environment.
As of now, I'm only planning on making games on Linux (which is why I went to a Linux forums boardOtherwise, you can't go wrong with C. Most games for Windows are done using DirectX, the *nix (and Mac OS X) equivalent is called OpenGL. You could also use a toolkit called SDL that is platform-independent (it's actually what Neverwinter Nights uses).
) But I will keep that in mind.
Ok, I will check it out. I appreciate your quick response. If anyone else has anything they'd like to add, I'd really appreciate it! thanksThe greatest book on C is called "The C Programming Language", and it is an excellent explanation of the language. You will need to familiarize yourself with game libraries and terminology, of course, but there must be books and websites out there that have introductions for writing games in C.
- 09-19-2006 #4
C++ is the best. But, if C is complex for you (and it's a little bit easier than C++), try Python (search for PyGame).
"Don't think about the work, think about the benefit"
Leonardo Juszkiewicz
- 09-19-2006 #5Just Joined!
- Join Date
- Nov 2005
- Location
- Auburn, Maine
- Posts
- 75
ok I've heard about pygame before and I decided to check it out but when I try to install it I get errors saying that I need FONT, IMAGE, MIXER, and SMPEG. I looked everywhere to find out what the dependencies are for pygame but I cant find anything specific. Can you help?
- 09-20-2006 #6"Don't think about the work, think about the benefit"
Leonardo Juszkiewicz
- 09-22-2006 #7
There are special languages made for game programming, they should be efficent. They may be slow though, cause they are based on c/c++
Karabakh - I will be back
- 09-25-2006 #8Just Joined!
- Join Date
- Nov 2005
- Location
- Auburn, Maine
- Posts
- 75
awesome, thanks Cyclop. XMAN, what languages are you referring to?
EDIT: I installed the other dependincies (I also needed SDL) but after compiling and installing them from source, I still get an error saying that it couldnt find SDL. It found the rest of them though, but it says that I need it. Any ideas?
- 10-03-2006 #9Just Joined!
- Join Date
- Nov 2005
- Location
- Auburn, Maine
- Posts
- 75
Sorry for the bump, but is anyone still there???
- 10-03-2006 #10
I think the languages DeoXMAN mentioned may be languages like TorqueScript, which is open source but I believe you have to pay for a license to use it commercially.
Flies of a particular kind, i.e. time-flies, are fond of an arrow.
Registered Linux User #408794


Reply With Quote
