dual screen, and upper is for game and under is for menu

large.jpg


like nintendo ds, I want to make dual screen, and upper is solely for game screen, and
under is for menu.

I tryed to utilize this by modifying the YEP_CoreEngine.js like this :

SceneManager._screenWidth = Yanfly.Param.ScreenWidth;
SceneManager._screenHeight = Yanfly.Param.ScreenHeight;
SceneManager._boxWidth = Yanfly.Param.ScreenWidth;
SceneManager._boxHeight = Yanfly.Param.ScreenHeight;

Yanfly.Core.SceneManager_run = SceneManager.run;
SceneManager.run = function(sceneClass) {
Yanfly.Core.SceneManager_run.call(this, sceneClass);
if (!Utils.isNwjs()) return;
Yanfly.updateResolution();
if (Yanfly.Param.OpenConsole) Yanfly.openConsole();
};

Yanfly.updateResolution = function() {
var resizeWidth = Yanfly.Param.ScreenWidth - window.innerWidth;
var resizeHeight = Yanfly.Param.ScreenHeight - window.innerHeight+100;
if (!Imported.ScreenResolution) {
window.moveBy(-1 * resizeWidth / 2, -1 * resizeHeight / 2);
window.resizeBy(resizeWidth, resizeHeight);

var myImage = new Image(1000, 1000);
myImage.src = './hi.png';
window.document.body.appendChild(myImage);
var text = document.createTextNode('hi');
window.document.body.appendChild(text);
}
};

however, the result is not I wanted and I'm afraid this method cannot add some menu screen.
47196-b48ee7fbd10705217f10ab07d583950b.jpg

Do you have any idea to make it?
I don't know if this is even possible technically.

RMMV-Games are technically browsergames, so the maximum would be to have to browser windows open at the same time (which you could manually move around your windows) and the contents of the second window being controlled by the browsercode in the first window - if the second window is only static data it might be possible to simply overwrite it by HTML.
Cross-referencing would be much more difficult.
And that is not even considering that some players might have ad-blockers installed that intentionally prevent websites from opening additional windows, because those windows are usually ads and not gamescreens.

Even if someone knows how to program a plugin that works like that this would require a rewrite of most of the core and not be easy to create...


Simpler but ultimately stupid would be to only pretent to have two windows - having a constant HUD in one half of the window and a picture-line seperating that from the other half. That would only reduce screen area for gaming while not giving the advantages of real windows.
then, can I make dual screen like this game?
It have single screen but has some footer for menu.

111C1139507FC4332D2AC3
@sesang06 Please do not hi-jack a thread with a different question. Post a new thread.

And that is not a second screen but a custom HUD.
yes is possible
https://forums.rpgmakerweb.com/index.php?threads/multiple-viewports.67300/

Original thread: https://forums.rpgmakerweb.com/threads/dual-screen-and-upper-is-for-game-and-under-is-for-menu.81335/