|  | |
07-14-2005, 07:27 PM
|
#1 (permalink)
|
True Techie Join Date: Jun 2005 Posts: 211
| Game Programing Hi Everybody,
I have been wanting to lear a programing language for some time now (I learned a little C and have a VB for dummies book that i never started  ) but I want to use whaterver language I lear to build games. I realise that with no language can I make a BF2 or Half Life but just want to make somthing simple like PacMan or somthing. What would be the optimum language to learn that would allow me to make even the simplest games? |
| |
07-14-2005, 08:42 PM
|
#2 (permalink)
|
Ultra Techie Join Date: Jul 2005 Posts: 530
| Honestly, get yourself an ancient DOS C/C++ compiler and get some tutorials on basic mode 13h programming and go to town. Thats how I used to do all my game programming back in the day. Its way too much work trying to learn the basics when you have to use something as obtuse as DirectX or those types of things now. I used to do it all in Borland Turbo C++ 3.0.
If you want to get into the modern stuff, get used to programming in C and start looking into some OpenGL programming. When I was in high school I learned the basics of OpenGL and coded up a little game engine in about a semester with no prior knowledge, so its doable. Try http://nehe.gamedev.net/ for some OpenGL tutorials.
__________________ Desktop machine: 2 x Opteron 246, Asus K8N-DL, 2GB PC3200 ECC Reg., XFX GeForce 6600GT, 74gb WD Raptor, 2 x 19\" LCDs, Windows XP x64
Server machine: Intel P4 3.0GHz 2MB EM64T, ECS i865pe, 1GB PC3200, 36gb WD Raptor, Windows Server 2003
Laptop: Dell Inspiron 9100 (Intel P4 3.2GHz 1MB Prescott, i865pe, 512MB PC3200, Mobility Radeon 9700, DVD+R/DL Burner), Windows XP
Linux: P3 450Mhz, 386MB ram, Slackware 10.1 (Running mySQL/Apache) |
| |
07-15-2005, 09:21 AM
|
#3 (permalink)
|
Ultra Techie Join Date: Sep 2003 Location: Bamberg, Germany Posts: 549
| C is traditionally used for game making. Sometimes they use C++, but more often then not, they choose C. http://www.gamedev.net/ |
| |
07-15-2005, 10:38 AM
|
#4 (permalink)
|
True Techie Join Date: Jun 2005 Posts: 211
| Which is harder C, or OpenGL and which would I want to learn first? My Highschool does not offer C or OpenGL so im pretty much on my own |
| |
07-15-2005, 01:07 PM
|
#5 (permalink)
|
Ultra Techie Join Date: Sep 2003 Location: Bamberg, Germany Posts: 549
| OpenGL isn't a language. It's a library used for making advanced graphics (ie. the ones in games).
First learn C, get your head around just using the normal libraries. Then move on to learning OpenGL or DirectX (whichever library you wish to use). |
| |
07-15-2005, 03:06 PM
|
#6 (permalink)
|
Ultra Techie Join Date: Jul 2005 Posts: 530
| DirectX is one of the most obtuse APIs I have ever seen. Definitely learn C and use OpenGL first if you are just learning.
__________________ Desktop machine: 2 x Opteron 246, Asus K8N-DL, 2GB PC3200 ECC Reg., XFX GeForce 6600GT, 74gb WD Raptor, 2 x 19\" LCDs, Windows XP x64
Server machine: Intel P4 3.0GHz 2MB EM64T, ECS i865pe, 1GB PC3200, 36gb WD Raptor, Windows Server 2003
Laptop: Dell Inspiron 9100 (Intel P4 3.2GHz 1MB Prescott, i865pe, 512MB PC3200, Mobility Radeon 9700, DVD+R/DL Burner), Windows XP
Linux: P3 450Mhz, 386MB ram, Slackware 10.1 (Running mySQL/Apache) |
| |
07-15-2005, 03:44 PM
|
#7 (permalink)
|
Ultra Techie Join Date: Sep 2003 Location: Bamberg, Germany Posts: 549
| The fact that it's obtuse is besides the point, it's going to quite a while before he could OpenGL or DirectX, so it really doesn't matter. And by the time he finally gets to a point where he could use either of those libraries sucessfully, he'll probably be able to answer his own questions |
| |
07-16-2005, 12:08 AM
|
#8 (permalink)
|
True Techie Join Date: Jun 2005 Posts: 211
| So basicly what you're saying is that OpenGL and DirectX are simply lybraries that allow you to make better and more advanced games with C and "learning" these is more just learning the tags and what not that call for the things in the lybraries they offer. A little side quest, is C# different from C or C++? what are the differences between all of these and which should i learn first or possibly only?
Thanks |
| |
07-18-2005, 09:11 AM
|
#9 (permalink)
|
Ultra Techie Join Date: Sep 2003 Location: Bamberg, Germany Posts: 549
| C# is a different language than C or C++. It's kind of a dirivative of C++ (and therfore C).
It's a managed language, because it handles things for you like garbage collection. If you really want a detailed list about what the differences are you need to check places like http://msdn.microsoft.com/
C# can use DirectX as well, so long as it's 9.0 or later.
But yes, they're simply libraries that allow you draw and use advanced graphics. |
| |
07-18-2005, 10:49 AM
|
#10 (permalink)
|
True Techie Join Date: Jun 2005 Posts: 211
| So would that be the best choice to learn? |
| |  | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | |