Ruby bindings for Raylib.
Notice: This project is experimental.
- Supports Raylib v4.5
- Based on FFI
- Supported platforms:
- Windows (x64 and x86)
- MacOS
- Linux (x64)
require_relative 'lib/raylib'
init_window(800, 450, 'raylib [core] example - basic window')
until window_should_close
drawing do
clear_background(RAY_WHITE)
draw_text('Congrats! You created your first window!', 190, 200, 20, LIGHT_GRAY)
end
end
close_window