raylib-d ~addmathstuff
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:
raylib-d
(static) D bindings for raylib, a simple and easy-to-use library to learn videogames programming.
Installation
dub add raylib-d
First, get a copy of Raylib
You can get the library by compiling it from the source, download the official precompiled binaries or download them from our repository (originally taken from official releases, sorted in folders for each system).
In order to link against raylib, add it to your dub.json.
"libs": [ "raylib" ]
For more information look into the wiki.
Example
import raylib;
void main()
{
InitWindow(800, 600, "Hello, Raylib-D!");
while (!WindowShouldClose())
{
BeginDrawing();
ClearBackground(Colors.RAYWHITE);
DrawText("Hello, World!", 400, 300, 28, Colors.BLACK);
EndDrawing();
}
CloseWindow();
}
Docs / cheatsheet
License
raylib-d is licensed under an unmodified zlib/libpng license. View LICENSE.
- ~addmathstuff released 3 years ago
- schveiguy/raylib-d
- Zlib
- Copyright (c) Ramon Santamaria (@raysan5), Petro Romanovych (@onroundit), Jan Hoenig (@m3m0ry)
- Authors:
- Dependencies:
- none
- Versions:
-
5.5.1 2024-Nov-21 5.5.0 2024-Nov-18 5.0.1 2024-Jan-29 5.0.0 2023-Nov-21 4.5.2 2023-Oct-02 - Download Stats:
-
-
3 downloads today
-
102 downloads this week
-
602 downloads this month
-
4761 downloads total
-
- Score:
- 4.3
- Short URL:
- raylib-d.dub.pm