diff --git a/birdie.py b/birdie.py index 0bb1a7b..2eb7afa 100644 --- a/birdie.py +++ b/birdie.py @@ -4,7 +4,12 @@ TITLE = "paf l'oiseau" WIDTH = 400 HEIGHT = 708 + +def draw(): + screen.blit('bird2', (0, 0)) + bird.draw() titi= Actor('bird1', (75, 350)) +bird = Actor('bird2', (75,350)) def draw(): @@ -14,7 +19,7 @@ def draw(): def on_mouse_down(): print('Clic souris !') - titi.y -= 50 # + titi.y -= 80 # def on_mouse_up(): print('mouse up') titi.y -= 20