Sign in to follow this  

SDL or Allegro

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

Which one is easiest to use? Also, if it isn't to much of a hassle, could someone link me to a couple of good tutorials for both libraries so that I have an easier time learning them. Thanks. Oh, I'm using C++ and VS.net if that matters for anything.

Share this post


Link to post
Share on other sites
Quote:
Original post by valsar
Which one is easiest to use?

Also, if it isn't to much of a hassle, could someone link me to a couple of good tutorials for both libraries so that I have an easier time learning them.

Thanks.

Oh, I'm using C++ and VS.net if that matters for anything.


Here's an easier question what's the meaning of life, the unified theory, or what exactly is gravity?

I prefer just researching on both of them. I can personally say SDL is a piece of cake, well sorta in areas, and I can say I haven't used allegro, but good luck. If allegro is easier if you find this answer out let me know.

Good Luck,

Share this post


Link to post
Share on other sites
Generally "which is easiest" and "which is best" threads don't fair too well because they're largely subjective and/or it depends on skill level. That is what's simple for one person might not be for another.

Both libraries have pre-compiled binaries that support various compilers, including Microsoft Visual Studio. Last I checked both had builds that would work under Visual C++ v7.


Neither library is particularly hard to use though Allegro does include pre-defined functions to do various tasks like blits (masked, stretch, and standard), load routines for various formats, and support for different sprite types (RLE, compiled etc). For a little more coding though, SDL allows greater access to it's underlying structures etc. Both libraries will let take advantage of OpenGL. Though which is easier depends a great deal on what you want to do.
For example, if you wanted to read a custom resource file that holds all your graphics etc SDL would be easier. Allegro comes with function to support it's own resource file format, but does really support customization unless you want to go digging in the source for clues how to right your own loading routine.

As for tutorials I've found Allegro's documentation to be sufficient in most cases, but I did run accross http://loomsoft.net/resources/alltut/alltut_index.htm.

For SDL tutorials I use LazyFoo.net

I would say try a little of both and decide for yourself.

Anyway, hope this help at least a little and good luck.

Share this post


Link to post
Share on other sites

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