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