From cf4f3500e6cd3fa1105bb772a181cad39b644d22 Mon Sep 17 00:00:00 2001 From: patient Date: Tue, 24 Nov 2020 16:19:07 +0100 Subject: [PATCH] mise a jour --- birdie.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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