A neat little pygame wrapper
Project description
Maybe I'll add docs, Maybe I won't!
How to use
-
Read through the code (Because I'm a random stranger on the internet)
-
Enter
pip install pygamenu -
Put
Import pymenu as pmin your code -
Code some stuff in a
.pymfile according to the docs (If those don't exist just look at the example really hard) -
Create a view using this syntax
View = pm.initialize('path_from_working_dir/abcd.pym', size:Point) -
In your main loop add
for event in pg.event.get():
View.passEvent(event, globals())
- Read the docs for more info (Or do trial and error and try to figure out what my custom error messages mean)
Github: https://github.com/Camleaf/Pymenu Pypi: https://pypi.org/project/pygamenu/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters