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
chapitre1-challenge2
chapitre1-challenge2
Jen
3 years ago
parent
684f003e54
commit
3319bd00d5
1 changed files
with
6 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-3
birdie.py
+ 6
- 3
birdie.py
View File
@@ -7,12 +7,15 @@ def draw():
screen.blit('background.png', (0,0))
titi.draw()
def on_mouse_down():
def on_mouse_down():
print('Clic souris !')
titi.x -= 50
titi.y -= 50
titi.speed = 0
def update():
titi.x += titi.speed
titi.
y
+= titi.speed
Write
Preview
Loading…
Cancel
Save