SOLVED: Creating Timed Menus (Help me please)

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
ceralynne
Newbie
Posts: 5
Joined: Fri Jun 23, 2017 6:03 pm
Projects: A shit dating sim game with more easter eggs than plot tbh
Contact:

SOLVED: Creating Timed Menus (Help me please)

#1 Post by ceralynne »

I am having trouble creating timed menus and was directed to the old cookbook
https://www.renpy.org/wiki/renpy/doc/co ... imed_menus
or just this code

Code: Select all

 transform alpha_dissolve:
            alpha 0.0
            linear 0.5 alpha 1.0
            on hide:
            linear 0.5 alpha 0
            
            screen countdown:
            timer 0.01 repeat True action If(time > 0, true=SetVariable('time', time - 0.01), false=[Hide('countdown'), Jump(timer_jump)])
            bar value time range timer_range xalign 0.5 yalign 0.9 xmaximum 300 at alpha_dissolve # This is the timer bar.
I copied-and pasted the code and my result was an error in the script. Would someone please tell me how to fix this or link me to where I can figure this out?

Please excuse me if this is basic information, I'm sorry, as I'm very new to Ren'Py. Thank you for your time.
Last edited by ceralynne on Wed Aug 09, 2017 11:15 am, edited 1 time in total.

User avatar
ceralynne
Newbie
Posts: 5
Joined: Fri Jun 23, 2017 6:03 pm
Projects: A shit dating sim game with more easter eggs than plot tbh
Contact:

Re: Creating Timed Menus (Help me please)

#2 Post by ceralynne »

HAHAHAAHAHAHAHAHAHA nevermind ;-;

User avatar
ceralynne
Newbie
Posts: 5
Joined: Fri Jun 23, 2017 6:03 pm
Projects: A shit dating sim game with more easter eggs than plot tbh
Contact:

Re: SOLVED: Creating Timed Menus (Help me please)

#3 Post by ceralynne »

If anyone wants to know how this was solved from a later time, I skipped the progress bar in the renpy cookbook and instead input numbers... I like it better anyways.

Post Reply

Who is online

Users browsing this forum: Bing [Bot]