Advertisement
Guest User

Untitled

a guest
Apr 24th, 2014
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.49 KB | None | 0 0
  1.             elif keycode[1] == 'down':
  2.                 self.source ='characters/walkdown.zip'
  3.                 self.anim_delay=.20
  4.                 if self.y < (Window.height * .25):
  5.                     if not any(i.collide_point(*self.pos) for i in listofwidgets):
  6.                         for i in backgroundwidgets:
  7.                             i.y += 4
  8.                 else:
  9.                     if not any(i.collide_point(*self.pos) for i in listofwidgets):
  10.                         self.y -= 6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement