Yet another raylib wrapper for Ruby
Provides latest raylib API for Ruby
- Created : 2021-10-17
- Last modified : 2022-01-08
Features
- Generated semi-automatically
- Based on Ruby/FFI
- No need to build C extension library
Prerequisites
Ruby interpreter
- Tested on:
- [macOS]
- ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [arm64-darwin20]
- ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [arm64-darwin20]
- [Windows] https://rubyinstaller.org/downloads/ Ruby+Devkit
- ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x64-mingw32]
- [macOS]
- Tested on:
Compiler
Tested on:
[macOS] clang
Apple clang version 13.0.0 (clang-1300.0.29.3) Target: arm64-apple-darwin20.6.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin[Windows] gcc
gcc (Rev5, Built by MSYS2 project) 10.3.0
Limitation
-
SetTraceLogCallbackandTraceLogCallbackare unusable since Ruby-FFI does not support:varargsparameter in callbacks (Proc, etc.)
License
Shared libraries in lib directory are built on top of these products and are available under the terms of these licenses:
-
libraylib.dylib,libraylib.dll -
raygui.dylib,raygui.dll -
physac.dylib,physac.dll
All ruby codes here are available under the terms of the zlib/libpng License ( http://opensource.org/licenses/Zlib ).
Ruby-raylib : Yet another raylib wrapper for Ruby Copyright (c) 2021-2022 vaiorabbit http://twitter.com/vaiorabbit
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source
distribution.