ソースを参照

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


読み込み中…
キャンセル
保存