• Advertisement
Sign in to follow this  

SDL tutorials

This topic is 1576 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! I am looking for a good SDL tutorials that explains what everything does. All of the ones I have seen don't explain what they are doing they just have code and then yeah I can reproduce what they did, but I have no understanding of what to do if I wanted to make my own program.  Also if it is a video tutorial that would be awesome, as it is easier for me to follow along with them.

 

thanks for the help smile.png

Edited by Mink

Share this post


Link to post
Share on other sites
Advertisement

You can check out Tim's tutorials at http://www.sdltutorials.com/, however, this site is a bit outdated as the tutorials are based off SDL 1.2.

Be sure to check out the documentation for SDL as well: http://wiki.libsdl.org/FrontPage
 

 


You're going to want to look here: lazyfoo.net/SDL_tutorials/

It's been a long time since I used this website or SDL so Im not sure if it's up to date or not

 

Lazyfoo is in the middle of adding tutorials for SDL 2.0.

Share this post


Link to post
Share on other sites

Yeah, SDL 2.0 is out and I suggest waiting, as there are some changes that are not compatible to 1.2 and the tutorials right now are a bit lacking for SDL2.

Share this post


Link to post
Share on other sites

Yeah, SDL 2.0 is out and I suggest waiting, as there are some changes that are not compatible to 1.2 and the tutorials right now are a bit lacking for SDL2.

OK thanks for the advice.

Share this post


Link to post
Share on other sites

From what I've read, on here: http://wiki.libsdl.org/MigrationGuide

 

SDL 2.0 isn't very different from 1.2. A lot of new features are added, and the video stuff has been re-factored, but 1.2 tutorials should be sufficient if you want to just get started in the meantime. You will have to resort to using 1.2 for 1.2 tutorials to work exactly, but if you read that link you will see what it is that you will have to do differently (not really much, actually) to migrate your 1.2 code over to 2.0

Share this post


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

  • Advertisement