How to change namebox depending on character

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
NEOTH1X_
Newbie
Posts: 5
Joined: Wed Dec 16, 2020 9:40 am
Contact:

How to change namebox depending on character

#1 Post by NEOTH1X_ »

Hello!
So as the subject says, how do I code renpy so that the name box changes depending on the character speaking? I felt like this would suit my game better than just changing the text colour.
Thank you!

User avatar
AceQueenKimu24
Newbie
Posts: 19
Joined: Mon May 08, 2017 5:17 am
Projects: Blooming Romance | Marionette
Deviantart: 24WildHeart
itch: 24_wildheart
Contact:

Re: How to change namebox depending on character

#2 Post by AceQueenKimu24 »

when defining the character include the line:

Code: Select all

namebox_background = "*insert image you want to use as your namebox*,
that would most likely set the chosen image to be that specific character's namebox.
Image

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot]