Pārlūkot izejas kodu

chap1-challenge6

chap1-challenge6
Jen pirms 3 gadiem
vecāks
revīzija
76c6a58f53
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. +2
    -0
      birdie.py

+ 2
- 0
birdie.py Parādīt failu

@@ -18,6 +18,8 @@ def on_mouse_up(): # fonction 'quand la souris ne click plus'
titi.y += 100
titi.speed = 5
piou.speed = 3
titi.speed += 1
piou.speed += 1

def update():
titi.y += titi.speed # mise a jour (60x/sec) de titi


Notiek ielāde…
Atcelt
Saglabāt