Tetra v0.5.0 Release Notes

Release Date: 2020-09-02 // over 3 years ago
  • โž• Added

    • SoundInstance::state and SoundInstance::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 a SoundInstance can be in.
    • ๐Ÿ’ฅ Breaking: The position of the mouse relative to the previous motion event can now be obtained via the delta field on Event::MouseMoved. (@GGalizzi in #206)
      • As existing code may have been exhastively pattern matching on Event::MouseMoved's data, this is technically a breaking change.
    • 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.