- 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.
---------------------------------------
I found what I needed within the yanfly msg core.
\oc[x] = color
\ow[x] = width
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:


