numbertheory / tickytacky

Pyglet powered game platform for retro-style games

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tickytacky

tickytacky pypi shield

Description

This library aims to make it easy to make retro-style games with Pyglet.

Install from pypi

Create a virtualenvironment with python3 and install with pip:

pip3 install tickytacky

Installing with Poetry

Install poetry according to the poetry docs.

Then, create a virtual environment with python3 and install with poetry.

poetry install

Examples

Examples can be found here, in the examples, repo:

Tickytacky Examples

Sprite Maker

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.

  1. 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.

  2. Click the "Create Color option" to add it to the palette.

  3. 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.

  4. If you remove a color from the palette, all pixels with that color will also be removed.

  5. 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.

  6. Copy that info into a JSON file in your game.

About

Pyglet powered game platform for retro-style games

License:GNU General Public License v3.0


Languages

Language:HTML 67.4%Language:Python 32.6%