Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 934 Bytes

readme.md

File metadata and controls

33 lines (20 loc) · 934 Bytes

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