Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kivy-garden/garden.texturestack
Widget for compositing textures, like virtual paper dolls.
https://github.com/kivy-garden/garden.texturestack
Last synced: about 1 month ago
JSON representation
Widget for compositing textures, like virtual paper dolls.
- Host: GitHub
- URL: https://github.com/kivy-garden/garden.texturestack
- Owner: kivy-garden
- License: mit
- Created: 2014-11-03T06:44:05.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2018-09-19T23:12:13.000Z (over 6 years ago)
- Last Synced: 2023-03-30T19:46:29.903Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 81.1 KB
- Stars: 1
- Watchers: 13
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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](http://www.procjam.com/2015/09/01/procjam-art-pack-now-available/) by Marsh Davies, available under [Creative Commons By-NC](https://creativecommons.org/licenses/by-nc/4.0/)
In case of my death, I, Zachary Spector, wish for this code to be relicensed under [CC0](https://creativecommons.org/choose/zero/).