SDL3 wrapper for Nim language
This is highly work in progress and my experiment project.
- SDL3-3.2.4
- SDL_ttf 3.0.0
- Only on Windows OS at this moment
- Trying to use ImGuin SDL3 example
First delete old version
nimble uninstall sdl3_nim
then
nimble install https://github.com/dinau/sdl3_nim
git clone https://github.com/dinau/sdl3_nim
cd sdl3_nim
make
or
pwd sdl3_nim
cd examples/basic
make run
or
pwd
sdl3_nim
cd examples/platformer
make run
The definition file of SDL3 can be updated by yourself as follows,
-
Replace src/private/SDL3 with latest officail SDL3-devel library
-
Generate definition file
pwd sdl3_nim make gen
src/sdl3_defs.nim
updated will be generated.
- Futhark 0.13.7
- nim-2.2.2
- Gcc.exe (Rev2, Built by MSYS2 project) 14.2.0
Language 1 | SDL | Project | |
---|---|---|---|
LuaJIT | Script | SDL2 | LuaJIT-Platformer |
Nelua | Compiler | SDL2 | NeLua-Platformer |
Nim | Compiler | SDL3 / SDL2 | Nim-Platformer-sdl2/ Nim-Platformer-sdl3 |
Ruby | Script | SDL3 | Ruby-Platformer |
Zig | Compiler | SDL2 | Zig-Platformer |
Language 1 | Project | |
---|---|---|
Lua | Script | LuaJITImGui |
NeLua | Compiler | NeLuaImGui |
Nim | Compiler | ImGuin, Nimgl_test, Nim_implot |
Python | Script | DearPyGui for 32bit WindowsOS Binary |
Ruby | Script | igRuby_Examples |
Zig, C lang. | Compiler | Dear_Bindings_Build |
Zig | Compiler | ImGuinZ |