このサイトは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行の削除
分割表示
差分オプション
統計情報を表示
Patchファイルをダウンロード
Diffファイルをダウンロード
+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
書き込み
プレビュー
読み込み中…
キャンセル
保存