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-5-ok
chapitre-1-challenge-5
Cleason
3 years ago
parent
b5b3f3fbff
commit
12b0a602bc
1 changed files
with
2 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-5
birdie.py
+ 2
- 5
birdie.py
View File
@@ -13,13 +13,10 @@ def draw():
screen.blit('background', (0, 0))
titi.draw()
def on_mouse_up():
print('Clic souris !')
titi.speed = 0
def update():
titi.x += titi.speed
if titi.left > WIDTH :
titi.right = 0
titi.speed = 3
Write
Preview
Loading…
Cancel
Save