Is it possible to get a window + yes/no choice to appear before starting a new game?

RoseRainblood

Veteran
Veteran
Joined
Nov 29, 2018
Messages
74
Reaction score
9
First Language
English
Primarily Uses
RMMV
Hi all,

After clicking "New Game", does anyone know if there is a simple way to get a window with a yes/no choice box to appear before the game starts?

Brief explanation: I'm trying something new out and I want to ask the player if they're sure they want to start a new game (if there is already a game that is saved). Something that basically warns them beforehand so they don't accidentally hit it and overwrite their current saved game.

I'm wondering if there is a plugin or easy way to do it. My search hasn't given me much luck so far!
 

alltheyuriz

The Question Asker
Veteran
Joined
Sep 18, 2020
Messages
165
Reaction score
87
First Language
English
Primarily Uses
RMMV
Just make a black screen and an event for it
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,821
Reaction score
7,887
First Language
German
Primarily Uses
RMMV
autorun event on the first map
if you don't want the player to see that first map, make a new map as starting point where the autorun event does its way before transfering to the official starting map.

the Ace sample game crysalis does this as well, you can download it and use a trial of Ace to look at the event code (all event commands are identical since VXA
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
40,831
Reaction score
14,021
First Language
English
Primarily Uses
RMMV
Isn't the player going to have to choose to save and choose what slot to save in? If they overwrite an existing save file, they're doing it deliberately.
 

RoseRainblood

Veteran
Veteran
Joined
Nov 29, 2018
Messages
74
Reaction score
9
First Language
English
Primarily Uses
RMMV
I only gave a brief explanation before because it's kind of long winded to explain. As I said I'm trying out something new. This includes autoload and a one single save system, which means the default save/load selection window is not in my game. Because of that, it would be very easy for a player to hit new game and overwrite their current game by accident, which would be frustrating, so I'd like that warning to appear first. My apologies for not giving the full details. I should have probably been more clear.

Thanks all for all the suggestions! Ideally I'd like a method that involves not triggering the start of the game but I do appreciate the help! :)
 
Last edited:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,821
Reaction score
7,887
First Language
German
Primarily Uses
RMMV
Ideally I'd like a method that involves not triggering the start of the game
in that case you'll need a plugin for skipping the title screen and event our own start/title screen on the map that you'll skip to.

But there are other ways you might consider as well:
make an autorun to disable the save screen by default, allowing saving only through your own events. That way you can check if a save exists before the first save overwrites something.

use a plugin for persistent switches and variables - that makes the switches and variables identical through all saves. That way you can check how many games previously existed (simply counting a variable up) and block with an event on the first map, asking if they really want to overwrite their old game (if yes, increase counter correctly if not force gameover before start
 

Latest Threads

Latest Posts

Latest Profile Posts

I'm moving on from RMXP finally. I've been stuck in a difficult decision between XP and MZ, and I've given up and moved on to MZ. Overall I'm really liking it, I wish tilesets were easier to setup like XP, but it's actually not that bad!
Have you ever gone full 'Ship of Theseus' while frankenspriting? Because I just did.
I saw my new eye doctor today, he reminds me of Satoru Iwata for some reason
I've been using a modified version of a script called Multiple Messages. It makes my text boxes look like a Mario & Luigi game! There is something about it that bothers me a little bit, but I shouldn't worry about that now.

Side note, Mist's walking animation is almost perfectly in sync with Loose Yourself by Eminem.
Starting work on some stuff for the community. Hopefully it will be fun, and useful to somebody.

Forum statistics

Threads
107,773
Messages
1,032,038
Members
139,915
Latest member
nick7626
Top