Welcome to Dream.In.Code
Become an Expert!

Join 149,606 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,895 people online right now. Registration is fast and FREE... Join Now!




Programming language for games

 
Reply to this topicStart new topic

Programming language for games, Any suggestions?

Mastergeek666
23 Sep, 2007 - 07:46 PM
Post #1

D.I.C Head
Group Icon

Joined: 10 Aug, 2007
Posts: 120


Dream Kudos: 75
My Contributions
Hey anyone got any suggestions for languages to program games? I'm planning to make a multitude of different types of games so a universal language would be great, although if there isn't then a couple different languages wouldn't hurt.
User is offlineProfile CardPM
+Quote Post

Martyr2
RE: Programming Language For Games
23 Sep, 2007 - 09:59 PM
Post #2

Programming Theoretician
Group Icon

Joined: 18 Apr, 2007
Posts: 5,655



Thanked: 313 times
Expert In: C/C++, Java, VB, VB.NET, C#, PHP, Web Development, HTML & CSS, Javascript

My Contributions
I swore we have answered this question a bajillion times, but as luck would have it when you need those posts, they are no where to be found. Oh well. The classic answer is...

It depends. It depends on your skill level, the platforms you want to target, and the type of games you want to build.

If you want to design web based games, PHP & Flash are your best bet. If you want to develop for 2D and 3D, C++ and Java are good choices. If you want something more simplistic... VB might be an alternative for you. If you want to get into the heavier gaming, you may want to take a look at OpenGL and DirectX. Or you could go with a gaming engine like Torque. As mentioned before... it always depends on what you want to do and what you can do.

They all have their strengths and weaknesses. The rest is up to you.

smile.gif
User is online!Profile CardPM
+Quote Post

Louisda16th
RE: Programming Language For Games
24 Sep, 2007 - 04:50 AM
Post #3

 101010101
Group Icon

Joined: 3 Aug, 2006
Posts: 1,812



Thanked: 1 times
Dream Kudos: 755
My Contributions
There should be a game programming FAQ as well. This is a big time FAQ.
User is offlineProfile CardPM
+Quote Post

Thorian
RE: Programming Language For Games
24 Sep, 2007 - 06:16 AM
Post #4

Pirate Medic
Group Icon

Joined: 6 Jun, 2002
Posts: 5,750



Thanked: 5 times
Dream Kudos: 275
My Contributions
Actually there is a whole section devoted to videogame development. Ill move this question there and leave a forward link.
User is offlineProfile CardPM
+Quote Post

gogole
RE: Programming Language For Games
24 Sep, 2007 - 01:43 PM
Post #5

D.I.C Head
Group Icon

Joined: 17 Jul, 2007
Posts: 131


Dream Kudos: 25
My Contributions
hey what about c#,is it not ideal for developing games?
User is offlineProfile CardPM
+Quote Post

MorphiusFaydal
RE: Programming Language For Games
24 Sep, 2007 - 02:27 PM
Post #6

D.I.C Lover
Group Icon

Joined: 12 May, 2005
Posts: 1,213



Thanked: 15 times
Expert In: Hardware, Networking

My Contributions
QUOTE(gogole @ 24 Sep, 2007 - 04:43 PM) *

hey what about c#,is it not ideal for developing games?


Look into Micorosft XNA Game Studio Express; it's game development in C#.

Problems: Requires at least three downloads in addition to the actual game:

DirectX runtime
.NET runtime
and a separate XNA runtime.

You could create a DirectX game in straight C# and skip the XNA, but then you have to do a lot more work.
User is offlineProfile CardPM
+Quote Post

Martyr2
RE: Programming Language For Games
24 Sep, 2007 - 02:40 PM
Post #7

Programming Theoretician
Group Icon

Joined: 18 Apr, 2007
Posts: 5,655



Thanked: 313 times
Expert In: C/C++, Java, VB, VB.NET, C#, PHP, Web Development, HTML & CSS, Javascript

My Contributions
Yeah morphius is right. C# is filling a niche right now between C++ and VB and is very much geared towards standard application development. It is a powerful language and you could make games with it, but most people figure why learn C# for a game when you could learn C++ and get the extra benefit of speed in performance... a crucial need for high end games.

smile.gif
User is online!Profile CardPM
+Quote Post

gogole
RE: Programming Language For Games
24 Sep, 2007 - 03:16 PM
Post #8

D.I.C Head
Group Icon

Joined: 17 Jul, 2007
Posts: 131


Dream Kudos: 25
My Contributions
i know c# execution is not as fast as c++ (c# catches up a bit with jitting),but wouldn't you say it has various advantages on other areas such as C# managed code and better encapsulation practices.also there is the garbage collector.it's is true that speed is highest priority but you still need control.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/8/09 12:00AM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month