SFML community forums

General => General discussions => Topic started by: Laurent on March 09, 2013, 10:03:46 pm

Title: SFML bindings (information for the new website)
Post by: Laurent on March 09, 2013, 10:03:46 pm
Hi

I open this thread to collect information about all the SFML bindings that exist, for the corresponding page on the new website.

If you wrote a SFML binding, please tell me the following few pieces of information:
- name of the binding (and logo if you have one)
- language
- name of the author (and e-mail address, if you want)
- website

I only build a list of bindings based on SFML 2. However, I accept inactive/abandonned bindings -- as long as they are based on SFML 2. Of course, the binding must be complete and working.
Title: Re: SFML bindings (information for the new website)
Post by: pdinklag on March 10, 2013, 12:15:09 pm
JSFML is for Java 7 and based on SFML 2.0.

The latest test release based on a snapshot from early February should be working on all "major" operating systems (Windows, Mac OS/X and at least Debian-based Linuxes, needs a lot more testing and feedback). It currently lacks updates, but that's because I'm in a exam-heavy phase.

The API is mostly complete and fully functional (as tested) and only lacks SFML's February and March changes. Future changes for a release candidate will face performance and cross-platform compatibility.

The website is http://www.jsfml.org/
The design and logo (see attachment) might be changed once a new SFML logo has been determined. I wanted it to look a bit like Oracle's Red, it hasn't much to do with the original SFML one.

Author: Patrick Dinklage (pdinklag at gmail dot com)
Mac OS/X Support by Hiura / mantognini



[attachment deleted by admin]
Title: Re: SFML bindings (information for the new website)
Post by: Haze on March 10, 2013, 10:22:04 pm
I open this thread to collect information about all the SFML bindings that exist, for the corresponding page on the new website.
Authors of bindings for SFML may not browse the forum on a regular basis and miss this thread.
Maybe you should contact them yourself if you want an up-to-date report.

Anyway, here's a quick list of SFML bindings I've found, with contact info:

Title: Re: SFML bindings (information for the new website)
Post by: Laurent on March 11, 2013, 07:47:01 am
Awesome, thanks :)
Title: Re: SFML bindings (information for the new website)
Post by: jDralliam on March 16, 2013, 06:04:35 pm
Ocsfml is an Ocaml binding of SFML 2.
It is almost complete, but there are still some TODO comments in the code...

Website: https://github.com/JoeDralliam/Ocsfml (https://github.com/JoeDralliam/Ocsfml)
Authors: Jun Maillard, Kenji Maillard
Title: Re: SFML bindings (information for the new website)
Post by: aldacron on March 17, 2013, 09:55:37 am
Already mentioned above, but here's the full info:

DerelictSFML2 (part of the Derelict 3 bindings collection)
D Programming Language
Mike Parker (aldacron@gmail.com)
https://github.com/aldacron/Derelict3/ (https://github.com/aldacron/Derelict3/)
Title: Re: SFML bindings (information for the new website)
Post by: Groogy on March 17, 2013, 12:01:32 pm
Haze kind of already covered me but I have a logo as well.

Name: rbSFML
Language: Ruby (Only two implementations supported so far, MRI and Rubinius)
Status: Active (Whenever I have time)
Author: Henrik Valter Vogelius Hansson, groogy@groogy.se
Logo: http://groogy.se/mainsite/wp-content/uploads/2012/04/1137918274bf18acff14d4c726ae5efd9d5648ae.png
Website: www.groogy.se

The website is not dedicated to rbSFML entirely, it's my portfolio website so it also contains updates for rbSFML. Like recent post would be that rbSFML now supports Rubinius. If you feel I should create a dedicated page to rbSFML I could do that as well.

Also thanks to the one that did the logo for me :) I think it was David if I remember correctly :)
Title: Re: SFML bindings (information for the new website)
Post by: krzat on March 17, 2013, 12:20:50 pm
SFML-D: https://github.com/krzat/SFML-D
Last update 5 monts ago
Author: krzat

Info: Not active. I tested only basic things(and only on windows).
Title: Re: SFML bindings (information for the new website)
Post by: Sonkun on March 17, 2013, 01:48:35 pm
I confirm for my bindings and if it hasn't been updated for 20 days, that's because I'm busy with other tasks related to it such porting other SFML-based library to make them compatible with the bindings.
Title: Re: SFML bindings (information for the new website)
Post by: Laurent on March 17, 2013, 03:51:52 pm
Quote
Info: Not active. I tested only basic things(and only on windows).
Do you think it is worth mentioning? Is it something that can be useful to D programers, especially compared to the other D binding?
Title: Re: SFML bindings (information for the new website)
Post by: daemon on March 17, 2013, 05:28:32 pm
GoSFML2
*Language: Go
*Author: krepa098
*Website: https://bitbucket.org/krepa098/gosfml2 (https://bitbucket.org/krepa098/gosfml2), https://bitbucket.org/krepa098/gosfml2-samples (https://bitbucket.org/krepa098/gosfml2-samples) (samples)
*Status: Currently close to no progress as I'm working on an other project. I keep it compilable with sfml-git though.
Title: Re: SFML bindings (information for the new website)
Post by: Sonkun on March 17, 2013, 11:21:08 pm
Name: python-sfml
Language: Python
Status: Active
Author: Jonathan De Wachter & Edwin Marshall
Website: www.python-sfml.org
Title: Re: SFML bindings (information for the new website)
Post by: krzat on March 18, 2013, 02:26:53 pm
Quote
Info: Not active. I tested only basic things(and only on windows).
Do you think it is worth mentioning? Is it something that can be useful to D programers, especially compared to the other D binding?
You can keep it on list until another user(http://en.sfml-dev.org/forums/index.php?topic=9387.msg74976#msg74976) finishes his binding.

Derelict3 is just wrapper for CSFML functions, so mine may be more useful.
Title: Re: SFML bindings (information for the new website)
Post by: Laurent on March 18, 2013, 02:42:36 pm
Ok, I'll put it in the list.
Title: Re: SFML bindings (information for the new website)
Post by: ocaml-sfml on March 18, 2013, 07:41:55 pm
Name: ocaml-sfml
Language: OCaml
Website: http://ocaml-sfml.forge.ocamlcore.org/
Status: Active
Main-Author: Florent Monnier
Contributor: Jérémie Dimino

---------------


The very last version is not in the svn, it's a snapshot in the download directory.
On the website, clic on the link:
  "other downloads (older and experimental)"

the most recent snapshot is currently:
ocaml-sfml-2.0RC-git-2012-10-09.tgz

but my local version is much more recent than that.
(I'll try to make a more recent snapshot soon(tm))

I'm coming here almost every week, in order to know when I can release it.
I would like that there is a second RC, so that I could tell to the users in the README that the snapshot is made to compile against the second RC, but I've noticed that there are still (minor) API changes in the SFML's git.

I don't know if Jérémie Dimino should be cite as a contributor, here is what he has done:

- Added caml_(enter|leave)_blocking_section() around functions
  sfWindow_Display() and sfRenderWindow_Display() by Jérémie Dimino.

- sfRenderWindow_CreateFromHandle() wrapped by Jérémie Dimino.

(not that much but very valueable ones)

ocaml-sfml for 1.6 was using only CSFML.
ocaml-sfml for 2.0 can be compiled either with SFML or CSFML (choose at compile time)

Also I provided in the past tutorials for the SFML website (in the style of the Python tutorial) that never got introduced on the website.
Please tell me if you want something for the next 2.0 website. But if I'm doing something please don't send it to dave null.

Also I know that other people have made another ocaml sfml binding, if I'm writting tutorials (actually adapting the ones I've already made from 1.6 to 2.0) I don't mind at all giving the examples of code for both ocaml bindings (but again I would prefer not working for dave null).

the interface for sfml 1.6 was this one:
http://ocaml-sfml.forge.ocamlcore.org/doc/

here is the interface for my local copy (that I'm waiting to release):
http://ocaml-sfml.forge.ocamlcore.org/doc2/

The Oo_sfml_* modules at the end provide the same than the other modules, but trying to do it in an OO style.
I'm planing to try to make the interface of this OO part more similar to ocsfml, but that's not done yet.

Cheers!
Title: Re: SFML bindings (information for the new website)
Post by: Laurent on March 18, 2013, 08:08:41 pm
Thanks :)

Quote
Also I provided in the past tutorials for the SFML website (in the style of the Python tutorial) that never got introduced on the website.
Hmm I don't remember, but I'm really sorry for that :-\

Quote
Please tell me if you want something for the next 2.0 website
No, now every binding is responsible for providing its own resources. I'll just keep the forums.
Title: Re: SFML bindings (information for the new website)
Post by: ocaml-sfml on March 18, 2013, 10:33:54 pm
Quote
Please tell me if you want something for the next 2.0 website
No, now every binding is responsible for providing its own resources. I'll just keep the forums.

If we can help for the C++ API tutorials, please also tell about it :)

