Beispiel #1
0
def update(frame_time):
    global logo_time

    if(logo_time > 1.0):
        logo_time = 0
        RunRun_Framework.push_state(RunMain)

    logo_time += frame_time
def update(frame_time):
    global lava, stage, trap, life, item, rotation, stageNum
    stage.update()
    for trap in TrapList:
        trap.update()
    for item in ItemList:
        item.update()
    lava.update()
    if life.onelife <= 0:
        life.onelife = 100
    life.update()
    life.SetLifeBar()


    if life.onelife <= 0:
        life.onelife = 100
        RunRun_Framework.push_state(RunRunRank_state)
    life.update()
    life.SetLifeBar()
##
    delay(0.02)