Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. for i in clear_next_frame:
  2. b = background.subsurface(i)
  3. screen.blit(b, i)
  4. for surface,position in static_blits.itervalues():
  5. if position.colliderect(i) and position != i:
  6. x = position.clip(i)
  7. y = x.move(-position.left,-position.top)
  8. b = surface.subsurface(y)
  9. screen.blit(b, x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement