浏览代码

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


正在加载...
取消
保存