Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for i in clear_next_frame:
- b = background.subsurface(i)
- screen.blit(b, i)
- for surface,position in static_blits.itervalues():
- if position.colliderect(i) and position != i:
- x = position.clip(i)
- y = x.move(-position.left,-position.top)
- b = surface.subsurface(y)
- screen.blit(b, x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement