![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
|
C++ and... what? Game
I want to get going on a tile-based side-scroller of over-head scoller (something you might find on a gameboy type thing). I'm learning C++.
What GUI system should I get into as for the graphics? How might I do that? (OpenGL, DirectX, what? How do I design for that?) I'll be programming on a Mac but will compile on both Mac and Windows, since everybody loves C++. |
|
|
|
|
|
#2 |
|
Programmer
Join Date: Jun 2005
Posts: 92
Rep Power: 4
![]() |
Well, throw out DirectX, because that is windows only. Your best bet would be OpenGL, then you could have a linux port as well!
Just my $0.02 |
|
|
|
|
|
#3 |
|
Hobbyist Programmer
|
While we're at it, is there any advanteges or disatvanteges of using DirectX or OpenGL?
|
|
|
|
|
|
#4 |
|
Programmer
|
The way I look at it: pretty much all of the big pc games are written in directx.
__________________
kirkl_uk |
|
|
|
|
|
#5 |
|
Troll
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4
![]() |
DirectX
Advantage: Some high level features Disadvantage: Windows only, hard to learn OpenGL Advantage: Very low level, runs on all platforms Disadvantage: A little harder to learn than DirectX And as for most PC games being written in DirectX, yes, but if you have noticed professionally written engines such as Unreal offer a choice between the two.
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270 |
|
|
|
|
|
#6 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Not all mainstream PC games use DirectX. Doom III, for example, used OpenGL. It's really up to you - they're both great, IMO.
|
|
|
|
|
|
#7 | |
|
Newbie
|
Quote:
Doom III was made with Macs in mind, so OpenGL was the logical choice. Any suggestions for books on OpenGL? (even linux! wow!) Last edited by andrewgray; Jul 3rd, 2005 at 10:11 PM. Reason: added idea + 1 |
|
|
|
|
|
|
#8 |
|
Professional Programmer
Join Date: May 2005
Location: Bad Nauheim, Germany
Posts: 436
Rep Power: 4
![]() |
"OpenGL Programming Guide" - Woo, Neider, Davis, Schreiner
Oh boy!, you will finally get to put a little bit of that linear algebra you learned in high school to good use ![]()
__________________
-Steven "Is this a piece of your brain?" - Basil Fawlty |
|
|
|
|
|
#9 |
|
Hobbyist Programmer
|
i found something different here: http://www.scorpioncity.com/djdirectxtut.html
He says in his opinion, that DirectX is the worst API and is too confusing. But he also recommends it since it's popular I geuss. There's also an begginer tutorial there. |
|
|
|
|
|
#10 | |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|