Hi
You probably could use the pygame.sprite.LayeredDirty and use the y axis as for the layer (smaller y means behind). If I remember correctly, the dirty flag should handle the rest (it redraws the parts that are affected by a dirty sprite). Make sure you use convert or convert_alpha and maybe the RLEACCEL flag for blitting (this might give you a performance boost). ~DR0ID On 16.06.2013 13:44, Radomir Dopieralski wrote:
|