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,606
Reaction score
1,988
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

Turning a specific vibe into reality is incredibly difficult. For instance, this song is one of the ones I listen to when working on my post apocalyptic project, and getting it's "feeling" into the game has been a real challenge.

I don't just wanna regurgitate the numbers I see, I wanna actually understand the calculations I'm making so I'm probably gonna make a post later with some calculations and what I THINK they mean to get some advice and corrections.

Edit: All (Most) of these will be tested in game prior. I just wanna make sure I understand what's going on under the hood if you will.
my girlfriend calls all my little chibi art cute lol... funny considering that wasn't the original art style of the game.
100 problems in RMMZ 100 more problems take one down pass it around 101 Problems in RMMZ
Made some progress on my game, mostly mapping. Learned quite a bit in the process!.

M6eUoTT.png

Forum statistics

Threads
113,769
Messages
1,077,318
Members
147,804
Latest member
Dracul_JOSHI
Top