ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pygame-users
pygame-users
Re: [pygame] blitting surface with surface-alpha to fullscreen display
by Dr0id other posts by this author
May 19 2006 1:17PM messages near this date
RE: [pygame] blitting surface with surface-alpha to fullscreen display | Re: [pygame] blitting surface with surface-alpha to fullscreen display
>  Thanks DR0ID...  Removing pygame.HWSURFACE was all I needed to do!  The
>  fade now runs in realtime on both the fullscreen and windowed display
>    

Hi

You know that pygame's perfomance in blitting surfaces depends on the 
formats you use. So for surfaces that have an alpha value (for speed) I 
recomend to use the convert_alpha( )  or the SRCALPHA flag when creating 
the surface (see the documentation for details). Once I did not use 
convert() on my surfaces and then I nearly doubled my speed because of 
using the convert().

~DR0ID
Thread:
Scott Nelson
Dr0id
Scott Nelson
Dr0id
Rene Dudfield

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved