[OLPC-Games] Buddy icons in pygame

Luke Paireepinart rabidpoobear at gmail.com
Tue Dec 11 08:47:11 EST 2007


Joshua Minor wrote:
> Is there an easy way to turn a buddy icon into a pygame surface?  It  
> looks like I might be able to write it out to disk and then read it  
> back in, but that seems wasteful.
If you can get it into a string in memory, you can use frombuffer pygame 
method to convert it to a surface.


More information about the Games mailing list