Skip to content

Releases: WangleLine/NiceSlice

NiceSlice 1.2

Choose a tag to compare

@WangleLine WangleLine released this 27 Jun 20:01

Full Changelog: 1.1...1.2

  • Clamps the borders so opposing sides can't overlap
  • Corners shrink proportionally when clamped
  • Division-by-zero fixy
  • Deduplicated coord maths so it's microscopically faster
  • Removed @ pure tag from script since it draws stuff onto the screen and thus isn't actually a pure function

NiceSlice 1.1

Choose a tag to compare

@WangleLine WangleLine released this 03 Jul 23:57
  • Fixed bad rendering when using a non-square input sprite
  • Added support for separate border width/height
  • Added JSDoc tags
  • Prettied up example project a little bit

NiceSlice 1.0

Choose a tag to compare

@WangleLine WangleLine released this 02 Jul 11:52

NiceSlice 1.0

  • There's a function called draw_niceslice, which allows for drawing a sprite via nine-slice with internal sprite scaling