How do I make a window Opaque?

Ivockrenim

Veteran
Veteran
Joined
Feb 22, 2020
Messages
49
Reaction score
1
First Language
English
Primarily Uses
RMVXA
I haven't used RPG Maker in a while, so I forgot.
 

Shiro-chan

Friendly Neighbourhood Neppy Maid
Veteran
Joined
Aug 7, 2018
Messages
150
Reaction score
42
First Language
German
Primarily Uses
RMVXA
You will have to explain in more detail what you want to do. Do you mean the windowskin? A specific window in the game? The game window itself? Your query is too vague to be answered properly.
 

Ivockrenim

Veteran
Veteran
Joined
Feb 22, 2020
Messages
49
Reaction score
1
First Language
English
Primarily Uses
RMVXA
I just want all windows to be opaque
 

cremnophobia

Veteran
Veteran
Joined
Dec 10, 2013
Messages
214
Reaction score
95
Primarily Uses
The back_opacity attribute defaults to 192. You need to set it to 255.
Ruby:
class Window_Base
  alias initialize_wo_opaque initialize
  def initialize(x, y, w, h)
    initialize_wo_opaque(x, y, w, h)
    self.back_opacity = 255
  end
end
This makes most windows (excl. battle log, scrolling text, etc.) opaque.
 
Last edited:

Ivockrenim

Veteran
Veteran
Joined
Feb 22, 2020
Messages
49
Reaction score
1
First Language
English
Primarily Uses
RMVXA
Yeah I couldn't find where its at.
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,565
Reaction score
541
First Language
English
Primarily Uses
RMVXA
Yeah I couldn't find where its at.
You couldn't find the code cremnophobia posted?
He was giving you a solution. Copy the code and paste it below the default scripts and above main.
Then change the number in it to the value you desire. Any number from 0 to 255.
 

Ivockrenim

Veteran
Veteran
Joined
Feb 22, 2020
Messages
49
Reaction score
1
First Language
English
Primarily Uses
RMVXA
wait I need like a tutorial or something Im just getting errors
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Success, my character has harnessed the power of the particle, and now she leaves a speed streak.:kaopride:



I'm breaking up with QSprite. :kaolivid:
Ami
--- Spoiled Food ---

M.Knight: Oh,no! the Bread has been Mold!
Chef: It's not Mold,it's in Fermentation.
M.Knight: Are you sure?
Chef: Y'know Cheese? It's safe to eat
(Chef eat the Moldy Bread,after that he take into the Hospital with Green Face)
Suddenly I remember the days when I create something just by pure wild imagination. I wasn't thinking about concept, structure, or anything else. Just create (even if it's unfinished in the end). Somehow I kinda want to have that wild imagination again. :D
Google "The Great Stink"
Enjoy.

Forum statistics

Threads
104,334
Messages
1,005,624
Members
135,849
Latest member
Eryops
Top