raylib-d 3.7.0

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 DUB

(static) D bindings for raylib, a simple and easy-to-use library to learn videogames programming.

Note: this is a resurrected copy of the original raylib-d. The original author, onroundit (Petro Romanovych) deleted his github acccount. Therefore, many things in here are broken, and some of the history is lost for good. I will accpet any PRs that fix broken links or replace original data, but the code history itself is intact.


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. The local copies of binaries are no longer available, as that history was lost.

Note: version 3.7.0 of raylib (the latest as of this writing) is supported by raylib-d version 3.1.x. Version 3.0.0 of raylib is supported in version 3.0.x of raylib-d. These releases are binary incompatible but may link with each other. If you use the wrong raylib binary with raylib-d, bad things (including memory corruption) may happen due to struct layout differences! Any suggestions on how to identify these problems during compilation are most welcome!

"libs": [ "raylib" ]

(Note: this is missing, but may be available from wayback machine)

For more information look into the wiki.


import raylib;

void main()
	InitWindow(800, 600, "Hello, Raylib-D!");
	while (!WindowShouldClose())
		DrawText("Hello, World!", 400, 300, 28, Colors.BLACK);

Note: this is missing, but may be available from wayback machine

Docs / cheatsheet


raylib-d is licensed under an unmodified zlib/libpng license. View LICENSE.

5.0.0 2023-Nov-21
4.5.2 2023-Oct-02
4.5.1 2023-Apr-10
4.5.0 2023-Mar-25
4.2.4 2022-Nov-18
Show all 24 versions
Download Stats:
  • 0 downloads today

  • 4 downloads this week

  • 66 downloads this month

  • 1870 downloads total

Short URL: