Gudako

Regular
Regular
Joined
Feb 1, 2021
Messages
143
Reaction score
15
First Language
English
Primarily Uses
RMMV
This if from the Yanfly's Party System plugin, what can I do to separate the class text from the name text, in the code itself I don't see what could I change
1.png
 

Andar

Regular
Regular
Joined
Mar 5, 2013
Messages
39,315
Reaction score
11,490
First Language
German
Primarily Uses
RMMV
It is already seperated - the problem is that the name is too long, using up all the space assigned to it.

If you check in detail you'll see that the name starts at the same position as the gauges below it, and if I remember correctly you would have to move that entire section (class name and gauges) to the right to get more space.
 

Gudako

Regular
Regular
Joined
Feb 1, 2021
Messages
143
Reaction score
15
First Language
English
Primarily Uses
RMMV
It uses this to draw them, everything together:
Window_PartyDetail.prototype.drawActorBasicInfo = function() {
var w = this.width - this.padding * 2;
var h = this.height - this.padding * 2;
var y = 0;
var padding = 0;
var xpad = padding + Window_Base._faceWidth;
var width = w - 162 - this.textPadding();
h = Window_Base._faceHeight;
this.drawActorFace(this._actor, 0, 0, Window_Base._faceWidth, h);
this.drawActorSimpleStatus(this._actor, xpad, y, width);
};

I can make the bars smaller but thats about it.
 

Gudako

Regular
Regular
Joined
Feb 1, 2021
Messages
143
Reaction score
15
First Language
English
Primarily Uses
RMMV
1.png

Had to do it individually, I didn't know what else I could do
 

ATT_Turan

Forewarner of the Black Wind
Regular
Joined
Jul 2, 2014
Messages
11,158
Reaction score
9,109
First Language
English
Primarily Uses
RMMV
As you can see from the code you posted, the drawActorSimpleStatus() function is what draws the actor's name and class.

You can pretty easily adjust the x/y coordinates in the function calls there.

I would second the suggestion, however, that you have an overly huge name just for general purposes throughout your game.
 

Gudako

Regular
Regular
Joined
Feb 1, 2021
Messages
143
Reaction score
15
First Language
English
Primarily Uses
RMMV
Ah, but the SimpleStatus draw them all together, I could move them around but they would move together so I just used a drawActor() function for every single thing.
 

ATT_Turan

Forewarner of the Black Wind
Regular
Joined
Jul 2, 2014
Messages
11,158
Reaction score
9,109
First Language
English
Primarily Uses
RMMV
Ah, but the SimpleStatus draw them all together, I could move them around but they would move together
...no?
From drawActorSimpleStatus:
Code:
    this.drawActorName(actor, x, y);
    this.drawActorLevel(actor, x, y + lineHeight * 1);
    this.drawActorIcons(actor, x, y + lineHeight * 2);
    this.drawActorClass(actor, x2, y);

Four separate function calls for the four separate text components (then the two gauges).

In each of those you can do whatever you dang well please to the coordinates - the two things after "actor". If you want the class to show more to the right, you could change it to:
Code:
this.drawActorClass(actor, x2+10, y);
and see what that looks like.

If you found another solution that does what you want, that's awesome. I just wanted to point out you can absolutely modify every aspect separately.
 

Latest Threads

Latest Profile Posts

I'm just gonna remove the Dark Spells from my game. They wouldn't be fighting Gods or Angels. So why have it?
Every day I'm getting rough-outs of another sprite sheet or two. Getting real close to just needing to make new original stuff and editing my tables and chairs to look correct for the taller sprites is among the top of the revisions list.
Eye_Guys.gif
Some eyew guys! One is absent for... reasons of taste
Eeee! X3 Ever since I started doing 3d Art ,my Pixel Art got sooo much better! I cant wait till im done with the tileset!
Crystal Shock Devlog #5 yay!



This week was super fun as I got to work on my favorite thing: Combat! A new boss has been added and some new mechanics on top of that. I also made some improvements to the first town.

Forum statistics

Threads
134,918
Messages
1,251,910
Members
177,755
Latest member
Sprk_3D
Top