The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
PySDL2 0.9.4 released
Marcus von Appen
Guest

PySDL2 0.9.4 has been released.

PySDL2 is a wrapper around the SDL2 library and as such similar to the
discontinued PySDL project. In contrast to PySDL, it has no licensing
restrictions, nor does it rely on C code, but uses ctypes instead.

Version 0.9.4 is a minor feature release, bringing PySDL2 on par with
the 2.0.4 release of the SDL libraries. On top, it comes with the
following noteworthy changes:

* new sdl2.ext.Renderer.logical_size attribute to set or retrieve the
logical pixel size of a renderer
* fixed issue #48: be more noisy about DLL loading issues
* fixed issue #72: sdl2.video.SDL_GL_DrawableSize() not available on
import
* fixed issue #76: define missing SDL_PRESSED and SDL_RELEASED constants
* fixed issue #83: fix compatibility with newer PIL versions in
:func:`sdl2.ext.image.load_image()`
* fixed issue #84: The setter of sdl2.ext.Renderer.scale works properly
now
* fixed issue #87: fix incorrect MIX_INIT_* constants in sdl2.sdlmixer
* fixed issue #88: use PILs Image.tobyte() instead of the deprecated
Image.tostring()
* fixed horizontical and vertical line drawing in sdl2.ext.line()
* fixed a bug in sdl2.ext.Renderer.draw_line() for odd numbers of points

You can download it from http://bitbucket.org/marcusva/py-sdl2/downloads
or http://pypi.python.org. The documentation, listing all of its
features, can be browsed only at http://pysdl2.readthedocs.org.

Cheers
Marcus

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
jeffkiwi


Joined: 07 Apr 2016
Posts: 6
Location: New Zealand
Very good. In the future I will very likely use PYSDL because I hate PYGAME. The PYGAME website is awful! If PYSDL is any good I might volunteer to maintain wikis and the website. Start a community