pygame-menu icon indicating copy to clipboard operation
pygame-menu copied to clipboard

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

Open joncox123 opened this issue 7 months ago • 0 comments

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 avatar Jun 28 '24 23:06 joncox123