I was thinking of entering Ludum dare and was setting up my project. I have some go-to stuff when creating a new project, one of them is toggling on/off fullscreen.
I’ve been using this code previously:
if (e.keyCode == Keyboard.ENTER) stage.displayState = (stage.displayState == StageDisplayState.FULL_SCREEN ? StageDisplayState.NORMAL : StageDisplayState.FULL_SCREEN); trace(stage.displayState);
which have been working great in my new projects. I recently updated to the latest version of OpenFL and now when i press enter, my game crashes. I can start the game in fullscreen setting the window fullscreen to true in the project file. But that’s all.
Is this a known problem?