patient 3 лет назад
Родитель
Сommit
cf4f3500e6
1 измененных файлов: 6 добавлений и 1 удалений
  1. +6
    -1
      birdie.py

+ 6
- 1
birdie.py Просмотреть файл

@@ -4,7 +4,12 @@ TITLE = "paf l'oiseau"
WIDTH = 400
HEIGHT = 708


def draw():
screen.blit('bird2', (0, 0))
bird.draw()
titi= Actor('bird1', (75, 350))
bird = Actor('bird2', (75,350))


def draw():
@@ -14,7 +19,7 @@ def draw():

def on_mouse_down():
print('Clic souris !')
titi.y -= 50 #
titi.y -= 80 #
def on_mouse_up():
print('mouse up')
titi.y -= 20


Загрузка…
Отмена
Сохранить