Connect with us

Gaming Development

RayLib 4.5 Released – GameFromScratch.com


The cross platform, open supply C/C++ (technically C99) recreation growth framework RayLib simply launched RayLib 4.5. RayLib is full featured, very modular, accessible for a number of platforms and has language bindings for basically each trendy programming language.

Particulars of the RayLib 4.5 launch:

  • NEW Improved ANGLE help on Desktop platforms: Help for OpenGL ES 2.0 on Desktop platforms (Home windows, Linux, macOS) has been reviewed by @wtnbgo GitHub consumer. Now raylib will be compiled on desktop for OpenGL ES 2.0 and linked in opposition to ANGLE. This small addition open the door to constructing raylib for all ANGLE supported backends: Direct3D 11, Vulkan and Steel. Please observe that this new function continues to be experimental and requires additional testing!
  • NEW Digicam module: A model new implementation from scratch for rcamera module, contributed by @Crydsch GitHub consumer! New digicam system is easier, extra versatile, extra granular and extra extendable. Particular digicam math transformations (motion/rotation) have been moved to particular person capabilities, exposing them to customers if required. World state has been faraway from the module and standalone utilization has been significantly improved; now rcamera.h single-file header-only library can be utilized externally, independently of raylib. A brand new UpdateCameraPro() perform has been added to handle input-dependency of UpdateCamera(), now advance customers have full management over digicam inputs and motion/rotation speeds!
  • NEW Help for M3D fashions and M3D/GLTF animations: 3d fashions animations help has been a restricted facet of raylib for very long time, some variations in the past IQM animations had been supported however raylib 4.5 additionally provides help for the model new M3D file format, together with animations and the lengthy anticipated help for GLTF animations! The brand new M3D file format is easy, moveable, function full, extensible and open supply. It additionally offers a whole set of instruments to export/visualize M3D fashions from/to Blender! Now raylib helps as much as 3 mannequin file-formats with animationsIQMGLTF and M3D.
  • NEW Help QOA audio format (import/export): Simply a few months in the past the brand new QOA file format was printed, a quite simple, moveable and open supply quite-ok-audio file format. raylib already helps it, added to raudio module and together with audio loading from file, loading from reminiscence, streaming from file, streaming from reminiscence and exporting to QOA audio format. As a result of simplicity actually issues to raylib!
  • NEW Module for compressed textures loadingrl_gputex, a conveyable single-file header-only small library to load compressed texture file-formats (DDS, PKM, KTX, PVR, ASTC). Offered performance isn’t new to raylib however it was a part of the raylib rtextures module, now it has been moved right into a separate self-contained library, bettering portability. Word that this module is barely supposed to load compressed knowledge from information, able to be uploaded to GPU, no compression/decompression performance is supplied. This modification is a primary step in direction of a greater modularization of raylib library.
  • Reviewed rlgl module for computerized limits checking: Once more, rlgl has been reviewed to simplify utilization. Now customers don’t want to fret about reaching the interior render-batch limits after they ship their triangles to attract 2nd/3d, rlgl manages it robotically! This modification permits a nice simplification for different modules like rshapesrtextures and rmodels that don’t want to fret about bufffer overflows and might simply outline as many vertex as desired!
  • Reviewed rshapes module to attenuate the rlgl dependency: Now rshapes 2nd shapes drawing capabilities solely rely on 6 low-level capabilitiesrlBegin()rlEnd()rlVertex3f()rlTexCoord2f()rlNormal3f()rlSetTexture(). With solely these pseudo-OpenGl 1.1 minimal performance, every part will be drawn! This enchancment converts rshapes module in a self-contained, moveable shapes-drawing library that can be utilized independently of raylib, so far as entry factors for these 6 capabilities are supplied by the consumer. It even permits for use for software program rendering, with the right backend!
  • Added knowledge buildings validation capabilities: A number of capabilities have been added by @RobLoach GitHub consumer to ease the validation of raylib knowledge buildings: IsImageReady()IsTextureReady()IsSoundReady()… Now customers have a easy mechanism to be sure knowledge has been accurately loaded, as a substitute of checking inner construction values by themselfs.

Key Hyperlinks

4.5 Release Notes

RayLib Homepage

GitHub Repository

RayLib Discord

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



Source link

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *