Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
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 ...
  1. #1
    Just Joined!
    Join Date
    Nov 2005
    Location
    Auburn, Maine
    Posts
    75

    Arrow 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!

  2. #2
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,228
    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

  3. #3
    Just Joined!
    Join Date
    Nov 2005
    Location
    Auburn, Maine
    Posts
    75
    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.
    hmm.. well for some reason, i've always had compilation problems when using Java.
    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).
    As of now, I'm only planning on making games on Linux (which is why I went to a Linux forums board ) But I will keep that in mind.

    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.
    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! thanks

  4. #4
    Linux Newbie X.Cyclop's Avatar
    Join Date
    May 2006
    Location
    Israel
    Posts
    143
    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

  5. #5
    Just 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?

  6. #6
    Linux Newbie X.Cyclop's Avatar
    Join Date
    May 2006
    Location
    Israel
    Posts
    143
    "Don't think about the work, think about the benefit"

    Leonardo Juszkiewicz

  7. #7
    Linux Newbie DeoXMAN's Avatar
    Join Date
    Jul 2005
    Location
    Azerbaijan, Germany
    Posts
    154
    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

  8. #8
    Just 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?

  9. #9
    Just Joined!
    Join Date
    Nov 2005
    Location
    Auburn, Maine
    Posts
    75
    Sorry for the bump, but is anyone still there???

  10. #10
    Linux Engineer Javasnob's Avatar
    Join Date
    Jul 2005
    Location
    Wisconsin
    Posts
    942
    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

Page 1 of 3 1 2 3 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •