FinnishEngineer

Veteran
Veteran
Joined
Oct 20, 2021
Messages
72
Reaction score
15
First Language
finnish
Primarily Uses
RMVXA
How do i make the names more wider on the battle? they are a bit too thin to see. like the name has 4-5 letters and its too thin
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
4,827
Reaction score
1,372
First Language
English
Primarily Uses
RMVXA
There needs to be a lot more info on this.
Are you using any battle scripts?
Can you show a screenshot of the battle scene where the name is squished?
Are you referring to the player names or the enemy?
Is it the actor window, enemy window or battle log?
 

FinnishEngineer

Veteran
Veteran
Joined
Oct 20, 2021
Messages
72
Reaction score
15
First Language
finnish
Primarily Uses
RMVXA
There needs to be a lot more info on this.
Are you using any battle scripts?
Can you show a screenshot of the battle scene where the name is squished?
Are you referring to the player names or the enemy?
Is it the actor window, enemy window or battle log?
player names are squished on actor window and im using the Yanfly Engine
name.png
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
4,827
Reaction score
1,372
First Language
English
Primarily Uses
RMVXA
I'm sure there is more, you do not have the default view there in that image. The bars are different and the text is larger. So that might be the issue is the text is larger.
reducing the font would probably not be the solution for you.
You can try changing the rect width of name in yanfly battle engine. (yanfly engine is quite varied as it implies all yanfly scripts). You also have sprite images not faces so you have other scripts that affect this, so if this change doesn't work look for the draw_actor_name in the other scripts.
Yanfly Battle Engine line 1820
def draw_item(index)
...
draw_actor_name(actor, rect.x, rect.y, rect.width-8)
...
end

Change the -8 to +10 or something
 

FinnishEngineer

Veteran
Veteran
Joined
Oct 20, 2021
Messages
72
Reaction score
15
First Language
finnish
Primarily Uses
RMVXA
t
I'm sure there is more, you do not have the default view there in that image. The bars are different and the text is larger. So that might be the issue is the text is larger.
reducing the font would probably not be the solution for you.
You can try changing the rect width of name in yanfly battle engine. (yanfly engine is quite varied as it implies all yanfly scripts). You also have sprite images not faces so you have other scripts that affect this, so if this change doesn't work look for the draw_actor_name in the other scripts.
Yanfly Battle Engine line 1820
def draw_item(index)
...
draw_actor_name(actor, rect.x, rect.y, rect.width-8)
...
end

Change the -8 to +10 or something
thanks, it worked
 

Latest Threads

Latest Posts

Latest Profile Posts

oneOfUs.jpg
Streaming more Poppet Quest game even in about 12 minutes.
Some dog owners really impress me. I'm pushing 2-3 metric tons of garbage containers that destroy everything they hit. What do you think is going to happen to your tiny dog when I run it over? And why are you crossing my path to argue with me? Have you never been hit by 200kgs of garbage?

Lesson for you folks. Never mess with an angry garbage container. Or its driver.
I didn't dispose of a file properly and now my whole game won't start: I get a script error in the Scene Manager stage of game launch. What to do? Transfer it all to a new project? That's going to be tedious. Fortunately I am only nine workdays into it.

Forum statistics

Threads
131,679
Messages
1,222,163
Members
173,426
Latest member
sleepykitsune
Top