SDL tutorials

Started by
4 comments, last by deftware 10 years, 6 months ago

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

Advertisement

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

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.

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.

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.

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

This topic is closed to new replies.

Advertisement