I can't reverse it after using ctrl - combination now my game is BROKEN EVEN IF I TURN IT OFF AND THEN ON
Electron is a REAL BITCH of an engine to work with. There are TONS of customization files, JavaScript, CSS, JSON, HTML, and more, making coding games on that engine a pain in the butt for anyone except for the truly professional devs/programmers.
Edit:
Just press Ctrl 0 (as in, Ctrl key and the 0 key at the same time, and you should be at default zoom. Just found that out.
In any case, I found the solution for you, its actually a relatively easy fix (but not so easy to find).
Go to C:\Users\[Username]\AppData\Roaming\Sweet Dream Succubus and delete a file named Preferences
This file doesnt have an extension, its just named
Preferences, and Windows will simply identify it as "File" because of the lack of extension.
After you delete it, you zoom settings will be gone, and the game will revert to default zoom levels.
Anyway, its also possible to enable Maximize and Resize Window options, but some editing of the code is required.
For those interested, here's how to do it:
1. Go to
[Game Folder]\resources\app\src and open index.js
2. Press Ctrl+F, and type mainWindow.set in the search field.
3. mainWindow.setMaximizable(false) should be changed to mainWindow.setMaximizable(true), and mainWindow.setResizable(false) should be changed to mainWindow.setResizable(true).
You can now Maximize the window and Resize it as you wish. Making the window smaller or larger wont actually change the resolution of the game, so you might not be able to see some things if you make it smaller, and you will have black (empty) space inside the window if you make it larger.
One more thing, there is actually an easy way to make the game Fullscreen (borderless), which I just discovered (as I am writing this):
While in-game, press F11 to enter Fullscreen mode. You should be seeing black borders around the game however, as the screen size remained the same.
To get rid of this black empty space, you need to zoom in. Unlike Ctrl - , Ctrl + wont zoom in. Ctrl - will however zoom out.
So here's how to do it:
1. While in-game, Press Ctrl - (- as in the Minus symbol key).
2. Find the same
Preferences file in
C:\Users\[Username]\AppData\Roaming\Sweet Dream Succubus.
3. Open it with either Notepad or Notepad++ (I recommend ++).
4. Go to the very end, where you will see a number. Something like "-0.5}}}}" without the quotes.
5. Change that number to 0.77. Remove the minus (-) sign.
6. Now launch the game again, and press F11.
And voila! Truly borderless Fullscreen, at least for 1920x1080 res. If you are using another resolution, then try numbers other than 0.77. That number worked for me in my 1080p monitor.
P.S. Let me know if you have any questions, and I will try to help even further, if I can.