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,125
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,125
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)
 

Latest Threads

Latest Profile Posts

Doing RPG Maker News for 10th April, 2021. :LZScheeze: (Improving on the thumbnails, by using assets from the day's news.)
Just discovering the forum.
Since Final Fantasy VII has been trending today, decided to make a series of my favorite bars in the OG game! Check it out:

At 2021, we are now farther from the 1980's than they were from the 1950's. Consider that the next time you long for a 1980's song, when you thought your grandpa's taste for 1950's music was "outdated".
no, not my duct tape, anything but my duct tape!

Forum statistics

Threads
110,296
Messages
1,052,048
Members
143,324
Latest member
Armyrule94
Top