Sideview battler position problem

TinyFoxtail

Villager
Member
Joined
Sep 24, 2018
Messages
8
Reaction score
0
First Language
Mandarin
Primarily Uses
RMMV
Under sideview battle,I need a plugin that can set ally actors position according the game window's width&height.
For instance: positon X = screenWidth - 16 - (maxSize + 2) * 32 + index * 32
position Y =screenHeight - statusHeight - maxSize * 48 + (index+1) * 48 - 32
YEP_BattleEngineCore.js can do these above, but the plugin has other unnecessary functions that causes incompatible problem.
Link: http://www.yanfly.moe/wiki/Battle_Engine_Core_(YEP)
SV.png
I guess theres 2 ways to solve the problem.

1 Take out the 'Sideview Position part' from the YEP plugin, and delete other unused parts.
2 Find another plugin that ONLY set actors' position according the game window's width&height.

THANK YOU!
 

Soulrender

Veteran
Veteran
Joined
Jan 12, 2019
Messages
402
Reaction score
232
First Language
Poland
Primarily Uses
RMMV
I had some similar problem when I changed game resolution and I had reposition actors and enemies, the way I did is extremly noobish and I even shouldn't mention it, but it works! So here's I did:

I created a js file and I put following code:
Code:
HomeX = [800, 816, 736, 896, 792, 832];
HomeY = [400, 432, 336, 432, 304, 272];
each element of array represents actors index, so first element is for 1st actor and so on.

and inserted this as plugin into my project. Next step was to apply this plugin inside Battle Engine Core:

IMO it's better to declare fixed values of actors X and Y position instead using formulas, though formulas allows
you to automaticly adjust actors positions. In my case i have fixed resolution so, formulas are not so needed.

Edit: Adjust values to your needs.
 

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

Latest Threads

Latest Profile Posts

I've developed a habit of thanking cleaning ladies for their work.
Sorry Aerith... I will abandon your shoes... :guffaw:
Spent a whole bunch of time today reworking the area in the video because someone said it was too illusory. So I reworked it so it changes less, moved the grass up to the same level as the player.... And found enough extra resources to make the grass moves when the player touches it. Also lots more water, because it looks amazing. I'll probably put up a short updated video later today.
I never noticed how NOISY birds can be in the morning..
The worst part of writing the thesis is getting to a point where it's nearly done and you feel like an 8th-grader could've written something on that level.

Forum statistics

Threads
95,766
Messages
931,714
Members
126,169
Latest member
Stearen
Top