[Dev] Unit Formations and Battler Positions

Something I enjoyed in Star Ocean, and decided to implement for the default battle system in MV.


First, some terms in case you may not be familiar with them.


In RPG Maker, we have "Battlers", which are individuals that participate in battle. The default system provides "actors" and "enemies".


Furthermore, battlers are arranged into a "unit". A unit is an object that represents a collection of battlers, and other information related to that collection. The two units available by default are "Parties", which is a collection of actors, and "Troops", which is a collection of enemies.


A formation stores information such as the "position" of a member in the unit.


For example, here is a formation:


CYfZX0wUAAAzl79.jpg



There are two members in the party, and their positions are as shown.


In battle, this is how they might be placed:


CYfoo_1UkAA8pCg.jpg



You may notice that the positions they appear in battle don't match their position in the menu.


This is mainly because I took the pictures separately, but there's no requirement that the way they appear in the menu must be the way they appear in battle.

Original thread: https://forums.rpgmakerweb.com/threads/dev-unit-formations-and-battler-positions.54799/