Преглед изворни кода

arret au plus de tuyau

chapitre-2-Melo
Melo пре 3 година
родитељ
комит
762c4659ea
1 измењених фајлова са 5 додато и 0 уклоњено
  1. +5
    -0
      birdie.py

+ 5
- 0
birdie.py Прегледај датотеку

@@ -10,6 +10,8 @@ def on_mouse_down():

def update():
titi.x += titi.speed
tube_sup.x -= vitesse_defilement
tube_inf.x -= vitesse_defilement

def draw():
screen.blit('background', (0, 0))
@@ -25,4 +27,7 @@ ecart = 140
tube_sup = Actor ('top',(300,0))
tube_inf = Actor ('bottom',(300,tube_sup.height + ecart))

vitesse_defilement =1


pgzrun.go()

Loading…
Откажи
Сачувај