SDL 2.0 along with New Website

closed account (S6k9GNh0)
SDL 2.0 has been *officially* released. Along with it comes a new website!

http://www.libsdl.org/

Also, the documentation for SDL 2 has been completely re-done to be more complete and to fix mistakes (thanks to Ryan Gordon and Lantiga). Check it out.
Good news finally.
HW accelerated?
closed account (S6k9GNh0)
EssGeEich, eh, I guess...? It's probably recommended to use it in conjunction with a rendering library or with OGL directly. It's incredibly easy to get a OGL context running (not sure about DirectX but probably just as easy if you figure out the details).

http://wiki.libsdl.org/moin.fcg/CategoryRender
closed account (S6k9GNh0)
I'd figure I'd add on to this...

SDL 1.2 had experimental hardware accelerated renderers as well. The API didn't disallow it, it just wasn't as capable as the current API.

In addition, I see a lot of heat between SFML and SDL performance. This should be neglible (outside of perhaps event handling). If you were to make an indie game, you would absolutely never use the built-in rendering functionality of SFML since these functions use the absolute bare minimum of OpenGL to function (i.e. they're very, very slow compared to modern techniques).
closed account (N36fSL3A)
That feel

http://prntscr.com/1kwpjm
How is it related? :<
closed account (N36fSL3A)
The feeling. It's all new.
How is that even remotely on topic?
closed account (Dy7SLyTq)
are there any good 2.0 tutorials out there? all of the ones i found are still when 2.0 was in the early phase

edit: i dont even care if the api is good, they got me hooked with the fact i can change the theme :}
Last edited on
closed account (N36fSL3A)
No...

How is that even remotely on topic?
It is the feeling of all this change. Hard to explain, look it up on google.
closed account (S6k9GNh0)
The wiki has plenty of examples. What would you want a tutorial for exactly?
closed account (Dy7SLyTq)
like what lazyfoo gives
closed account (S6k9GNh0)
Actually lazyfoo provides sdl2 tutorials similar to his previous ones: http://lazyfoo.net/tutorials/SDL/

Although, I'd recommend against using software blitting tbh.
closed account (N36fSL3A)
It's only source.
closed account (Dy7SLyTq)
yeah its not really a tutorial
closed account (3qX21hU5)
Source and documentation can be just as good as a tutorial :)
They are the code samples for the 2.0 tutorial that isn't finished yet.

From http://lazyfoo.net/SDL_tutorials/index.php
A ground up recoding of this tutorial using SDL 2.0 is currently under construction. Check out the code samples for the upcoming SDL 2.0 tutorial!
Yeah, I saw that and was curious when it went stable. Apparently it went stable the first of this month. Learning SDL is on my TODO list so I'm looking forward to jumping into using it for something. Lazyfoo is a great source for learning SDL from what I have heard and if you are worried about what it can do I'd say quickly do his SDL1.2 tuts then jump straight to his SDL2 tuts to see what changes there are so the transition will be easier and not befuddle you.
Last edited on by closed account z6A9GNh0
closed account (S6k9GNh0)
I still don't get why you would actually need a tutorial. Most of his examples use blitting and repeat them selves and add per example, adding functionality from another subsection of SDL. Looks more like he's teaching you to program than how to use SDL.

What wouldn't you be able to figure out from the documentation?
Last edited on
Topic archived. No new replies allowed.