This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
Melo
/
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
nouveau commit, je sais pas ou je suis
Challengebird_birddead
Melo
3 years ago
parent
df1cf839fb
commit
9e0ea625fc
1 changed files
with
13 additions
and
13 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+13
-13
birdie.py
+ 13
- 13
birdie.py
View File
@@ -12,19 +12,19 @@ def draw():
titi.draw()
#ghost.draw()
def on_mouse_down():
print("plus vite)")
titi.speed +=1
#
print('stop !')
#
titi.y -= 20
#
ghost.x -= 10
#
titi.speed = 0
#
ghost.speed = 0
#
def on_mouse_up():
#
print('go')
#
titi.speed = 5
#
ghost.speed = 4
def on_mouse_down():
print("plus vite)")
#
titi.speed +=1
#
print('stop !')
#
titi.y -= 20
ghost.x -= 10
titi.speed = 0
ghost.speed = 0
def on_mouse_up():
print('go')
titi.speed = 5
ghost.speed = 4
def update():
Write
Preview
Loading…
Cancel
Save