delay problem, how can i delay to show a vbox into a screen, or the texts inside it?

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
deltadidirac
Regular
Posts: 123
Joined: Fri Nov 30, 2018 5:00 am
Projects: Artworks and Comics
Tumblr: deltadidirac
Deviantart: Deltadidirac67
Location: Europe
Contact:

delay problem, how can i delay to show a vbox into a screen, or the texts inside it?

#1 Post by deltadidirac » Mon May 06, 2019 11:22 am

Hi all,
I'm building many screens with several texts and vbox, but my problem is that the main image of the screen appear with many and different transformation, and during this transformations the vbox appear immidiatly....
here the example of my code:

Code: Select all

screen info:
    zorder 90
    add "glassinfo" at zoommov
    imagebutton:
        idle "butx-id"
        hover "butx-ho"
        action [Hide ("info")]
        xpos 765
        ypos 335
    vbox:
        xalign 0.3 yalign 0.3 
        text ("dagval, [dagval]")
        text ("dirtywear, [dirtywear]")
        text ("droom1val, [droom1val]")
        text ("dbathupval, [dbathupval]")            
        text ("dhallupval, [dhallupval]")     
        text ("lval, [lval]")   
        text ("kval, [kval]")
        text ("mval, [mval]")
My question is this:
how can I delay to show the vbox, or the texts into it, respect all the screen?
is it possible?

thanks

User avatar
nature1996
Regular
Posts: 62
Joined: Wed Jun 21, 2017 10:35 am
Contact:

Re: delay problem, how can i delay to show a vbox into a screen, or the texts inside it?

#2 Post by nature1996 » Mon May 06, 2019 11:28 am

I think this might help: https://www.renpy.org/doc/html/screens.html?#timer

This is if you want a fix amount of time. You might need to break your screen into subscreen for it to work (never tried to use timer before).
Je parle aussi français

User avatar
deltadidirac
Regular
Posts: 123
Joined: Fri Nov 30, 2018 5:00 am
Projects: Artworks and Comics
Tumblr: deltadidirac
Deviantart: Deltadidirac67
Location: Europe
Contact:

Re: delay problem, how can i delay to show a vbox into a screen, or the texts inside it?

#3 Post by deltadidirac » Mon May 06, 2019 12:58 pm

Thanks nature,
I saw around the link and I wrote a solution that split in two screen the original one and use a label to define all; seems it run..

see you

Post Reply

Who is online

Users browsing this forum: No registered users