Skip to content

Valentine90/raylib-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Status PyPi license

Ruby bindings for Raylib.

Notice: This project is experimental.

Features

  • Supports Raylib v4.5
  • Based on FFI
  • Supported platforms:
    • Windows (x64 and x86)
    • MacOS
    • Linux (x64)

Example

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

Releases

No releases published

Packages

 
 
 

Languages