Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

[Resolved]Windowskin in battle

Status
Not open for further replies.
The topic title might be misleading, but I couldn't end up with a better one.

But the question is as follows: I'm using the RTAB, and it bothers me that the Windowskin is transparent. So, how can I change the transparency of the windows?

I suck at RGSS so I thought it'd be easier just to ask here.
 
Code:
class Window_BattleStatus < Window_Base
  alias raz_opacity_battle_ini initialize
  def initialize
    raz_opacity_battle_ini
    self.opacity = 255
  end
end

I didn't try it out as I don't use the RTAB, but it may work. Just put it in a new script above main. If it shouldn't work, post the RTAB script and I'll take a look at it.
 
I see, it should be:
Code:
class Window_BattleStatus < Window_Base
  alias raz_opacity_battle_ini initialize
  def initialize
    raz_opacity_battle_ini
    self.back_opacity = 255
  end
end

My fault. ^_^
 
This topic has been resolved. If Crescent or any other users have any questions or further problems regarding this topic, please create a new thread about them.

Thank you!
 
Status
Not open for further replies.

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top