Scythe
SCYTHE is a lightweight, C#-based game engine focused on modifiability and rapid iteration using Raylib.
Yet another Ruby-raylib bindings
git clone https://github.com/vaiorabbit/raylib-bindings.gitvaiorabbit/raylib-bindingsProvides Ruby bindings for raylib-related libraries including:
D:\> gem install raylib-bindings
Fetching raylib-bindings-...
...
1 gem installed
D:\> ruby -r raylib -e 'Raylib.template'
[Info] Raylib.template : C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/raylib-bindings-0.0.11/examples/template.rb => d://template.rb
[Info] Raylib.template : Done
D:\> ruby template.rb
↓
Run curated examples one by one for a short duration, terminate them, and report status:
# cross-platform
ruby script/examples_smoke_test.rb
# Windows helper
script\examples_smoke_test.cmd
# POSIX helper
sh script/examples_smoke_test.sh
Options:
--timeout 5 : per-example runtime in seconds before termination--allowlist examples/smoke_allowlist.txt : explicit list of runnable examples--list : print resolved allowlist and exit--verbose : print execution details and child output on failuresExit code policy:
0 when all examples either exit successfully or are timeout-terminatedRuby interpreter
If you need to build DLLs/shared libralies for your own runtime envrioenment (Linux, etc.):
[Windows] gcc
gcc (Rev5, Built by MSYS2 project) 16.1.0
Ruby interpreter
Compiler
[macOS] clang
$ clang --version
Apple clang version 15.0.0 (clang-1500.3.9.4)
Target: arm64-apple-darwin23.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
$ clang --version
Apple clang version 15.0.0 (clang-1500.0.40.1)
Target: arm64-apple-darwin23.0.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
$ clang --version
Apple clang version 14.0.0 (clang-1400.0.29.202)
Target: arm64-apple-darwin22.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
$ clang --version
Apple clang version 13.1.6 (clang-1316.0.21.2.5)
Target: arm64-apple-darwin21.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
$ clang --version
Apple clang version 13.1.6 (clang-1316.0.21.2.3)
Target: arm64-apple-darwin21.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
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 (Rev8, Built by MSYS2 project) 15.2.0
gcc (Rev3, Built by MSYS2 project) 13.2.0
gcc (Rev7, Built by MSYS2 project) 12.2.0
gcc (Rev10, Built by MSYS2 project) 11.2.0
gcc (Rev9, Built by MSYS2 project) 11.2.0
[Linux] gcc, clang
(x86_64) Ubuntu clang version 14.0.0-1ubuntu1
(arm64) Debian clang version 14.0.6
See the projects below to learn how to use this library:
Whac-a-Mole! : Ruby raylib bindings demo
1D dot eater : Ruby raylib bindings demo
flapper.rb : Ruby raylib bindings demo
Animal Tower : Ruby raylib bindings demo
See https://github.com/vaiorabbit/raylib-bindings/tree/main/doc/gallery/gallery.md
SetTraceLogCallback and TraceLogCallback are unusable since Ruby-FFI does not support :varargs parameter in callbacks (Proc, etc.)
For macOS users: if you get error messages like “'.... .dylib' not valid for use in process: library load disallowed by system policy” , you can work around it with the following command (although it is not recommended):
Shared libraries in lib directory are built on top of these products and are available under the terms of these licenses:
libraylib.arm64.dylib, libraylib.x86_64.dylib, libraylib.dll, libraylib.aarch64.so, libraylib.x86_64.so
raygui.arm64.dylib, raygui.x86_64.dylib, raygui.dll, raygui.aarch64.so, raygui.x86_64.so
physac.arm64.dylib, physac.x86_64.dylib, physac.dll, physac.aarch64.so, physac.x86_64.so
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-2026 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.
more like this
SCYTHE is a lightweight, C#-based game engine focused on modifiability and rapid iteration using Raylib.
Pathfinding library for calculating all node pairs' shortest paths in an unweighted undirected graph.
.Net 10 (.Net 8+) webassembly starter project using raylib-cs nuget 7.0.2 and raylib 5.5
search projects, people, and tags