Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #le ballon touche le nuage du haut
- if self.balloonX+GameConfig.balloonW > self.cloudX and self.balloonX+GameConfig.balloonW+10 < self.cloudX+GameConfig.cloudW-10 and self.balloonY < self.cloudY+GameConfig.cloudH-10 :
- return True
- #le ballon touche le nuage du bas
- if self.balloonX + GameConfig.balloonW > self.cloudX and self.balloonX+GameConfig.balloonW+10 < self.cloudX+GameConfig.cloudW and self.balloonY+GameConfig.balloonH-10 > self.cloudY+self.cloudSpace+GameConfig.cloudH+10 :
- return True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement