aboutsummaryrefslogtreecommitdiff

SpriteSheet Animation Preview

Requires:

  • Python 3
  • tinker
  • PIL (with ImageTk)

In Debian:

sudo apt install python3-tk python3-pil python3-pil.imagetk

Use it with:

sspreview spritesheet.png

Example

Tips:

  • in "scale", provide two numbers separated with a comma in case you want a different scale factor for x and y (e.g. 20,10)
  • if your spritesheet changes, press Update and it will reload the image

Caveats:

  • my first tinker app
  • errors (like invalid input) will terminate the app with a message in stderr
  • when parameters are changed, press Update for them to take effect

This code is GPL licensed, see for details gpl-3.0.txt.