re-raylib-d ~master
D binding for Raylib
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:
NOTE; THIS HAS BEEN SUPERSEDED BY DRAY https://github.com/xdrie/dray
re-raylib-d
(static) D bindings for raylib, a simple and easy-to-use library to learn videogames programming. this is based on a fork of raylib, and a fork of the original raylib-d.
Installation
dub add re-raylib-d
First, get Raylib
these bindings are for this branch (3.0.0_patch
) of raylib.
In order to link against raylib, add it to your dub.json.
"libs": [ "raylib" ]
Sample
import raylib;
void main()
{
InitWindow(800, 600, "Hello, World!");
while (!WindowShouldClose())
{
BeginDrawing();
ClearBackground(Colors.RAYWHITE);
DrawText("Hello, World!", 400, 300, 28, Colors.BLACK);
EndDrawing();
}
CloseWindow();
}
docs
refer to the official cheatsheet.
License
re-raylib-d is licensed under an unmodified zlib/libpng license. View LICENSE.
- Registered by redthing1
- ~master released 3 years ago
- redthing1/re-raylib-d
- Zlib
- Copyright (c) Ramon Santamaria (@raysan5), Petro Romanovych (@onroundit), Jan Hoenig (@m3m0ry)
- Authors:
- Dependencies:
- none
- Versions:
-
3.0.6 2020-Jul-25 3.0.5 2020-Jul-24 3.0.4 2020-Jul-23 3.0.3 2020-Jul-23 ~master 2021-Mar-16 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
29 downloads total
-
- Score:
- 0.3
- Short URL:
- re-raylib-d.dub.pm