Video game engines with Dlang.
evilrat
evilrat666 at gmail.com
Sun Oct 29 07:30:15 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).
Although not technically a D engine there is Godot engine and
godot-dlang bindings for it which you can use to write engine
plugins and game logic in D (though for most parts I would just
stick to built-in scripting language).
I guess godot is the only thing if you are ever to finish and
publish a game. While there is low-level libs and even frameworks
like Dagon/Raylib, making an entire game with them is way too
much work for a single person.
(Unless of course it is not a micro scope level with just one
game screen like tic-tac-toe)
> 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.
It's probably to troll the reader. There is also missing
attributes like 'scope' and 'return'.
No seriously, there was complaints about attribute soup in the
past but honestly i'm not sure if this will even compile.
If you are honestly asking though, just use what you really need,
no need to slap every possible attribute.
More information about the Digitalmars-d
mailing list