소스 검색

challenge 1

chapitre-1-challenge-1
antoine 3 년 전
부모
커밋
5090710ae0
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. +4
    -2
      birdie.py

+ 4
- 2
birdie.py 파일 보기

@@ -18,13 +18,15 @@ def draw():

def on_mouse_down():
print('Clic souris !')
titi.backupspeed= titi.speed
titi2.backupspeed= titi2.speed
titi.speed = 0
titi2.speed = 0

def on_mouse_up():
print('clic souris !')
titi.speed = 2
titi2.speed = 2
titi.speed = titi.backupspeed + 1
titi2.speed = titi2.backupspeed + 1

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


불러오는 중...
취소
저장