What is the code to define all characters name outline in GUI {Solved}

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
SONOFATHIT
Newbie
Posts: 2
Joined: Sat Jan 13, 2024 10:13 pm
Contact:

What is the code to define all characters name outline in GUI {Solved}

#1 Post by SONOFATHIT »

hello guys,

Anyone knows how to code putting outline on character name

-code for define all the character in GUI-


help, please
Last edited by SONOFATHIT on Mon Jan 29, 2024 9:35 am, edited 1 time in total.

User avatar
m_from_space
Miko-Class Veteran
Posts: 978
Joined: Sun Feb 21, 2021 3:36 am
Contact:

Re: What is the code to define all characters name outline in GUI

#2 Post by m_from_space »

SONOFATHIT wrote: Mon Jan 29, 2024 1:05 am Anyone know how to code putting outline on character name

-code for define all the character in GUI-
You can edit <screens.rpy>. Here is an example for white outlines:

Code: Select all

screen say(who, what):
    style_prefix "say"

    window:
        id "window"

        if who is not None:

            window:
                id "namebox"
                style "namebox"
                text who id "who" outlines [ (absolute(1), "#fff", absolute(0), absolute(0)) ]

        text what id "what"

SONOFATHIT
Newbie
Posts: 2
Joined: Sat Jan 13, 2024 10:13 pm
Contact:

Re: What is the code to define all characters name outline in GUI

#3 Post by SONOFATHIT »

Work like a charm

thank you, brother m_from_space

Post Reply

Who is online

Users browsing this forum: No registered users