Skip to content

v.0.11.0 - Targetable Events

Compare
Choose a tag to compare
@pathunstrom pathunstrom released this 30 Dec 23:03
· 274 commits to canon since this release

This release is fairly small, but has a much bigger number of new contributors thanks to Hacktoberfest 2020.

The biggest additional feature is targeted events: Provide a list or tuple to the 'targets' keyword of the signal function and the engine will only send the event to those objects. Leave out for existing behavior.

Special thanks to our new contributors!

Example:

signal(MyEvent, targets=[self.sibling1, self.sibling2, self.sibling3])

New

  • Targeted events! (#538)

Changed

  • GameObjects now use deque instead of list for their walk implementation. (#541)

Removed

  • Mouse events no longer have a screen_position attribute. (#535, #539) New Contibutor!
  • We no longer support pos as a keyword argument on sprites. Use position instead. (#543)

Fixed

  • Attempted fix of OGG race condition. (#527) New Contributor!

Docs

  • An update to the docs homepage. (#529) New Contributor!
  • Added maintanence schedule documentation. (#554)
  • Added default branch documentation. (#556)