[solved] Can I change the texbox of a specific screen?

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
Nanahs
Veteran
Posts: 310
Joined: Wed Aug 22, 2018 5:50 pm
Contact:

[solved] Can I change the texbox of a specific screen?

#1 Post by Nanahs »

I created a screen, and I wanted to change the textbox (png image) only of the texts I use on this screen.
Not the normal textbox from the entire game.

Is it possible to do? It's still learning how to costumize screens and I'm not sure if that's possible.

Thanks :)
Last edited by Nanahs on Wed Nov 07, 2018 8:03 am, edited 1 time in total.

User avatar
Andredron
Miko-Class Veteran
Posts: 718
Joined: Thu Dec 28, 2017 2:37 pm
Location: Russia
Contact:

Re: Can I change the texbox of a specific screen?

#2 Post by Andredron »

Code: Select all

image bg_anim: 
    't1.png' 
    0.5 
    't2.png' 
    0.5 
    repeat
    
    
define e = Character('Эйлин', color="#c8ffc8",window_background='bg_anim')

label start:
    e "text"
And

Code: Select all

screen reeee:
    xalign 0.5
    background "pic.png"

User avatar
Nanahs
Veteran
Posts: 310
Joined: Wed Aug 22, 2018 5:50 pm
Contact:

Re: Can I change the texbox of a specific screen?

#3 Post by Nanahs »

Andredron wrote: Sat Oct 27, 2018 4:23 am

Code: Select all

image bg_anim: 
    't1.png' 
    0.5 
    't2.png' 
    0.5 
    repeat
    
    
define e = Character('Эйлин', color="#c8ffc8",window_background='bg_anim')

label start:
    e "text"
And

Code: Select all

screen reeee:
    xalign 0.5
    background "pic.png"
I'll give it a try. Thanks :)

Post Reply

Who is online

Users browsing this forum: No registered users