Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

[SOLVED]Force title screen script?

Bishiba

Villager
Xy$
0.00
Hello guys!

I would need to know how to force the title screen.

Example:
Player sees event on the ground. Player presses event. Poof title screen!

Important thing to note. My title screen is NOT the premade titlescreen, when the game starts for me, it goes to a custom intro and then onto my custom titlescreen.

However this creates an issue upon gameover since for some reason, the default game over bypasses the script that bypasses the default title screen, which causes the player to go to the default title screen.

I've solved this issue by eventing the game over, this works as long as when you get to the titlescreen, you choose "LOAD GAME", but if you would choose "NEW GAME", you get a new game with all of the switches and variables set from before you died...

Also, the "RETURN TO TITLE SCREEN" event does not work since it also returns you to the default title screen.

An idea that would work is to manually reset all the variables/switches upon game over. But that would take an hour or more of completely mundane work that is not easy to change once done. So maybe if there's a loop script that goes through all the switches 1 by 1 and turns it all off before sending the player to the first map area which shows the intro.

What for some reason DOES work is the ESC->Exit->To Title Screen. Why I do not know...

Can this be done?

Best regards,
Bishiba
 
Last edited:

Endymion18

Villager
Xy$
0.00
Hi, i was looking for it too. But i took a look at Switches control and i found that there´s already a simple way to do it without plugins...
See "switch control" and there you can change 1 switch to Off and On OR you can change from 1 to 200 to Off or ON at the same time !
Sorry my bad english :)
 

Bishiba

Villager
Xy$
0.00
Hi, i was looking for it too. But i took a look at Switches control and i found that there´s already a simple way to do it without plugins...
See "switch control" and there you can change 1 switch to Off and On OR you can change from 1 to 200 to Off or ON at the same time !
Sorry my bad english :)
Wow, that's so simple, can't believe I missed it :P

Anyways, thanks mate, very appreciated!
 
Top