2 커밋

작성자 SHA1 메시지 날짜
  Melo 9e0ea625fc nouveau commit, je sais pas ou je suis 3 년 전
  Melo df1cf839fb nouveau changement 3 년 전
1개의 변경된 파일7개의 추가작업 그리고 5개의 파일을 삭제
분할 보기
  1. +7
    -5
      birdie.py

+ 7
- 5
birdie.py 파일 보기

@@ -10,11 +10,13 @@ ghost = Actor('birddead',(75,350))
def draw():
screen.blit('background', (0, 0))
titi.draw()
ghost.draw()
#ghost.draw()

def on_mouse_down():
print('stop !')
titi.y -= 20
print("plus vite)")
# titi.speed +=1
# print('stop !')
# titi.y -= 20
ghost.x -= 10
titi.speed = 0
ghost.speed = 0
@@ -27,10 +29,10 @@ def on_mouse_up():

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

titi.speed = 5
ghost.speed = 4
#ghost.speed = 4


pgzrun.go()

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