473,386 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

what language is best for game programming and which Game Engine

I got into programming so i could program games.At first i just wanted to make simple games like Astaroids and stuff.Now I would like to learn to make Pro games.
I still am not even good enough to be called a noob but,i was woundering...
what language should i learn for gameprogramming?
Also i love playing PC game and i was woundering what is the difference Between the "Game Engine" and the "graphics engine" and the "physics engine"? And is there a "audio engine"?
Ty for reading this.
Apr 16 '07 #1
15 3579
ilikepython
844 Expert 512MB
I got into programming so i could program games.At first i just wanted to make simple games like Astaroids and stuff.Now I would like to learn to make Pro games.
I still am not even good enough to be called a noob but,i was woundering...
what language should i learn for gameprogramming?
Also i love playing PC game and i was woundering what is the difference Between the "Game Engine" and the "graphics engine" and the "physics engine"? And is there a "audio engine"?
Ty for reading this.
As far as I know, all or at least most of the commercial games are programmed with C or C++ but if C++ seems too confusing at first it is not a bad idea to learn an easier language like python or something else. And even if you know one language, don't be afriad to learn another. Also, what kind of platform are you most comfortable with? If you like Windows, you can use DirectX and Direct3D. You could also try SDL which I think is easier and multi-platform.
Apr 16 '07 #2
Ganon11
3,652 Expert 2GB
As far as the engines (The following is all my impressions, and should in no way be taken as researched fact):

(For explanation purposes, I will use examples from a First Person Shooter game, Half-Life)

Each engine is a separate piece of code that describes certain actions. For instance, the Game Engine describes what guns exist, how much ammo they can hold, their damage, etc. The Physics Engine describes exqactly where your character ends up when he jumps, crouchs, climbs a ladder, etc.

A programmer making the Game Engine can assume that the Physics Engine will work correctly. Say, for instance, a certain portion of the Game Engine requires your character to jump. The Game programmer can assume that there will be some function jump() included in the Physics Engine. The specifics of that function are left to the Physics programmer.

Of course, there are many more 'engines' than physics and game. The audio engine, which you referenced, likely has some methods for which objects make which sound at which times.

(Here ends my theoretical rambling :)).
Apr 16 '07 #3
RedSon
5,000 Expert 4TB
As far as the engines (The following is all my impressions, and should in no way be taken as researched fact):

(For explanation purposes, I will use examples from a First Person Shooter game, Half-Life)

Each engine is a separate piece of code that describes certain actions. For instance, the Game Engine describes what guns exist, how much ammo they can hold, their damage, etc. The Physics Engine describes exqactly where your character ends up when he jumps, crouchs, climbs a ladder, etc.

A programmer making the Game Engine can assume that the Physics Engine will work correctly. Say, for instance, a certain portion of the Game Engine requires your character to jump. The Game programmer can assume that there will be some function jump() included in the Physics Engine. The specifics of that function are left to the Physics programmer.

Of course, there are many more 'engines' than physics and game. The audio engine, which you referenced, likely has some methods for which objects make which sound at which times.

(Here ends my theoretical rambling :)).
At a very high level this is true. There are different components that dictate the logic in a game. But it is much much more complicated then this. When people talk about physics engines like havok and quake what they are actually talking about is a type of middle ware that will allow them to calculate the path of objects in the game to more closely resemble real life. For example if I wanted to create a character that was throwing a baseball, I could describe that baseballs movement given freshmen level physics equations. I could input those formulas into my game or call on a physics engine to do it for me. You can imagine how useful a physics engine would be if more then 1 or 2 characters were running, jumping and shooting stuff.

A game engine is a bit of a different animal. When people talk about game engines they are usually talking about the whole thing: client, server, physics, scripting and mechanics, plus more.

If you want to get into games, check out the DirectX SDK and start working through the tutorials.
Apr 16 '07 #4
ayan4u
86
why not u get a middleware and give it a try....sum proff engines like A6,TGE r there for evaluation......and better even freeware engines(just google it..thrs a lot)even if u r not a pro coder u can rely on scripts provided by those engines...they can make ur life thousand fold easier..........
Apr 16 '07 #5
Thanks everyone. But i have one question,i though that DirectX was like a driver.Well not a driver but like a driver helper.
...A program that tells the graphics driver what to do..or how.
So are you talking about a different DirectX?
Oh and where can i go to learn about DirectX?
One more thing,when will DirectX 10 be released?
TY
Apr 17 '07 #6
ayan4u
86
Thanks everyone. But i have one question,i though that DirectX was like a driver.Well not a driver but like a driver helper.
...A program that tells the graphics driver what to do..or how.
So are you talking about a different DirectX?
Oh and where can i go to learn about DirectX?
One more thing,when will DirectX 10 be released?
TY
DirectX is not a driver not like a driver but an API...neways thrs only one DirectX tht released by M$....

thrs a plenty of tutorials on DirectX...u can as well download DirectX SDK and documentations from microsoft website.....

