954,549 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

What are the best programming language for Game Programming

I wanted to start my own game. I have experience developing in C, C++ and Java. I also have tried out Python and currently I am learning OpenGL.

I would like to know if there are preferrable programming languages that are suited best when it comes to game programming.

Thanks in anticipation,

Loken

loken
Light Poster
29 posts since Jul 2008
Reputation Points: 10
Solved Threads: 0
 

Actionscript if your into flash games, C++ is my preferred language.

MosaicFuneral
Posting Virtuoso
1,691 posts since Nov 2008
Reputation Points: 888
Solved Threads: 116
 

C++

tomtetlaw
Practically a Master Poster
605 posts since Sep 2008
Reputation Points: 9
Solved Threads: 5
 

C++ easily for any PC based gaming.

For Browser based games, I have a preference to PHP, far more relaxed and easy.

To be honest If you are experience in C++ you'll be able to get by start on a game and be quiet happy with it.

Lethos
Newbie Poster
14 posts since Sep 2008
Reputation Points: 10
Solved Threads: 0
 

It depends on the requirements for the game.

Rashakil Fol
Super Senior Demiposter
Team Colleague
2,658 posts since Jun 2005
Reputation Points: 1,135
Solved Threads: 177
 

it does depend on the requirements for the game, but if you need real time 3D rendering, your on the right track with C++ and OpenGL. Be sure to have a good knowledge of both before starting something big though.

sciwizeh
Posting Pro in Training
457 posts since Jun 2008
Reputation Points: 77
Solved Threads: 23
 

I would stay away from ActionScript and the like, unless your true goal is to make a bunch of browser games. The Flash market seems to be quite different from all the rest of the games, so that's a decision you'll have to make.

If you're making desktop games, there's no doubt that C++ is the root of your choice. Now whether or not you program directly in C++ is up to you... The thing about C++ is that it gives you a lot of power (which is good), but it's up to you to make your code cross-platform. You'll find plenty of libraries for Windows game engines, or DirectX this, OpenGL that, but I find it most beneficial when you can write a game and deploy it on Macs, PCs, Linux, the works.

I recommend BlitzMax to get you started with game programming. It uses the simple/non-intimidating syntax of BASIC, but under the hood it's really just a wrapper around C++ and open source libraries. It's actually quite genius, and as you grow as a programmer and learn more about memory management and whatnot, you can essentially do whatever you want with it.

Check it out at www.blitzmax.com . I'm writing a game write now in BlitzMax called Fantasy Hip Hop RPG. You can check out a video here http://www.youtube.com/watch?v=NXZzfrUUX0g or at www.fantasyhiphop.com/blog to see what's possible.

jtfrench
Newbie Poster
6 posts since Jan 2009
Reputation Points: 10
Solved Threads: 0
 

Thanks, it's been a while...been busy with work. BTW, I am planning to do 3d games. I am starting to familiarize myself with OpenGL and Python.

I have Blender 2.4 installed on my pc.
Would using Blender be a good way to start.

Thanks for your advices

Loken

loken
Light Poster
29 posts since Jul 2008
Reputation Points: 10
Solved Threads: 0
 

I would recommend the Blitzmax programming language.
http://www.blitzmax.com/

NightCrawler03X
Newbie Poster
16 posts since Jan 2009
Reputation Points: 10
Solved Threads: 0
 

C++ and OpenGL is really the way to go. Blender is a 3D design tool more than it is a game language. From what I understand, you can do some limited programming in it, but for flexibility's sake, you're going to want to use Blender just to design your 3D models, and a real programming language to write your game.

For my project, we're using Ogre3D as our graphics engine. It is extremely flexible, well documented (books have been written on it), and portable between different platforms, so ultimately, it can be used to write games on PC, Mac, and Linux. There are also a bunch of third-party libraries and interface very well with Ogre3D that can help you handle physics. Very helpful.

This is a frequently asked question on Daniweb's gaming forum. Make sure you read the posts more thoroughly before you post a question as broad in scope as that again.

PirateTUX
Junior Poster
101 posts since Jan 2007
Reputation Points: 17
Solved Threads: 3
 

C++ is probably one of the best programiing languages.
its very flexible and most programs., games included is
made using this.

Jen0608
Junior Poster
179 posts since May 2008
Reputation Points: -30
Solved Threads: 10
 

Not sure as I haven't seen anyone mention this language, but I personally use DarkBASIC Professional as a programming language for games development; mainly due to the fact that it was created for the purpose of making games and I find it easier for use with 3D programming.

SlayingSoul
Newbie Poster
7 posts since May 2009
Reputation Points: 10
Solved Threads: 0
 

i want to create game tutotrial and it includes musics what possible language i need to used to insert it

angeltokill
Newbie Poster
1 post since Dec 2009
Reputation Points: 10
Solved Threads: 0
 

for sure the best language for game programming is C++.
it is much harder to study properly, but you can create any games using it. besides most 3d engines are good friends of C++

StevenCashman
Light Poster
45 posts since Dec 2009
Reputation Points: 10
Solved Threads: 0
 

C++ is a big thing to learn. It's really big.

If you like Python (I'm a huge fan), you can use panda3d, which in my opinion is the simplest option, especially if you have a background in Python.

jcao219
Posting Pro in Training
417 posts since Dec 2009
Reputation Points: 28
Solved Threads: 97
 

Okay, I don't want to start a new treath,

most famous games probably use c++, but how are they written?
pure from source, with a 3d engine, ... ?

Kruptein
Posting Whiz in Training
258 posts since Sep 2009
Reputation Points: 25
Solved Threads: 11
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You