Re: [RMXP] How do I change the Menu Background?[RESOLVED]

Started by jayje, November 07, 2017, 08:41:30 am

Previous topic - Next topic

jayje

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?



jayje



KK20

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.

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!

jayje