Chaos Project

RPG Maker => RPG Maker Scripts => Script Troubleshooting => Topic started by: jayje on November 07, 2017, 08:41:30 am

Title: Re: [RMXP] How do I change the Menu Background?[RESOLVED]
Post by: jayje on November 07, 2017, 08:41:30 am
You know that black color in the Menu/Item/Etc windows? What line of code would I find to change that to either an image or just make it so I can see the map when I look at the menu?
Title: Re: [RMXP] How do I change the Menu Background?
Post by: LiTTleDRAgo on November 07, 2017, 08:02:45 pm
http://forum.chaos-project.com/index.php/topic,8214.0.html
Title: Re: [RMXP] How do I change the Menu Background?[RESOLVED]
Post by: jayje on November 07, 2017, 08:46:39 pm
Oh ok. so no easy fix, eh? okay thanks.
Title: Re: [RMXP] How do I change the Menu Background?
Post by: KK20 on November 07, 2017, 08:57:21 pm
The black background isn't something defined in Ruby code. Every time the game needs to draw (essentially every frame), it clears out everything with black then draws the sprites. It's built into the game engine. Instead, you have to create your own background with a custom sprite.

@bg_sprite = Sprite.new
@bg_sprite.bitmap = RPG::Cache.picture('bg_image')

Showing the map as the background is just creating a new Spriteset_Map object, which Drago's script does.
Title: Re: [RMXP] How do I change the Menu Background?
Post by: jayje on November 07, 2017, 09:13:15 pm
Thanks guys!