A Game Within A Game

You know how in some games, usually remakes, you can unlock older titles from the same devs as side-distractions, like the original Ninja Gaidens in the 2004 reboot, Doom 1 and 2 in Eternal, the demos in Brawl, yeah you see those ?
How feasable would it be to do that in MV ? Like you find some abandonned arcade cabinet and baboom you're in a different game that you can play and exit at anytime to resume the main quest, can this even be done ? How many layers deep can you even dive into with this fractal of a game ?
I believe it depends on what sort of "game within a game" you're trying to make?

Minigames are completely feasible in the engine (both in-engine scripted, and with plugins), whether it be something like a "pac-man" alike or something within this list https://forums.rpgmakerweb.com/index.php?threads/mv-mini-games-list.81811/ (fishing, invader style, ect. ect.) https://forums.rpgmakerweb.com/index.php?threads/good-minigames-for-mv.78357/

In my mind, I think you would just need to anchor them to the arcade cabinet and have a map transfer to a location for the game to begin.

In terms of an "Full RPG within an RPG" you could also do that, but I think you might have to put some effort into how that is planned in order to make sure it doesn't interfere with the main experience. Something like collecting X items or reaching Y save location creates conditions that keeps the placement of the player upon being rebooted. Though... i'm not sure i'd go through the trouble for it.

I hope this helps,

Thank you.
Yeah, as @tototome said, the biggest Issue I see is the saving data part. Unles you want items and gear from the "arcade" be usable outside of it, you'd have to find a way to store them separately, which isn't impossible, but not easy either I believe.

As for "how many layers" there are no layers. Technically speaking, it would just be a different map(s) and different assets/characters. It's not like you're actually playing a different game.

Another question would be: Is it worth it? Considering how the games you mentioned are all big AAA titles, Is it worth it for a joeschmoe like you and me to put this much work into a secondary game mode for our already obscure games, or should we rather focus on making the actual game as good as we can possibly make it?
The effect of those gimmicks depend a lot on nostalgia and the type of game.

as an indie developer most people here do not have the history to create that nostalgia.
and the type of game - as said above RPGs are usually not lending themselves to this, because they mostly depend on story and you rarily replay them.
As long as the other game is also in JavaScript, it can be done fairly simply within an iframe (though I didn't end up using it, I've managed to get a Phaser game to run inside an RPG Maker game this way). If it's another RPG Maker game, it should be possible to start it in another nwjs thread, so that you don't need to keep two copies of nwjs in your game. If you just want to create a minigame for your game, there's plenty of ways to do that, including purely with eventing.

Original thread: https://forums.rpgmakerweb.com/threads/a-game-within-a-game.168002/