2 커밋

작성자 SHA1 메시지 날짜
  Cleason fc375203ba Mise à jour 3 년 전
  Cleason fc3bc487ce Challenge-1 ok 3 년 전
1개의 변경된 파일2개의 추가작업 그리고 8개의 파일을 삭제
통합 보기
  1. +2
    -8
      birdie.py

+ 2
- 8
birdie.py 파일 보기

@@ -13,16 +13,10 @@ def draw():
screen.blit('background', (0, 0)) screen.blit('background', (0, 0))
titi.draw() titi.draw()


def on_mouse_up():
print('Clic souris !')
titi.y -= 50 # équivalent à titi.y = titi.y - 50

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


if titi.y > 400 :
titi.y = 0


titi.speed = 1
titi.speed = 3


pgzrun.go() pgzrun.go()

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