Welcome Guest ( Log In | Register)



3 Pages V  < 1 2 3 >  
Reply to this topicStart new topic
> The Best Game Programming Languages?
demonatashadow
post Oct 27 2007, 07:38 PM
Post #11


Super Member
*********

Group: [HOSTED]
Posts: 260
Joined: 18-March 07
From: Tokyo, Japan
Member No.: 40,247



I think that its going to be C++ a lot of game designers make MMORPG's with C++. Some might say Java but I hate Java.
Go to the top of the page
 
+Quote Post
Tetraca
post Oct 28 2007, 04:51 AM
Post #12


Privileged Member
*********

Group: Members
Posts: 628
Joined: 20-May 06
Member No.: 23,968



The best language will be a compiled language - so no Java (you don't want a bloated virtual machine and interpereted bytecode eating up your allotted hardware, do you?), and one that works on many platforms - so no PL/I, Fortran, or Cobol. Oh, and don't trust VisualBASIC for a game. That's basically the only reccomendations I'd give you. It's really up to you which is the best game programming language. Compilers are so good now, it barely matters which language you choose. As long as you can be proficient at it, and you have the proper libraries, you can make a good game. Any person that says you can't make a good-quality game because you are using x language is spewing lies (but the compiler can sometimes matter, and usually it shouldn't dramatically affect you). I personally don't like C++ because I don't like Object-Oriented programming. C is better for me, though I spend most of my time in FreeBASIC when I program. I script these days, though.

So you need a library. What libraries should you use? SDL is good for 2D games, and OpenGL is good for 3D games (but you'll need a sound library like OpenAL to work in conjunction if you want music and sound). Will this work in the programming language of your choice? Most likely, yes. All those libraries mentioned have ports to BASIC (FreeBASIC, so it doesn't reek like other BASICs. Syn9 is making an awesome professional quality 3D game with it, so don't diss BASIC for the flimsy interpereters and limits of the past), Pascal (FreePascal), and (of course), C and C++. You can find some good base engines in C and C++ like eDuke32 (the improved version of the Build engine that powered Duke Nukem, which is now full 3D, without those perspective errors) and even Source (which you can download an SDK for if you own half-life 2). Even the old GoldSrc engine powering Half Life 1 and Doom 3's engine. All of them (except source) are freely and legally available (Goldsrc may not. I don't know the license for that.), so enjoy! You'll need a lot of other software as well.

This post has been edited by Tetraca: Oct 28 2007, 04:52 AM
Go to the top of the page
 
+Quote Post
OneMinute
post Oct 28 2007, 05:38 AM
Post #13


Member [Level 2]
*****

Group: [HOSTED]
Posts: 80
Joined: 18-October 07
Member No.: 51,724



But games can be made with different languages integrated with one another. For example, PHP is processed within the server, along with MySQL requesting for data retrievement, the game appears on the browser, like Runescape. However, different games require different platforms and languages, so results vary. C++ or C# is so far what i've heard to be the most common within the sphere of game developers. However, can't conclude which is the best. It's all dependant on your experiences within this coding time.
Go to the top of the page
 
+Quote Post
Tetraca
post Oct 28 2007, 02:54 PM
Post #14


Privileged Member
*********

Group: Members
Posts: 628
Joined: 20-May 06
Member No.: 23,968



QUOTE
For example, PHP is processed within the server, along with MySQL requesting for data retrievement, the game appears on the browser, like Runescape.

Those are all interpereted - great for a cheap text adventure or a game that will wear out in 10 minutes and real-world applications like content management systems, but if you want to make a real game you need a language which was compiled into machine code or you'll end up with an engine which either greatly limits your graphic and sound capabilities due to the interpereter (especially in Java), or creates an exceptionally slow engine. Besides, it is the interpereters working together, not the actual code (you could compile code into object modules, but the interfacing of those with other programming languages is a bit sketchy unless you know they use the same object format). You wouldn't program something like Duke Nukem 3D in PHP scripts, would you?

I'm not going to harp on PHP too much. It's compilable, but I don't know the extent of its capabilities. MySQL is not, though.
Go to the top of the page
 
+Quote Post
mc05w37
post Oct 28 2007, 04:20 PM
Post #15


Member [Level 1]
****

Group: Members
Posts: 66
Joined: 17-October 07
From: Canada
Member No.: 51,664



i think using flash action script is easier and the game is small in size. besides, you can create the sprites nicely. you can also distribute you game in internet without having much trouble because the game is smaller in size.
Go to the top of the page
 
+Quote Post
sandymc
post Nov 29 2007, 03:38 PM
Post #16


Premium Member
********

Group: Members
Posts: 180
Joined: 5-November 04
Member No.: 2,140



C++ = core algorithm and logic
OpenGl/ DirectX = graphic API
RakNet = simple networking
Lua Scripting = Scripting, several purposes: AI, physics, level builder and etc

Java is not memory-wise and it takes too many resources off your PC. Most of the current games for PC are developed using C++
Go to the top of the page
 
+Quote Post
crazyfray
post Dec 3 2007, 07:08 PM
Post #17


Member [Level 2]
*****

Group: Members
Posts: 77
Joined: 11-November 07
From: London
Member No.: 52,835



I would say it depends on the type of game. If you're only moving layers of images (like with old-school, top-down turn-based RPGs) with few effects, best to choose the one you know best rather than have a panic over what you're choosing.

Also, Lua is used for interacting with the WoW interface, if you're interested.

I'm tempted to make a quick game in VB just to poke at Tetraca, but he's right, so I won't tongue.gif Much as I'm a big fan of VBA and VB, they aren't particularly efficient languages - since they aren't targeted at that market. They're just easy programming languages.
Go to the top of the page
 
+Quote Post
smithy500
post Dec 3 2007, 07:15 PM
Post #18


Newbie [Level 2]
**

Group: Members
Posts: 31
Joined: 3-December 07
Member No.: 54,128



For Text Based: Gotta Be PHP - Mysql - No Question

And for a lot of others. thats my preffered code I also know html

Not to farmilar with others
Go to the top of the page
 
+Quote Post
mahesh2k
post Dec 24 2007, 10:06 AM
Post #19


Super Member
*********

Group: Members
Posts: 324
Joined: 23-January 05
From: India
Member No.: 3,388



Maybe i'm offtopic but Visual C++ express is way to go if you want to create windows only games.