dart-raylib
Языки
- Dart100%
Raylib
Dart bindings for raylib, a simple and easy-to-use library to enjoy videogames programming.
Note: This package was written for version 5.x and higher, older versions are not supported.
Currently this library does not support the following platforms:
- iOS,
is built on top of OpenGL and that isn't supported on iOS.raylib - macOS,
creates windows natively but on macOS that is only possible if you do it from the main thread but sadly the Dart VM is not the main thread. For more information check this issue and this one.raylib
Not every binding has been fully tested. If you find a bug I would appreciate it if you created an issue on the repo.
Usage
Add as a dependency to your pubspec.yaml file (what?).
Importing :
You need to tell the package where it can find your raylib library:
See the example directory for examples.
Development
Linux
You need to have both and installed:
After that you can check out the submodules:
With the submodules downloaded you can start compiling :
Then copy the compiled library to the example folder: