Skip to main content
GameDev.net gamedev.net
🔒 Locked

SDL tutorials

Started by Mink Sep 29, 2013 at 1:19 AM 4 replies 3.4k views
Original Post
Mink
Mink

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

Ludus
Ludus

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.

farmdve
farmdve

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.

Mink
Mink

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.

deftware
deftware

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

[ deftware.org ]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.