Tetra v0.5.8 Release Notes

Release Date: 2021-01-26 // about 3 years ago
  • โž• Added

    • ๐Ÿ‘ Basic support for multisample anti-aliasing has been added, in the form of ContextBuilder::multisampling.
      • This is currently only supported for the main backbuffer.
    • Mesh now has constructors for various primitive shapes. (@tesselode in #226)
      • There is also a new GeometryBuilder type, which can be used to create more complex/combined shapes.
    • Color now has methods (with_red, with_blue, with_green, with_alpha) for creating a new Color with one component changed. (@tesselode in #227)

    ๐Ÿ”„ Changed

    • โšก๏ธ When running in Timestep::Fixed mode, the accumulator now has a cap of 150 milliseconds (around 6.5fps). This prevents the game from entering a 'spiral of doom' if updates are consistently running too slowly for the game loop to catch up - in this scenario, the game will now just slow down. This is still not a good experience for the player, but it prevents freezes/crashes.
    • โšก๏ธ Updated bytemuck to 1.5.

    ๐Ÿ›  Fixed

    • Font atlases now include the correct amount of padding after a resize.