Movatterモバイル変換


[0]ホーム

URL:


raylib

raylib

raylib 4.5 released!

raylib »Devlog

It's been7 months since latest raylib release. As usual,many parts of the library have been reviewed and improved along those months. Many issues have been closed, staying under 10 open issues at the moment of this writting and also many PRs from contributors have been received, reviewed and merged into raylib library. Some new functions have been added and some others have been removed to improve library coherence and avoid moving too high level, giving the users the tools to implement advance functionality themselfs over raylib. Again, this is a big release with a considerable amount of changes and improvements. Here it is a small summary highlighting this newrayib 4.5.

Some numbers for this release:

  • +100 closed issues (for a TOTAL of+1340!)
  • +350 commits since previous RELEASE (for a TOTAL of+6350!)
  • +25 functions ADDED to raylib API (for a TOTAL of516!)
  • +40 functions REVIEWED/REDESIGNED
  • +40 new contributors (for a TOTAL of405!)

Highlights forraylib 4.5:

  • NEW Improved ANGLE support on Desktop platforms: Support for OpenGL ES 2.0 on Desktop platforms (Windows, Linux, macOS) has been reviewed by @wtnbgo GitHub user. Now raylib can be compiled on desktop for OpenGL ES 2.0 and linked againstANGLE. Thissmall addition open the door to building raylib for allANGLE supported backends: Direct3D 11, Vulkan and Metal. Please note that this new feature is still experimental and requires further testing!

  • NEW Camera module: A brand new implementation from scratch forrcamera module, contributed by @Crydsch GitHub user!New camera system is simpler, more flexible, more granular and more extendable. Specific camera math transformations (movement/rotation) have been moved to individual functions, exposing them to users if required. Global state has been removed from the module and standalone usage has been greatly improved; nowrcamera.h single-file header-only library can be used externally, independently of raylib. A newUpdateCameraPro() function has been added to address input-dependency ofUpdateCamera(), now advance users havefull control over camera inputs and movement/rotation speeds!

  • NEW Support for M3D models and M3D/GLTF animations: 3d models animations support has been a limited aspect of raylib for long time, some versions ago IQM animations were supported but raylib 4.5 also adds support for the brand newM3D file format, including animations and the long expected support forGLTF animations! The new M3D file format issimple, portable, feature complete, extensible and open source. It also provides a complete set of tools to export/visualize M3D models from/to Blender! Now raylib supports up to3 model file-formats with animations:IQM,GLTF andM3D.

  • NEW Support QOA audio format (import/export): Just a couple of months ago the newQOA file format was published, a very simple, portable and open source quite-ok-audio file format. raylib already supports it, added toraudio module and including audio loading from file, loading from memory, streaming from file, streaming from memory andexporting to QOA audio format.Because simplicity really matters to raylib!

  • NEW Module for compressed textures loading:rl_gputex, a portable single-file header-only small library to load compressed texture file-formats (DDS, PKM, KTX, PVR, ASTC). Provided functionality is not new to raylib but it was part of the raylibrtextures module, now it has been moved into a separate self-contained library,improving portability. Note that this module is only intended toload compressed data from files, ready to be uploaded to GPU, no compression/decompression functionality is provided. This change is a first step towards a better modularization of raylib library.

  • Reviewedrlgl module for automatic limits checking: Again,rlgl has been reviewed to simplify usage. Now users do not need to worry about reaching the internal render-batch limits when they send their triangles to draw 2d/3d,rlgl manages it automatically! This change allows agreat simplification for other modules likershapes,rtextures andrmodels that do not need to worry about bufffer overflows and can just define as many vertex as desired!

  • Reviewedrshapes module to minimize the rlgl dependency: Nowrshapes 2d shapes drawing functionsonly depend on 6 low-level functions:rlBegin(),rlEnd(),rlVertex3f(),rlTexCoord2f(),rlNormal3f(),rlSetTexture(). With only those pseudo-OpenGl 1.1 minimal functionality, everything can be drawn! This improvement convertsrshapes module in aself-contained, portable shapes-drawing library that can be used independently of raylib, as far as entry points for those 6 functions are provided by the user. It even allows to be used for software rendering, with the proper backend!

  • Added data structures validation functions: Multiple functions have been added by @RobLoach GitHub user to ease the validation of raylib data structures:IsImageReady(),IsTextureReady(),IsSoundReady()... Now users have a simple mechanism tomake sure data has been correctly loaded, instead of checking internal structure values by themselfs.

As usual, those are only some highlights but there is much more! New image generators, new color transformation functionality, improved blending support for color/alpha, etc... Make sure to check raylibCHANGELOG) for a detailed list of changes! Please, note that all breaking changes have been flagged with aWARNING in the CHANGELOG, specially useful for binding creators!

raylib keeps improving one more version with a special focus on maintainability and sustainability. Always working towards making the library moresimple and easy-to-use.

Let's keepenjoying games/tools/graphics programming! :)

Files

raylib 4.5 Windows Installer 64bit (MinGW compiler)109 MB

Get raylib

Download NowName your own price

raylib

A simple and easy-to-use library to enjoy videogames programming.

Add Tool To Collection

More posts

See all posts

Leave a comment

Log in with itch.io to leave a comment.

itch.io·View all by Ray·Report
raylibBlog

[8]ページ先頭

©2009-2025 Movatter.jp