Skip to main content

Pygame project for simplifying page and menu creation while still leaving full controll

Project description

A Python gui library based around Pygame, meant for simplifying gui development for menus on simple pixel art games (or other types of games). Designed for customization and simplicity. Although the library comes with pre-designed gui items, each can be customized and its functionality personalized to fit your needs.

Start with creating the main Game object, specify your global settings (such as screen size, FPS cap, …), run the main game loop from it. Create your custom page, add items to it, custom event handlers and more. It will be auto-imported and loaded into your game.

Your game needs its own loop for optimization reasons? No problem, create a dummy page and run your loop from there. Keep page, menu and item logic separated and tidy.

See https://python-pyggui.readthedocs.io/en/latest/usage.html for basic concepts.

  • Free software: MIT license

Installation

pip install pyggui

You can also install the in-development version with:

pip install https://github.com/15minutOdmora/python-pyggui/archive/main.zip

Documentation

https://python-pyggui.readthedocs.io/

Development

To run all the tests run:

tox

Note, to combine the coverage data from all the tox environments run:

Windows

set PYTEST_ADDOPTS=--cov-append
tox

Other

PYTEST_ADDOPTS=--cov-append tox

Changelog

0.0.0 (2021-12-24)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyggui-0.0.1.tar.gz (59.3 kB view hashes)

Uploaded Source

Built Distribution

pyggui-0.0.1-py2.py3-none-any.whl (57.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page