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.

Change Windowskin For One Menu Only?

I'm sure this has been asked, but I cannot find it. I want to have a notebook-looking windowskin for one menu, and a pure black windowskin for another sub-menu. blackmenuskin.png and notebookwindowskin.png.

Do I need to make separate Window_Base to do this, or can I add some snippet of code to Scene_NotebookMenu or Scene_BlackMenu to change the windowskin on the fly as each menu is accessed?
 
After scouring the internet, I found the solution. Mods can delete this, but it'd be good to have it somewhere handy in case others need the same info.

Night Runner on rpgrevolution.net wrote this, so I am just posting it here in case others find it helpful:
At the start of main in each scene you want to have a windowskin for, put
Code:
 @questnames_window.windowskin = RPG::Cache.windowskin('001-WindowSkin01')

after each window is created in main (where @questnames_window is the name of the window you want to change the windowskin of)
 

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