Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- elif keycode[1] == 'down':
- self.source ='characters/walkdown.zip'
- self.anim_delay=.20
- if self.y < (Window.height * .25):
- if not any(i.collide_point(*self.pos) for i in listofwidgets):
- for i in backgroundwidgets:
- i.y += 4
- else:
- if not any(i.collide_point(*self.pos) for i in listofwidgets):
- self.y -= 6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement