Version 1.2 is out
Version 1.2 has been released since November 2012, offering new features.
First and foremost, the bindings have been relicenced from GPLv3 to the much more liberal
LGPLv3.
Secondly, the load/open/create methods have been deprecated in favor of their
from_foo counterparts, which we believe more closely resemble the standard library's naming conventions. Similarly, the save/conversion methods have been deprecated in favor of
to_bar methods.
The
voip example is now available and various multi-threading issues have been fixed.
Be sure to check out the website for
Windows installers and
Debian packages.
For a complete list of changes, check out the changelog:
http://python-sfml.org/1.2/changelog.htmlKnown bug in this version: convert_coords methods return None no matter what. This is already fixed in the master branch, so you'll need to compile from source or wait for version 1.3 to get past this limitation.
Thor library is almost ported
In addition, most of the
Thor library modules have been ported and can be interpolated with the SFML bindings. This port joins sfeMovie in the list of officially supported
add-ons.
It consists of a top-level thor package which in-turn is composed of nine modules. Here's a table showing their implementation status.
Modules | Status | Remarks |
Time | Implemented | |
Particle | Implemented | |
Animation | Implemented | Limitation: so far, can only animate a sprite :/ |
Graphics | Implemented | ColorGradient creation is different from C++ |
Shapes | Implemented | |
Vector | Partially implemented | |
Math | Partially implemented | |
Events | Not implemented | |
Resources | Not implemented | |
For more information, visit the thor section of the website:
http://thor.python-sfml.org.
Version 1.3 coming soon
Version
1.3 is set to be released in conjunction with the official release of SFML2. The API, tutorials and documentation will thoroughly be updated to match the latest changes from the SFML2 codebase.
As packages won't be made available beforehand, you'll need to compile the bindings from source if you wish to get a sneak peak of these upcoming chnages (sfml_latest branch). Details on how to do this can be found below.
In this “final” version, you'll be able to
embed Python code into your C++ application and
write your own extensions using the C/Cython API. We've dedicated an entire section of the documentation on how to do this, complete with two working examples (embedding and extending).