simplepygamemenus
A package for making simple menus for your python games!
- By Leonardo Ferrisi
Installation
Install using
pip install simplepygamemenus
Documentation / API
Demo / Example:
See our Demo File
Features:
- Make simple pygame menus
Usage:
Create a main menu using the 'Menu()' construtor
Example:
myMenu = Menu(title="MyMainMenu")
Add buttons using:
myMenu.add_button(label='button text', x, y, fontsize, function=<function to perform>)
Example:
if you have added a second menu, you can switch to it using your new button using the:
`menuName.run_menu` function
Example2:
myMenu = Menu(title="MyMainMenu")
myOtherMenu = Menu(title="myOtherMenu")
myMenu.add_button(label='button text', x, y, fontsize, function=myOtherMenu.run_main)
I'll add more soon, see the example below!
- Leonardo
Extra Info:
- PyPI Page: https://pypi.org/project/simplepygamemenus/
Metadata
Release files for simplepygamemenus 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| simplepygamemenus-0.1.4.tar.gz | 42.4 kB | Without provenance | Details for simplepygamemenus-0.1.4.tar.gz |
Security for simplepygamemenus 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.