[SOLVED] Displaying multiple Text Images at the same time

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
afrikanwizard
Newbie
Posts: 21
Joined: Tue Nov 19, 2019 3:41 pm
Completed: Edge of Darkness - Volume 1: The Old Man
Contact:

[SOLVED] Displaying multiple Text Images at the same time

#1 Post by afrikanwizard » Fri Oct 16, 2020 1:10 pm

How do I display more than one text image at the same time on the screen? Is this supported by Ren'Py?

Each 'show text' command deletes/replaces the text image already on screen.

I know how to display multiples of the same image file on screen by defining it under new names. I assumed the process would be similar for text images but it doesn't seem work. And I couldn't find a solution by searching the Ren'Py documentation files.
Last edited by afrikanwizard on Fri Oct 16, 2020 5:35 pm, edited 1 time in total.

User avatar
hell_oh_world
Miko-Class Veteran
Posts: 777
Joined: Fri Jul 12, 2019 5:21 am
Projects: The Button Man
Organization: NILA
Github: hell-oh-world
Location: Philippines
Contact:

Re: Displaying multiple Text Images at the same time

#2 Post by hell_oh_world » Fri Oct 16, 2020 1:37 pm

i think you can alias them.

Code: Select all

show text "something" as txt1
show text "something2" as txt2
https://www.renpy.org/doc/html/displayi ... -statement

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3636
Joined: Mon Dec 14, 2015 5:05 am
Location: Your monitor
Contact:

Re: Displaying multiple Text Images at the same time

#3 Post by Imperf3kt » Fri Oct 16, 2020 4:27 pm

Is this in the splashscreen or something?

Just add a pause between each show statement (add a number for time or no number to let the player click through.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor
Free Android GUI - Updated occasionally
Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py

afrikanwizard
Newbie
Posts: 21
Joined: Tue Nov 19, 2019 3:41 pm
Completed: Edge of Darkness - Volume 1: The Old Man
Contact:

Re: Displaying multiple Text Images at the same time

#4 Post by afrikanwizard » Fri Oct 16, 2020 5:35 pm

Thanks, hell_oh_world. That was exactly what I was looking for. I had checked that very same page of the documentation you linked to and missed that bit. :P

Imperf3kt wrote:
Fri Oct 16, 2020 4:27 pm
Is this in the splashscreen or something?

Just add a pause between each show statement (add a number for time or no number to let the player click through.
Oh no. It's for use in-game. I knew how to display text images, fiddle with their appearance and location, and use timed pauses to make the lines of text flow. What I couldn't figure was how to show a new one without having the previous vanish, so that I could have the full text showing on the screen at the end.

Post Reply

Who is online

Users browsing this forum: Ocelot