Browse Source

mise a jour

chapitre-1-end
patient 3 years ago
parent
commit
cf4f3500e6
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      birdie.py

+ 6
- 1
birdie.py View File

@@ -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


Loading…
Cancel
Save