Jump to content
  • Advertisement
Sign in to follow this  
swinchen

2D Graphics/Game Library?

This topic is 4854 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all, I was just wondering if anyone can recommend an open source (cross platform) 2D graphics library that would be helpful in creating a 2D sprite/tile based game. I have found a lot of helpful 3D libraries, but I think I would like to start out with 2D. I once read (I forget where) that using OpenGL for a tile based game is often not the best way to do things. If you have any suggestions, please let me know. Thanks, Sam

Share this post


Link to post
Share on other sites
Advertisement
yes, sorry, I am talking about C/C++ (I can't decide which one I like better..)

SDL you say. Alright I will look into it. Performance wise it is alright?

Thanks for the suggestion.

Sam

Share this post


Link to post
Share on other sites
Like some of the above posters have mentioned, I'd say SDL. It is really good because it makes putting graphics onscreen a breeze. I read through 1 or 2 of the Cone3D tutorials and I was able to get a small sprite up on the screen that I could move around.

Share this post


Link to post
Share on other sites
Hmmm... that END_OF_MAIN() macro looks a little funny (Allegro) I am not sure what I think of trickery like this. I know SDL does something funny too with SDLmain. I have been using GLFW for OpenGL windowing etc... I like how it seems pretty standard.

Share this post


Link to post
Share on other sites
I have never seen anything like the END_OF_MAIN() before. Actually, it is the first time I have ever seen anything come after the main {}. I think it is some wanky MS Windows thing, but I am not sure what. I found it in the alwin.h header file, but I couldnt really follow what it was doing. I believe it has something to do with WinMain vs. main. I guess I don't really blame allegro as much as windows.

Sam

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!