When the game is in windowed mode, I don't want the user to be able to resize the window, while still retaining Fullscreen functionality. This means also disabling the maximize button.
In MV this is solved by adding this "resizable": false under "window" in the package.json file like this:
But in my game (MZ) this breaks the fullscreen fuctionality. I made sure that the editor was not rewriting my package.json, by making it Read Only.
I also looked at the solution in this thread by @caethyril, but I ran into the same various issues when switching to fullscreen (in this video with F4). I tried this with and without changes to the package.json file.
I tried everything with no plugins enabled. Any help is appreciated!
In MV this is solved by adding this "resizable": false under "window" in the package.json file like this:
Code:
{
"name": "rmmz-game",
"main": "index.html",
"chromium-args": "--force-color-profile=srgb",
"window": {
"title": "TEST",
"width": 816,
"height": 624,
"position": "center",
"icon": "icon/icon.png",
"resizable": false
}
}
But in my game (MZ) this breaks the fullscreen fuctionality. I made sure that the editor was not rewriting my package.json, by making it Read Only.
I also looked at the solution in this thread by @caethyril, but I ran into the same various issues when switching to fullscreen (in this video with F4). I tried this with and without changes to the package.json file.
I tried everything with no plugins enabled. Any help is appreciated!
