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,838
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


When you thought you'd be finished with the grid, and spend ~8-9 hours on an arrow. How is this more difficult to than player movement?

Still some bugs hiding in there, but it's nearly complete.

I'm having it strictly follow the path a user draws, because there will be booby trap and other similar mechanics where you want to avoid specific cells.
I feel like banging my head against a wall every time I want to find that post that shows all the plugin header codes. Then I think "next time I find it, I'm going to bookmark it". Then I think "wait a minute ... maybe I bookmarked it last time because it took me so long to find it". Check bookmarks, and there it is :)
... a few of my main characters standing around doing nothing lol. I mostly wanted to see them together on screen.

Forum statistics

Threads
107,824
Messages
1,032,451
Members
139,975
Latest member
Lucimountfort
Top