Този сайт работи по-добре с JavaScript.
Начало
Каталог
Помощ
Регистрация
Вход
Gaetanv
/
paf-loiseau
разклонено от
fabien.toune/paf-loiseau
Наблюдаван
1
Харесван
0
Разклонения
0
Код
Задачи
0
Заявки за сливане
0
Версии
0
Уики
Activity
Преглед на файлове
MAj
chapitre-1-start
gaetanv
преди 3 години
родител
a70bd07f05
ревизия
6570da0bcb
променени са
2 файла
, в които са
добавени 24
реда и са
изтрити 1
реда
Разделен изглед
Diff Options
Показване на статистика
Download Patch File
Download Diff File
+24
-0
Birdies.py
+0
-1
essai.py
+ 24
- 0
Birdies.py
Целия файл
@@ -0,0 +1,24 @@
import pgzrun
# Le corps du programme devrait se trouver ici...
TITLE = "Paf l'oiseau"
WIDTH = 400
HEIGHT = 700
titi = Actor('bird1', (75, 350))
def draw():
screen.blit('background', (0, 0))
titi.draw()
def on_mouse_down():
titi.x = 0
def update():
titi.x += titi.speed
titi.speed = 1
pgzrun.go()
+ 0
- 1
essai.py
Целия файл
@@ -1 +0,0 @@
print("hello")
Пиши
Преглед
Зареждане…
Отказ
Запис