Преглед изворни кода

challenge-5-ok

chapitre-1-challenge-5
Cleason пре 3 година
родитељ
комит
12b0a602bc
1 измењених фајлова са 2 додато и 5 уклоњено
  1. +2
    -5
      birdie.py

+ 2
- 5
birdie.py Прегледај датотеку

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

def on_mouse_up():
print('Clic souris !')
titi.speed = 0


def update():
titi.x += titi.speed
if titi.left > WIDTH :
titi.right = 0


titi.speed = 3


Loading…
Откажи
Сачувај