Пожалуйста, включите JavaScript.
Главная
Обзор
Помощь
Регистрация
Вход
Ophelie
/
paf-loiseau
форкнуто от
fabien.toune/paf-loiseau
Следить
1
В избранное
0
Форкнуть
1
Код
Задачи
0
Pull Request'ы
0
Релизы
0
Вики
Активность
Просмотр исходного кода
chap1-challenge6
chapitre-1-challenge-6
ophelie
3 лет назад
Родитель
4a1a638b41
Сommit
371010e150
1 измененных файлов
:
4 добавлений
и
2 удалений
Разделённый вид
Опции Diff
Показать статистику
Скачать 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
Редактирование
Предпросмотр
Загрузка…
Отмена
Сохранить