Pygame: Filling the screen with tile images

Ben Sizer kylotan at gmail.com
Wed Oct 5 05:15:01 EDT 2005


I don't think PyGame will handle tiling for you, or any concept of a
'background image'. If you want something to appear multiple times on
the screen, you need to draw it multiple times. If you do that onto a
surface that is the same size as your screen, you can then consider
that the background image and blit that to the screen at the start of
every frame you draw.

-- 
Ben Sizer




More information about the Python-list mailing list