Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 24th, 2006, 12:25 AM   #1
ReggaetonKing
Sexy Programmer
 
ReggaetonKing's Avatar
 
Join Date: Nov 2005
Location: New Jersey
Posts: 891
Rep Power: 3 ReggaetonKing is on a distinguished road
Send a message via AIM to ReggaetonKing
Game Programming

I heard a lot of people saying C++ is mainly for game programming. Though I also heard Java is rapidly becoming a standard for game programming as well. I wanted to heard options about what you think of game programming and how to choose the language for it. Would C++ be the best solution for game programming? What other languages are great for developing games?
__________________
I would love to change the world, but they won't give me the source code!
ReggaetonKing is offline   Reply With Quote
Old Apr 24th, 2006, 1:08 AM   #2
Booooze
Expert Programmer
 
Booooze's Avatar
 
Join Date: Mar 2006
Location: Igloo
Posts: 710
Rep Power: 3 Booooze is on a distinguished road
Send a message via MSN to Booooze
It depends on what you want to do, and how much power you need. I think a big mistake people make these days is blindly picking a language. The language you choose should be subject to ask why you are choosing it.

C++ is ideal for high end game programming, such as 3d effects and great graphics (all top of the line stuff).

VB would be ok if your writing a 10 line game to keep yourself occupied at work :p (keep in mind efficency)

Java- I personally would only use it to code a applet to put a game online. Even at that I would probably use Flash.

If you posted this question because you are planning on making a game, ask yourself which langauge is ideal for you.

It's like buying a computer. If all you need it for is to go to webpages, and check email, then you don't need a dual core processor and 512mb - 1gig top of the line video card
Booooze is offline   Reply With Quote
Old Apr 24th, 2006, 1:25 AM   #3
bl00dninja
Programming Guru
 
bl00dninja's Avatar
 
Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 5 bl00dninja is on a distinguished road
i wouldn't say that it'a mainly for game programming, but that (high-end) game programming is done mainly in c++. depending on the game you want, like boooze said, you may want to use different approaches. for class last semester i made a whack-a-mole game and a pong game in VB 6.0, to get the same results in C++ it would have been a lot harder. if i were to write the next splinter cell it would probably be done in C++ or java.
__________________
i put on my robe and wizard hat...

Have you ever heard of Plato, Aristotle, Socrates?...Morons.
bl00dninja is offline   Reply With Quote
Old Apr 24th, 2006, 2:24 AM   #4
nnxion
Programming Guru
 
nnxion's Avatar
 
Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5 nnxion is on a distinguished road
I'd probably ask here. Yes that's another forum, especially for games. They will know much on game development and which language it's best to take, I've seen C++ been used there at least. Your programming choice will probably be decided by what kind of game and performance you want. For performance C++, but developing will take you long. For a little less performance but fast development C#. I'm thinking Java is slower, plus it doesn't build an executable. But if you want cross platform then Java would be a good choice. You can also choose Python, of which you can even make a standalone exe. (without needing the virtual machine.) I heard it was fast too. Probably better ask Arevos or Sane for more information.
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for."
-- Socrates
nnxion is offline   Reply With Quote
Old Apr 24th, 2006, 9:10 AM   #5
Lich
Professional Programmer
 
Lich's Avatar
 
Join Date: May 2005
Location: Detroit
Posts: 254
Rep Power: 4 Lich is on a distinguished road
Send a message via AIM to Lich Send a message via MSN to Lich
Java has a big market for games, but not the Quake, Oblivion, or Civilization type games. The market lies in the mobile device arena, Elf Bowling on your cell phone and stuff like that. For console or PC gaming, it's all done in C++. In hardcore gaming, even the slighest pause can be a big pain, and C++ delievers the performance that the gamers demand. There's a growing community for python game creators, but it'll be a while before we see big commercial gains with python gaming engines.

(on a side note, this is something I thought of the other day, since Nintendo games that are played only on nintendo products are never ported to other platforms (stuff like mario and metroit that is nintendo only), do you think they write in ASM to help with the speed of the game?)
__________________
--John Cruz
Web Developer
www.cruzweb.net
Lich is offline   Reply With Quote
Old Apr 24th, 2006, 10:18 AM   #6
Dameon
Troll
 
Dameon's Avatar
 
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4 Dameon is on a distinguished road
@Lich, if you ever work with a dev kit for the current consoles or even those of yesteryear, they tend to be very, very console-specific. A port is a big deal. Everything from file access on the HD (What's that? I'm porting to one without an HD?) to memory card access to online play to 3D graphics can be entirely different. But it has been done. A lot. Consider, though, multiplatform engines such as Unreal.

In the case of Nintendo, I would say that the big N is just keeping its major IP assets on its home turf to boost sales. Metroid and Mario are akin to Halo in how they can influence people on which console to buy.
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270
Dameon is offline   Reply With Quote
Old Apr 25th, 2006, 10:36 AM   #7
Indigno
Professional Programmer
 
Indigno's Avatar
 
Join Date: Dec 2005
Location: Anywhere non-productive
Posts: 267
Rep Power: 0 Indigno is an unknown quantity at this point
Send a message via AIM to Indigno Send a message via MSN to Indigno Send a message via Yahoo to Indigno
Java has a knack for being a bit slow. And every second counts in game programming.
Indigno is offline   Reply With Quote
Old Apr 25th, 2006, 1:08 PM   #8
Lich
Professional Programmer
 
Lich's Avatar
 
Join Date: May 2005
Location: Detroit
Posts: 254
Rep Power: 4 Lich is on a distinguished road
Send a message via AIM to Lich Send a message via MSN to Lich
Quote:
Originally Posted by Dameon
@Lich, if you ever work with a dev kit for the current consoles or even those of yesteryear, they tend to be very, very console-specific. A port is a big deal. Everything from file access on the HD (What's that? I'm porting to one without an HD?) to memory card access to online play to 3D graphics can be entirely different. But it has been done. A lot. Consider, though, multiplatform engines such as Unreal.
Oh definately, but the IO stuff and graphics rendering aren't bad to re-do considering the vast majority of the game will just need to be tweaked a little and re-compiled. A port is still definately a big deal and that's why we see many games only appearing on one platform. The point I was making was that C++ would be better to use for it than anything else, unless you were in the mobile device arena.
__________________
--John Cruz
Web Developer
www.cruzweb.net
Lich is offline   Reply With Quote
Old Apr 25th, 2006, 4:14 PM   #9
JavaMan
Newbie
 
Join Date: Oct 2005
Posts: 29
Rep Power: 0 JavaMan is on a distinguished road
Java is strong for online gaming, while C++ still has the more speed for just gaming in general.
JavaMan is offline   Reply With Quote
Old Apr 25th, 2006, 4:59 PM   #10
mrynit
Hobbyist Programmer
 
mrynit's Avatar
 
Join Date: Mar 2006
Location: WA, USA
Posts: 332
Rep Power: 3 mrynit is on a distinguished road
Send a message via AIM to mrynit Send a message via MSN to mrynit Send a message via Yahoo to mrynit Send a message via Skype™ to mrynit
if you want to make dos games QBASIC is the best. anything above that i would say FreeBASIC. it is portable can use many libraries. but keep in minde the only games i have made are text based...
mrynit is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:40 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC