v.0.11.0 - Targetable Events
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 usedeque
instead oflist
for theirwalk
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. Useposition
instead. (#543)
Fixed
- Attempted fix of OGG race condition. (#527) New Contributor!