add splashscreen for mobile-dev

This commit is contained in:
Anthony Calosa
2024-10-06 23:13:51 +08:00
parent 5d959dc963
commit f4671133f3
6 changed files with 25 additions and 5 deletions

View File

@@ -159,6 +159,7 @@ public class Forge implements ApplicationListener {
public void create() {
//install our error handler
ExceptionHandler.registerErrorHandling();
getDeviceAdapter().closeSplashScreen();
GuiBase.setIsAndroid(Gdx.app.getType() == Application.ApplicationType.Android);