Help with menu Transparency

Discussion in 'RGSSx Script Support' started by Hailren, Feb 15, 2015.

  1. Hailren

    Hailren Title Screen Master. Rpg Maker Artist. Veteran

    Messages:
    179
    Likes Received:
    61
    First Language:
    English
    Basically what I want to know is how to make the menu windows not show up transparent I want it to be one solid color I don't wan to be able to see through it.

    1.jpg 2.jpg
     
    #1
  2. Zarby

    Zarby Veteran Veteran

    Messages:
    42
    Likes Received:
    25
    Location:
    Quebec, Canada
    First Language:
    French
    for every window you can use this script :

    class Window_Base < Window def setopacity(op) self.back_opacity = op endendclass Scene_Base def post_start perform_transition Input.update instance_variables.each do |varname| ivar = instance_variable_get(varname) ivar.setopacity(255) if ivar.is_a?(Window) end end endi don't know if there is a best way to do it
     
    #2
  3. Hailren

    Hailren Title Screen Master. Rpg Maker Artist. Veteran

    Messages:
    179
    Likes Received:
    61
    First Language:
    English
    Not only in game message boards but the whole UI window should be non transparent is there anything in the scripts maybe in window base I can tweak to make it non transparent?
     
    #3
  4. Zarby

    Zarby Veteran Veteran

    Messages:
    42
    Likes Received:
    25
    Location:
    Quebec, Canada
    First Language:
    French
    hum just put :

    self.back_opacity = 255

    in initialize of window_base i thought it was not working but i probably made a mistake cause it work
     
    Last edited by a moderator: Feb 15, 2015
    #4
    Hailren likes this.
  5. Hailren

    Hailren Title Screen Master. Rpg Maker Artist. Veteran

    Messages:
    179
    Likes Received:
    61
    First Language:
    English
    Thank you that is what I was looking for thank you :D
     
    #5
  6. Shaz

    Shaz Veteran Veteran

    Messages:
    37,807
    Likes Received:
    11,517
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    RMMV
    I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.


    ANYTHING to do with changing windows/menus is a scripting question and goes into the scripting forums.
     
    #6

Share This Page