cray v2.0.0 Release Notes

Release Date: 2018-07-21 // over 5 years ago
  • After 9 month of hard work, here it is a new version of raylib!

    In raylib 2.0 the full API has been carefully reviewed for better consistency, some new functionality has been added and the overall raylib experience has been greatly improved... The key features of new version are:

    Complete removal of external dependencies. Finally, raylib does not require external libraries to be installed and linked along with raylib, all required libraries are contained and compiled within raylib. Obviously some external libraries are required but only the strictly platform-dependant ones, that come installed with the OS. So, raylib becomes a self-contained platform-independent games development library.

    Full redesign of audio module to use the amazing mini_al audio library , along with external dependencies removal, OpenAL library has been replaced by mini_al, this brand new library offers automatic dynamic linking with default OS audio systems. Undoubtly, the perfect low-level companion for raylib audio module!

    ๐Ÿ‘Œ Support for continuous integration building through AppVeyor and Travis CI. As a consequence, raylib GitHub develop branch has been completely removed simplyfing the code-base to a single master branch, always stable. Every time a new commit is deployed, library is compiled for up-to 12 different configurations , including multiple platforms, 32bit/64bit and multiple compiler options! All those binaries are automatically attached to any new release!

    โœ… More platforms supported and tested , including BSD family (FreeBSD, openBSD, NetBSD, DragonFly) and Linux-based family platforms (openSUSE, Debian, Ubuntu, Arch, NixOS...). raylib has already been added to some package managers! Oh, and last but not less important, Android 64bit is already supported by raylib!

    ๐Ÿ‘Œ Support for TCC compiler! Thanks to the lack of external dependencies, raylib can now be easily compiled with a minimal toolchain , like the one provide by Tiny C Compiler. It opens the door to an amazing future, allowing, for example, static linkage of libtcc for runtime compilation of raylib-based code... and the library itself if required! Moreover, TCC is blazing fast, it can compile all raylib in just a few seconds!

    Refactored all raylib configuration #defines into a centralized config.h header , with more than 40 possible configuration options to compile a totally customizable raylib version including only desired options like supported file-formats or specific functionality support. It allows generating a trully ligth-weight version of the library if desired!

    ๐Ÿ†• A part of that, lots of new features, like a brand new font rendering and packaging system for TTF fonts with SDF support (thanks to the amazing STB headers), new functions for CPU image data manipulation , new orthographic 3d camera mode, a complete review of raymath.h single-file header-only library for better consistency and performance, new examples and way, way more.

    As always, examples and templates have been reviewed to work with new version (some new examples added), all included external libraries have been updated to latest stable version and latest Notepad++ and MinGW have been configured to work with new raylib 2.0.

    ๐Ÿ raylib Windows Installer package includes the following:

    • Notepad++ 7.5.7 (32bit): Code editor preconfigured for raylib, including code compilation scripts.
    • MinGW-w64 32bit (GCC 7.2.0): C/C++ Compiler including precompiled raylib library.
    • raylib Content : Code examples, Game samples, Project templates.

    Enjoy the brand new raylib 2.0!