Text of varying sizes?

Coras

10 Month Old Code Baby
Member
Joined
Mar 11, 2016
Messages
8
Reaction score
1
First Language
English
Primarily Uses
N/A
Is there a way to specify font size in the drawText() function, or is there a plugin or modification that could be made to allow this to occur? My GUI would look much better if I could manage the size.


Thanks.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
If you use drawTextEx instead of drawText, you can use the standard Text escape codes to make your text larger or smaller.


If that's not do-able, you can just use this.contents.fontSize = x, where x is the size you want to use.  Then do your drawText call.
 

Coras

10 Month Old Code Baby
Member
Joined
Mar 11, 2016
Messages
8
Reaction score
1
First Language
English
Primarily Uses
N/A
Now my GUI is looking quite a bit more attractive, thanks  :D
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,868
Messages
1,017,066
Members
137,576
Latest member
SadaSoda
Top