School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 307,104 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,046 people online right now. Registration is fast and FREE... Join Now!




Writing games

 

Writing games, I am interesting in writing code for games.

bgile

30 Oct, 2009 - 01:48 PM
Post #1

New D.I.C Head
*

Joined: 29 Sep, 2009
Posts: 11

I have studied C++ and Javascript and Visual Basic so I am curious what is the best language to write games in. Thanks Earl ph34r.gif

User is offlineProfile CardPM
+Quote Post


Gloin

RE: Writing Games

30 Oct, 2009 - 02:16 PM
Post #2

Expert Schmexpert...
Group Icon

Joined: 4 Aug, 2008
Posts: 3,614



Thanked: 143 times
Dream Kudos: 75
My Contributions
Engrish?!
User is offlineProfile CardPM
+Quote Post

mostyfriedman

RE: Writing Games

30 Oct, 2009 - 02:39 PM
Post #3

Striving Student
Group Icon

Joined: 24 Oct, 2008
Posts: 3,214



Thanked: 357 times
Dream Kudos: 600
Expert In: Learning

My Contributions
you're in the wrong forum, pal
User is online!Profile CardPM
+Quote Post

SixOfEleven

RE: Writing Games

30 Oct, 2009 - 04:15 PM
Post #4

lives.ToCode();
Group Icon

Joined: 18 Oct, 2008
Posts: 3,066



Thanked: 170 times
Dream Kudos: 775
Expert In: C, C#, XNA, Game Programming, Programming Concepts

My Contributions
There really never is a "best" language. C++ is the industry standard when it comes to writing games though. To get going quickly I would recommend C# with XNA.

Also, off to game programming. smile.gif
User is offlineProfile CardPM
+Quote Post

Gloin

RE: Writing Games

31 Oct, 2009 - 02:22 AM
Post #5

Expert Schmexpert...
Group Icon

Joined: 4 Aug, 2008
Posts: 3,614



Thanked: 143 times
Dream Kudos: 75
My Contributions
QUOTE(SixOfEleven @ 31 Oct, 2009 - 12:15 AM) *

There really never is a "best" language. C++ is the industry standard when it comes to writing games though. To get going quickly I would recommend C# with XNA.

Also, off to game programming. smile.gif


Hehe.. Who would have guessed you'd recommend that.. tongue.gif
User is offlineProfile CardPM
+Quote Post

Theaegd

RE: Writing Games

31 Oct, 2009 - 07:51 AM
Post #6

D.I.C Regular
***

Joined: 15 Aug, 2009
Posts: 309



Thanked: 4 times
My Contributions
yeah C# and XNA are the way to go
User is online!Profile CardPM
+Quote Post

stayscrisp

RE: Writing Games

31 Oct, 2009 - 09:37 AM
Post #7

Mouth->Insert(Foot);
Group Icon

Joined: 14 Feb, 2008
Posts: 1,404



Thanked: 53 times
Dream Kudos: 300
My Contributions
QUOTE(Theaegd @ 31 Oct, 2009 - 07:51 AM) *

yeah C# and XNA are the way to go


That depends really, if you wish to develop cross platform applications then it most certainly is not.

Also if you wish to make some 3D games with impressive physics then C++ is the way to go with some prebuilt engines.

User is online!Profile CardPM
+Quote Post

Theaegd

RE: Writing Games

31 Oct, 2009 - 01:20 PM
Post #8

D.I.C Regular
***

Joined: 15 Aug, 2009
Posts: 309



Thanked: 4 times
My Contributions
cross platform is the only thing holding XNA back.
other than that it truly is the best, its syntax is simpler, it is quite efficient (unlike most uneducated hype says) and the XNA framework has many useful things that make it best for games.
i probably spelt things wrong again... deal with it smile.gif
User is online!Profile CardPM
+Quote Post

Tom9729

RE: Writing Games

31 Oct, 2009 - 05:56 PM
Post #9

Debian ninja
Group Icon

Joined: 30 Dec, 2007
Posts: 2,144



Thanked: 53 times
Dream Kudos: 425
My Contributions
If you're interested in game programming with Java (by any chance), I recommend taking a look at Slick2D. Not as many features as XNA but it is cross-platform and much more open.

Java3d is very interesting as well, as is Project Darkstar. Doesn't seem like many games are being developed with Java, but that could certainly change in the future. smile.gif
User is online!Profile CardPM
+Quote Post

hawksprite

RE: Writing Games

2 Nov, 2009 - 03:21 PM
Post #10

New D.I.C Head
*

Joined: 11 Sep, 2009
Posts: 16

If you decide on C++ a good place to start might be DarkGDK.
http://gdk.thegamecreators.com/
User is offlineProfile CardPM
+Quote Post

iphoneorange

RE: Writing Games

2 Nov, 2009 - 06:00 PM
Post #11

D.I.C Head
Group Icon

Joined: 20 Aug, 2008
Posts: 145



Thanked: 17 times
Dream Kudos: 75
My Contributions
I heard that about 99% of games are made in C++. I think C++ is all you'll need because most of the APIs/Libraries used to make games are written in either C or C++ (DirectX, OpenGL, SDL, Allegro, DarkGDK, etc.). Since you already know C++, you should be comfortable learning any of the APIs/Libraries i mentioned.

Also, XNA looks cool too, but it's made for Windows and Xbox stuff. I don't know much about it, but the book at Barnes and Nobles looked pretty nice biggrin.gif

== Edit: Some Tutorial Links, just to help smile.gif ==
DirectX - Mainly for Windows things both 2D and 3D graphics
http://www.directxtutorial.com/
OpenGL - platform independent mainly 3D easier than directX
http://sabia.tic.udc.es/gc/practicas/openg...GLTutorial.html
SDL - platform independent mostly 2D
http://lazyfoo.net/SDL_tutorials/index.php
Allegro - platform independent only 2D
http://www.loomsoft.net/resources/alltut/alltut_index.htm
DarkGDK - works with DirectX
http://spitzenpopper.blogspot.com/2009/05/...-tutorials.html

This post has been edited by iphoneorange: 2 Nov, 2009 - 06:08 PM
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/21/09 12:36PM

Live Help!

Be Social

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

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month