[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Re: pygame frontend



Hi Michael,

Thanks so much for the response, yes I am using 1.9.1.  This is mostly due to still using Python 2.x.  I will look into upgrading and porting to Python 3.x and trying out these suggestions.

~brian

On 11/23/2020 12:24 PM, Michael Palmer wrote:
I get the feeling you are using an older version of pygame (1.9.1 or 1.9.6 perhaps). The debug print has been fixed for quite some time. Also, pygame2.0 uses SDL2 and handles fullscreen better. It supports a scaled fullscreen desktop mode that actually changes the desktop resolution. Just use the pygame.SCALED flag to pygame.display.setmode()

To upgrade you can try one of these commands:
pip3 install pygame -U
pip install pygame -U

I think if I were creating a front end like this I would destroy the window before executing a game, and then recreating it afterwards.

The official pygame Discord has recently shut down. Perhaps you might want to visit the github or an unofficial pygame discord.

Join Discord
Visit Github
Visit Official Site


-- 
.-------------------------------------------------------.
| Brian Sturk ------- http://www.briansturk.com  ------ | .>   )\,^a__
|-------------------------.  _______ Ethical Hacker ___ |(  _ _)/ /-."~
| --- C/C++/Python/ASM     `----------------------------| `( )_ )/
| Linux/BSD/OSX/Windows embedded/system programming --- |_<_s_<_s
`-------------------------------------------------------'