I am having an issue with the spacing between my party members while in battle using the Side-View perspective. I am using Yanfly's Battle Engine Core, and for the life of me, I cannot seem to adjust the settings to allow for more room between each party member. Right now they are fairly squashed together it appears and would love for them to be a bit more spread out on the battlefield. Any tips would be welcome! Thanks!
Side-View Party Member Spacing
RPG Maker MV SupportYanfly's core engine sets the distance well for x, but keeps the y distance same. So for this either edit the function from core script of core engine to set the placement bigger.
Replace 48 with a number. This is taken from rpg_sprites.
In case you don't want to edit the rpg_sprites, then here is the code from Yanfly's core engine:
, where you replace x with a number.
Code:
Sprite_Actor.prototype.setActorHome = function(index) {
this.setHome(600 + index * 32, 280 + index * 48);
};
};
Replace 48 with a number. This is taken from rpg_sprites.
In case you don't want to edit the rpg_sprites, then here is the code from Yanfly's core engine:
Code:
if (Yanfly.Param.ReposBattlers) {
Yanfly.Core.Sprite_Actor_setActorHome = Sprite_Actor.prototype.setActorHome;
Sprite_Actor.prototype.setActorHome = function(index) {
Yanfly.Core.Sprite_Actor_setActorHome.call(this, index);
this._homeX += Graphics.boxWidth - 816;
this._homeY += Graphics.boxHeight - 624 + x * index;
};
};
Thanks for the help Poryg!
Original thread: https://forums.rpgmakerweb.com/threads/side-view-party-member-spacing.85284/