Skip to content

Widget for compositing textures, like virtual paper dolls.

License

Notifications You must be signed in to change notification settings

kivy-garden/garden.texturestack

Repository files navigation

texturestack

Widget for compositing textures, like virtual paper dolls.

"Virtual paper doll" is a technique for building sprite graphics used in, eg., the player avatar in Dungeon Crawl Stone Soup. Basically, you just put the sprites one on top of the other, and then move them around like they're one sprite. You might do this with plain Image widgets, but I found it awkward to manage the exact order of the various subwidgets, so I made this widget to handle them for me.

Includes two classes: TextureStack proper requires a list of kivy Texture objects; ImageStack is happy with a list of paths to loadable images. For demonstration purposes I have included the ProcJam 2015 art pack by Marsh Davies, available under Creative Commons By-NC; and the RLTiles, available under CC0.

In case of my death, I, Zachary Spector, wish for this code to be relicensed under CC0.

About

Widget for compositing textures, like virtual paper dolls.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages