StatisMike / raylib.R

R bindings for raylib graphics library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

R-CMD-check

Raylib.R

R bindings for raylib.

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.

NOTE for ADVENTURERS: raylib is a programming library to enjoy videogames programming; no fancy interface, no visual helpers, no debug button... just coding in the most pure spartan-programmers way.

Source: https://www.raylib.com

How to install

The package uses a modified version of raylib 4.0.0 in order to comply with CRAN package policies. The modified source code is included in the package.

To compile the source pacakge, the following dependencies are required:

Ubuntu

sudo apt install libasound2-dev mesa-common-dev libx11-dev libxrandr-dev libxi-dev xorg-dev libgl1-mesa-dev libglu1-mesa-dev

Fedora

sudo dnf install alsa-lib-devel mesa-libGL-devel libX11-devel libXrandr-devel libXi-devel libXcursor-devel libXinerama-devel

To install from Github run in R:

remotes::install_github("eshom/raylib.R")

Bindings are still very early in development.

About

R bindings for raylib graphics library

License:GNU General Public License v2.0


Languages

Language:C 93.5%Language:R 4.1%Language:Makefile 1.4%Language:HTML 0.6%Language:CMake 0.2%Language:Zig 0.1%Language:Shell 0.1%