This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
Jen
/
paf-loiseau
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
chap1-challenge6
chap1-challenge6
Jen
3 years ago
parent
ceac5cc864
commit
76c6a58f53
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
birdie.py
+ 2
- 0
birdie.py
View File
@@ -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
Write
Preview
Loading…
Cancel
Save