Make Text Box Opaque

Discussion in 'RPG Maker MV' started by eat beans, Nov 20, 2017.

  1. eat beans

    eat beans A being of pure evil Veteran

    Messages:
    40
    Likes Received:
    12
    First Language:
    English
    Primarily Uses:
    RMMV
    Is there any way to make the text box completely opaque, as in not see through. Thanks.
     
    #1
  2. Tatsumaro

    Tatsumaro Veteran Veteran

    Messages:
    205
    Likes Received:
    40
    First Language:
    Portugues
    Primarily Uses:
    RMMV
    you can alter the Window.png in img/system
     
    #2
  3. Llareian

    Llareian Jack of All Trades, Master of None Veteran

    Messages:
    603
    Likes Received:
    1,393
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    RMMV
    To clarify what Tatsumaro said, here is a post showing a template of what the parts of window.png are. You need to put an opaque color in the "Body" section.

    However, that alone isn't sufficient to make the window background opaque, because by default the opacity of the windows is 192 (out of 255).

    To get the window truly opaque, you also need to edit your project's \js\rpg_windows.js file. You need to find this function:
    Code:
    Window_Base.prototype.standardBackOpacity = function() {
        return 192;
    };
    And change it to this:
    Code:
    Window_Base.prototype.standardBackOpacity = function() {
        return 255;
    };
     
    #3
  4. eat beans

    eat beans A being of pure evil Veteran

    Messages:
    40
    Likes Received:
    12
    First Language:
    English
    Primarily Uses:
    RMMV
    Thanks!
     
    #4
    Llareian likes this.

Share This Page