studio-minus / madness-interactive-reloaded

Moddable videogame based on Madness Combat
https://studiominus.nl/madness-interactive-reloaded.html
GNU General Public License v3.0
27 stars 7 forks source link

Fullscreen and pressing the load button in the level editor crashes the game #71

Open Koofa opened 1 week ago

Koofa commented 1 week ago

Describe the bug When fullscreen is enable and the load button in the level editor is pressed, the game crashes or stops responding

Steps to reproduce

  1. Make the game fullscreen
  2. Open the level editor
  3. Press the "load" button

Expected behavior The game needs to exist fullscreen and open windows explorer

dch-GH commented 1 week ago

What seems to be happening is that the file dialog is just opening and displaying behind the game, if you have a secondary monitor you can actually Win + arrow key to move the dialog over to the other display. We need to find a way to bring the file dialog window to the front, or maybe just swap to borderless and then back to fullscreen/borderless fullscreen after we load something

Koofa commented 1 week ago

I tried pressing win + tab to move to windows explorer, but the game stopped responding and was completely stuck in fullscreen. :(

cricketboy01 commented 1 week ago

Followup question: How do you ACCESS the level editor? I can't find it EDIT: Found it by typing leveleditor into command console (F12)

dch-GH commented 1 week ago

I tried pressing win + tab to move to windows explorer, but the game stopped responding and was completely stuck in fullscreen. :(

Yeah, its not responding because the file dialog has "captured" control. If you have a second monitor you can see win + tab doing something. Luckily its not an actual crash or freeze but it still sucks.