Global Text Code resizing.

SaburoX

Veteran
Veteran
Joined
Jan 27, 2013
Messages
87
Reaction score
8
Primarily Uses
Hi all. I'm using Modern Algebra's Global Text Codes in my project in order to get actor names in the map's 'Display Name' field (and potentially in some other areas).
However it's got the unfortunate side effect of overwriting the features of Ace's draw_text that will resize text that's too big for its field. How can I get those back at least in certain menus? To give specifics, I'm trying to get the main menu to display full names, albeit compressed, instead of cutting them off.

With Global Text Code it looks like this:

(As you might have guessed I'm displaying nicknames instead of class names but that shouldn't affect this issue)

But what I want is for it to look like this:


What can I do to get that effect back?
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
822
First Language
Hungarian
Primarily Uses
RMVXA
I will never understand why people want that effect at the first place... It looks ugly. >.>
Use a custom font that is more condensed and you won't have any issue. Plenty of good fonts out there to choose from.

But to answer your question directly...
That effect will not return if you use that global thing there, because from that point on it will use the draw_text_ex method instead of the regular draw_text one, and that one got no shrinking effect.. It's one or the other, can't be both.
 

SaburoX

Veteran
Veteran
Joined
Jan 27, 2013
Messages
87
Reaction score
8
Primarily Uses
The main reason I can't just change fonts is because this is only an issue from this one menu and I don't want to make a sweeping across the game change just for that. Especially given that some of the nicknames I have planned (as a sort of title/achievement system) are long enough that a font change alone wouldn't fix the issue.

Given that it's one or the other, is there a way to stick in some kind of exception for the main menu or only have this script apply to certain scenes? The main reason I'm using it is to get the player's name in maps but this is a really powerful script for what seems like such a minor goal.
 

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,860
Messages
1,017,038
Members
137,568
Latest member
invidious
Top