JSON Text border [solved]

Xand

Veteran
Veteran
Joined
Jan 7, 2018
Messages
63
Reaction score
75
First Language
Russian
Primarily Uses
VNM
Hello~
I'm artist currently trying to do some coffee script with zero knowledge. And I need some help. Here is a code

Code:
ui.UIManager.styles.messageBoxNameText = {
    "font": {
        "name": "SevillaDecor",
        "size": gs.UIConstants.TEXT_SIZE_MESSAGE_NAME,
        "smallCaps": false,
        "italic": false,
        "color": [216, 211, 209, 255],
        "border": true,
        "borderSize": 3,


Now it looks like this


And I need this


So I need to make border color #8F5A89 or 143, 90, 137, 255
I decide to not bother with space between letters so ignore this, only border color is what I need.
Thank you for tips or help.
 

Kentou

Admin
Admin
Joined
Jan 20, 2014
Messages
214
Reaction score
49
Hi, did you try:

Code:
ui.UIManager.styles.messageBoxNameText = {
   "font": {
       "name": "SevillaDecor",
       "size": gs.UIConstants.TEXT_SIZE_MESSAGE_NAME,
       "smallCaps": false,
       "italic": false,
       "color": [216, 211, 209, 255],
       "outline": { size: 3, color: [143, 90, 137, 255] },
There is an outline property as well. "border" is actually deprecated/outdated. Let me know if that helps you out.
 

Xand

Veteran
Veteran
Joined
Jan 7, 2018
Messages
63
Reaction score
75
First Language
Russian
Primarily Uses
VNM
There is an outline property as well. "border" is actually deprecated/outdated. Let me know if that helps you out.
Thank you, working perfectly!
"Border" was in VNMaker tutorial, so you may want to edit this.
 

Users Who Are Viewing This Thread (Users: 1, Guests: 1)

Latest Threads

Latest Profile Posts

I usually don't enjoy survival games, but I absolutely love Conan Exiles.
Basically Everyone: Dont make a long game the first time. Me: I guess i'll make a REALLY long game in that case >:p
I've developed a habit of thanking cleaning ladies for their work.
Sorry Aerith... I will abandon your shoes... :guffaw:
Spent a whole bunch of time today reworking the area in the video because someone said it was too illusory. So I reworked it so it changes less, moved the grass up to the same level as the player.... And found enough extra resources to make the grass moves when the player touches it. Also lots more water, because it looks amazing. I'll probably put up a short updated video later today.

Forum statistics

Threads
95,771
Messages
931,768
Members
126,170
Latest member
2969910490
Top