I started a new project, added your plugin (ver. 1.4), and added the .json file that you have in the original post. Strangely, the title screen didn't even come up. All that appeared was a black screen. I couldn't even hit f8 to pull up the developer tools/console.
However, once I added Yanfly's Core Engine, the title screen came up. Is your plugin dependent on Yanfly's plugin?
In the project with your plugin and Yanfly's, the issue doesn't occur. So I went through my actual project and spent almost 30 minutes trying to find what plugin(s) were doing that.
I found that, once I'd turned off all my plugins and began turning them back on one by one, Yanfly's Keyboard Config and Gamepad Config had the same effect on that project as not having Yanfly's Core Engine added had on the new project: a black screen, no title screen, and inability to use the developer tools/console. However, what I didn't find was the plugin causing the strange problem with the black background after pausing the game twice.
Which left me wondering if it was because I'd turned off menu access for the tutorial level in my project, then turned it back on once that level was done. So I tested that out in the new one (the one with only your plugin and Yanfly's Core added to the plugin manager). That also didn't cause the black screen behind the window.
Then, on a whim, I tested the new project and went to the options menu from the title screen. I hadn't changed any of the settings, and I hadn't changed the .json file either. Yet for some reason, this is what the options screen looked like:
And here's the .json file from that new project:
Spoiler
{
"VIDEO": {
"816x624": {
"w": "816",
"h": "624"
},
"768x576": {
"w": "768",
"h": "576"
},
"256x196": {
"w": "256",
"h": "196"
},
"942x672": {
"w": "942",
"h": "672"
}
},
"VARIABLES": {
"1": {
"step": "5",
"min": "100",
"max": "150",
"percent": "true"
},
"2": {
"step": "1",
"min": "10",
"max": "15"
}
},
"HELP_TEXT": {
"alwaysDash": "If on, always dash even without holding dash button.",
"commandRemember": "Remember commands.",
"bgmVolume": "This changes the volume of bgm.",
"bgsVolume": "This changes the volume of bgs.",
"meVolume": "This changes the volume of me sound effects.",
"seVolume": "This changes the volume of sound effects.",
"resolution": "Requires exit and restart.",
"fullscreen": "Toggle Fullscreen.",
"switch_1": "If on, does something really neat.",
"switch_5": "If on, does something incredible.",
"variable_1": "Great variable",
"variable_8": "Variable 8 is my favorite."
}
}
It's in the right folder (under data/), and it's named properly (DreamX_Options.json)
I am genuinely confused as to what's going on. I just hope that this will be a relatively easy fix.
Edit: Ignore the last 100%, I forgot to name the variable. I also edited the switches parameter, now it looks like this:
For some reason the names of switch 8 and variable 5 aren't displayed. Unless the "variable 5" and "switch 8" in the .json file mean the 5th and 8th variables and switches added to the plugin.