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.18.tar.gz (19.3 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.18-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pygamenu-0.0.18.tar.gz
  • Upload date:
  • Size: 19.3 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.18.tar.gz
Algorithm Hash digest
SHA256 41ad6682f5b1e8fe4ba9381c8f7b9209070f39d973ef6352903ad3d32bb8468f
MD5 69ee5dcb53ef176a7d0fbd608cb43979
BLAKE2b-256 b88be973d3915e3085b96a8bdb112ac76e8b05f33cee58628cf76fa44cc21255

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pygamenu-0.0.18-py3-none-any.whl
  • Upload date:
  • Size: 20.5 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.18-py3-none-any.whl
Algorithm Hash digest
SHA256 1159f913b0354569ca012eb35570bcc6f17b34798092d939730541d1f4b479ad
MD5 131981b3dd3a53f868e4c801fa4d6887
BLAKE2b-256 913ec3622f4e6300c0161e21cbe6567739e4612bc3775bcd77b7c7c3ef71fb79

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