New account registration is temporarily disabled.

[RMVX ACE] MENU: PHOTO INSTEAD OF ACTORS

Posts

Pages: 1
Ebeth
always up for cute art and spicy gay romance
4390
I'm trying to customize my menu screen where instead of showing the party members it shows an image.

I'm new to Ace and very confused and lost. I am currently using Yanfly's menu script and so far have only this:



How do I go about getting an image to show there?
Marrend
Guardian of the Description Thread
21806
The menu background is defined within the Scene_MenuBase class. More specifically, the "create_background" function. The default processing is...

def create_background
  @background_sprite = Sprite.new
  @background_sprite.bitmap = SceneManager.background_bitmap
  @background_sprite.color.set(16, 16, 16, 128)
end

...that. I happen to have a game where I have a standard window as the background, and it looks something like...

def create_background
  @background_sprite = Window_Base.new(0, 0, Graphics.width, Graphics.height)
  @background_sprite.z = 0
  #@background_sprite = Sprite.new
  #@background_sprite.bitmap = SceneManager.background_bitmap
  #@background_sprite.color.set(16, 16, 16, 128)
end

...that. So, I'd be willing to bet that setting @background_sprite to whatever image you want to place there from the second processing would do the trick. However, I'm not sure about what the precise reference would be for the image you would want to use. I'm half-presuming that it would be in the Graphics/Picutres sub-directory, and there might be special processing involved. Such being able to have a "relative" directory path as opposed to having a "direct" directory path.

Did... that make any amount of sense?
Ebeth
always up for cute art and spicy gay romance
4390
Yeah I think so! I'll tinker around with it later and see if I can get it to work. Thanks so much!

unity
You're magical to me.
12540
There are probably scripts for this, too, if you can find one.
Pages: 1