Programming Forums
User Name Password Register
 

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

Reply
 
Thread Tools Display Modes
Old Mar 8th, 2007, 12:03 AM   #1
King
Professional Programmer
 
King's Avatar
 
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 376
Rep Power: 0 King is an unknown quantity at this point
Game Development

I am looking to start getting into a bit more game development in my spare time. I have a fair bit of experience in c++ (school and industry), but none of it really had to do with graphics. In school I did a couple simple games with raw Win32 API using GDI such as Pong and Tetris. I am also in the middle of my second DirectX course, but I am not at the level where I could just code up a game in it yet.

To get started I want to do a 2D game, but something more complex than Pong. I don't really want to use Win32 GDI, so I was wondering what is a decent 2D graphics Library out there that I could use, hopefully one that is cross platform?

After that I would want to move into a simple 3D game, and at this point using just the DirectX API would be too daunting and tedious, so is there any 3D graphics library that could simplify things for me?

Thanks for any input.
__________________
I am Addicted to Linux!
King is offline   Reply With Quote
Old Mar 8th, 2007, 1:02 AM   #2
Klarre
Game engine designer
 
Klarre's Avatar
 
Join Date: May 2005
Location: Sweden
Posts: 301
Rep Power: 4 Klarre is on a distinguished road
To get started with 2D graphics you should take a look at the free and popular cross-platform library libSDL (www.libsdl.org). Another alternative is to use the open graphics library OpenGL, which I usually use to both 2D and 3D stuff. To begin with 3D coding I should recommend you to use OpenGL in front of Direct3D. The Direct3D API is more complicated to understand. And cause you are addicted to Linux, OpenGL is a better alternative though it is cross-platform.

/Klarre
__________________
http://www.klarre.se
Klarre is offline   Reply With Quote
Old Mar 8th, 2007, 7:21 AM   #3
Wizard1988
Professional Programmer
 
Wizard1988's Avatar
 
Join Date: Oct 2005
Location: Chitown
Posts: 417
Rep Power: 3 Wizard1988 is on a distinguished road
Send a message via AIM to Wizard1988
You might want to consider Allegro, it is more complicated than SDL but it also gives you more freedom.
__________________
JG-Webdesign
Wizard1988 is offline   Reply With Quote
Old Mar 8th, 2007, 8:00 AM   #4
Jimmy Bazooka
Newbie
 
