Archived

This topic is now archived and is closed to further replies.

cdxlib vs SDL ?

This topic is 5590 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 graphics libraries should I go for? SDL (www.libsdl.org) looks easier and has clear tutorials, but I think it may be a bit outdated (leans toward openGL). Cdxlib (www.cdxlib.com) seems more up-to-date (utilising DirectX, etc.) but also looks more difficult, but this is probably due to SDL''s superior tutorials (by "Marius"). SDL seems not to rely on DirectX, while it is required for cdxlib. I''d like to learn whatever will give me the best basis and basic knowledge for graphics programming to come. I''m not overly interested in 3D at the moment, as I want to be able to develop complete games by myself (maybe with a bit of help from one or two friends), and I assume 3D is just way too much for a small (one man) group. Besides, I want to learn the basics first anyway. The cdx tutorials seems to be dead links or an exercise in cutting and pasteing, but Marius''s SDL tutorials take you through every line, step-by-step. Are there any tutorials like this for cdxlib? What do you guys use and/or reccommend? Is SDL (or cdxlib) outdated? Are there any other options?

Share this post


Link to post
Share on other sites
Well, whether or not one uses opengl or not doesnt determine whether its outdated, opengl is a very commonly used API and as I understand it ogl 2 will be coming out soon. However, I do believe that SDL is the more up to date out of the two. Correct me if I''m wrong. More important is whether you wish to use opengl or directx as an API

Mindgamez Entertainment

Share this post


Link to post
Share on other sites
Hmmm, thanks for the advice.

Looks like I''m settling with SDL and Dev-C++, just because of sheer ease of use. The tutorials available are great too! I''d love to have a better look at cdxlib, but the main tutorial links from their website are broken.

I just hope that using SDL won''t deprive me of the basics I''ll need to know in order to effectively make the transition to using other (or no) graphics libraries in the future.

Share this post


Link to post
Share on other sites
Eh, SDL is platform independent, that''s a big advantage over CDXLib.If you develop on Windows SDL uses DirectX under the hood.
It''s easy to use SDL but that doesn''t mean it isn''t powerful, it has already been used in a lot of proffesional games.

Share this post


Link to post
Share on other sites