dray ~master
raylib bindings for dlang
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
dray
dlang bindings to redthing1 raylib v5.0.0 (based on the official upstream 5.0.0 release).
patches:
raygui
included- HIDPI enabled
physac
included
usage
all you need to do is add this package as a dependency and it should automatically build the Raylib C library and link it in.
if for some reason you want to use a custom build, just place your own libraylib.a
in the package root (usually something like ~/.dub/packages/dray_xxx
.
note that raylib
has some of its own dependencies such as OpenGL.
build (unix/linux/mac)
simply run a build as usual. a script will clone and build raylib from source.
dub build
build (windows)
place the static libraries for GLFW and a static libraries from a prebuilt raylib (with raygui) in your dray package dir. prebuilt libraries are available here:
then, run a build as usual, which will compile the bindings.
dub build
refer to this github actions workflow for more details.
demo
see demo, which demonstrates a simple application using these Raylib bindings.
- ~master released 5 months ago
- redthing1/dray
- apache-2.0
- Copyright (c) 2013-2020 Ramon Santamaria (@raysan5), Copyright © 2020, redthing1
- Authors:
- Dependencies:
- fluent-asserts
- Versions:
-
5.0.0-r5 2024-Jul-16 5.0.0-r4 2024-Jul-15 5.0.0-r3 2024-Jul-15 5.0.0-r2 2024-Jul-15 5.0.0-r1 2024-Jul-13 - Download Stats:
-
-
0 downloads today
-
2 downloads this week
-
8 downloads this month
-
1895 downloads total
-
- Score:
- 1.8
- Short URL:
- dray.dub.pm