How to pick which layer text is drawn on

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
turtle_tower23
Newbie
Posts: 1
Joined: Mon Aug 22, 2022 12:45 am
Contact:

How to pick which layer text is drawn on

#1 Post by turtle_tower23 » Mon Aug 22, 2022 12:51 am

Howdy, I'm not sure if I'm just using incorrect terminology or if I'm missing something obvious, but I cannot seem to figure this out. I have a character portrait that sits on top of the usual text box but I can't seem to get the engine to draw a line of text above this image.
Capture.PNG
(sample image, The black ribbon on the frame should say "Suzy")

User avatar
m_from_space
Veteran
Posts: 302
Joined: Sun Feb 21, 2021 3:36 am
Contact:

Re: How to pick which layer text is drawn on

#2 Post by m_from_space » Mon Aug 22, 2022 1:23 am

You're using a side image for that character. That image will always be on top of the say screen and therefore dialogue and the namebox. If you want to show Suzy's name inside that ribbon, then make that part of the side image transparent. And inside the namebox of the say screen put the background of the ribbon in.

I hope you understand what I'm trying to say. :)

P.S. Love the look of that skeleton.

User avatar
Ocelot
Eileen-Class Veteran
Posts: 1882
Joined: Tue Aug 23, 2016 10:35 am
Github: MiiNiPaa
Discord: MiiNiPaa#4384
Contact:

Re: How to pick which layer text is drawn on

#3 Post by Ocelot » Mon Aug 22, 2022 3:07 am

You need to edit screens.rpy file and make sure that line add SideImage() in say screen is placed before namebox window declaration.
< < insert Rick Cook quote here > >

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Majestic-12 [Bot]