Skip to content

v0.24.0

Latest

Choose a tag to compare

@github-actions github-actions released this 10 Jun 09:36
· 2 commits to master since this release

Added

  • You can now import yal.cc fonts directly from the json + png / aseprite file without having to go via ttf.
  • Added set_palette on Object and ObjectAffine to change the palette used by the sprite, this uses the same sprite data in vram just swapping out the palette. SpriteVram has a similar with_palette method.
  • Added palette manipulation to GraphicsFrame so you can synchronize palette swaps with background swaps.
  • You can set the maximum number of characters that will be printed at once when using the text renderers with .with_max_chars_per_group.
  • The include_aseprite! and include_aseprite_256! macros can now include .gif, .png, and .bmp.
  • You can now specify just the width in include_aseprite! and include_aseprite_256! allowing you to write 32 strip.png to import a horizontal sprite strip.

Changed

  • Moved palette handling from VRAM_MANAGER to Graphics.
  • Added a rect constructor for creating Rect objects.
  • Made Rect<T> and Vector2D<T> work with more types T.
  • More methods to Rect<T> and Vector2D<T> for getting components, clamping and sizing.

Fixed