/spright-test-suite

The test suite from the spright project

Primary LanguageShellThe UnlicenseUnlicense

spright test suite

This is the test suite from the spright project.

The output is updated by executing the bash script update.sh.

All image files are derived from files released as CC0 on OpenGameArt.


Sample from documentation

Packing sprites from different sources:

With minimal configuration: spright.conf

With additional information provided, like the span of window sprites: spright.conf


Constraints

Packing to multiple outputs with some constraints (max-width, max-height, power-of-two): spright.conf


Compact

Packing sprites by their convex outline: spright.conf



Maps

Packing multiple sheets with a shared set of output coordinates spright.conf



Deduplicate

Finding unique tiles in an image: spright.conf



Split

Splitting a sprite sheet in individual files: spright.conf






Align pivot

Aligning sprites by their pivot points: spright.conf





Grid offset/spacing

Splitting multiple arrangements at once: spright.conf



Scalings

Generating multiple resolutions of output: spright.conf



Extrude

Adding a padding around sprites and fill it depending on wrap mode (clamp, mirror, repeat): spright.conf


Alpha

Changing pixels depending on alpha value (opaque, colorkey FF00FF, clear, clear FFFFFF, bleed): spright.conf

Made opaque to show the color channels of the fully transparent pixels :