Menu Snippet: Main Menu fading

Panda_Artist

Humble RPG Fan
Veteran
Joined
Dec 22, 2018
Messages
241
Reaction score
15
First Language
Portuguese
Primarily Uses
RMVXA
Hello Everyone again.

I am requesting a snippet that makes the screen fade to black when you open the menu.

It would go something like the normal.

Call Menu Fade to black -> Open Menu -> Close Menu -> Fade back to normal

But not just using the fade out fade in feature, intead fading it using the Tint Screen option because I like the way it fades to black that way, if it's possible of course. If not, the conventional fade out fade in works as well.

I would really appreciate this!
 

A-Moonless-Night

WINTER IS COMING
Veteran
Joined
Mar 17, 2012
Messages
681
Reaction score
446
First Language
English
Primarily Uses
RMVXA
Something like this?
Ruby:
class Scene_Map < Scene_Base

  alias amn_menufade_scenemap_callmenu  call_menu
  def call_menu
    amn_menufade_scenemap_callmenu
    Graphics.fadeout(30)
  end
 
end

class Scene_Menu < Scene_MenuBase

  def terminate
    Graphics.fadeout(30) if SceneManager.scene_is?(Scene_Map)
    super
  end
 
end
 

Panda_Artist

Humble RPG Fan
Veteran
Joined
Dec 22, 2018
Messages
241
Reaction score
15
First Language
Portuguese
Primarily Uses
RMVXA
I will try this tommorrow. Thank you so much. Will let you know.
 

Panda_Artist

Humble RPG Fan
Veteran
Joined
Dec 22, 2018
Messages
241
Reaction score
15
First Language
Portuguese
Primarily Uses
RMVXA
It works wonderfully so far! I will let you know of any issues if I encounter any. Once again thank you so much for this!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Frostorm wrote on Featherbrain's profile.
Hey, so what species are your raptors? Any of these?
... so here's my main characters running around inside "Headspace", a place people use as a safe place away from anxious/panic related thinking.
Stream will be live shortly! I will be doing some music tonight! Feel free to drop by!
Made transition effects for going inside or outside using zoom, pixi filter, and a shutter effect
I have gathered enough feedback from a few selected people. But it is still available if you want to sign up https://forums.rpgmakerweb.com/index.php?threads/looking-for-testers-a-closed-tech-demo.130774/

Forum statistics

Threads
105,992
Messages
1,018,190
Members
137,772
Latest member
Kirakirna
Top