Переглянути джерело

mise à jour challenge 1

chapitre-1-challenge-1
Jordan Pleugers 3 роки тому
джерело
коміт
12d6ce5c5e
1 змінених файлів з 4 додано та 0 видалено
  1. +4
    -0
      birdie.py

+ 4
- 0
birdie.py Переглянути файл

@@ -21,8 +21,12 @@ def draw():
screen.blit('background', (0, 0))
titi.draw()
titi2.draw()
poteau_1.draw()
poteau_2.draw()
titi = Actor('bird1', (75, 350))
titi2 = Actor('bird2', (75, 350))
poteau_1 = Actor('bottom',(300,800))
poteau_2 = Actor('top',(300, -100))

def update():
titi.x += titi.speed


Завантаження…
Відмінити
Зберегти