https://github.com/vlang/raylib
Up-to-date, auto-generated Raylib (and Raymath) bindings for V
https://github.com/vlang/raylib
raylib raylib-binding vlang vlang-package
Last synced: 26 days ago
JSON representation
Up-to-date, auto-generated Raylib (and Raymath) bindings for V
- Host: GitHub
- URL: https://github.com/vlang/raylib
- Owner: vlang
- License: mit
- Created: 2024-11-26T17:07:26.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-05-15T08:14:43.000Z (5 months ago)
- Last Synced: 2025-06-21T21:49:46.383Z (4 months ago)
- Topics: raylib, raylib-binding, vlang, vlang-package
- Language: C
- Homepage:
- Size: 1.63 MB
- Stars: 45
- Watchers: 4
- Forks: 4
- Open Issues: 8
-
Metadata Files:
- Readme: readme.md
- License: license-mit.txt
Awesome Lists containing this project
README
# Raylib for V
> Up-to-date, auto-generated Raylib (and Raymath) bindings for V
Current Raylib Target: v5.5
## Installation
`v install raylib`
## Usage
Barring a small handful of differences, it is the exact same as Raylib's C API.
Differences:
- Functions and parameters are renamed from `PascalCase` to `camel_case`
- Colours are V constants, not as macros
- Any function that uses or returns a C-string instead uses a V-string## Why?
There are already a handful of V Raylib bindings, but they almost all are out-of-date or
are poorly maintained. For that reason, I decided to do it myself.I also wanted to have documentation comments in the bindings, which is not provided by
many Raylib bindings in general as far as I know.## License
The Raylib headers are licensed under their respective licenses, which is Zlib.
Everything else is dual-licensed under MIT and the Unlicense, use whichever works best
for you! :D