本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
註冊
登入
Melo
/
paf-loiseau
複製自
fabien.toune/paf-loiseau
關注
1
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
0
Wiki
活動
瀏覽代碼
nouveau commit, je sais pas ou je suis
Challengebird_birddead
Melo
3 年之前
父節點
df1cf839fb
當前提交
9e0ea625fc
共有
1 個檔案被更改
,包括
13 行新增
和
13 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+13
-13
birdie.py
+ 13
- 13
birdie.py
查看文件
@@ -12,19 +12,19 @@ def draw():
titi.draw()
#ghost.draw()
def on_mouse_down():
print("plus vite)")
titi.speed +=1
#
print('stop !')
#
titi.y -= 20
#
ghost.x -= 10
#
titi.speed = 0
#
ghost.speed = 0
#
def on_mouse_up():
#
print('go')
#
titi.speed = 5
#
ghost.speed = 4
def on_mouse_down():
print("plus vite)")
#
titi.speed +=1
#
print('stop !')
#
titi.y -= 20
ghost.x -= 10
titi.speed = 0
ghost.speed = 0
def on_mouse_up():
print('go')
titi.speed = 5
ghost.speed = 4
def update():
Write
Preview
Loading…
取消
儲存