
After several years of development, the release of the
SDL 2.0.0 library has finally
taken place . Rumors about the development of the second version of SDL have been going on for a long time, but an extensive list of innovations partly explains such a long development.
The SDL library provides tools such as fast 2D-graphics output, input processing, sound playback, 3D output via OpenGL, and other operations, and it does it cross-platform. The list of platforms is extensive: Linux, Windows, Windows CE, BeOS, Mac OS X, FreeBSD, NetBSD, OpenBSD, BSD / OS, Solaris, IRIX and QNX - and in addition there are unofficial ports to other systems.
The library itself is written in C and supports C ++, however there are
binders to most popular languages. The author of libsdl was hired by Valve, whose software products make extensive use of the library. In addition, the library is now licensed under the zlib license, not the LGPLv2, as it was before, and SDL 2.0 can be used in any of its applications - although it is quite possible that this was done so that Valve could enable it on Steam for Linux.
List of changes:
- Full support for 3D acceleration;
- OpenGL 3.0+ support;
- OpenGL ES support;
- Multi-window and multi-display support;
- Support for multiple audio devices (plus support for audio output in 7.1 format);
- Android and iOS;
- API to support multi-touch;
- Simple API for 2D rendering using Direct3D, OpenGL, OpenGL ES;
- Support API feedback (force feedback) for joysticks;
- Energy management;
- XInput and XAudio2 support in Windows
- Improved multithreading;
- Removed all that annoyed in version 1.2;
- Much more .
Version 2.0 since the release candidate released in June, some indie developers and OpenSource projects are already using. Valve uses SDL 2.0 to support game controllers and for a variety of other applications.
')
Download:
SDL 2.0.0Migration Guide for version 2.0:
Migration GuideDetailed documentation (wiki):
wiki.libsdl.org/Let's Make An RPG (C ++ / SDL2) - TutorialsOther updates:
SDL_image /
SDL_mixer /
SDL_net /
SDL_ttf