Skip to content

Releases: pyglet/pyglet

v1.5.8

16 Oct 13:29
Compare
Choose a tag to compare

Improvements

  • Added new experimental gui module. Currently this only contains basic widgets.
  • Added new Group.visible property, to toggle rendering of entire Groups when used in a Batch.
  • Added Sprite.paused and Sprite.frame_index helper properties for controlling Animations.
  • Reorganized the examples folder.
  • Added new CenteredCamera example.
  • Backport pyglet.math from 2.0, for more exposure and testing.
  • Consolidate Codec logic into base class to reuse among various modules.

v1.5.7

21 Jun 13:22
Compare
Choose a tag to compare

Bugfixes

  • Fix crash when no audio device is available.
  • Prevent __del__ spam in DirectSound buffers and Wave decoder.
  • Explicitly cast warnings.warn message to a str to prevent numba error.

v1.5.6

12 Jun 07:18
Compare
Choose a tag to compare

Bugfixes

  • Fix infinite recursion error on OSX. (#5)
  • The on_mouse_scroll event no longer clamps to int, preventing lost motion on trackpads.
  • Prevent traceback when DirectSound buffers are garbage collected on exit.
  • Fix StaticSource playback with WMF decoder (streaming=False).
  • Fix colorspace for WMF video decoding.
  • Prevent crash on garbage collection for FFmpeg decoder.

Improvements

  • New image decoder leveraging Windows Imaging Component (WIC).
  • TextureAtlas/Bins now have a border argument for leaving n-pixels of blank space around
    images when adding. By default the resource module leaves a 1-pixel space around images.
  • Many small documentation fixes and corrections.

v1.5.5

03 May 00:58
Compare
Choose a tag to compare

Bugfixes

  • GStreamer decoder clamped to 16bit sample width, since the default OpenAL backend on Linux does
    not support anything higher.

Improvements

  • shapes module: added Circle.rotation property and blending to standalone shape draw methods.
  • shapes module: added missing delete and __del__ methods.
  • The ImageMouseCursor has a new accelerated parameter to allow custom mouse points to be drawn
    natively on Windows and Linux.

v1.5.4

22 Apr 10:49
Compare
Choose a tag to compare

Bugfixes

  • Avoid WMFDecoder crash when mixing pyglet with other tookits. (#174)
  • Prevent EventDispatcher subclasses from hiding AttributeError exceptions.

Improvements

  • Added pyglet.shapes module for creating simple 2D shapes.

v1.5.3

06 Apr 07:25
Compare
Choose a tag to compare

Bugfixes

  • Fix memory leak caused by not freeing stale buffers and textures.

v1.5.2

23 Mar 07:57
Compare
Choose a tag to compare

Bugfixes

  • Fix WMF decoder for pre-Windows 8 systems.
  • Fix WMF decoder loading from file-like objects for Windows Vista.
  • Fix WMF decoder crashing when attempting to seek past file duration.

Changes

  • Allow GStreamer and FFmpeg decoder to load from file-like objects.

v1.5.1

18 Mar 08:32
Compare
Choose a tag to compare

Improvements

  • New "file_drops" Window argument to allow drag and drop of files. This is complimented
    by a new Window.on_file_drop event, which returns the mouse position and file path.

Bugfixes

  • Fix issue with changing Label positions by fractional values.
  • Avoid performance issue due to unnecessary context switching with single Window programs.
  • Fix crash on Player.next_source when playing a video with no audio track.
  • Fix crash when disconnecting a Joystick on Windows.
  • Prevent media Players from seeking to negative timestamps.
  • Fix OpenAL audio driver not dispatching events.

Changes

  • text.TextLayouts are no longer bound to int positioning.
  • Raise exception if attempting to import from legacy Python.
  • Add GStreamer decoder for compressed audio on Linux.
  • Add Windows Media Foundation decoder for compressed audio on Windows.

v1.5.0

18 Feb 06:12
Compare
Choose a tag to compare

Bugfix and Maintenance release

Bugfixes

  • Removed global dubug function access in del methods to prevent smooth shutdown.
  • Fix regression not allow SourceGroups to be queued on Player objects. (#140)

Changes

  • Support for Python 2 has been dropped. Python 3.5 is now the minimum supported version.

v1.4.10

17 Jan 05:02
Compare
Choose a tag to compare

Bugfixes

  • Explicitly set Window size in game example. (#116)
  • Prevent crash when checking if FFMpeg is available. (#121)