I've not watched too far what is already done / todo / wip for this.
Title: Re: SFML bindings (information for the new website)
Post by: ocaml-sfml on March 19, 2013, 01:42:10 am
The very last version is not in the svn, it's a snapshot in the download directory.
On the website, clic on the link:
  "other downloads (older and experimental)"

the most recent snapshot is currently:
ocaml-sfml-2.0RC-git-2012-10-09.tgz

but my local version is much more recent than that.
(I'll try to make a more recent snapshot soon(tm))

OK, I've made a new snapshot:
ocaml-sfml-2.0-git-2013-03-19.tgz
still available at the same place:
http://ocaml-sfml.forge.ocamlcore.org/download/

Title: Re: SFML bindings (information for the new website)
Post by: Laurent on March 19, 2013, 06:31:53 am
Quote
If we can help for the C++ API tutorials, please also tell about it
Thanks, but they are already finished ;)
Title: Re: SFML bindings (information for the new website)
Post by: dmreichard on March 21, 2013, 02:11:32 am
I confirm for my bindings and if it hasn't been updated for 20 days, that's because I'm busy with other tasks related to it such porting other SFML-based library to make them compatible with the bindings.

When looking for python bindings I tried yours first, however after fixing two compile errors and encountering a third I decided to see what the pysfml-cython bindings had to offer. Those compiled almost effortlessly and work very well. Most (all?) of the issues seemed to be wrong assumptions about the SFML C++ API. I used SFML2 RC for both bindings.

I wanted to give you the heads up as your bindings seem more active and the documentation appears to be more polished. I could re-download and post specific compile errors if you wish, however as mentioned before they were all due to incorrect API usage. If there are multiple RC versions that could be the reason why please let me know, but I could only find one on the main SFML website.

Thank you,
Dave
Title: Re: SFML bindings (information for the new website)
Post by: Lord Aro on March 21, 2013, 03:30:06 pm
Quote
If we can help for the C++ API tutorials, please also tell about it
Thanks, but they are already finished ;)
:o So, what is still to be done before release?
Title: Re: SFML bindings (information for the new website)
Post by: Laurent on March 21, 2013, 03:39:41 pm
Quote
So, what is still to be done before release?
The website.
Title: Re: SFML bindings (information for the new website)
Post by: JayArby on April 13, 2013, 09:00:34 pm
I don't think anyone mentioned Jebbs's D binding, which appears to be very nearly complete:
http://en.sfml-dev.org/forums/index.php?topic=11011.0 (http://en.sfml-dev.org/forums/index.php?topic=11011.0)
Title: Re: SFML bindings (information for the new website)
Post by: Jebbs on April 30, 2013, 01:19:51 am
Yes, please don't forget about me!

Name - DSFML
Language - D
Author - Jeremy DeHaan(dehaan.jeremiah@gmail.com)
Website - https://github.com/Jebbs/DSFML

Since Deadalnix went MIA I figured it would be nice to have an official DSFML. I tried to finish it up as much as possible before you put up the new website, but between work and school it has been delayed. I'm going to upload the little bit I had left in a couple of hours and it will be as complete as I am willing to make it while being based off of CSFML. It is up to date with SFML and CSFML as far as I can tell.

It is definitely in active development and I mean to do a lot of work going forward to make it a better binding all around as well as continuing to keep it up to date with all major releases of SFML.
Title: Re: SFML bindings (information for the new website)
Post by: Sonkun on April 30, 2013, 01:38:10 am
I confirm for my bindings and if it hasn't been updated for 20 days, that's because I'm busy with other tasks related to it such porting other SFML-based library to make them compatible with the bindings.

When looking for python bindings I tried yours first, however after fixing two compile errors and encountering a third I decided to see what the pysfml-cython bindings had to offer. Those compiled almost effortlessly and work very well. Most (all?) of the issues seemed to be wrong assumptions about the SFML C++ API. I used SFML2 RC for both bindings.

I wanted to give you the heads up as your bindings seem more active and the documentation appears to be more polished. I could re-download and post specific compile errors if you wish, however as mentioned before they were all due to incorrect API usage. If there are multiple RC versions that could be the reason why please let me know, but I could only find one on the main SFML website.

Thank you,
Dave
I was maintaining two branches at a time, "master" based on SFML2-RC and "latest_sfml" based on the latest changes. Are you sure you were compiling the right branches. I admit my setup.py was sometimes outdated but most of the time it should have worked. I was using the latest Cython version too.

For each release, I made packages for Ubuntu and installers for Windows, I generated the C++ source to get rid of Cython depedency and made sure it was properly compiling on fresh Linux OSes.

You could have let me know about your compilation errors :) Anyways, the next version (entirely based on SFML2) will be available by the end of the night as announced on the website, with installers and packages.
Title: Re: SFML bindings (information for the new website)
Post by: pdinklag on April 30, 2013, 03:28:52 am
I hope I can find some time to bring JSFML to the released SFML 2.0 soon. These are busy times, though. I'll also update the logo to be more similar to the new SFML logo.

One little note for the bindings page (and the forum likewise): the Java binding is "JSFML", not "jSFML". It's not too big of a deal but I think it should be consistent. One of the reasons I've been using a capital J was to set it off against the abandoned, incomplete Java binding that was not developed by myself. The capital J will fit better in the new logo as well.
Title: Re: SFML bindings (information for the new website)
Post by: Laurent on April 30, 2013, 07:54:58 am
Quote
Yes, please don't forget about me!
I'll add you this evening ;)

Quote
the Java binding is "JSFML", not "jSFML"
Fixed.
Title: Re: SFML bindings (information for the new website)
Post by: Sonkun on April 30, 2013, 11:26:02 am
Sorry, for those who expects the 1.3 release I announced for today, I can't make it on time. I'm facing issues with some packages and installers, nothing important but I'm running out of time... I'll give it another try tomorrow morning.
Title: Re: SFML bindings (information for the new website)
Post by: Laurent on May 01, 2013, 09:28:46 am
Quote
Yes, please don't forget about me!

Name - DSFML
Language - D
Author - Jeremy DeHaan(dehaan.jeremiah@gmail.com)
Website - https://github.com/Jebbs/DSFML
Done.
Title: Re: SFML bindings (information for the new website)
Post by: blue_prawn on May 06, 2013, 07:44:34 pm
Hi,

It's about this page:
http://www.sfml-dev.org/download/bindings.php

The correct case for OCaml (http://ocaml.org) is OCaml (not Ocaml).

Thanks
Title: Re: SFML bindings (information for the new website)
Post by: Laurent on May 06, 2013, 08:21:27 pm
Quote
The correct case for OCaml is OCaml (not Ocaml).
Fixed.