This is examples project using ruby-imgui library.
- ImGui / CImGui 1.91.8 (2025/02)
- WindowsOS 10 or later
- LinuxOS : N/A
- Ruby 3.1.x or later installed: https://rubyinstaller.org/downloads/
OK: with or without Devkit - MSys2 command line tools
Note: Specify imgui-bindings version 0.1.17
at this moment.
gem install imgui-bindings:0.1.17 sdl2-bindings stbimage aibika
git clone https://github.com/dinau/igruby_examples
cd igruby_examples
cp dlls_extra/*.dll c:/Ruby34-x64/bin/ # Specify your Ruby bin folder
glfw_opengl3, sdl2_opengl3(WIP), sdl2_renderer(WIP)
Image load and magnifying glass
For executing program for example,
pwd
igruby_examples
cd glfw_opengl3
ruby glfw_opengl3.rb # Or double click glfw_opengl3.rbw in file explorer
Image load and magnifying glass
For executing program for example,
pwd
igruby_examples
cd glfw_opengl3_jp
ruby glfw_opengl3_jp.rb # Or double click glfw_opengl3_jp.rbw in file explorer
Icon fonts viewer
For executing program for example,
pwd
igruby_examples
cd glfw_opengl3_iconfont_viewer
ruby glfw_opengl3_iconfont_viewer.rb # Or double click glfw_opengl3_iconfont_viewer.rbw in file explorer
Generating single EXE file on Windows OS with Aibika
For instance,
pwd
igruby_examples
cd glfw_opengl3
make
That's all !
glfw_opengl3.exe
will be generated in current folder.
- Ruby 3.4.1 (2024-12-25 revision 48d4efcb85) +PRISM [x64-mingw-ucrt]
- Cmake version 3.31.4
- Gcc.exe (Rev2, Built by MSYS2 project) 14.2.0
- Git version 2.46.0.windows.1
- Make: GNU Make 4.4.1
- Using Ruby-ImGui project
Language | Project | |
---|---|---|
Nim | Compiler | ImGuin, Nimgl_test, Nim_implot |
Lua | Script | LuaJITImGui |
Zig, C lang. | Compiler | Dear_Bindings_Build |
Zig | Compiler | ImGuinZ |
NeLua | Compiler | NeLuaImGui |
Python | Script | DearPyGui for 32bit WindowsOS Binary |
Language | Project | |
---|---|---|
Nim | Compiler | Nim-Platformer/ sdl3_nim |
LuaJIT | Script | LuaJIT-Platformer |
Nelua | Compiler | NeLua-Platformer |
Zig | Compiler | Zig-Platformer |