Skip to content
Black Ram edited this page Sep 19, 2023 · 3 revisions

Countdown

Countdown is a screen called countdown

Exemple:

label start
    "Train boxing."
    show screen countdown(timer_range=5, not_click_label='menu_slow')
    menu:
        "Attacks":
            hide screen countdown
            "You punched."
        "Defend":
            hide screen countdown
            "You defended yourself."
        "Do nothing":
            hide screen countdown
            "You didn't do anything."
    return

label menu_slow:
    "You're too slow!"
    "Retry"
    jump start
    return
Clone this wiki locally