A complete header translation (binding) of the raylib 5.0 to Pascal. Without any funky helper functions for memory alignment issues. Inspired and partially based on the drezgames/raylib-pascal binding, however a little cleaner and more recent, with FPC 3.2.0 and up support.
Ray4Laz is a header translation of the Raylib Game Development Library for the Lazarus project.
raylib is a simple and easy-to-use library to enjoy videogames programming.
raylib is highly inspired by Borland BGI graphics lib and by XNA framework and it's specially well suited for prototyping, tooling, graphical applications, embedded systems and education.
Header | Supported |
---|---|
raylib.h | :heavy_check_mark: |
raymath.h | :heavy_check_mark: |
rlgl.h | :heavy_check_mark: |
raygui.h | :heavy_check_mark: |
physac.h | :heavy_check_mark: |
OS | Supported |
---|---|
Mac | ❓ no tested |
Windows | :heavy_check_mark: |
Linux | :heavy_check_mark: |
Haiku | :heavy_check_mark: |
ReactOS | :heavy_check_mark: |
raylib binary releases for Windows, Linux and macOS are available at the Github Releases page.
raylib Wiki contains detailed instructions on building and usage on multiple platforms.
select the package menu, open the network package manager.
select ray4laz package and install.
create a new project (Ray Simple Project).
enjoy !!!
clone this repository, then use 'fpc-wrapper.sh' or 'fpc-wrapper.bat' as your compiler. this script automatically feeds fpc with the necessary arguments.