Join Date: Mar 2007
Location: at this heap offset AF3A: 66C3
Posts: 10
Rep Power: 0 Jimmy Bazooka is an unknown quantity at this point
i'd recommend you Asphyre framework under directx9.0c however i'ts not cross platform (since it's under directx9.0c) but is very great and simple to understand. Visit http://www.afterwarp.net
...and forgot to mention it's a Delphi framework

Last edited by Jimmy Bazooka; Mar 8th, 2007 at 8:02 AM. Reason: fucked up
Jimmy Bazooka is offline   Reply With Quote
Old Mar 8th, 2007, 8:36 AM   #5
Duck
Programmer
 
Join Date: Jun 2006
Location: England London
Posts: 72
Rep Power: 3 Duck is on a distinguished road
I'd recommend using one of the 'big name' industry standard graphics libraries, eg, OpenGL or DirectX. These libraries are have hardware support and aren't going to go out of fashion. I don't understand why people would want to use some of these little heard of, uncommon libraries, eg, Allegro. Also what would you rather put on your CV, Allegro or OpenGL. Anyway I don't mean to upset anyone with my ignorance, and plz set me straight if I'm wrong.

I don't have much experience of DirectX but I've used OpenGL a lot, and its a nice library to work with.
Duck is offline   Reply With Quote
Old Mar 8th, 2007, 9:03 AM   #6
MicDareall
Programmer
 
Join Date: Dec 2005
Posts: 67
Rep Power: 0 MicDareall is an unknown quantity at this point
Quote:
Originally Posted by Duck View Post
I'd recommend using one of the 'big name' industry standard graphics libraries, eg, OpenGL or DirectX. These libraries are have hardware support and aren't going to go out of fashion. I don't understand why people would want to use some of these little heard of, uncommon libraries, eg, Allegro. Also what would you rather put on your CV, Allegro or OpenGL. Anyway I don't mean to upset anyone with my ignorance, and plz set me straight if I'm wrong.

I don't have much experience of DirectX but I've used OpenGL a lot, and its a nice library to work with.

lol. Did you even read anything that he has said before you decide to go off on a tangent? And as far as your rant, I suggest you learn what you are talking about before you choose to comment in such a rude way.

For 2D I would suggest SDL. Its really easy to use and cross platform. And as far as when you want to do something in 3D I would suggest OGRE3D. Its a graphics rendering engine. You can chose which API to run off of as well, Opengl or DirectX. Ogre is pretty powerful, flexible and extensible.
MicDareall is offline   Reply With Quote
Old Mar 8th, 2007, 9:13 AM   #7
Duck
Programmer
 
Join Date: Jun 2006
Location: England London
Posts: 72
Rep Power: 3 Duck is on a distinguished road
Ok, I'm sorry, it was a bit rude, I kinda regret posting that! Oh well.

I don't think I had gone off on a tangent though, my suggestion was to use OpenGL, and that that would simplify things for King.

I think I get it now, these other libraries are wrappers on top of OpenGL/DirectX, which provide a a better/simplier interface.

Sorry again
Duck is offline   Reply With Quote
Old Mar 8th, 2007, 9:17 AM   #8
MicDareall
Programmer
 
Join Date: Dec 2005
Posts: 67
Rep Power: 0 MicDareall is an unknown quantity at this point
Quote:
Originally Posted by Duck View Post
Ok, I'm sorry, it was a bit rude, I kinda regret posting that! Oh well.

I don't think I had gone off on a tangent though, my suggestion was to use OpenGL, and that that would simplify things for King.

I think I get it know, these other libraries are wrappers on top of OpenGL/DirectX, which provide a a better/simplier interface.

Sorry again
Ogre is built on top of those API's, as far as Allegro and SDL they are not. They are specifically made for 2D applications, which is what he's asking for. Why would you want to use OpenGL and/or DirectX for 2D applications when theres better suited libraries to handle it?
MicDareall is offline   Reply With Quote
Old Mar 8th, 2007, 9:30 AM   #9
Duck
Programmer
 
Join Date: Jun 2006
Location: England London
Posts: 72
Rep Power: 3 Duck is on a distinguished road
Ok. I see your point, and I'm not arguing. But OpenGL is a very good, and simple to use, library even if your only developing in 2D (but since I have no experience of the others I cant compare it).

Edit: Also if as King says he moves on to 3D, it would be beneficial not to have to learn a whole new library.
Duck is offline   Reply With Quote
Old Mar 8th, 2007, 11:02 AM   #10
Klarre
Game engine designer
 
Klarre's Avatar
 
Join Date: May 2005
Location: Sweden
Posts: 301
Rep Power: 4 Klarre is on a distinguished road
I agree with Duck, that OpenGL is very good in 2D development.
You can also use SDL to create OpenGL windows if you want to.
__________________
http://www.klarre.se
Klarre 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
An aspiring game programmer needs your advice Emperor Community Introductions 5 Feb 10th, 2007 5:36 PM
Qesution: Program for casual game development kazbadan Other Programming Languages 20 Sep 28th, 2005 1:04 PM
Java programmers, game developers, artists, be ware! RPG game team is recruiting! atcomputers.us Paid Job Offers 7 Sep 25th, 2005 7:25 PM
Game Development question n3o_X Coder's Corner Lounge 0 Aug 5th, 2005 11:57 PM
Programmers Needed! Online Game troy_eisert C++ 2 Jan 29th, 2005 12:51 PM




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

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