소스 검색

last maj

chapitre-1-start
gaetanv 3 년 전
부모
커밋
2a06d6470b
1개의 변경된 파일6개의 추가작업 그리고 5개의 파일을 삭제
  1. +6
    -5
      bird.py

+ 6
- 5
bird.py 파일 보기

@@ -18,14 +18,16 @@ def draw():
def on_mouse_down(pos):
print( pos, 'est la position lors du clic gauche')
titi.backupspeed = titi.speed
tutu.backupspeed = tutu.speed
titi.speed = 0
tutu.speed = 0
def on_mouse_up (pos):
print( pos)
titi.speed = 10
tutu.speed = 10
titi.speed = titi.backupspeed + 2
tutu.speed = tutu.backupspeed + 2
def update():
titi.x += titi.speed
tutu.y += tutu.speed
@@ -33,9 +35,8 @@ def update():
titi.x = 0
if tutu.y > 700 :
tutu.y = 10



titi.speed = 1
tutu.speed = 1


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