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

[pygame] Re: Fullscreen Display



Matt Smith schrieb:
> I have seen the following line used to initialise a full screen display
> in a number of books and tutorials:
> 
> screen = pygame.display.set_mode((xsize, ysize), FULLSCREEN, 32)
> 
> NameError: name 'FULLSCREEN' is not defined
> 
> Can anyone tell me where I'm going wrong?

You probably missed a "from pygame.locals import *" earlier in the tutorial.


HTH, Chris