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.17.tar.gz (19.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.17-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pygamenu-0.0.17.tar.gz
Algorithm Hash digest
SHA256 9344d50c0a3a5b98775573b0e118b27f228e51d3c30682dfa4679cef3d8c5979
MD5 baa323c69bfc1f30de29a0ae11a1d0c1
BLAKE2b-256 7758db140f37c6b613408354d6f664c1a29e3aea0cce544b61aebd8483000565

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pygamenu-0.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 efff575d3dffd5b5706c26e52fcaf21c015e4729c664fba5a6e3ef5ffcf61971
MD5 6c3244edad8040f52a4018584dd1f97d
BLAKE2b-256 0937f362f229a3fbb06ff3ab76afbdbc9185a8f26357c7fb66060ffc94966a9d

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