Programming Forums
User Name Password Register
 

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

Reply
 
Thread Tools Display Modes
Old Apr 11th, 2006, 12:52 AM   #1
Eric the Red
Hobbyist Programmer
 
Eric the Red's Avatar
 
Join Date: Feb 2006
Posts: 214
Rep Power: 0 Eric the Red is an unknown quantity at this point
Game design

I recently learnt c++ and i'm interested in making a game. I'm wondering if you'd recommend for me to use the windows API or (direct x/open gl) i rather open gl. I got this book called 'Sam's game programming in 24 hours' and it uses the windows api.

Any thoughts?
__________________
Death smiles at us all. All a man can do is smile back.
Eric the Red is offline   Reply With Quote
Old Apr 11th, 2006, 3:58 AM   #2
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
The windows API is GDI, I think it will use DirectX which is from Microsoft.

I'd go for OpenGL, but I heard some good things about DirectX 10. So you might want to try that. It all comes down to personal taste.
__________________
"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 11th, 2006, 4:19 AM   #3
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
I was under the impression that DirectX 10 was delayed until Vista was out?
Arevos is offline   Reply With Quote
Old Apr 11th, 2006, 11:34 AM   #4
King
Professional Programmer
 
King's Avatar
 
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 380
Rep Power: 3 King is on a distinguished road
Quote:
Originally Posted by Arevos
I was under the impression that DirectX 10 was delayed until Vista was out?
It pretty much is. And I dont think any graphics card companies are releasing DirectX 10 cards untill the vista release anyways.
__________________
I am Addicted to Linux!
King is offline   Reply With Quote
Old Apr 11th, 2006, 11:51 AM   #5
cmpr101
Newbie
 
cmpr101's Avatar
 
Join Date: Apr 2006
Location: Internet
Posts: 4
Rep Power: 0 cmpr101 is on a distinguished road
I'd do this a little differently. Get a good game engine (Torque for example) and learn about game programming rather than getting embroiled in graphics programming.

My opinion on game programming (held up by games like Darwinia) is that the graphics are less important than the gameplay, so getting that right is a far more rewarding experience in many cases than choosing a graphics API.

But maybe that's just the (lazy) game designer in me...
__________________
Guy 'LeckyT' Lecky-Thompson
http://ComputerProgramming.Suite101.com
computerprogramming@suite101.com
cmpr101 is offline   Reply With Quote
Old Apr 11th, 2006, 12:45 PM   #6
Kilo
Expert Programmer
 
Kilo's Avatar
 
Join Date: Nov 2005
Location: In Pink Clam?
Posts: 542
Rep Power: 0 Kilo is an unknown quantity at this point
Send a message via AIM to Kilo
WHATTT!?!?!? there is a DirectX 10!?!?
__________________
"When in Rome, Do as the Romans Do"
"Beauty is in the eye of the BEER holder"
"Save your breath your going to need it for your blow up doll later"

SearchLores.org
Kilo is offline   Reply With Quote
Old Apr 11th, 2006, 2:06 PM   #7
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
Quote:
Originally Posted by Kilo
WHATTT!?!?!? there is a DirectX 10!?!?
Footage.
__________________
"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 11th, 2006, 2:22 PM   #8
Mocker
Hobbyist Programmer
 
Mocker's Avatar
 
Join Date: Oct 2005
Location: Indiana
Posts: 224
Rep Power: 0 Mocker is an unknown quantity at this point
Send a message via AIM to Mocker
Torque is a pretty expensive way to start learning. You can do just as much with DirectX or OpenGL and a free gaming library like SDL or Ogre. Look into those. To make a basic 2d app you really do not need much extra and it is a good way to get into learning how to structure a game engine.
__________________
#programmingforums relay - http://thegupstudio.com/cgi-bin/pforelay.cgi
freelance scripts - http://ryanguthrie.com/index.html
Mocker is offline   Reply With Quote
Old May 12th, 2006, 4:26 PM   #9
commodore
Programmer
 
Join Date: Nov 2005
Location: Estonia
Posts: 97
Rep Power: 0 commodore is an unknown quantity at this point
You can't make cross-platform stuff with DirectX.
commodore is offline   Reply With Quote
Old May 12th, 2006, 10:43 PM   #10
lectricpharaoh
SEXY SHOELESS GOD OF WAR!
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Wet west coast of Canada
Posts: 1,193
Rep Power: 5 lectricpharaoh will become famous soon enough
Quote:
Originally Posted by Eric the Red
I recently learnt c++ and i'm interested in making a game. I'm wondering if you'd recommend for me to use the windows API or (direct x/open gl) i rather open gl. I got this book called 'Sam's game programming in 24 hours' and it uses the windows api.

Any thoughts?
For a simple game, like Tetris (as I'm inferring from other posts of yours), I'd just use plain GDI. It's simpler than DirectX, and it's a good idea to learn it anyways. If you have any sort of game where the graphics are primarily made up of rectangular tiles or blocks (Tetris, many old top-view so-called RPGs, some shoot-em-ups and scrollers), much of the drawing logic consists of drawing these rectangular bitmaps, and then drawing whatever sprites you've got.
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot.
- Vaarsuvius, Order of the Stick
lectricpharaoh 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:15 AM.

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