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