[Ace] Help with messed MenuStatus locations

● ARCHIVED · READ-ONLY
Started by Rello 4 posts View original ↗
  1. Hey all,

    I'm currently messing with my menu and I've come across an issue. My menu is going to use 2 rows of 5 characters and the rows do stack, but the bottom row is too close to top and it gives a bad overlap (as shown below):

    Spoiler
    2juxj5.png
    As you can see, the sixth party character overlaps the first. I'm still working on the actual layout, but I kind of need to work on the locations first. Below will be a download link to my project because I don't think posting every used script is a wise idea. Ha. Any help is appreciated, thanks.

    http://www.mediafire.com/download.php?w4bk6dsgdj13341

    Primary Scripts Used (for the menu):

    • -Window_SelectableSW
    • -Window_MenuStatusSW
    • -Scene_Menu

    Note: The event next to the character adds 5 characters to the party.
  2. In Window_SelectableSW

    Line 172

    def item_rect

    change that function to this:



    Code:
    def item_rect(index)
        if index < 5
    	  z = 0
        else
    	  z = 60
        end
        rect = Rect.new
        rect.width = 102
        rect.height = 162
        rect.x = index % col_max * (item_width + spacing)
        rect.y = index / col_max * item_height + z
        rect
      end
    For the record, you're posting this in the wrong forum, but oh well.
  3. Oh dear, I clicked the wrong link... thanks, I'll report myself.

    Thank you, thank you.
  4. I've moved this thread to script support. Please be sure to post your threads in the correct forum next time. Thank you.