Skip to content

Releases: houmain/spright

4.0.0

22 Dec 14:22
83c5f5d

Choose a tag to compare

Changed

  • Renamed *-bounds definitions to *-size.
  • Changed meaning of rect in the output description. It used to be the logical bounds of the sprite. Now it is the rectangle the sprite takes on the sheet (which can be bigger than trimmedRect, when the size is increased by min-size, divisible-size, common-size).
  • The logical bounds of a sprite can now be defined by a margin, which is added to rect.
  • Renamed vertices to outline in output description and made it relative to rect (it used to be relative to the trimmedRect).

Added

  • Added margin definition.
  • Added the sheets' outputs to description.

Fixed

  • Fixed divisible-width.
  • Fixed trimmedSourceRect in description when transforming.
  • Fixed align-pivot when anchor is not top/left.
  • Fixed alignment when sprite is rotated.
  • Fixed extrude and uncropped pivot-point.
  • Fixed scale when downsampling to nearest.
  • Improved rotate accuracy.
  • Fixed trim convex.
  • Fixed crash on duplicate before first sprite.
  • Prevent grid/atlas in input sequences.
  • Ensuring invalid definitions do not lead to invalid states.

3.8.0

21 Nov 20:18

Choose a tag to compare

Added

  • Added grid-vertical and grid-cells-vertical.
  • Allow to set different trim-margin for each side (#25).
  • Added resize transformation (#26).

Fixed

  • Allow to set max-sprites to 0.
  • Fixed atlas detecting sprites fully enclosed in other sprites.

3.7.0

03 Nov 18:07

Choose a tag to compare

Added

  • Allow to split lines with semicolons.
  • Transformations can also be applied to outputs.
  • Outputting sheets in description.
  • Loading image data only on demand.
  • Added CSS template.

Changed

  • Generating ordered JSON description.
  • Renamed input property sources to sourceSprites in description.
  • Renamed scale filters triangle/pointsample to bilinear/nearest.

Fixed

  • Fixed index of duplicated sprite (#24).
  • Fixed tags of duplicated sprite (#24).
  • Not keeping transforms when duplicating sprite.
  • Fixed globbing to only add not yet added inputs.
  • Improved GIF output.

3.6.1

03 May 17:04
8eeacb0

Choose a tag to compare

Added

  • Added resize definition.
  • Added rotate definition.
  • Added transform definition.
  • Added duplicate definition.
  • Added shortcut argument -c for '--mode complete'.

3.5.4

04 Jan 14:43
4302259

Choose a tag to compare

Fixed

  • Fixed case of package name causing problems with spright-vscode installation on Linux (houmain/spright-vscode#3).
  • Looking for templates also in share/spright directory (#18).

3.5.3

30 Sep 19:23

Choose a tag to compare

Added

  • Added reason to packing sprite failed warning.

Fixed

  • Fixed installation on MacOS.

3.5.2

28 Jul 08:31

Choose a tag to compare

Added

  • Added .DEB and .RPM package releases.

Changed

  • glob only adds not yet encountered inputs.

3.5.1

25 Jul 18:46

Choose a tag to compare

Added

  • Allow filename sequence for description to output each slice separately (#14).
  • Substitute variable in template filename.

Fixed

  • Fixed variable source.filenameBase to contain no extension.

3.5.0

17 Jul 06:09

Choose a tag to compare

Added

  • Allow grid cell size of one dimension to be 0 (to maximize).
  • Added function removeDirectories.
  • Added function joinPaths.

Changed

  • Not merging sequences in glob when grid or atlas is active.

Fixed

  • Fixed # in string literals.
  • Fixed grid when globbing.
  • Preventing grid and atlas in input file sequences.
  • grid-cells is considering grid-spacing.

3.4.0

15 Jun 15:40
9a04ca9

Choose a tag to compare

Added

  • Added function makeId.
  • Added function base64.
  • Added variables source.filenameBase, source.filenameStem, and source.filenameId.

Changed

  • Separated texture.path from texture.filename.
  • Also lookup templates in "templates" subdirectory.
  • Also packaging templates.

Fixed

  • Improved PixiJS template.