Ver a proveniência

arret au plus de tuyau

chapitre-2-Melo
Melo há 3 anos
ascendente
cometimento
762c4659ea
1 ficheiros alterados com 5 adições e 0 eliminações
  1. +5
    -0
      birdie.py

+ 5
- 0
birdie.py Ver ficheiro

@@ -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()

Carregando…
Cancelar
Guardar