All Versions
56
Latest Version
Avg Release Cycle
31 days
Latest Release
813 days ago

Changelog History
Page 4

  • v0.2.18 Changes

    May 18, 2019

    โž• Added

    • The tetras example now has sound effects and music.
    • There are now constructors for Color that take u8 values. (@aaneto in #124)

    ๐Ÿ”„ Changed

    • Tetra now requires Rust 1.32 or higher. While I personally consider this to be a breaking change and was going to save it for 0.3, a dependency has forced our hand by increasing their minimum Rust version in a patch release, breaking 1.31 support for all versions of Tetra :(
    • โšก๏ธ Updated nalgebra-glm to 0.4.0.
  • v0.2.17 Changes

    May 05, 2019

    โž• Added

    • An example of how to interpolate between ticks using the dt has been added.
    • ๐Ÿ‘ Basic support for gamepad vibration has been added.
    • ๐Ÿ“š A showcase page has been added to the documentation.

    ๐Ÿ”„ Changed

    • โšก๏ธ Updated gl to 0.12.0.
    • โšก๏ธ Updated image to 0.21.1.
    • โšก๏ธ Updated hashbrown to 0.3.0.
    • โšก๏ธ Updated glyph-brush to 0.5.0.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed issue with the backbuffer not being bound on the first frame.
    • Disconnecting a gamepad while a button is down no longer causes a panic.
  • v0.2.16 Changes

    April 07, 2019

    ๐Ÿ”„ Changed

    • โช Reverted nalgebra-glm to 0.2.0 to avoid increasing the minimum Rust version.
  • v0.2.15 Changes

    April 07, 2019

    โž• Added

    • Animation, Text and NineSlice now expose more getters and setters, allowing more of their state to be accessed and manipulated after creation.

    ๐Ÿ”„ Changed

    • ๐Ÿ“š The way that nalgebra-glm is re-exported has been changed slightly, to make it so we can provide a bit more documentation. This should not have any impact on usage or the public facing API.
    • โšก๏ธ Updated sdl2 to 0.32.2.
    • โšก๏ธ Updated nalgebra-glm to 0.4.0.
    • โšก๏ธ Updated hashbrown to 0.2.0.
    • โšก๏ธ Updated glyph_brush to 0.4.1.

    โœ‚ Removed

    • ๐Ÿšš The workaround for the issues with rand_core has been removed, as the underlying issue has been fixed. You may need to cargo clean if this causes issues.
  • v0.2.14 Changes

    March 30, 2019

    โž• Added

    • graphics::set_letterbox_color allows you to set the color of the letterbox bars shown in certain scaling modes.
    • ๐Ÿ‘ Basic support for off-screen rendering/'render to texture' has been implemented, in the form of the Canvas object.
    • An animation_controller example has been added, showing how to change animations based on the player's input. (@mgocobachi in #110)
    • A from_file_data constructor has been added to Font, for consistency with Texture and Sound.

    ๐Ÿ”„ Changed

    • Alpha blending should now work in a more predictable way. This may need further tweaks later on.
    • The renderer now flips drawing automatically when drawing to a framebuffer, due to how OpenGL stores textures. This is similar to how FNA and Love2D handle the same problem.
    • The renderer no longer implicitly re-binds shaders after calling graphics::present.

    ๐Ÿ—„ Deprecated

    • ๐Ÿ—„ Font::from_data has been deprecated.
  • v0.2.13 Changes

    March 05, 2019

    โž• Added

    • A from_rgba constructor has been added to Texture.
    • from_file_data constructors have been added to Texture and Sound. These function the same as the from_data constructors, but are more clearly named to reflect the fact that they expect encoded data, not raw data.

    ๐Ÿ”„ Changed

    • โšก๏ธ The tetras example has been updated to demonstrate how you could approach adding multiple screens/states to a game.

    ๐Ÿ—„ Deprecated

    • ๐Ÿ—„ The from_data constructors have been deprecated.
  • v0.2.12 Changes

    February 07, 2019

    ๐Ÿ”„ Changed

    • โšก๏ธ The renderer has been optimized a bit more.

    ๐Ÿ›  Fixed

    • The 'color' DrawParams property is now being sent to the shader properly - the last few versions had a bug where the blue level was being sent in place of the green channel.
  • v0.2.11 Changes

    February 06, 2019

    ๐Ÿ›  Fixed

    • The audio engine now handles repeats/restarts of a SoundInstance more reliably. This was mainly an issue with OGG and MP3 files.
  • v0.2.10 Changes

    February 03, 2019

    โž• Added

    • from_data constructors were added to Texture, Font and Sound, allowing them to be constructed from binary data. This is useful if you want to use include_bytes to bundle assets into your executable. Note that an equivalent constructor already existed on Shader, which can be used in combination with include_str.

    ๐Ÿ”„ Changed

    • ๐Ÿ‘€ The default shaders have been amended to use GLSL 1.50 instead of GLSL 1.30. This seems to be required to get Tetra working on Mac.
  • v0.2.9 Changes

    February 03, 2019

    ๐Ÿ”„ Changed

    • ๐Ÿš€ Some optimizations have been made to the rendering code, mainly to avoid unnecessary allocations. This nearly doubled the performance of the bunnymark example in release mode!