So I made a script. I'm new to JS so bare with me. I'm trying to change the font of just that box i made, I want the font in the rest of the game to remain at 28. I was able to use
Window_Base.prototype.standardFontSize = function() {
return 28;
};
which i know changes the whole game's font size. but all I want to change is the box I made. Here's a small piece if this helps?
Quest_Help_Menu.prototype.refresh = function() {
var x = this.textPadding();
var width = this.contents.width - this.textPadding() * 2;
this.contents.clear();
this.drawTextEx("Thinking...", 0, 0);
};
I want to change the size of what's in this.drawTextEx, this is possible right? also I should mention this is using MV
Trouble with font size in my quest helper box in MV
● ARCHIVED · READ-ONLY
-
-
Code:Where X is the font size that you would like on your window.
Quest_Help_Menu.prototype.standardFontSize = function() { return X; }; -
Thank you TONS! That simple huh :) much appreciated!
-
Yeah, that's the benefit of a well-constructed prototype inheritance / chain. Any window that inherits from Window_Base gets all of its methods, but they can be overwritten on a case-by-case basis.