[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Re: full screen
- To: pygame-users@seul.org, syriven@hotmail.com
- Subject: [pygame] Re: full screen
- From: Pete Shinners <pete@shinners.org>
- Date: Thu, 05 Feb 2004 23:01:30 -0800
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Fri, 06 Feb 2004 02:02:07 -0500
- In-reply-to: <20040206063345.85ACA33E2C@moria.seul.org>
- References: <20040206063345.85ACA33E2C@moria.seul.org>
- Reply-to: pygame-users@seul.org
- Sender: owner-pygame-users@seul.org
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040122 Debian/1.6-1
I was wondering if anybody knew how to convert to fullscreen mode. I've
already tried the pygame.display.toggle_fullscreen, but that doesn't work on
either Windows ME or XP. Is there any other way to toggle to fullscreen?
Right, The toggle fullscreen function is an SDL thing that really only works
in linux. The "best" way to go from windowed to fullscreen is to call
pygame.display.set_mode() a second time. this time include the FULLSCREEN
flag in the last argument and pygame will switch to a fullscreen display.