Hello. As you know,pressing F4+F3 in RMMV will make a fullscreen that doesn’t stretch the game and just adds black boxes around it,and I was wondering,is it possible to change it so only pressing a single button
Will do it?
Will do it?
/*:
* @plugindesc F3 now toggles fullscreen like F4.
* @help Free to use and/or modify for any purpose, no credit needed.
*/
(function(alias) {
Graphics._onKeyDown = function(event) {
if (event.keyCode === 114 && !event.ctrlKey && !event.altKey) {
event.preventDefault();
this._switchFullScreen();
} else
alias.apply(this, arguments);
};
})(Graphics._onKeyDown);
Original thread: https://forums.rpgmakerweb.com/threads/disable-f4-but-keep-f3.149439/