seyfer110

Veteran
Veteran
Joined
Jan 9, 2014
Messages
64
Reaction score
6
Primarily Uses
Hello!
I've just stumbled into a little issue...
I want to decrease the text size of a single word inside a dialogue, but I want to decrease it by More than 1 ( \} ) ;
The idea is to make a character say something like a feeble whisper, than repeat it a little louder, and finally a third time normally.
How do I do that? o_O
I tried to repeat the code, like
Code:
\}\}text
, which worked on VX ace, but it doesn't on MV...
 

caethyril

^_^
Veteran
Joined
Feb 21, 2018
Messages
2,585
Reaction score
1,964
First Language
EN
Primarily Uses
RMMZ
The default font size is 28, and each \} makes the font 12 units smaller. However, the size change will not be applied if the current size is less than 24 units.

One option could be to do something like this:
Code:
\}one \{two \{three
That ends up with the third one being bigger than normal, though. :kaoslp:

Alternatively you could get a plugin that lets you customise the size of the font change step, e.g.
Or you could write your own plugin: copy this code into a file, edit the numbers, save as a .js file, then import as a plugin~
JavaScript:
Window_Base.prototype.makeFontBigger = function() {
    if (this.contents.fontSize <= 96) {
        this.contents.fontSize += 12;
    }
};

Window_Base.prototype.makeFontSmaller = function() {
    if (this.contents.fontSize >= 24) {
        this.contents.fontSize -= 12;
    }
};
 

seyfer110

Veteran
Veteran
Joined
Jan 9, 2014
Messages
64
Reaction score
6
Primarily Uses
already have Message Core, but didn't know I could make the text even smaller or bigger with it, tnx for the info!
 

Latest Threads

Latest Posts

Latest Profile Posts

My outfit at Metrocon. It was fun.
Manafinder got featured in an Upcoming Indie RPGs video alongside other great RPG Maker (and not RPG Maker) games!

Frostorm wrote on Pharonix's profile.
Hey bro, hmu if you're around...I really need your help. >.<
Working hard to keep master @ImaginaryVillain 's sparkles on stock! :kaodes:
A3lgj8H.jpg

Hopefully this will please him enough to give us our beds back...
My mom is finally coming home tonight! In the meantime, Wishful Wanda is back in production.

Forum statistics

Threads
113,622
Messages
1,076,276
Members
147,633
Latest member
cmhub05
Top