I recently challenged myself to create an idle game in MV. To my surprise, the final result was more than satisfactory. However, what I didn't anticipate is that MV pauses all operation when it's minimized, which is a problem given the kind of game this is.
Would there be a way to make it so the game works even when minimized?
No. Browser reduces the speed of Javascript engine from 60 fps to ridiculously low speeds.
nwjs is a web browser. More or less.
Yeah, as long as you simply make it check the current time against the previously saved time for the progression (probably you'd do it per second), it should work even when you minimize then return later.
Basically, even if the game is open, you will still consider it as being in "idle" mode.
You can make it such that if the difference is small (like 1 second if the game is actively being played) then it just adds the resources, but if the difference is large then it shows a summary of the obtained resources.