raylib-d2 3.1.1

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:

ARCHIVED

This was a resurrected copy of onroundit's raylib-d package. In the meantime, onroundit has redirected the dub package to point at my repository for raylib-d. Which means, this package is no longer required. I will leave this up in case anyone is depending on it currently, but I will release 3.1.1 which will warn people the package is not maintained, and to switch to raylib-d.

raylib-d2 DUB

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

Installation

dub add raylib-d2

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).

"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.

Authors:
  • ONROUNDIT
Dependencies:
none
Versions:
3.1.1 2021-Mar-19
3.1.0 2021-Mar-12
3.0.3 2021-Mar-12
3.0.2 2021-Mar-12
3.0.1 2021-Mar-12
Show all 8 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 1 downloads this month

  • 14 downloads total

Score:
1.0
Short URL:
raylib-d2.dub.pm