Monday, September 16, 2024
HomeGame DevelopmentRayLib 4.2 Launched – GameFromScratch.com

RayLib 4.2 Launched – GameFromScratch.com


RayLib, a preferred open supply C/C++ based mostly framework for recreation and multimedia growth, simply launched RayLib 4.2. Nearly a yr after the launch of RayLib 4.0, RayLib 4.2 has seen speedy development within the variety of contributors and far of the event of this launch ought to make it simpler for the mission to scale up. In fact there are a number of new options as properly.

Highlights of the RayLib 4.2 launch embrace:

raylib additional libraries cleanup: raylib has been on food regimen and all the additional libraries included on earlier releases have been faraway from raylib. Now raylib solely contains the unique 7 raylib modules: rcore, rlgl, rshapes, rtextures, rtext, rmodels and raudio. However no worries, additional libraries haven’t been deleted, they’ve been moved to their very own repos for higher maintainability and extra deal with its performance. The libraries moved out from raylib repo are: raygui, physac, rmem, reasings and raudio (standalone mode). On that very same line, a brand new superb GitHub group: raylib-extras has been created by @JeffM2501 to comprise raylib additional libraries in addition to different raylib add-ons offered by the group. Jeff has performed a tremendous work on that line, offering a number of libraries and examples for raylib, like customized first-person and third individual digicam techniques, Pricey ImGui raylib integration, a number of particular examples and even an entire RPG Recreation Instance! Nice work Jeff! 😀

raylib examples evaluate: The +120 raylib examples have been reviewed so as to add clearer details about after they had been first created (raylib model used) and after they had been up to date for the final time. However the biggest enchancment for customers has been the addition of an estimated issue stage for each instance, net has been up to date accordingly to replicate these issue ranges. Now examples are categorised with 1 to 4 stars relying on issue to assist customers with their studying course of. Personally, I feel this “small” addition may very well be a game-changer to higher information new customers on the library adoption! Moreover, this new raylib launch contains 7 new examples; probably the most fascinating one: text_codepoints_loading that illustrates the way to load and draw customized codepoints from a font file, very helpful for Asian languages.

rres 1.0: New rres sources packaging file-format, together with a rres-raylib library implementation and rrespacker device. rres file format has been underneath growth for +8 years and it was initially created to be a part of raylib. It was extremely impressed by XNA XNB sources file format however design has modified lots alongside the years. This primary launch of the format specs is engine-agnostic and has been designed to be transportable to any engine, together with a lot of skilled options like information processing, compression and encryption.

raygui 3.2: The official raylib immediate-mode gui library designed for instruments growth has been up to date to a brand new model aligned with raylib 4.2. A number of controls have been reviewed for library consistency, now all controls comply with an identical perform signature. It has been battle-tested with the event of +8 printed instruments within the final months. The instruments will be seen and used without spending a dime within the raylib applied sciences instruments web page. Value mentioning that a number of of these instruments have been open sourced for anybody to make use of, compile, contribute or learn the way the code works.

raylib_parser: A number of contributors utilizing the device to automatize bindings creation have contributed with enhancements of this device to parse raylib.h (and different raylib-style headers) to tokenize its enums, structs and features. Processed information will be exported to customized file codecs (i.e XML, JSON, LUA) for bindings era and even docs era if required.

New file system API: Present API has been redesigned to be extra complete and higher aligned with raylib naming conventions, two new features are offered LoadDirectoryFiles()/LoadDirectoryFilesEx() to load a FilePathList for offered path, supporting extension filtering and recursive listing scan. LoadDroppedFiles() has been renamed to higher replicate its inside performance. Now, all raylib features that begin with Load() allocate reminiscence internally and a equal Unload() perform is outlined to handle that reminiscence internally when not required any extra!

New audio stream processors API (experimental): Now real-time audio stream information processors will be added utilizing callbacks to performed Music. It permits customers to create customized results for audio like delays of low-pass-filtering (instance offered). The brand new API makes use of a callback system and it’s nonetheless _ extremely experimental_, it differs from the same old stage of complexity that gives raylib and it’s supposed for advance customers. It might change sooner or later however, really, raudio module is within the highlight for future updates; miniaudio implements a brand new higher-level API that may be helpful sooner or later for raylib.

Key Hyperlinks

RayLib Homepage

RayLib GitHub

Launch Notes

Full Change Log

You’ll be able to study extra in regards to the RayLib 4.2 launch within the video under.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments