本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
註冊
登入
Ophelie
/
paf-loiseau
複製自
fabien.toune/paf-loiseau
關注
1
收藏
0
複製
1
程式碼
問題
0
合併請求
0
版本發佈
0
Wiki
活動
瀏覽代碼
chap1-challenge6
chapitre-1-challenge-6
ophelie
3 年之前
父節點
4a1a638b41
當前提交
371010e150
共有
1 個檔案被更改
,包括
4 行新增
和
2 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-2
birdie.py
+ 4
- 2
birdie.py
查看文件
@@ -14,9 +14,11 @@ def on_mouse_down(): # fonction 'click avec souris'
def on_mouse_up(): # fonction 'quand la souris ne click plus'
print('relache souris')
titi.y += 6
titi.speed = 5
titi.speed = 3
titi.speed += 1
birdi.y += 10
birdi.speed = 8
birdi.speed = 2
birdi.speed += 1
def update():
titi.y += titi.speed # mise a jour (60x/sec) de titi
Write
Preview
Loading…
取消
儲存