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.

Removing the black background in menus.

How exactly do you remove it so the map is showing behind the menu? I've been messing around with the options for a while but I can't seem to figure it out. I also just for future notice would like to know how to make the black background into an image. Please help. :please02:
 
To be exact, there's no such thing as a black background, the menu's just the only thing shown in the scene. If you want to display the map underneath the menu, you could use a subscene or other, more complicated ways... but there are a mass of scripts and tutorials out there, just play around a bit with the search terms...
 

Jason

Awesome Bro

I can do what you need, with the picture in the BG, and you SHOULD be able to change the Opacity of the boxes.

------------------------------------------------------------------------
Edit-

Okay, FINISHED ! (Didn't Take long)
In Window_MenuStatus, Underneath:
Code:
    self.contents = Bitmap.new(width - 32, height - 32)
Add this:
Code:
    self.opacity = 150
    @picture = Sprite.new
    @picture.bitmap = RPG::Cache.picture("MENU_BG")
And then add:
Code:
    self.opacity = 150
Underneath
Code:
    self.contents = Bitmap.new(width - 32, height - 32)
In all the Windows (If you wan't it in all the windows, Lol.)

Also, you'll need a picture in your Game/Graphics/Pictures folder called: MENU_BG

And here's my Info. Cards demo with this implimented:
http://www.box.net/shared/uygtf3gton

Tell me what you think and if it works okay, Afterall, I'm only a noob scripter,
Jbrist.
 
I think so lan, but where exactly would I put that? I'm pretty bad at adding things in right now, this is really the first time I've decided to customize scripts.

EDIT: Thank you for answering how to put a picture behind the menu jbrist. I'm still trying to decide which I rather use a transparent menu or a menu with its own back.
 
Didn´t want to make new topic for one guestion so how can i make "fog" between menu windows and backround map?can i add it to this code?

Code:
#Draw Background
    @background = Spriteset_Map.new
 

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