D game engine -- Any suggestions?

ponce contact at gam3sfrommars.fr
Wed Nov 20 00:43:36 PST 2013


On Wednesday, 20 November 2013 at 07:48:21 UTC, Mineko wrote:
> Yo, I'm starting off a new game engine designed around D, and I 
> just wanted to know if some of you might be kind enough to 
> review some of my base code and tell me if I need to change 
> anything in it.. While it's small. ;_;
>
> I'm still learning D, I quite like it, the power of C++ in some 
> parts, and the ease of Java in others. (Good job Walter!)
>
> Anyway here, check it out, only ones you really need to pay 
> attention to are main.d, time.d, and input.d.
>
> https://github.com/ICGCC/Breaker-3D-Game-Engine
>
> Thanks for helping out a newbie, and if you want to contribute 
> to it, even better!
>
> ..That and if I'm using the GPL right. >_____>"

- Well for a start, 600 lines of license headers is a bit too 
much. You can just refer to your license file in a two-line 
header (+copyright).

- PI is defined in std.math

- a class is public by default unless noted otherwise, unlike Java



More information about the Digitalmars-d-learn mailing list