瀏覽代碼

horizontal

challenge-6
Melissa 3 年之前
父節點
當前提交
2f5e5b505b
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      birdie.py

+ 2
- 2
birdie.py 查看文件

@@ -6,10 +6,10 @@ HEIGHT = 708

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

def update():
titi.y += titi.speed
titi.x += titi.speed
def draw():
screen.blit('background', (0, 0))


Loading…
取消
儲存