Browse Source

Mise à jour

chapitre-1-challenge-1
Cleason 3 years ago
parent
commit
fc375203ba
1 changed files with 0 additions and 8 deletions
  1. +0
    -8
      birdie.py

+ 0
- 8
birdie.py View File

@@ -13,17 +13,9 @@ def draw():
screen.blit('background', (0, 0)) screen.blit('background', (0, 0))
titi.draw() titi.draw()


# def on_mouse_up():
# print('Clic souris !')
# titi.y -= 50 # équivalent à titi.y = titi.y - 50


def update(): def update():
titi.x += titi.speed titi.x += titi.speed


# if titi.x > WIDTH :
# titi.x = 0



titi.speed = 3 titi.speed = 3



Loading…
Cancel
Save