Transparency When Quitting To Menu

Labyrinthine

Artist/ Developer
Veteran
Joined
Jun 23, 2014
Messages
454
Reaction score
403
First Language
Finnish
Primarily Uses
I'd need to find a way to make the player transparent when he quits the game to the title from the menu. Would it be possible to write a script for this?
 

Kuro DCupu

Trust me, I'm a veteran RMer
Veteran
Joined
Jul 6, 2014
Messages
480
Reaction score
1,468
First Language
Indonesia
Primarily Uses
RMMV
When player quit to title from menu, the scene changes from Scene_Map to Scene_Title. By that time, player is no longer exist, so why bother turn it transparent?


I don't get it, but I made a snippet of what you ask anyway.

Code:
class Scene_End < Scene_MenuBase
  def command_to_title
    close_command_window
    fadeout_all
    $game_player.transparent = true
    SceneManager.goto(Scene_Title)
  end
end
 

Labyrinthine

Artist/ Developer
Veteran
Joined
Jun 23, 2014
Messages
454
Reaction score
403
First Language
Finnish
Primarily Uses
Thanks, even though I already figured out an additional solution to my problem. Anyways, that might prove useful to someone stumbling on the same issue! This had to do with title skipping stuff.
 
Last edited by a moderator:

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

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,048
Messages
1,018,545
Members
137,834
Latest member
EverNoir
Top