ggez v0.6.1 Release Notes

  • โž• Added

    • Allowed ContextBuilder to rename resources folder and resources.zip
    • Added winit re-export
    • Added get_window_position
    • Added an example showcasing animation using keyframe
    • Added support for the TGA image file format (and possibly some others by accident as well)
    • Added methods to access sprites inside of a SpriteBatch directly

    ๐Ÿ”„ Changed

    • MeshBatch::dimensions now returns a rectangle containing all of its mesh instances (instead of simply returning the dimensions of the underlying single mesh, as before)
      • Drawing a MeshBatch with an offset != (0,0) results in such dimensions being calculated (just like in SpriteBatch), which can be expensive, but leads to the offset being interpreted as a relative offset, instead of an absolute one
    • Changed mouse move callback a little: it now returns the difference in movement relative to the last callback, not the mouse position at the end of the previous frame
    • Most of the filesystem functions now take &Context instead of a mutable one
    • Version bumped old_school_gfx_glutin_ext to 0.27
    • Version bumped glutin to 0.27
    • Version bumped winit to 0.25
    • Version bumped glam to 0.17.3

    ๐Ÿ—„ Deprecated

    Nothing

    โœ‚ Removed

    Nothing

    ๐Ÿ›  Fixed

    • fixed color transformation from linear color back to sRGB
    • internal folder structure of the resources.zip file is now resolved correctly on Windows
    • fixed mouse::delta: it now actually returns the difference in mouse position relative to the previous frame instead of the raw mouse feedback it returned until now

    Broken

    • bumping our dependencies on a patch release is technically a breaking change, sry for that