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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pygamenu-0.0.21.tar.gz
  • Upload date:
  • Size: 2.4 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.21.tar.gz
Algorithm Hash digest
SHA256 5c447e49aedc132ba80986466ec57469d41774a5a2fa928c82dc5fc4fa573eec
MD5 8ee60e68b0d66ff4906317c26a26ca69
BLAKE2b-256 c9baf6d92e7093aea9530ba9318403895661b4e70096ee51c0a6c9e23199a3ae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pygamenu-0.0.21-py3-none-any.whl
  • Upload date:
  • Size: 2.4 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.21-py3-none-any.whl
Algorithm Hash digest
SHA256 3ba9872c535e18f1e0ea40e9e7d5eacbe0e7fa58ceabd8c71e8e75e50e4548c4
MD5 28cc921a345d68d0083e2d4b9cca8cbd
BLAKE2b-256 2b4d02282930e7c8c3893f01a9f0999a1fadcb3f80b53e3d2ec27dc7ccd9c16d

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