pygame.display.set_mode((640, 480), pygame.HWSURFACE |
pygame.DOUBLEBUF) | pygame.FULLSCREEN)
my game run slower than setting display mode without
using fullscreen? I have always thought that
fullscreen modality was faster that open display in a
window, but...also I've noticed that setting my
monitor to a lower pixel depth, my fps become better,
why? How can I find the best video modality to use to
have best fps?
"best display mode" is probably a better translation. every operating
system seems to work a little differently in how the display runs. using
a 16bit display mode will be faster than a full 32bit mode, but not all
systems can switch to either mode if they need to. this the code should
pretty generically get you the best display mode. (note that DOULEBUF
implies HWSURFACE, so no need for both)