This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
cleason
/
paf-loiseau
forked from
fabien.toune/paf-loiseau
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
challenge-6-ok
chapitre-1-challenge-6
Cleason
3 years ago
parent
12b0a602bc
commit
690b5a64db
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
birdie.py
+ 3
- 0
birdie.py
View File
@@ -13,6 +13,9 @@ def draw():
screen.blit('background', (0, 0))
titi.draw()
def on_mouse_down():
titi.speed += 1
def update():
titi.x += titi.speed
if titi.left > WIDTH :
Write
Preview
Loading…
Cancel
Save