A bug in timed menus (ui.timer)

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
Bombermans
Newbie
Posts: 13
Joined: Sun Apr 01, 2007 8:27 am
Location: Spain
Contact:

A bug in timed menus (ui.timer)

#1 Post by Bombermans »

In NVL Mode, this just don't work. Is there any form to fix that? Could be fixed in the next relaxe?

Code: Select all

    $ ui.timer(10.0, ui.jumps("menu2_v2"))
    menu:
        "Choice 1 fast":
            hide countdown2
            e "You chosed 'Choice 1' fast"
            jump menu2_end
        "Choice 2 fast":
            hide countdown2
            e "You chosed 'Choice 2' fast"
            jump menu2_end

label menu2_v2:
    $ ui.timer(10.0, ui.jumps("menu2_slow"))
    hide countdown2
    show countdown at Position (xalign = 0.5, yalign = 0.1)
    menu:
        "Choice 1 slow":
            hide countdown
            e "You chosed 'Choice 1', but was slow"
            jump menu2_end
        "Choice 2":
            hide countdown
            e "You chosed 'Choice 2', but was slow"
            jump menu2_end

label menu2_slow:
    hide countdown
    e "You was really slow and didn't choose anything."

label menu2_end:
    e "Anyway, let's do something else."
    
    

Post Reply

Who is online

Users browsing this forum: Google [Bot], Ocelot