/raylib.v

A simple wrapper for raylib in V

Primary LanguageCzlib LicenseZlib

raylib.v for raylib v4.2.0

raylib.v icon

Have a problem? raylib.v currently requires the master branch of V, so please run v up before filing any issues.

Not a fork! This isn't a fork of vraylib but a wrapper built from the ground up with cross compatibility in mind. raylib.v is a binding for raylib in V with an aim for 100% parity with the C library. This probably suffices most uses for raylib at the moment, however some more advanced functionality is currently missing.

If you need said functionality, open an issue to prioritize it and bring it to my attention!

Installation

Do v install irishgreencitrus.raylibv

Followed by v show irishgreencitrus.raylibv

This displays the location of the library.

cd to this location and run v run installraylib.vsh

Don't want to use tcc? Set the CC environment variable when running the script in order to configure which C compiler is being used. The VERBOSE environment variable can also be used here if you're looking to track down a bug.

Now you should be able to run the examples! (If you cannot, create an issue)

Examples

See the examples/ folder for some examples.

Roadmap

Priorities

  • Support most common raylib.h functions
  • Support all raylib.h functions irishgreencitrus#3
  • Support all raylib.h types
  • Support all raylib.h enums
  • Add in #defines
  • Fully complete raylib.h wrapper -> v1.0.0

Extra tasks

  • More examples for how to use the library irishgreencitrus#4
  • raymath support
  • rlgl support
  • raudio support
  • physac support