Video game engines with Dlang.

Sergey kornburn at yandex.ru
Sun Oct 29 06:31:28 UTC 2023


On Sunday, 29 October 2023 at 05:06:55 UTC, Shuba wrote:
> I've been searching the internet looking for game engines that 
> I can use Dlang to program, but they are always the same ones; 
> say Dagon, Raylib, Derelict and even BindBC. But I wanted to 
> ask you if you could mention any other game engine that uses D 
> for programming that I might not know, it would help me a lot 
> (I guess).

There are hundreds of libraries related to games/game development.
https://code.dlang.org/?sort=updated&limit=20&category=application.desktop.game

Or you can just search "engine" on code.dlang.org and you will 
find many different engines.

Worth to mention Hipreme engine 
(https://github.com/MrcSnm/HipremeEngine) for advanced developers.

> Incidentally, could someone explain to me what exactly this 
> does:
>
>     "public final pure nothrow @property @safe @safe @nogc ref 
> File file file() {
>             return _file;
>     }"
>
> It's code from a dub package (specifically one called 
> "terminal"), but I don't understand why all that.

Just return private File member of the class in the property.


More information about the Digitalmars-d mailing list