Sign in to follow this  

Efficient Mac/PC 2D

This topic is 4857 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

Hello all, I'm looking for information on the performance of the various 2D libs out there. I'm mostly interested in PC & Mac targets. I want to make software kind of like kids software (Freddy Fish, etc). This will be completely 2D (no OpenGL accelleration) and I've identified SDL and Allegro as the two main contenders. Has anyone got performance data on how well these perform? Especially stretch-blit and alpha performance. Any other tips or recommended libs would be appreciated! ZRandom

Share this post


Link to post
Share on other sites
SDL doesn't have a built in StretchBlit function, but there is an image library that can do that for you.

I would suggest SDL, but mainly because I am in the middle of writing a tutorial series for it. See the site in my sig for details.

Share this post


Link to post
Share on other sites
Either will work. Both are nice and cross platform, though I understand Allegro is a bit easier to use (no seperate image library needed to stretch blit, at least [wink]).

So yeah, either will do, I imagine. I know Allegro can do the stretch-blit and alpha channels. SDL probably can too. Performance differences will probably be negligible.

Share this post


Link to post
Share on other sites
Quote:
Original post by PnP Bios
I don't know about alegro, but with SDL, you don't have to change anything in your source to get it to compile on different platforms.

Same with Allegro. It's really just personal preference.

Share this post


Link to post
Share on other sites

This topic is 4857 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this