Closed KOTerra closed 7 months ago
https://javadoc.io/doc/com.badlogicgames.gdx/gdx/latest/com/badlogic/gdx/LifecycleListener.html https://javadoc.io/static/com.badlogicgames.gdx/gdx/1.12.1/com/badlogic/gdx/ApplicationListener.html can detect when app is about to dispose, on an Gdx.app.exit() call and do stuff there to somehow restart maybe
also maybe tis works https://javadoc.io/static/com.badlogicgames.gdx/gdx/1.12.1/com/badlogic/gdx/Graphics.html
works with Gdx.graphics.setFullscreenMode(Gdx.graphics.getDisplayMode()); so no need to restart maybe
I think this is no more needed, it s achieveable with no restarts
If for example in the settings menu the resolution or the window mode is changed, those things can only be modified when the app starts by loading configs from preferences, so the app has to restart after settings are saved