This library aims to make it easy to make retro-style games with Pyglet.
Create a virtualenvironment with python3 and install with pip:
pip3 install tickytacky
Install poetry according to the poetry docs.
Then, create a virtual environment with python3 and install with poetry.
poetry install
Examples can be found here, in the examples, repo:
The sprite library contains a small Flask app you can run to assist with making sprites.
Example:
python3 tickytacky/sprite.py
Then open http://0.0.0.0:5000/ to start using the sprite maker.
-
Select colors from the large color button. It's an HTML5 color selector, so it will use your system's color picker to select any color.
-
Click the "Create Color option" to add it to the palette.
-
Choose that color from the palette options and draw with it. By default, the color name will show as undefined, but you can change that in the text box.
-
If you remove a color from the palette, all pixels with that color will also be removed.
-
When done drawing, name the sprite and click the "Export" button. This will create a new page which will show the JSON format for the sprite you drew.
-
Copy that info into a JSON file in your game.