Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runs extremely slowly on older hardware. How to disable transition / fade effects? #484

Open
joncox123 opened this issue Jun 28, 2024 · 0 comments
Labels

Comments

@joncox123
Copy link

joncox123 commented Jun 28, 2024

I find pygame-menu runs extremely slowly on older hardware due to the blur / fade / transition effects. How can I turn off all unnecessary updates and effects? I want the bare minimum, which is a direct update of the menu screen when an event occurs.

It seems that pygame menu always implements a fade out or transparency transition effect. Perhaps it does this by storing a list of previously rendered surfaces and blitting the old surfaces with transparency (alpha) to create a kind of "slow response" effect.

Unfortunately, this practice is unnecessary and extremely slow on hardware without transparency acceleration.

How can I disable this? It wasn't clear from searching the code.

@joncox123 joncox123 added the bug label Jun 28, 2024
@joncox123 joncox123 changed the title Runs extremely slowly on older hardware. How to disable transition effects? Runs extremely slowly on older hardware. How to disable transition / fade effects? Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant