[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pygame] image format & key
azazel wrote:
> 1) It's possible to save surfaces in a different format than bmp?
yes, i found i really need to update the documentation on this. the
image.save function will default to save images as TGA (targa). it will
still save the image as a BMP if the filename ends with the BMP extension.
(online docs fixed!)
> 2) The pygame.event.key member is an integer constant that is referred to a
> keyboard key, is it the same for all the keyboards? With any number of keys?
the integer constant should be the same for all keyboards on all platforms.
i don't think there are constants for every single keyboard button, and
this is probably biased towards US keyboards.
http://pygame.org/docs/ref/pygame_constants.html
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org