On Tuesday 01 May 2007 03:08:38 pm Rodney Brown wrote:
> I've seen examples on how to load sprites or sprite pages from a .bmp file,
> but I haven't seen an example of making a simple sprite in code.
>
> Does anybody know of an example where the sprite image is created in the
> code itself, instead of loading a graphics file?  For what I'm working on
> at the moment I only need say a 3x3 sprite, which would be a waist to have
> to load it from a .bmp file.
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com

pygame.surface is what you're looking for.

Reply via email to