book recommendation : Introduction to 3D Game Programming with DirectX 9.0

and ya DirectX 10 is well released with Vista and i heard it is stuffed with quality features......
Apr 17 '07 #7
RedSon
5,000 Expert 4TB
The reason that you are getting DirectX confused with a driver is that video card manufacturers must create drivers that are compatible with DirectX. So when they say that you should get the latest DirectX drivers what they mean is you should get the latest DirectX compatible drivers.
Apr 17 '07 #8
Thanks for clearing that up.
One more thing,is DirectX a compiled language.And is it an object oriented language.
Apr 18 '07 #9
RedSon
5,000 Expert 4TB
Thanks for clearing that up.
One more thing,is DirectX a compiled language.And is it an object oriented language.
DirectX isn't a language, its an SDK a library of APIs that you can use. It is implemented in C/C++ and also some in C#.
Apr 18 '07 #10
Atli
5,058 Expert 4TB
DirectX isn't a language, its an SDK a library of APIs that you can use. It is implemented in C/C++ and also some in C#.
To be fair, you can use DirectX in C# just as you would in C++, and then some.

If you are new to DirectX and game programming I would reccomend starting with C#, mainly because it is so much easier to learn and use than C++ and also because the native DirectX support which is used in C++ is rather confusing and annoying if you'r not used to it, and even then.

DirectX is offered as a managed version in .Net which simplifies it extremly much on languages such as C#, VB.NET, Visual C++ and so on.

I would also look into XNA, which is a managed enviroment built by Mircosoft specially to make game programming easier.

This is a tutorial on most of the methods mentioned above here.
Reimers Tutorials
Apr 18 '07 #11
Well thanks everyone,that cleared one or two hundred things up. lol

your luck has been increased by +10!
but since you helped a noob you coolness has decreased by 95 so drink a potion! lol

if you got that FF reference thanks.
Apr 24 '07 #12
Ganon11
3,652 Expert 2GB
Crap, crap! I'm out of potions! SOMEONE SPOT ME A HUNDRED GIL.
Apr 24 '07 #13
TRScheel
638 Expert 512MB
I got into programming so i could program games.At first i just wanted to make simple games like Astaroids and stuff.Now I would like to learn to make Pro games.
I still am not even good enough to be called a noob but,i was woundering...
what language should i learn for gameprogramming?
Also i love playing PC game and i was woundering what is the difference Between the "Game Engine" and the "graphics engine" and the "physics engine"? And is there a "audio engine"?
Ty for reading this.

If you are fairly literate in C#, or VB for that matter, this might interest you. Its a nice tutorial walking through how to create a simple game.

http://blogs.msdn.com/coding4fun/archive/2006/11/02/938703.aspx

I also like this guy's site, its pretty neat.

http://www.c-unit.com/tutorials/

Plus his blog entries are awesome, and the comments can be pretty funny.
Apr 24 '07 #14
Sorry Ganon 11 i only have 50 gil,oh but i do have 50 federation credits. lol
TY everyone!
May 1 '07 #15
vermarajeev
180 100+
Sorry Ganon 11 i only have 50 gil,oh but i do have 50 federation credits. lol
TY everyone!
What about using Qt http://www.qtcentre.org/ and let me tell you you can get more with less code. Try it and see the differences and I can bet Qt will overtake all.

Just try and let me know how you felt programming with Qt.
May 2 '07 #16

Sign in to post your reply or Sign up for a free account.

Similar topics

23
by: darwinist | last post by:
What PHP Represents There is no shortage of complaints one could make about php as a language, and although the list does shrink with each release, some of them are inherent to the origins and...
12
by: Steven T. Hatton | last post by:
This is something I've been looking at because it is central to a currently broken part of the KDevelop new application wizard. I'm not complaining about it being broken, It's a CVS images. ...
9
by: the_philospher | last post by:
I am a beginner programmer learning c++. i have read some useful information about programming games (which is my goal) on gamedev.net, particularly "how do i program games"...
5
by: CR | last post by:
I want to write a language learning game for my children? I have the knowledge of what to put in the game but I don't know where to begin programming. Any suggestions? CR
33
by: Jacob Oost | last post by:
Should I get some more general books, like "advanced self-teaching," or can I start on specialized books like "Linux game programming?" Any book recommendations? -- ----- BEGIN GEEK CODE...
4
by: Michael Andersson | last post by:
Hi! I'm writing a small game engine in c# and I'm in great need of a scripting language. Does anyone know of such a language? Would it be possible to use the VSA in some way to do this? Best...
11
by: Van Nastring | last post by:
I believe it is c++ right? Why don't they use c#?
10
by: JoeC | last post by:
I have been programming for a while and I have seen this syntax before and I copied this from a book but the book didn't explain what is going on here. class engine{ protected: static engine*...
184
by: jim | last post by:
In a thread about wrapping .Net applications using Thinstall and Xenocode, it was pointed out that there may be better programming languages/IDEs to use for the purpose of creating standalone,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.