{"repo":"gen2brain/raylib-go","free":true,"listed":false,"github":"https://github.com/gen2brain/raylib-go","clone":"git clone https://github.com/gen2brain/raylib-go.git","description":"Go bindings for raylib, a simple and easy-to-use library to enjoy videogames programming.","language":"C","stars":2510,"topics":["game-engine","raylib","android","rpi","golang","video-game"],"license":"Zlib","category":"game-templates","readme_excerpt":"raylib-go Golang bindings for raylib, a simple and easy-to-use library to enjoy videogames programming. raylib C source code is included and compiled together with bindings. Note that the first build can take a few minutes. It is also possible to use raylib-go without cgo (see requirements below). Requirements cgo Ubuntu apt-get install libgl1-mesa-dev libxi-dev libxcursor-dev libxrandr-dev libxinerama-dev libwayland-dev libxkbcommon-dev Fedora dnf install mesa-libGL-devel libXi-devel libXcursor-devel libXrandr-devel libXinerama-devel wayland-devel libxkbcommon-devel macOS On macOS, you need Xcode or Command Line Tools for Xcode (if you have brew installed, you already have this). Windows On Windows you need C compiler, like Mingw-w64 or TDM-GCC. You can also build binary in MSYS2 shell. To remove console window, build with -ldflags \"-H=windowsgui\" . Android Android example. Wasm For web bindings, refer to Raylib-Go-Wasm; it should be largely compatible with this repository. purego (without cgo, i.e. CGO ENABLED=0) You can use raylib-go on Linux , macOS , Windows and FreeBSD without the need of cgo. 32-bit is not supported. The shared libraries (.dll, .so, .dylib) of raylib are already embedded for Linux arm64/amd64, macOS arm64/amd64 and Windows arm64/amd64. The build tag raylib no embed or the environment variable RAYLIB NO EMBED=1 can disable this feature. Installation go get -v -u github.com/gen2brain/raylib-go/raylib Build tags drm - build for Linux native DRM mode, incl","default_branch":null,"files":null,"tree":[],"storefront":"/r/gen2brain","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gen2brain/raylib-go/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}