Tetra v0.5.0 Release Notes
Release Date: 2020-09-02 // over 3 years ago-
โ Added
SoundInstance::state
andSoundInstance::set_state
have been added, which allow you to check the current state of playback and modify it respectively. (@puppetmaster- in #205)- These methods use a new enum called
SoundState
, which represents the possible states that aSoundInstance
can be in.
- These methods use a new enum called
- ๐ฅ Breaking: The position of the mouse relative to the previous motion event can now be obtained via the
delta
field onEvent::MouseMoved
. (@GGalizzi in #206)- As existing code may have been exhastively pattern matching on
Event::MouseMoved
's data, this is technically a breaking change.
- As existing code may have been exhastively pattern matching on
- The window can now be set to
relative_mouse_mode
, which allows the mouse to move outside of the bounds of the window while still reporting motion events. (@GGalizzi in #206) - Various feature flags have been added, allowing you to shrink your dependency tree by removing unused functionality.
๐ Changed
- ๐ฅ Breaking: ICO, TIFF, PNM, DDS/DXT and TGA texture loading is now off by default.
- Feature flags can be used to re-enable them.
- ๐ฅ Breaking:
graphics::set_texture
is now private.- There was no meaningful way to use this function without access to other private functions, so it has been hidden to avoid confusion.
- โก๏ธ Updated
bytemuck
to 1.4. - ๐ฅ Breaking: Updated
vek
to 0.12.- As Vek is exposed via Tetra's API in the form of the
tetra::math
module, this is potentially a breaking change.
- As Vek is exposed via Tetra's API in the form of the