How to make lines of text appear on screen, one after another?

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
017Bluefield
Regular
Posts: 93
Joined: Mon Dec 30, 2013 1:55 am
Projects: Project Bluefield - Origins
Organization: Autumn Rain
Deviantart: playerzero17
itch: autumn-rain
Contact:

How to make lines of text appear on screen, one after another?

#1 Post by 017Bluefield »

So I'm tinkering with a DOS-display-style screen, as shown below:

Code: Select all

screen wall4_reconstruct():
    zorder 1

    frame:
        pass

    vbox:
        xmaximum 1000
        align (0.1,0.1)

        text "-- {b}Re:{/b}CONSTRUCT --":
            font "fonts/SourceCodePro-Regular.ttf"
            size 30
            slow_cps 24
        text "——————————————————————————————\n":
            font "fonts/SourceCodePro-Regular.ttf"
            size 30
            slow_cps 24
        vbox:
            align (0.2,0.1)
            text "Main Subsystem: {b}Active{/b}"
            text "Files indexed for viewing:\n* /017/{b}awakening.rcs{/b}\n* /013r/{b}departure.rcs{/b}"
            text "Repurposing: {b}ui{/b}, {b}quick_menu{/b}, {b}renpy.notify(){/b}...":
                font "fonts/SourceCodePro-Regular.ttf"
                size 18
                color "#FFFC"
                text_align 0.0
                slow_cps 24
Now, what I'm trying to do is, when this screen is displayed, make the last three text elements appear one after the other. Does that require the use of the timer, or do I need something else?

Post Reply

Who is online

Users browsing this forum: Bing [Bot]