surface of pygame

Anthony Tuininga anthony at computronix.com
Thu Sep 19 10:25:03 EDT 2002


Look at the documentation for pygame at www.pygame.org, specifically the
introduction regarding programming in pygame. Specifically, you have to
blit the image on to the screen before you will see it.

On Thu, 2002-09-19 at 04:11, black wrote:
> Hi,all~
> 
> I touched something about pygame today and confused with surface type. I
> didnt remember surface data type when learning python, and it displays
> strange to me, for example, I create a new surface by loading a picture
> as follows:
> 
> pygame.image.load("myPic.bmp") 
> 
> it works fine but I coulnt see any surface appears on the screen.
> any ideas ?
> 
> 
> 
> 
> 
> 
>   _____  
> 
> Do you Yahoo!?
> New DSL Internet Access
> <http://rd.yahoo.com/evt=1207/*http://sbc.yahoo.com/>  from SBC & Yahoo!
-- 
Anthony Tuininga
anthony at computronix.com
 
Computronix
Distinctive Software. Real People.
Suite 200, 10216 - 124 Street NW
Edmonton, AB, Canada  T5N 4A3
Phone:	(780) 454-3700
Fax:	(780) 454-3838
http://www.computronix.com





More information about the Python-list mailing list