Yanfly Row Formations Positioning Help RMMV

Discussion in 'Javascript/Plugin Support' started by SoSick., Jun 27, 2019.

  1. SoSick.

    SoSick. Veteran Veteran

    Messages:
    218
    Likes Received:
    181
    Location:
    UK
    First Language:
    english
    Primarily Uses:
    RMMV
    Hey :)
    Im currently trying to implement Yanfly's Row's plugin into my project (MV 1.6.2 ), as i am trying to achieve the Final Fantasy VII Row system - 2 row's, one front and the other Back. Im trying to get them positioned side by side vertically ( like normal MV side view ) with front row just stepping out slightly in front, not mumbo jumbo how i am getting now. Before using Row plugin my battler's positions was perfect with the settings in the battle engine core, which i also tried putting into the row formations but with no luck, as when a player move's row, they didn't actually move :( but they did get the buff/state from that row, then sometimes they did, but not where they should be xD I'm hoping someone can help me understand the formula's required to make this possible?

    below is the current set up i have.
    battle engine core
    Home PositionX :screenWidth - 16 - (maxSize + 2) * 32 + index * 32 -150screenWidth - 16 - (maxSize + 2) * 32 + index * 32 -150

    Home PositionY: screenHeight - statusHeight - maxSize * 48 + (index+1) * 48 - 32
    ( perfect! this is how i want ROW 2 for all actor's. ROW1 more forwrd ROW3 back. )

    Row Formation Parameters
    Postion Setting Maximum Row X:screenWidth - partySize * 32 - 16
    Maximum Row Y: screenHeight - statusHeight - 16
    Minimum Row Y: screenHeight - statusHeight - 16 - (maxSize * 64)
    Center RowY: (maxRowY + minRowY) / 2 + 16

    Then Each Row in the paramets also has there own X and Y
    E.G
    Row 1 Home X : maxRowX - (maxRows - rowId) * 112 + rowIndex * 32
    Home Y :centerY + ((rowSize / -2 + 0.5) + rowIndex) * 32

    Capture2.PNG

    Capture3.PNG

    Thanks to anyone that helps :)
     
    #1

Share This Page