Skip to main content

A neat little pygame wrapper

Project description

Maybe I'll add docs, Maybe I won't!

How to use

  1. Read through the code (Because I'm a random stranger on the internet)

  2. Enter pip install pygamenu

  3. Put Import pymenu as pm in your code

  4. Code some stuff in a .pym file according to the docs (If those don't exist just look at the example really hard)

  5. Create a view using this syntaxView = pm.initialize('path_from_working_dir/abcd.pym', size:Point)

  6. In your main loop add

for event in pg.event.get():

    View.passEvent(event, globals())
  1. 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


Download files

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

Source Distribution

pygamenu-0.0.51.tar.gz (20.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pygamenu-0.0.51-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

Details for the file pygamenu-0.0.51.tar.gz.

File metadata

  • Download URL: pygamenu-0.0.51.tar.gz
  • Upload date:
  • Size: 20.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for pygamenu-0.0.51.tar.gz
Algorithm Hash digest
SHA256 2e1d4a9af22ed71d9b4d54bf40f43bd17887a6cf2108dc2846f02b6a7bd6989c
MD5 d7c77e32af48e4d0e26445224e416eec
BLAKE2b-256 453e516e36df81b549635f6046649d3eb46f3f4f1fe084014b2e55ef17438535

See more details on using hashes here.

File details

Details for the file pygamenu-0.0.51-py3-none-any.whl.

File metadata

  • Download URL: pygamenu-0.0.51-py3-none-any.whl
  • Upload date:
  • Size: 21.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for pygamenu-0.0.51-py3-none-any.whl
Algorithm Hash digest
SHA256 3d10403e5c7847e76430298b89f776092284df3bc26a2cea5b5b46edfe543a28
MD5 e813947ad9fe3dd41fe05ce812c17aa5
BLAKE2b-256 89c76088fb5f50d924623b49cff0a4a244ce01dc2a0e57b3c8dc5d2f2dab3474

See more details on using hashes here.

Supported by

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