How to delay appearance of Title Screen Menu?

johnnyuser

Villager
Member
Joined
Oct 10, 2017
Messages
8
Reaction score
1
First Language
English
Primarily Uses
RMVXA
Is there any sort of script or option to do this? I have a logo (via a picture) that fades in after a couple of seconds on the Title Screen, and would like to delay initialization of the start menu to coincide with it. I'm fairly sure it's a simple solution, and I've looked around in various scripts within the game, but can't find anything.
 

johnnyuser

Villager
Member
Joined
Oct 10, 2017
Messages
8
Reaction score
1
First Language
English
Primarily Uses
RMVXA

johnnyuser

Villager
Member
Joined
Oct 10, 2017
Messages
8
Reaction score
1
First Language
English
Primarily Uses
RMVXA
Alright, I tried adding "sleep" into the window_titlecommand like this:

class Window_TitleCommand < Window_Command
#--------------------------------------------------------------------------
# * Object Initialization
#--------------------------------------------------------------------------
def initialize
super(0, 0)
sleep 10
update_placement
select_symbol:)continue) if continue_enabled
self.openness = 0
open
end

But when I run the game, it makes the entire opening sleep, so there is a black screen for 10 seconds rather than the opening title and then a 10 second delay before the title command window initializes.

Is there a way to make it apply only to the command window?
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,822
Reaction score
623
First Language
English
Primarily Uses
RMVXA
I have seen games that skip the title screen and go to a hand made title screen. where you can control the pictures and have it go as slow as you want. Look into making your own title screen.
 

Ossra

Formerly Exhydra
Veteran
Joined
Aug 21, 2013
Messages
1,076
Reaction score
857
First Language
English
Primarily Uses
RMMV
You could try using the following in the scene itself :

Code:
240.times { update }
 

cabfe

Cool Cat
Veteran
Joined
Jun 13, 2013
Messages
2,354
Reaction score
2,550
First Language
French
Primarily Uses
RMVXA
You could try using the following in the scene itself :

Code:
240.times { update }
Would that wait for a universal amount of time or will it depend on the CPU that's running the game?
 

Ossra

Formerly Exhydra
Veteran
Joined
Aug 21, 2013
Messages
1,076
Reaction score
857
First Language
English
Primarily Uses
RMMV
Basically depends on how many frames are being processed per second. Typically that is 60 in a RPG Maker VXA game. So 240 would be more or less 4 seconds.

Are you creating a custom logo scene, or are you just using Scene_Title to squeeze the logo in? On some of my games I created a custom Scene_Logo that was loaded first, then once the logo faded out I had it go to Scene_Title.
 

johnnyuser

Villager
Member
Joined
Oct 10, 2017
Messages
8
Reaction score
1
First Language
English
Primarily Uses
RMVXA
Thanks for all the responses and help!

For anyone in the future, I think I found a fix.... put this in your script under def create_command_window:
@command_window.hide.deactivate #you added this to allow delay of title command

Then, under def update:
if @counter <= 700 #added for title command delay THIS IS HOW LONG TO DELAY TITLECOMMANDWINDOW
@counter +=1 else #aded for delay
@command_window.show.activate #added for delay
end #added for delay

I'm not an expert scripter by any means, but it worked for me, and perhaps this can help someone in the future.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,837
Reaction score
7,897
First Language
German
Primarily Uses
RMMV
There are several splash screen scripts for Ace similiar to the one for MV accidentally linked above
 

Latest Threads

Latest Posts

Latest Profile Posts

Chilling out while toodling around someone's painstaking Minecraft recreation of Disneyland. It is mind-boggling and probably as close as I'll ever be to going.
>Testing with fonts change.
>Tries installing a plugin. Doesn't work.
>Tries changing the plugin commands. Doesn't work.
>Tries installing another plugin. Doesn't work.
>Changes a few more plugin commands. Doesn't work.
>Goes directly to the gamefont file and changes the src. Works.

YYEEEAAAAHHHAAAA

Perseverance is key, bois and girls.
What Reviews say on RPG Maker MZ?
Looking back at some sketches, and game design documents on my PC dated summer of 2015. I started development with the release of MZ, but in 2015, I felt a strong desire to make a game out of the blue. I remember feeling sad for no apparent reason, and all these ideas rushed into my head. Now that I think about it, since that day, everything has become easier to do on my PC . . . it’s very creepy.
Everything's going to be alright! We're all in this together. <3

Forum statistics

Threads
107,806
Messages
1,032,341
Members
139,951
Latest member
Adaptus
Top