Skip to main content

A fast, flexible, and cool looking GUI for pygame.

Project description

GooeyPy is the result of my need for a flexible and easy to use gui for pygame. Yes, I realize there are already guis for pygame out there. But with each one there is something I don’t like. GooeyPy simply has everything the way I like it. So I’m not going to say it’s the best one out there, because everyone has their own opinions. Here are some things that are different about GooeyPy:

Styling:

I didn’t like the way styling worked with other guis. Maybe I’m just spoiled by CSS in web development, but wouldn’t it be nice if you could have CSS like styling for a gui? Oh woops, now you can! With GooeyPy, all widgets are stylable with CSS like attributes. Also, at any time during the application run time you can change the styling dynamically (and it will update itself)! All information related to displaying widgets are stored in the styling (that includes positioning; relative or absolute)

Integration:

With all the guis I’ve tried, you have to figure out how to integrate the gui into an already made game. Sometimes that’s impossible. And if it is possible, until you figure out how the gui works, it’s very hard to do. GooeyPy doesn’t steal your pygame events and doesn’t interfear with your bliting (well, actually it can. Setting up the surfaces can be a little hairy, but there is some nice documentation to explain it all).

Dependencies:

First of all, this isn’t what you think. I’m not meaning other libs that GooeyPy depends on, but the dependencies within GooeyPy. Ok, that doesn’t make a whole lot of sense… let me put it another way. You have a widget and all of the sudden you want to change the value. so you do widget.value = “hi”. And it works! GooeyPy automatically knows when something changes that effects another part of itself. In this case, the value effects how the widget displays, so it will redraw itself. It works that way with everything! You never have to worry about redrawing a widget when it’s dirty (and nither do I within GooeyPy, so that means a whole lot less bugs). All the dependencies are also cached.

Linking:

Another cool thing I have is you can link values from one widget to another. So if the value of widget A changes, so does the value it’s linked to in widget B.

Effects:

I like the ability to have cool effects applied to my widgets. Now I have them.

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

GooeyPy-0.1.1.tar.gz (121.7 kB view details)

Uploaded Source

File details

Details for the file GooeyPy-0.1.1.tar.gz.

File metadata

  • Download URL: GooeyPy-0.1.1.tar.gz
  • Upload date:
  • Size: 121.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for GooeyPy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 20610793b409ae4c5b2bda5889f5af99233131e8579209c4bc35919e59743a09
MD5 0193d42c011827c74ecaeb83748bd9a6
BLAKE2b-256 3195da8f464c1e0f272a1a733d8e604dfffb37f07760159d2373e5f15a800d78

See more details on using hashes here.

Supported by

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