Force crash and continue where you left off

SushiAssado

Villager
Member
Joined
Apr 22, 2018
Messages
7
Reaction score
0
First Language
portugues br
Primarily Uses
RMMV
How can I make a scene that the character breaks the fourth wall, closes the game, and when you open again, the game continues where you left off? like Doki Doki, Undertale, im scared, etc
 

Aloe Guvner

Walrus
Veteran
Joined
Sep 28, 2017
Messages
1,628
Reaction score
1,115
First Language
English
Primarily Uses
RMMV
You can close the game using a script call:
Code:
SceneManager.exit();
Before you do that, you can automatically save the game. Make sure you set a switch so that you don't create an infinite loop of loading the game and then closing it.
 

SushiAssado

Villager
Member
Joined
Apr 22, 2018
Messages
7
Reaction score
0
First Language
portugues br
Primarily Uses
RMMV
You can close the game using a script call:
Code:
SceneManager.exit();
Before you do that, you can automatically save the game. Make sure you set a switch so that you don't create an infinite loop of loading the game and then closing it.
Ok Thanks that's works. But how do I do the autoload without the title screen or pressing load game? or can not do it? I want to force it to load when the X switch is active, or something like that, without the player needing to click continue
 

Aloe Guvner

Walrus
Veteran
Joined
Sep 28, 2017
Messages
1,628
Reaction score
1,115
First Language
English
Primarily Uses
RMMV
So you now have 2 distinct issues left to solve:

1) You need to have data that persists across saves.
The normal switches and variables are saved into Save1, Save2, etc. and by default aren't accessible until the player loads that save file. Look for plugins that create persistent data, there was one I remember by Hime but their site might be down

2) You need to skip the title scene based on a certain condition or not. There should be plenty of skip title scene plugins, and it just needs to be modified to skip based on a condition (which depends on how you do #1)
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,860
Messages
1,017,040
Members
137,569
Latest member
Shtelsky
Top