RMMV [Solved]Font Outline Control

Status
Not open for further replies.

ogsixer

Warper
Member
Joined
Feb 14, 2018
Messages
4
Reaction score
1
First Language
English
Primarily Uses
RMMV
There are lines of code in rpg_core that control the thickness and color of the font outline.

I need a plugin that would allow for control of the font outline within a message window. A shorthand control like \FO[x,y] (x = thickness, y = opacity) It must also be compatible with the Yanfly command of \fr to reset the fonts back to default.

The lines of code for this are in 'rpg_core.js' Line: 1534.
Code:
Bitmap.prototype._drawTextOutline = function(text, tx, ty, maxWidth) {
    var context = this._context;
    context.strokeStyle = this.outlineColor;
    context.lineWidth = 3; //edited by me to = 3
    context.lineJoin = 'round';
    context.strokeText(text, tx, ty, maxWidth);
};
---------------------------------------

I found what I needed within the yanfly msg core.
\oc[x] = color
\ow[x] = width
 
Last edited:

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
7,867
Reaction score
5,240
First Language
Dutch
Primarily Uses
RMXP

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

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

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,049
Messages
1,018,546
Members
137,835
Latest member
yetisteven
Top