Chat LIVE With Programming Experts! There Are 23 Online Right Now...

Welcome to Dream.In.Code
Become an Expert!

Join 244,117 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,404 people online right now. Registration is fast and FREE... Join Now!




What graphics library should I use?

 
Reply to this topicStart new topic

What graphics library should I use?

yanom
16 May, 2008 - 05:03 PM
Post #1

New D.I.C Head
*

Joined: 5 Apr, 2008
Posts: 46


My Contributions
I have these graphics libraries installed:

Python:
Pygame
Visual Python
C/C++:
Cairo
Allegro
SDL
g2

I am trying to start out 2d game programming and I don't know what library to choose. I am not picky about languages. I am open to Python C/C++ (and Ruby, but I don't have any graphics libraries for Ruby, or know of any). What graphics library should I use?

User is offlineProfile CardPM
+Quote Post


.Maleficus.
RE: What Graphics Library Should I Use?
17 May, 2008 - 03:27 AM
Post #2

D.I.C Head
**

Joined: 7 Mar, 2008
Posts: 129



Thanked: 2 times
My Contributions
Well, I'd go with Pygame or SDL (since Pygame is really only Python bindings for SDL), because I've never used any others. I'm actually working on a Pygame game right now, and it's pretty nice.
User is offlineProfile CardPM
+Quote Post

yanom
RE: What Graphics Library Should I Use?
17 May, 2008 - 05:25 AM
Post #3

New D.I.C Head
*

Joined: 5 Apr, 2008
Posts: 46


My Contributions
so your an SDL person, right? I'll try SDL/Pygame.

What Pygame game are you working on?


This post has been edited by yanom: 17 May, 2008 - 05:25 AM
User is offlineProfile CardPM
+Quote Post

.Maleficus.
RE: What Graphics Library Should I Use?
17 May, 2008 - 10:13 AM
Post #4

D.I.C Head
**

Joined: 7 Mar, 2008
Posts: 129



Thanked: 2 times
My Contributions
Since I'm still learning the API, I'm just going for Pong to get the functions and image stuff down. Eventually I'll make it with some cooler stuff, but for now I'm just working on image loading and that good stuff (and deciding if I should just the Game Objects library or not).
User is offlineProfile CardPM
+Quote Post

stayscrisp
RE: What Graphics Library Should I Use?
21 May, 2008 - 05:52 PM
Post #5

Dori-mu in Ko-do
Group Icon

Joined: 14 Feb, 2008
Posts: 905



Thanked: 36 times
Dream Kudos: 250
My Contributions
I recently made a platform game using SDL and C++ it was suprisingly easy to use compared to allegro which i gave up on after a while.

SDL also has a lot of extension libraries such as SDL_image (which you will want to use if you dont want to only load BMPs into your 2D game) and SDL_mixer if you want to use sound, which im guessing you do smile.gif

set up is easy, just add the .dll to your flavour of compiler and dont forget the includes, Mac and Xcode is even easier u can add the frameworks direct to your project.

C++ is the primary language in game development so id recommend you stick with it!

good luck, post your code as you go smile.gif
User is online!Profile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 7/4/09 02:35AM

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