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 Posts

Latest Profile Posts

I got tired of not having an avatar image. Couldn't think of anything cool. So I'm just using my game's antagonist instead... How original. At least both of our names start with C?
Expectation: Design/dev a game for the game jam | Reality: "These codes suck, why did I do it this way? lemme fix this. Also what if I add feature xyz because... well, I can."
Did my first script call in an event! :kaopride: It's completely useless and just because I thought it'd be cute if looking at clocks in-game made the character say the real-world time, but it's fully functional scripting and I did it all by myself!
Stream will be going live shortly! I will be playing Resident Evil 3 Remake, and then I will be switching to a session of the Interactive Text Adventure! Feel free to drop by!
Spent all day working on something that ultimately has nothing "flashy" to show at the end of it. But that sense of achievement...

Forum statistics

Threads
95,630
Messages
930,561
Members
125,937
Latest member
MartelStef
Top