This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
verkamerloic
/
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
maSolution
chap-1-speed
verkamerloic
3 years ago
parent
d0b23b4369
commit
bce8a4c708
1 changed files
with
19 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+19
-1
birdie.py
+ 19
- 1
birdie.py
View File
@@ -1 +1,19 @@
print('Hello world !')
import pgzrun
TITLE = "Paf l'oiseau"
WIDTH = 400
HEIGHT = 708
def on_mouse_down():
print("clic souris !")
titi.y -=50
def update ():
titi.y += titi.speed
def draw():
screen.blit('background', (0, 0))
titi.draw()
titi = Actor("bird1",(75,350))
titi.speed = 1
pgzrun.go()
Write
Preview
Loading…
Cancel
Save