Friday, August 19, 2022
HomeGame DevelopmentRayLib 4.2 Released – GameFromScratch.com

RayLib 4.2 Released – GameFromScratch.com


RayLib, a well-liked open supply C/C++ based mostly framework for recreation and multimedia improvement, simply launched RayLib 4.2. Almost a 12 months 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 undertaking to scale up. Of course there are a number of new options as effectively.

Highlights of the RayLib 4.2 launch embody:

raylib further libraries cleanup: raylib has been on food plan and all the additional libraries included on earlier releases have been faraway from raylib. Now raylib solely consists of the unique 7 raylib modules: rcore, rlgl, rshapes, rtextures, rtext, rmodels and raudio. But no worries, further libraries haven’t been deleted, they’ve been moved to their very own repos for higher maintainability and extra give attention to 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 include raylib further libraries in addition to different raylib add-ons offered by the group. Jeff has carried out a tremendous work on that line, offering a number of libraries and examples for raylib, like customized first-person and third individual digicam methods, Dear ImGui raylib integration, a number of particular examples and even an entire RPG Game Example! Great work Jeff! 😀

raylib examples assessment: The +120 raylib examples have been reviewed so as to add clearer details about once they had been first created (raylib model used) and once they had been up to date for the final time. But the best enchancment for customers has been the addition of an estimated problem stage for each instance, net has been up to date accordingly to replicate these problem ranges. Now examples are categorized with 1 to 4 stars relying on problem to assist customers with their studying course of. Personally, I believe this “small” addition might be a game-changer to raised information new customers on the library adoption! Additionally, this new raylib launch consists of 7 new examples; probably the most attention-grabbing one: text_codepoints_loading that illustrates the right 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 software. rres file format has been beneath improvement 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 quite a bit alongside the years. This first launch of the format specs is engine-agnostic and has been designed to be moveable to any engine, together with plenty of skilled options like information processing, compression and encryption.

raygui 3.2: The official raylib immediate-mode gui library designed for instruments improvement has been up to date to a brand new model aligned with raylib 4.2. Multiple controls have been reviewed for library consistency, now all controls comply with an analogous operate signature. It has been battle-tested with the event of +8 revealed instruments within the final months. The instruments might be seen and used free of charge within the raylib applied sciences instruments web page. Worth 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: Multiple contributors utilizing the software to automatize bindings creation have contributed with enhancements of this software to parse raylib.h (and different raylib-style headers) to tokenize its enums, structs and features. Processed information might be exported to customized file codecs (i.e XML, JSON, LUA) for bindings technology and even docs technology if required.

New file system API: Current 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 raised replicate its inside performance. Now, all raylib features that begin with Load() allocate reminiscence internally and a equal Unload() operate is outlined to care for that reminiscence internally when not required any extra!

New audio stream processors API (experimental): Now real-time audio stream information processors might 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 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 may change sooner or later however, truly, 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 Links

RayLib Homepage

RayLib GitHub

Release Notes

Complete Change Log

You can be taught extra concerning the RayLib 4.2 launch within the video under.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments