On Monday, 5 August 2013 at 19:03:29 UTC, Jonathan A Dunlap wrote:
Take a look at https://github.com/Jebbs/DSFML
The autor, aubade, me and few other guys are trying to
maintain the project. I wrote a small tutorial on the wiki.
And we have plans on documenting it, adding unittests and much
more.
Great stuff, Borislav. The basic tutorial
https://github.com/Jebbs/DSFML/wiki/Short-example helps a lot
to grok how to get your feet wet. I'm looking forward to seeing
more tutorials like this.
Thanks! Bear in mind that the autor is working on splitting the 5
modules into separate files for each class. That is because
currently everything is too cluttered into one file for each sfml
sub-module. See the Experimental branch, it is almost done. After
the change you would be able to more easily browse code and the
only change you would have to make is in the imports. So instead
of:
import dsfml.system; -> import dsfml.system.all;
or import specific classes:
import dsfml.system.vector; //or something like that
Also about building and assembling everything together, see
https://github.com/Jebbs/DSFML/issues/34
A build.d script is being worked on and things like adding more
documentation, unittests and examples are being worked on too.
Also an suggestion has been made to add dsfml to the DUB package
manager(that is used by vibe.d) and is something similar to
ruby's gems manager.
And now that Direlict has been mentioned, I suggest you to not
use it for sfml. It is just a collection of c-bindings of popular
libraries.