Welcome to Dream.In.Code
Getting Help is Easy!

Join 117,543 Programmers for FREE! Ask your question and get quick answers from experts. There are 1,727 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! 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
post 16 May, 2008 - 06: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

Go to the top of the page


.Maleficus.
post 17 May, 2008 - 04:27 AM
Post #2


D.I.C Head

**
Joined: 7 Mar, 2008
Posts: 119



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

Go to the top of the page

yanom
post 17 May, 2008 - 06: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 - 06:25 AM
User is offlineProfile CardPM

Go to the top of the page

.Maleficus.
post 17 May, 2008 - 11:13 AM
Post #4


D.I.C Head

**
Joined: 7 Mar, 2008
Posts: 119



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

Go to the top of the page

stayscrisp
post 21 May, 2008 - 06:52 PM
Post #5


D.I.C Head

**
Joined: 14 Feb, 2008
Posts: 227



Thanked 5 times
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 offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 10/7/08 05:49PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month