raylib-ruby
raylib-ruby copied to clipboard
Ruby bindings for raylib, a simple and easy-to-use library to enjoy videogames programming.
For example `Raylib.load_model("resources/models/iqm/guy.iqm")` only works if I write it as `Raylib.load_model("/Users/wilson/projects/rb/raylib/examples/models/resources/models/iqm/guy.iqm")`
Hi! I've tried to play with the project a bit, but I don't manage to get the script to run. I get this error: ``` julik@jet $ ruby window.rb /Users/julik/.rbenv/versions/3.3.1/lib/ruby/gems/3.3.0/gems/ffi-1.17.0-x86_64-darwin/lib/ffi/library.rb:216:in...
Ruby has recently introduced support for web compilation. I'm not sure how well it works with Emscriptien/FFI libraries.
In `textures_bunnymark.c/rb`, it is possible to configure `MAX_BATCH_ELEMENTS`. This is a compile-time macro that is not available in Ruby. It should be exposed. // This is the maximum amount of...
Here's an example: https://github.com/wilsonsilva/raylib-ruby/blob/8491d2d982af782990c49f71a4038741c0804336/examples/audio/audio_mixed_processor-broken.rb#L33-L60
This gets examples working again, but I might have missed something.