Releases: houmain/spright
Releases · houmain/spright
4.0.0
Changed
- Renamed
*-boundsdefinitions to*-size. - Changed meaning of
rectin 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 thantrimmedRect, when the size is increased bymin-size,divisible-size,common-size). - The logical bounds of a sprite can now be defined by a
margin, which is added torect. - Renamed
verticestooutlinein output description and made it relative torect(it used to be relative to thetrimmedRect).
Added
- Added
margindefinition. - Added the sheets'
outputsto description.
Fixed
- Fixed
divisible-width. - Fixed
trimmedSourceRectin description when transforming. - Fixed
align-pivotwhen anchor is not top/left. - Fixed alignment when sprite is rotated.
- Fixed
extrudeand uncropped pivot-point. - Fixed
scalewhen downsampling to nearest. - Improved
rotateaccuracy. - Fixed
trim convex. - Fixed crash on
duplicatebefore first sprite. - Prevent
grid/atlasin input sequences. - Ensuring invalid definitions do not lead to invalid states.
3.8.0
3.7.0
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
sourcestosourceSpritesin description. - Renamed scale filters
triangle/pointsampletobilinear/nearest.
Fixed
3.6.1
Added
- Added
resizedefinition. - Added
rotatedefinition. - Added
transformdefinition. - Added
duplicatedefinition. - Added shortcut argument -c for '--mode complete'.
3.5.4
3.5.3
3.5.2
3.5.1
3.5.0
Added
- Allow
gridcell size of one dimension to be 0 (to maximize). - Added function
removeDirectories. - Added function
joinPaths.
Changed
- Not merging sequences in
globwhengridoratlasis active.
Fixed
- Fixed # in string literals.
- Fixed
gridwhen globbing. - Preventing
gridandatlasininputfile sequences. grid-cellsis consideringgrid-spacing.
3.4.0
Added
- Added function
makeId. - Added function
base64. - Added variables
source.filenameBase,source.filenameStem, andsource.filenameId.
Changed
- Separated
texture.pathfromtexture.filename. - Also lookup templates in "templates" subdirectory.
- Also packaging templates.
Fixed
- Improved PixiJS template.